index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
---|---|---|---|---|---|---|
31,424 | prefect.blocks.core | _save |
Saves the values of a block as a block document with an option to save as an
anonymous block document.
Args:
name: User specified name to give saved block document which can later be used to load the
block document.
is_anonymous: Boolean value specifying whether the block document is anonymous. Anonymous
blocks are intended for system use and are not shown in the UI. Anonymous blocks do not
require a user-supplied name.
overwrite: Boolean value specifying if values should be overwritten if a block document with
the specified name already exists.
Raises:
ValueError: If a name is not given and `is_anonymous` is `False` or a name is given and
`is_anonymous` is `True`.
| def _collect_nested_reference_strings(obj: Dict):
"""
Collects all nested reference strings (e.g. #/definitions/Model) from a given object.
"""
found_reference_strings = []
if isinstance(obj, dict):
if obj.get("$ref"):
found_reference_strings.append(obj.get("$ref"))
for value in obj.values():
found_reference_strings.extend(_collect_nested_reference_strings(value))
if isinstance(obj, list):
for item in obj:
found_reference_strings.extend(_collect_nested_reference_strings(item))
return found_reference_strings
| (self, name: Optional[str] = None, is_anonymous: bool = False, overwrite: bool = False, client: 'PrefectClient' = None) | [
-0.015104781836271286,
-0.04295036569237709,
-0.025329703465104103,
-0.03292481601238251,
-0.024873996153473854,
0.003493752097710967,
0.041697174310684204,
-0.013101570308208466,
0.11180006712675095,
-0.017487749457359314,
-0.03467169404029846,
-0.010993926785886288,
-0.03339951112866402,
-0.05392530560493469,
-0.027931028977036476,
0.01671874336898327,
-0.06076090782880783,
0.01106987800449133,
0.024911971762776375,
0.012778778560459614,
-0.03884900361299515,
0.03860216215252876,
0.012883211486041546,
-0.01773458905518055,
-0.022880278527736664,
-0.004338708706200123,
0.01581682451069355,
-0.008824571967124939,
-0.02760823629796505,
0.022462548688054085,
-0.0206587091088295,
-0.05195057392120361,
0.006175776477903128,
-0.02462715469300747,
-0.030323490500450134,
-0.0870399996638298,
0.040292076766490936,
0.04746945947408676,
-0.029241187497973442,
-0.0014822338707745075,
0.0015368236927315593,
0.07378652691841125,
-0.04541877657175064,
-0.060495078563690186,
0.02170303650200367,
-0.005620384123176336,
-0.030209563672542572,
0.03907685726881027,
0.009446422569453716,
-0.05871022492647171,
0.02570945955812931,
-0.05935581028461456,
-0.08309054374694824,
-0.010490749962627888,
-0.008577731437981129,
-0.02719050645828247,
-0.03558310493826866,
0.06262171268463135,
0.06767246127128601,
0.017582686617970467,
0.022823315113782883,
-0.0020221988670527935,
-0.0040467712096869946,
-0.0025182547979056835,
0.013566771522164345,
-0.0473555326461792,
-0.016585828736424446,
0.007101431023329496,
0.0007470506243407726,
-0.05286198854446411,
-0.09698960185050964,
0.021835951134562492,
-0.004507225006818771,
0.006213752087205648,
-0.0017314484575763345,
-0.047089703381061554,
0.03562108054757118,
-0.026430994272232056,
0.019861221313476562,
-0.041773125529289246,
-0.034804608672857285,
-0.03402610868215561,
-0.012750296853482723,
-0.04849480092525482,
0.030456405133008957,
0.0126173822209239,
0.0008716579177416861,
0.013766143471002579,
0.02764621190726757,
0.055140525102615356,
-0.026506945490837097,
0.004253263585269451,
-0.030475392937660217,
0.024873996153473854,
-0.06903958320617676,
0.0014929145108908415,
-0.03060830757021904,
-0.02020300179719925,
-0.026848725974559784,
-0.0020898429211229086,
0.031861498951911926,
-0.05878617614507675,
-0.04655804485082626,
0.041697174310684204,
-0.046064361929893494,
-0.047089703381061554,
0.019149180501699448,
-0.04477319493889809,
0.09038184583187103,
0.017079511657357216,
-0.04135539382696152,
-0.05821654573082924,
0.017098499462008476,
-0.03892495483160019,
0.037785690277814865,
-0.007172635290771723,
-0.03290582820773125,
-0.04207692667841911,
0.01766813173890114,
-0.036304641515016556,
0.05267211049795151,
-0.033836230635643005,
-0.06660914421081543,
0.033285584300756454,
-0.006859336979687214,
0.021608097478747368,
-0.017449773848056793,
0.010243909433484077,
0.0005995986284688115,
-0.0310830008238554,
0.04701375216245651,
0.0206587091088295,
-0.09949598461389542,
0.00864418875426054,
0.06531797349452972,
0.018579546362161636,
-0.00740998238325119,
0.025519581511616707,
0.025063874199986458,
-0.05677347257733345,
0.0018002792494371533,
-0.029450051486492157,
-0.016528865322470665,
-0.0038592671044170856,
0.0023544852156192064,
0.040785759687423706,
0.035298287868499756,
0.048532772809267044,
-0.07815371453762054,
-0.02272837609052658,
-0.006474834401160479,
-0.016604816541075706,
-0.010747085325419903,
0.030760210007429123,
-0.03151972219347954,
0.008340383879840374,
-0.048608724027872086,
-0.04678589850664139,
0.006246980745345354,
0.00332048861309886,
0.021456195041537285,
0.022956229746341705,
-0.028747504577040672,
0.00794164091348648,
0.049026455730199814,
0.03862114995718002,
0.062393855303525925,
-0.09220467507839203,
-0.02029794082045555,
-0.0019438742892816663,
-0.024836020544171333,
0.010186946019530296,
-0.06227992847561836,
0.00777075020596385,
0.042228829115629196,
0.05388732999563217,
-0.03991232067346573,
0.030494380742311478,
-0.03115895204246044,
0.05419113487005234,
-0.06976111978292465,
0.007590366527438164,
0.012427504174411297,
-0.022861290723085403,
0.01817130856215954,
-0.012237626127898693,
-0.00529759144410491,
-0.0011558813275769353,
0.04139336943626404,
-0.031196927651762962,
-0.030722234398126602,
0.024798044934868813,
0.024418288841843605,
0.007329284213483334,
0.024114485830068588,
-0.020639721304178238,
-0.040292076766490936,
-0.02077263593673706,
-0.053621500730514526,
-0.017041536048054695,
-0.05346959829330444,
-0.04253263399004936,
-0.03360837697982788,
-0.022975217550992966,
0.0011386736296117306,
0.058976054191589355,
0.032734937965869904,
0.036209702491760254,
-0.0012027573538944125,
0.04340607300400734,
0.0017539964755997062,
0.02713354304432869,
-0.027304433286190033,
-0.04602638632059097,
0.022994205355644226,
0.041241466999053955,
-0.006294450256973505,
0.018142826855182648,
-0.04689982533454895,
0.012921187095344067,
-0.015123769640922546,
-0.038716088980436325,
-0.023373961448669434,
-0.01455413643270731,
-0.04739350825548172,
-0.03188048675656319,
0.019538428634405136,
-0.00941319391131401,
0.029393088072538376,
-0.11787615716457367,
0.013395881280303001,
-0.018674485385417938,
-0.0405958816409111,
0.03493752330541611,
0.05384935438632965,
0.015237696468830109,
0.008117277175188065,
-0.024418288841843605,
0.14392739534378052,
-0.02673479914665222,
-0.02031692862510681,
-0.006546038202941418,
-0.0226714126765728,
-0.019937172532081604,
0.019747294485569,
0.042228829115629196,
0.03995029628276825,
-0.02470310591161251,
0.014316788874566555,
-0.05935581028461456,
0.040747784078121185,
-0.011041396297514439,
-0.008563490584492683,
-0.009460663422942162,
-0.02464614249765873,
-0.06915351003408432,
0.01061417069286108,
0.013120558112859726,
-0.003980313893407583,
-0.03060830757021904,
0.0021100174635648727,
-0.034785620868206024,
0.020563770085573196,
0.06133054196834564,
-0.04887455329298973,
-0.031804535537958145,
-0.001136893522925675,
-0.028747504577040672,
-0.06231790408492088,
0.007286562118679285,
0.1660291850566864,
-0.0511910654604435,
0.004875113256275654,
0.048532772809267044,
-0.06284956634044647,
0.048190996050834656,
0.03497549891471863,
0.07693850249052048,
-0.01976628229022026,
0.02608921378850937,
-0.032336194068193436,
-0.025823386386036873,
0.03533626347780228,
0.008810331113636494,
0.04944418743252754,
-0.041203491389751434,
0.008231204003095627,
0.04336809739470482,
-0.02817787043750286,
0.012968655675649643,
0.0572291798889637,
-0.00314010470174253,
0.02113340236246586,
0.0040159160271286964,
-0.008036579005420208,
0.020620733499526978,
0.04287441447377205,
-0.048608724027872086,
0.012294589541852474,
0.054494939744472504,
0.002251239027827978,
0.05726715549826622,
0.020354904234409332,
0.0014881675597280264,
-0.022519512102007866,
-0.03009563684463501,
0.0455327033996582,
-0.09281228482723236,
0.04014017432928085,
-0.03017158806324005,
-0.050089772790670395,
-0.021475182846188545,
0.028329772874712944,
0.013500314205884933,
-0.029791831970214844,
-0.05920390784740448,
-0.04803909361362457,
0.039798393845558167,
-0.022386597469449043,
0.024342337623238564,
-0.018494101241230965,
0.017905479297041893,
0.018532076850533485,
-0.024817032739520073,
0.03218429163098335,
-0.030988061800599098,
-0.0028078185860067606,
0.022975217550992966,
0.054115183651447296,
-0.02229165844619274,
-0.01555099431425333,
-0.10162261873483658,
0.022006841376423836,
0.011259756051003933,
0.05172272399067879,
-0.03300076723098755,
0.015418080613017082,
-0.03011462464928627,
-0.05498862266540527,
-0.057001326233148575,
0.019861221313476562,
0.041773125529289246,
-0.004428900312632322,
0.02608921378850937,
-0.014136404730379581,
0.020089074969291687,
0.031196927651762962,
0.05278603732585907,
0.0010110994335263968,
0.03900090605020523,
-0.018085863441228867,
0.0029526003636419773,
0.03761480003595352,
-0.0032753925770521164,
-0.013224991038441658,
0.05567217990756035,
-0.008022338151931763,
0.0290702972561121,
0.020962512120604515,
0.007481186650693417,
0.04431748762726784,
-0.00986415334045887,
-0.016595322638750076,
-0.05491267144680023,
0.09478701651096344,
0.020108062773942947,
-0.016633298248052597,
0.015655428171157837,
0.027798114344477654,
-0.017145968973636627,
-0.0634571760892868,
0.01737382262945175,
0.028728516772389412,
-0.045646630227565765,
-0.0196523554623127,
-0.0058482373133301735,
0.03543120250105858,
-0.007856195792555809,
0.003282513003796339,
0.03453877940773964,
-0.00553968595340848,
0.008440069854259491,
0.04033005237579346,
-0.002114764414727688,
-0.009071413427591324,
0.003847399726510048,
0.005283350590616465,
0.02607022598385811,
0.00554917985573411,
0.029336124658584595,
0.01032935455441475,
-0.03189947456121445,
0.007514415308833122,
-0.008848306722939014,
0.01769661344587803,
-0.07465996593236923,
0.05620383843779564,
-0.024551203474402428,
-0.024817032739520073,
0.025861361995339394,
0.04439343884587288,
-0.00014389179705176502,
-0.11430645734071732,
-0.007993856444954872,
-0.0076330890879035,
0.03710212931036949,
0.022918254137039185,
0.035260312259197235,
0.0017112740315496922,
-0.026430994272232056,
0.0020067712757736444,
-0.030969073995947838,
0.023582827299833298,
-0.04306429252028465,
-0.004803909454494715,
-0.04648209363222122,
-0.001654310617595911,
0.03288684040307999,
-0.024911971762776375,
-0.011031902395188808,
0.019054241478443146,
-0.050583455711603165,
0.010310366749763489,
0.04203895106911659,
-0.004013542551547289,
-0.008596719242632389,
-0.015712391585111618,
-0.021589109674096107,
0.07876132428646088,
0.022823315113782883,
-0.005022268742322922,
0.007936893962323666,
-0.0061188130639493465,
-0.08233103156089783,
0.02227267064154148,
-0.020051099359989166,
0.028025968000292778,
0.008587225340306759,
0.006854590028524399,
0.023544851690530777,
-0.011914834380149841,
0.027551274746656418,
0.00986415334045887,
-0.0025799651630222797,
0.029260175302624702,
0.04879860207438469,
-0.0005197905702516437,
0.013604747131466866,
0.016984572634100914,
0.00025203314726240933,
0.006175776477903128,
-0.06414072960615158,
0.02168404869735241,
-0.029810819774866104,
-0.04458331689238548,
0.012854729779064655,
0.02077263593673706,
0.08848307281732559,
-0.00016050611156970263,
0.015133263543248177,
0.005273856688290834,
-0.017962442710995674,
0.061406493186950684,
0.030950088053941727,
-0.034348901361227036,
-0.025557557120919228,
0.0004290052456781268,
0.021019475534558296,
-0.06038115173578262,
-0.014411727897822857,
0.07006492465734482,
-0.005397277418524027,
-0.025044886395335197,
0.013576265424489975,
0.016604816541075706,
0.02517780102789402,
0.015645934268832207,
-0.008359371684491634,
0.009209075011312962,
-0.05498862266540527,
-0.017487749457359314,
-0.0974453017115593,
0.007713787257671356,
-0.034310925751924515,
-0.028766492381691933,
-0.017155462875962257,
0.000987958163022995,
-0.04777326434850693,
-0.011563559994101524,
-0.00314010470174253,
-0.0280639436095953,
0.0533936470746994,
-0.05958366394042969,
0.004407539032399654,
0.04701375216245651,
0.023013193160295486,
-0.012114206328988075,
0.033380523324012756,
-0.020601745694875717,
0.021494170650839806,
0.04048195481300354,
-0.03461473062634468,
-0.004718464333564043,
-0.015256684273481369,
-0.023829668760299683,
-0.006180523429065943,
0.04872265085577965,
0.01821877807378769,
-0.010823036544024944,
-0.01821877807378769,
-0.023013193160295486,
-0.03311469405889511,
0.0956224799156189,
0.034899547696113586,
-0.0004221815033815801,
-0.004941570572555065,
-0.011649005115032196,
0.03998827189207077,
0.005729563534259796,
0.02320307120680809,
-0.03343748673796654,
-0.0075761256739497185,
-0.020108062773942947,
-0.046178288757801056,
0.07033074647188187,
-0.06167232245206833,
-0.047089703381061554,
0.024285374209284782,
-0.019149180501699448,
0.019016265869140625,
0.045152951031923294,
-0.029867783188819885,
0.010044537484645844,
-0.013823105953633785,
0.03689326345920563,
0.045646630227565765,
0.048077069222927094,
-0.0919768214225769,
0.0005743804504163563,
0.060495078563690186,
0.04834289848804474,
-0.026430994272232056,
0.012864223681390285,
0.025405654683709145,
0.01877891831099987,
0.058938078582286835,
0.020392879843711853,
0.01819979026913643,
-0.022861290723085403,
0.008155252784490585,
0.048190996050834656,
-0.008041325956583023,
-0.013272460550069809,
0.05327972024679184,
-0.022044816985726357,
-0.043633926659822464,
0.0015676788752898574,
-0.007153647486120462,
-0.00791315920650959,
-0.0315387099981308,
0.03801354393362999,
0.01774408295750618,
-0.0017005933914333582,
0.013652216643095016,
0.0065840138122439384,
0.012474973686039448,
0.005857731215655804,
0.044735219329595566,
-0.028728516772389412,
0.0173263531178236,
-0.05829249694943428,
-0.008326143026351929,
-0.002320069819688797,
-0.024551203474402428,
0.014326282776892185,
0.05578610673546791,
-0.03322862088680267,
-0.0145826181396842,
0.073330819606781,
0.0095983250066638,
0.02569047175347805,
-0.02812090702354908,
0.03451979160308838,
0.003106876043602824,
0.060495078563690186,
0.006769144907593727,
0.06748258322477341,
-0.00029876091866753995,
0.0016899127513170242,
-0.018104851245880127,
-0.03208935260772705,
0.01819979026913643,
-0.026886701583862305,
0.006408377084881067,
0.028367748484015465,
0.013538289815187454,
-0.043633926659822464,
0.010073019191622734,
0.002024572342634201,
-0.025804398581385612,
0.040747784078121185,
0.011658499017357826,
0.03991232067346573,
0.007974868640303612,
-0.01918715611100197,
0.010794554837048054,
0.07838156819343567,
-0.03146275877952576,
0.011601535603404045,
0.04576055705547333,
-0.05195057392120361,
0.0009001396247185767,
0.03451979160308838,
0.0037334728986024857,
-0.06903958320617676,
0.002013891702517867,
-0.041697174310684204,
0.004837137646973133,
-0.03816544637084007,
0.018873857334256172,
0.018057381734251976,
0.003973193932324648,
-0.02918422408401966,
0.017060523852705956,
-0.04678589850664139,
0.016623804345726967,
-0.039152808487415314,
-0.07287511229515076,
-0.01528516598045826,
-0.008743874728679657,
0.024911971762776375,
-0.0118388831615448,
0.018949808552861214,
0.013101570308208466,
-0.03938066214323044,
0.0355641171336174,
0.04006422311067581,
-0.04583650827407837,
-0.06702687591314316,
0.05498862266540527,
-0.04382380470633507,
-0.017041536048054695,
-0.06805221736431122,
0.026753786951303482,
-0.029924746602773666,
0.07906512916088104,
-0.008791343308985233,
-0.06395085155963898,
-0.026525933295488358,
0.04697577655315399,
0.017554206773638725,
0.05571015551686287,
-0.003273019101470709,
0.019500453025102615,
0.034842584282159805,
0.06767246127128601,
-0.0004856718878727406,
-0.044735219329595566,
0.024019546806812286,
0.03347546234726906,
0.004549947567284107,
-0.02274736389517784,
-0.034291937947273254,
-0.026355043053627014,
-0.052064500749111176,
0.027551274746656418,
0.02667783573269844,
0.00018750436720438302,
0.017895985394716263,
0.03507043793797493,
0.019149180501699448,
0.006427364889532328,
0.029753856360912323,
-0.043633926659822464,
-0.022500524297356606,
0.05476076900959015,
0.005269109737128019,
0.06288754194974899,
0.03789961710572243,
-0.04781123995780945,
0.012313577346503735,
-0.01623455435037613,
-0.025044886395335197,
0.051988549530506134,
0.01766813173890114,
-0.0019426875514909625,
0.013547783717513084,
0.014668062329292297,
0.017971936613321304,
0.011658499017357826,
-0.011449633166193962,
-0.031424783170223236,
0.006175776477903128,
0.00001461169267713558,
-0.01722192019224167,
-0.016994066536426544,
0.029715880751609802,
-0.03370331600308418,
0.06797626614570618,
-0.01332942396402359,
0.0683939978480339,
0.03493752330541611,
0.03319064527750015,
-0.026355043053627014,
0.013642722740769386,
0.0009867714252322912,
0.030361466109752655,
0.014136404730379581,
-0.0296209417283535,
0.031804535537958145,
-0.014962373301386833,
0.05381137877702713,
0.020506806671619415,
-0.06607748568058014,
0.001216404838487506,
-0.05149487033486366,
-0.01918715611100197,
-0.0022346246987581253,
-0.024323349818587303,
-0.055140525102615356,
0.06433060765266418,
0.04143134504556656,
0.03303874284029007,
0.008938498795032501,
0.03662743419408798,
0.01921563781797886,
0.02081061154603958,
0.06414072960615158,
-0.023962583392858505,
-0.010823036544024944,
0.01578834280371666,
0.02079162374138832,
-0.014725025743246078,
-0.00985465943813324,
-0.003901989432051778,
0.0004880453634541482,
-0.003128237323835492,
-0.012674345634877682,
-0.0491783581674099,
-0.004606910981237888,
0.020089074969291687,
0.02671581134200096,
-0.0022381849121302366,
0.03353242576122284,
0.025025898590683937,
-0.0738624781370163,
0.0630774199962616,
0.028975358232855797,
-0.0038402792997658253,
-0.09212872385978699,
0.03066527098417282,
0.05825452134013176,
-0.0008022338734008372,
-0.0491783581674099,
0.02024097740650177,
0.018494101241230965,
-0.037348970770835876,
-0.0186934731900692,
-0.04036802798509598,
0.004697103053331375,
-0.02166506089270115,
-0.040709808468818665,
0.0001481937215430662,
0.020924536511301994,
0.014943385496735573,
0.032355181872844696,
-0.0281588826328516,
-0.02316509559750557
]
|
31,425 | prefect.blocks.core | _to_block_document |
Creates the corresponding block document based on the data stored in a block.
The corresponding block document name, block type ID, and block schema ID must
either be passed into the method or configured on the block.
Args:
name: The name of the created block document. Not required if anonymous.
block_schema_id: UUID of the corresponding block schema.
block_type_id: UUID of the corresponding block type.
is_anonymous: if True, an anonymous block is created. Anonymous
blocks are not displayed in the UI and used primarily for system
operations and features that need to automatically generate blocks.
Returns:
BlockDocument: Corresponding block document
populated with the block's configured data.
| def _to_block_document(
self,
name: Optional[str] = None,
block_schema_id: Optional[UUID] = None,
block_type_id: Optional[UUID] = None,
is_anonymous: Optional[bool] = None,
) -> BlockDocument:
"""
Creates the corresponding block document based on the data stored in a block.
The corresponding block document name, block type ID, and block schema ID must
either be passed into the method or configured on the block.
Args:
name: The name of the created block document. Not required if anonymous.
block_schema_id: UUID of the corresponding block schema.
block_type_id: UUID of the corresponding block type.
is_anonymous: if True, an anonymous block is created. Anonymous
blocks are not displayed in the UI and used primarily for system
operations and features that need to automatically generate blocks.
Returns:
BlockDocument: Corresponding block document
populated with the block's configured data.
"""
if is_anonymous is None:
is_anonymous = self._is_anonymous or False
# name must be present if not anonymous
if not is_anonymous and not name and not self._block_document_name:
raise ValueError("No name provided, either as an argument or on the block.")
if not block_schema_id and not self._block_schema_id:
raise ValueError(
"No block schema ID provided, either as an argument or on the block."
)
if not block_type_id and not self._block_type_id:
raise ValueError(
"No block type ID provided, either as an argument or on the block."
)
# The keys passed to `include` must NOT be aliases, else some items will be missed
# i.e. must do `self.schema_` vs `self.schema` to get a `schema_ = Field(alias="schema")`
# reported from https://github.com/PrefectHQ/prefect-dbt/issues/54
data_keys = self.schema(by_alias=False)["properties"].keys()
# `block_document_data`` must return the aliased version for it to show in the UI
block_document_data = self.dict(by_alias=True, include=data_keys)
# Iterate through and find blocks that already have saved block documents to
# create references to those saved block documents.
for key in data_keys:
field_value = getattr(self, key)
if (
isinstance(field_value, Block)
and field_value._block_document_id is not None
):
block_document_data[key] = {
"$ref": {"block_document_id": field_value._block_document_id}
}
return BlockDocument(
id=self._block_document_id or uuid4(),
name=(name or self._block_document_name) if not is_anonymous else None,
block_schema_id=block_schema_id or self._block_schema_id,
block_type_id=block_type_id or self._block_type_id,
data=block_document_data,
block_schema=self._to_block_schema(
block_type_id=block_type_id or self._block_type_id,
),
block_type=self._to_block_type(),
is_anonymous=is_anonymous,
)
| (self, name: Optional[str] = None, block_schema_id: Optional[uuid.UUID] = None, block_type_id: Optional[uuid.UUID] = None, is_anonymous: Optional[bool] = None) -> prefect.client.schemas.objects.BlockDocument | [
0.03621922805905342,
-0.09766463190317154,
0.021754680201411247,
-0.0166535172611475,
-0.06896696984767914,
-0.029835542663931847,
-0.017588891088962555,
0.023509712889790535,
-0.03733782097697258,
-0.0033461321145296097,
-0.01601707749068737,
-0.0006298105581663549,
-0.05403955280780792,
0.025380460545420647,
-0.02738621085882187,
0.04466652497649193,
-0.030703414231538773,
-0.0004209786420688033,
-0.04686513543128967,
-0.01594957523047924,
0.026016900315880775,
-0.05469527840614319,
0.012912020087242126,
0.025245457887649536,
-0.005187951494008303,
0.019112490117549896,
0.011002699844539165,
0.044897958636283875,
-0.02925696037709713,
0.004891428165137768,
0.016537800431251526,
-0.04674942046403885,
0.05523528903722763,
0.026094045490026474,
0.036199942231178284,
-0.03606494143605232,
0.018408548086881638,
0.0573953278362751,
0.02646047994494438,
-0.03174486383795738,
0.015361350029706955,
-0.008943912573158741,
-0.03261273354291916,
-0.0034618484787642956,
-0.027270495891571045,
0.039266426116228104,
0.010491618886590004,
-0.013847393915057182,
-0.05253523960709572,
0.046633705496788025,
0.026769056916236877,
-0.007429956458508968,
-0.03174486383795738,
0.006533154286444187,
-0.0031291639897972345,
-0.05839820206165314,
-0.060288239270448685,
0.011195560917258263,
-0.012757731601595879,
0.02917981520295143,
0.01783961057662964,
0.020076792687177658,
0.035293497145175934,
-0.027289781719446182,
-0.02445472963154316,
0.025110455229878426,
0.0012475673574954271,
-0.030876988545060158,
0.014589907601475716,
0.06040395423769951,
0.03685566782951355,
-0.0008624487090855837,
0.028196226805448532,
0.0685812458395958,
0.047250859439373016,
-0.03064555674791336,
-0.0296812541782856,
0.020674660801887512,
0.010144470259547234,
-0.0050047338008880615,
-0.009512851014733315,
0.0005372976884245872,
-0.039034996181726456,
-0.021426817402243614,
0.04158075526356697,
0.02403043583035469,
0.04570797458291054,
0.056392453610897064,
0.04374079406261444,
-0.06846553087234497,
0.007810856215655804,
0.003734264289960265,
-0.010115540586411953,
0.06341257691383362,
0.023914720863103867,
-0.033615611493587494,
-0.03459919989109039,
-0.028234798461198807,
-0.003997036721557379,
0.05851392075419426,
-0.02661476843059063,
0.02075180597603321,
-0.026248333975672722,
-0.012458797544240952,
-0.009344098158180714,
0.000443579483544454,
0.009377849288284779,
-0.013885966502130032,
0.037993546575307846,
-0.03888070583343506,
-0.03774282708764076,
-0.017955325543880463,
-0.030182691290974617,
0.04050073400139809,
-0.024396872147917747,
-0.011012342758476734,
0.07062556594610214,
0.049835190176963806,
-0.031185565516352654,
0.014638123102486134,
0.022063257172703743,
-0.024416157975792885,
-0.03079984523355961,
-0.008027824573218822,
-0.004221237264573574,
0.023316852748394012,
-0.01378953643143177,
-0.021928254514932632,
0.04435794800519943,
-0.0334613211452961,
0.027463356032967567,
-0.032227013260126114,
-0.019257135689258575,
0.008500332944095135,
-0.029796969145536423,
0.05461813509464264,
0.008717301301658154,
0.0448593869805336,
-0.02514902874827385,
0.039324287325143814,
0.01285416167229414,
-0.028755521401762962,
0.06973841041326523,
-0.025650465860962868,
-0.049488041549921036,
0.0044333841651678085,
-0.018369976431131363,
-0.057086750864982605,
-0.05488814041018486,
-0.02325899340212345,
0.053268108516931534,
-0.006055824458599091,
0.04219790920615196,
0.05677817389369011,
-0.006697085686028004,
-0.029796969145536423,
-0.02403043583035469,
-0.025264743715524673,
-0.044820815324783325,
-0.0062486850656569,
0.005525457672774792,
0.018755698576569557,
0.017434602603316307,
0.004385169129818678,
-0.027694787830114365,
-0.011099129915237427,
0.007343169301748276,
-0.05577529966831207,
-0.029218386858701706,
-0.0242425836622715,
-0.006668156944215298,
0.07201416790485382,
-0.07475278526544571,
0.07671996206045151,
-0.0379164032638073,
0.06453116983175278,
0.006239041686058044,
-0.061753977090120316,
-0.021561820060014725,
-0.0625254213809967,
0.019392138347029686,
0.0428922064602375,
-0.020771091803908348,
0.03872641921043396,
0.0014295795699581504,
-0.009903393685817719,
-0.05052948743104935,
0.004414097871631384,
0.08161862194538116,
0.026904059574007988,
-0.01608457788825035,
0.02536117471754551,
0.0033075599931180477,
-0.020983237773180008,
0.021831825375556946,
0.014078827574849129,
-0.010395188815891743,
0.008726944215595722,
-0.06653692573308945,
0.006494582165032625,
0.03459919989109039,
-0.046980854123830795,
0.01002875342965126,
-0.01285416167229414,
0.011918787844479084,
0.005375990644097328,
0.0009558656020089984,
0.009286239743232727,
-0.007810856215655804,
0.0025771004147827625,
-0.04227505251765251,
0.004961340222507715,
-0.02896766923367977,
0.019141418859362602,
0.01818675920367241,
-0.06684549897909164,
0.002584332600235939,
0.00745406374335289,
0.013722035102546215,
0.05365383252501488,
0.06800266355276108,
0.011687355116009712,
-0.013259169645607471,
-0.026691913604736328,
-0.03878427669405937,
0.0024927237536758184,
0.004568386357277632,
-0.07857142388820648,
0.01762746274471283,
-0.020983237773180008,
0.0062245773151516914,
-0.0260554738342762,
-0.09380742162466049,
0.02514902874827385,
-0.00193342799320817,
-0.05442527309060097,
-0.02123395726084709,
-0.0043056136928498745,
-0.013104881159961224,
-0.02360614389181137,
0.038899991661310196,
-0.00008219178562285379,
0.029449820518493652,
0.003929535858333111,
-0.041349321603775024,
-0.05288238823413849,
0.02312399074435234,
-0.024609018117189407,
-0.028389086946845055,
-0.006542797200381756,
-0.04250648617744446,
-0.04952661320567131,
0.03178343549370766,
0.022950416430830956,
0.02320113591849804,
0.0020865111146122217,
0.02613261714577675,
-0.02570832334458828,
-0.01107984408736229,
0.02445472963154316,
-0.006615119986236095,
-0.02989340014755726,
-0.02541903220117092,
0.041349321603775024,
-0.0019635623320937157,
-0.04975804686546326,
-0.036817096173763275,
-0.02146538905799389,
-0.002707281382754445,
0.007338347379118204,
0.03780068829655647,
0.07259275019168854,
0.033480606973171234,
-0.024435443803668022,
0.010163756087422371,
-0.08161862194538116,
0.03675923869013786,
0.039034996181726456,
-0.0334613211452961,
-0.0024951347149908543,
0.004621423315256834,
0.00040229526348412037,
0.02187039703130722,
0.005916000343859196,
0.024493301287293434,
-0.03575636446475983,
-0.07629567384719849,
-0.020636089146137238,
-0.05049091577529907,
-0.04871659725904465,
-0.051223788410425186,
0.01943071000277996,
0.0020286529324948788,
-0.01532277837395668,
-0.028581947088241577,
-0.01456097885966301,
-0.07452135533094406,
0.01636422611773014,
0.005670102778822184,
-0.007222631014883518,
-0.025380460545420647,
0.009454993531107903,
0.1439511924982071,
0.051030926406383514,
-0.01673066057264805,
-0.07170558720827103,
-0.0003929535741917789,
-0.05766533315181732,
0.010404831729829311,
-0.00312434253282845,
-0.05083806440234184,
0.013500245288014412,
0.0651097521185875,
0.014917771331965923,
0.01971035823225975,
-0.028119081631302834,
0.06024966388940811,
0.007916929200291634,
0.023644715547561646,
0.05365383252501488,
-0.0329984575510025,
-0.02808050997555256,
0.01887141354382038,
0.035910651087760925,
0.014744196087121964,
-0.03390490263700485,
0.0009028288768604398,
0.012622728943824768,
-0.03627708926796913,
0.050683777779340744,
-0.02919910103082657,
-0.008833017200231552,
0.057511042803525925,
0.026036188006401062,
-0.08015288412570953,
-0.024146152660250664,
0.001342792296782136,
-0.043162211775779724,
0.013423101045191288,
-0.06345115602016449,
0.04188933223485947,
-0.01041447464376688,
0.04451223835349083,
-0.028466232120990753,
-0.031667716801166534,
0.0092332037165761,
0.04875517264008522,
-0.03592993691563606,
0.0003595043090172112,
0.029295532032847404,
-0.03774282708764076,
-0.030954133719205856,
-0.03317203000187874,
0.009107843972742558,
0.008273721672594547,
-0.05608387663960457,
0.017453888431191444,
-0.03976786509156227,
-0.08115576207637787,
0.003982572350651026,
-0.00398739380761981,
0.03565993160009384,
0.013914895243942738,
0.00015104905469343066,
0.03162914514541626,
0.03585279360413551,
-0.03700995817780495,
0.030626270920038223,
-0.000025990984795498662,
-0.011542709544301033,
0.017608176916837692,
-0.022121116518974304,
-0.007338347379118204,
-0.006142611615359783,
0.017318885773420334,
-0.04763657972216606,
-0.03780068829655647,
0.0018297653878107667,
-0.008056753315031528,
0.034232765436172485,
0.0014910538448020816,
-0.012834875844419003,
0.03349989280104637,
-0.027000490576028824,
-0.013606318272650242,
-0.047752294689416885,
0.004011501558125019,
-0.011330562643706799,
-0.05461813509464264,
-0.01630636677145958,
0.024339012801647186,
0.005105985794216394,
-0.012391296215355396,
0.03697138652205467,
-0.00039928179467096925,
0.00445749145001173,
0.012140577659010887,
0.0076276385225355625,
0.016287080943584442,
-0.03992215543985367,
0.030279120430350304,
-0.016123149544000626,
-0.04042359068989754,
0.025187600404024124,
-0.018331404775381088,
-0.041349321603775024,
0.09095308184623718,
0.017887825146317482,
0.022275405004620552,
0.012256293557584286,
0.018350690603256226,
0.019411424174904823,
-0.012535941787064075,
0.011995932087302208,
0.03454134240746498,
-0.0044478485360741615,
0.05292095988988876,
0.027077633887529373,
-0.026441194117069244,
0.003355775261297822,
0.029642680659890175,
0.06942982971668243,
0.07999859750270844,
-0.021291814744472504,
0.044897958636283875,
-0.007256381679326296,
-0.01117627415806055,
0.0031484500505030155,
-0.011243775486946106,
0.030066974461078644,
-0.03317203000187874,
0.02389543317258358,
0.00330997072160244,
-0.017154954373836517,
0.030047688633203506,
-0.011639139614999294,
0.055351004004478455,
-0.009734640829265118,
-0.000889569753780961,
0.04890945926308632,
0.10676765441894531,
-0.007184058893471956,
-0.06294971704483032,
-0.019768215715885162,
-0.02445472963154316,
-0.013201311230659485,
-0.0465179868042469,
0.05079949274659157,
0.010848411358892918,
0.01796496845781803,
0.0575496181845665,
0.027000490576028824,
0.09612174332141876,
-0.06240970641374588,
-0.060712531208992004,
0.0249947402626276,
0.04462795332074165,
-0.01135949231684208,
0.06387544423341751,
-0.012053790502250195,
0.005689389072358608,
-0.004898660350590944,
-0.01107984408736229,
-0.006036538165062666,
0.05870677903294563,
-0.01581457257270813,
-0.042390771210193634,
-0.037106387317180634,
0.03523563966155052,
0.004377936478704214,
0.03596850857138634,
-0.03376989811658859,
-0.014271687716245651,
-0.016287080943584442,
0.0592082180082798,
-0.04285363480448723,
-0.04374079406261444,
-0.05704817920923233,
0.007381741423159838,
-0.0667683556675911,
-0.024763306602835655,
-0.0205396581441164,
-0.05616101995110512,
-0.004686513915657997,
0.03371204063296318,
-0.05866820737719536,
0.02410758100450039,
-0.006697085686028004,
0.00047431665007025003,
-0.005713496822863817,
-0.06372115761041641,
0.06568833440542221,
0.0197875015437603,
-0.018408548086881638,
-0.040847886353731155,
0.0188039131462574,
0.0385914146900177,
0.023856861516833305,
0.030664842575788498,
-0.031243424862623215,
0.039806436747312546,
0.03363489732146263,
0.007791569922119379,
-0.05538957566022873,
0.005308489315211773,
-0.008061574772000313,
-0.024474015459418297,
-0.03384704142808914,
0.02715477906167507,
0.014387404546141624,
-0.04686513543128967,
-0.006571726407855749,
0.017511745914816856,
0.015477066859602928,
-0.0669226422905922,
0.03072270005941391,
0.007752997800707817,
0.04397222772240639,
0.010819482617080212,
-0.01160056795924902,
0.02507188357412815,
0.04331650212407112,
-0.027463356032967567,
-0.011648782528936863,
0.031667716801166534,
0.038340695202350616,
-0.00982142798602581,
-0.05218809098005295,
0.04601655155420303,
0.003905428107827902,
-0.010626621544361115,
-0.025457605719566345,
0.039806436747312546,
0.03157128766179085,
-0.04451223835349083,
0.005689389072358608,
-0.0031291639897972345,
0.02354828454554081,
-0.08470439910888672,
-0.027270495891571045,
0.0053808121010661125,
0.06935268640518188,
-0.0033437213860452175,
-0.041966475546360016,
0.0028567484114319086,
0.05191808566451073,
0.020867520943284035,
0.030568411573767662,
0.03002840280532837,
0.0002660874160937965,
0.06391401588916779,
-0.04424223303794861,
0.055080998688936234,
-0.018273545429110527,
0.01852426491677761,
-0.05322953686118126,
0.02987411431968212,
-0.0017586479661986232,
0.04435794800519943,
-0.014290973544120789,
-0.00726120313629508,
0.01804211363196373,
-0.01609422080218792,
-0.003375061322003603,
0.028446944430470467,
0.06507118046283722,
0.035833507776260376,
-0.0003965696960221976,
0.004136860836297274,
0.0014187311753630638,
0.027675502002239227,
0.02237183414399624,
0.0860929936170578,
-0.017926396802067757,
0.034522056579589844,
0.06372115761041641,
-0.0651097521185875,
0.019449995830655098,
-0.026904059574007988,
-0.07409705966711044,
0.041002172976732254,
-0.051030926406383514,
0.03652780503034592,
-0.009107843972742558,
-0.004872141871601343,
-0.07166701555252075,
-0.032419875264167786,
-0.024493301287293434,
0.06051966920495033,
0.06973841041326523,
0.02194754220545292,
0.0015501173911616206,
-0.009585173800587654,
0.0013090416323393583,
0.010530191473662853,
0.09249596297740936,
-0.0036788168363273144,
0.007873536087572575,
-0.017222454771399498,
-0.04790658503770828,
-0.05334525555372238,
0.016692088916897774,
-0.031031277030706406,
0.08370152115821838,
-0.02883266657590866,
0.0394207164645195,
-0.012323794886469841,
0.007053878158330917,
0.039266426116228104,
-0.01901605911552906,
0.005303667858242989,
-0.013606318272650242,
-0.02487902343273163,
0.04397222772240639,
-0.06429973989725113,
-0.07656567543745041,
-0.028196226805448532,
0.023374710232019424,
-0.014994915574789047,
-0.03712567314505577,
-0.031513430178165436,
0.0017140490235760808,
0.03357703983783722,
0.003133985446766019,
-0.08825302869081497,
-0.004891428165137768,
-0.015718143433332443,
-0.030626270920038223,
0.03882284834980965,
0.011426993645727634,
0.007193702273070812,
-0.0753699392080307,
0.0014524817233905196,
-0.054579563438892365,
0.05990251526236534,
0.04462795332074165,
0.018071042373776436,
-0.02256469614803791,
0.011803071945905685,
0.08424153178930283,
0.05245809629559517,
0.021831825375556946,
0.005009555257856846,
-0.022063257172703743,
-0.05515814572572708,
-0.004999912343919277,
0.04181218892335892,
-0.02925696037709713,
-0.0002638273290358484,
0.03463777154684067,
-0.11278490722179413,
0.014599550515413284,
0.04493653029203415,
-0.055543866008520126,
0.029353389516472816,
0.03650851920247078,
-0.008259257301688194,
-0.020115366205573082,
0.040153585374355316,
-0.05546672269701958,
0.03211129829287529,
-0.03598779812455177,
-0.0410793162882328,
-0.010183041915297508,
-0.05384669080376625,
-0.001024572178721428,
-0.02973911166191101,
0.027752647176384926,
-0.017318885773420334,
0.023181850090622902,
-0.002900141989812255,
0.028196226805448532,
0.032921310514211655,
-0.01874605566263199,
0.009416420944035053,
0.007410670164972544,
-0.033307034522295,
-0.018707482144236565,
0.006026895251125097,
-0.020655374974012375,
-0.0029290709644556046,
0.021908968687057495,
-0.036604952067136765,
0.03853355720639229,
-0.011099129915237427,
0.038205694407224655,
-0.05091521143913269,
-0.035139210522174835,
0.03261273354291916,
-0.055621009320020676,
0.006726014893501997,
0.02430044114589691,
-0.004168200772255659,
0.04836944863200188,
-0.008394259959459305,
-0.0029652323573827744,
0.04389508441090584,
-0.02509116940200329,
-0.05477242171764374,
0.07440564036369324,
0.026769056916236877,
-0.029295532032847404,
-0.004168200772255659,
0.023856861516833305,
-0.0316484309732914,
0.011552352458238602,
-0.010192684829235077,
0.05083806440234184,
-0.023586856201291084,
0.044820815324783325,
0.07066413760185242,
0.00009175948071060702,
0.029449820518493652,
0.0011372751323506236,
-0.001779139507561922,
0.041002172976732254,
-0.06159969046711922,
0.05704817920923233,
0.003076127264648676,
-0.010684479959309101,
-0.04578511789441109,
0.02578546851873398,
-0.03712567314505577,
-0.02765621617436409,
-0.0018394084181636572,
0.02933410368859768,
-0.021831825375556946,
-0.021349674090743065,
0.03766568377614021,
-0.011330562643706799,
0.027887649834156036,
-0.017791394144296646,
0.0158242154866457,
-0.0016682446002960205,
0.07394277304410934,
-0.03128199651837349,
0.040230732411146164,
-0.03562135994434357,
-0.043509360402822495,
0.014445262029767036,
0.003743907203897834,
0.06892839819192886,
-0.06202398240566254,
0.08478154242038727,
-0.0894101932644844,
-0.02570832334458828,
0.06522546708583832,
0.026556910946965218,
0.005260274279862642,
0.035698506981134415,
-0.010983414016664028,
0.006311364471912384,
0.013355599716305733,
0.03743425011634827,
-0.043085068464279175,
-0.009700890630483627,
0.03157128766179085,
0.02736692503094673,
-0.03554421663284302,
-0.05731818452477455,
0.03727996349334717,
-0.026904059574007988,
0.02237183414399624,
0.08709586411714554,
-0.03120485320687294,
-0.023625429719686508,
0.009662318043410778,
0.03810926526784897
]
|
31,426 | prefect_sqlalchemy.credentials | block_initialization |
Initializes the engine.
| def block_initialization(self):
"""
Initializes the engine.
"""
warnings.warn(
"DatabaseCredentials is now deprecated and will be removed March 2023; "
"please use SqlAlchemyConnector instead.",
DeprecationWarning,
)
if isinstance(self.driver, AsyncDriver):
drivername = self.driver.value
self._driver_is_async = True
elif isinstance(self.driver, SyncDriver):
drivername = self.driver.value
self._driver_is_async = False
else:
drivername = self.driver
self._driver_is_async = drivername in AsyncDriver._value2member_map_
url_params = dict(
drivername=drivername,
username=self.username,
password=self.password.get_secret_value() if self.password else None,
database=self.database,
host=self.host,
port=self.port,
query=self.query,
)
if not self.url:
required_url_keys = ("drivername", "database")
if not all(url_params[key] for key in required_url_keys):
required_url_keys = ("driver", "database")
raise ValueError(
f"If the `url` is not provided, "
f"all of these URL params are required: "
f"{required_url_keys}"
)
self.rendered_url = URL.create(
**{
url_key: url_param
for url_key, url_param in url_params.items()
if url_param is not None
}
) # from params
else:
if any(val for val in url_params.values()):
raise ValueError(
f"The `url` should not be provided "
f"alongside any of these URL params: "
f"{url_params.keys()}"
)
self.rendered_url = make_url(str(self.url))
| (self) | [
0.038288939744234085,
-0.10296312719583511,
-0.02786373347043991,
0.008818776346743107,
0.02416752278804779,
-0.012927255593240261,
-0.008344903588294983,
0.018206201493740082,
-0.049358613789081573,
-0.019201334565877914,
0.006875897292047739,
0.01965625211596489,
-0.012605021707713604,
0.0398811511695385,
0.006928023416548967,
0.007629355415701866,
-0.0007955143228173256,
0.018282020464539528,
-0.0017201590817421675,
-0.09037706255912781,
-0.0321664996445179,
0.0462120957672596,
0.004660541191697121,
0.02632838487625122,
0.01227331068366766,
0.03451691195368767,
-0.04875205457210541,
0.03116188943386078,
0.058760251849889755,
0.014633198268711567,
0.00970018096268177,
0.046970292925834656,
0.059139352291822433,
0.08241599053144455,
0.059670090675354004,
-0.021115781739354134,
0.0606936551630497,
0.04037398099899292,
-0.027844777330756187,
-0.03760656341910362,
-0.021267421543598175,
-0.01614959165453911,
0.03453586623072624,
-0.003660669084638357,
-0.017817625775933266,
0.002266297582536936,
0.003011462977156043,
-0.012188013643026352,
-0.028015373274683952,
-0.04852459579706192,
0.03140830248594284,
0.08431148529052734,
0.022234121337532997,
0.08082377910614014,
-0.024717215448617935,
-0.02795850858092308,
-0.06209632009267807,
0.048789966851472855,
-0.03116188943386078,
0.01749539189040661,
-0.004013704601675272,
0.007146005053073168,
-0.015012296847999096,
0.05034426972270012,
0.012538679875433445,
-0.037758201360702515,
-0.06998156756162643,
0.026783302426338196,
0.07407582551240921,
0.014690062962472439,
0.03203381597995758,
0.052580948919057846,
-0.0009050974622368813,
-0.002125320490449667,
-0.01462372113019228,
-0.007548796944320202,
-0.0652049258351326,
0.027124490588903427,
0.00009062821482075378,
0.010756917297840118,
-0.010662143118679523,
0.00360143487341702,
-0.005174693185836077,
-0.024091703817248344,
0.06584939360618591,
-0.017504869028925896,
-0.035559430718421936,
0.031086070463061333,
-0.02799641713500023,
-0.006406763102859259,
-0.011012808419764042,
-0.012927255593240261,
0.0054448009468615055,
0.07176332920789719,
-0.008548669517040253,
-0.02090727724134922,
0.015372440218925476,
0.0059044575318694115,
-0.001876537105999887,
-0.026840167120099068,
-0.010927511379122734,
-0.015618854202330112,
0.029910864308476448,
-0.03707582503557205,
-0.013694929890334606,
-0.07801844924688339,
-0.017448004335165024,
-0.043899595737457275,
0.012927255593240261,
-0.019732072949409485,
-0.02795850858092308,
0.005961322691291571,
0.01352433580905199,
0.018642164766788483,
-0.03908504545688629,
-0.020509224385023117,
-0.014955432154238224,
-0.010254612192511559,
0.04674283415079117,
-0.03635553643107414,
-0.06603894382715225,
0.01718263514339924,
-0.029228487983345985,
0.008984631858766079,
0.05667521059513092,
0.0661526694893837,
0.0018587668891996145,
-0.03235604986548424,
-0.02143801562488079,
-0.04723566025495529,
0.06395389884710312,
0.018727460876107216,
-0.005013576243072748,
-0.0004946049302816391,
-0.016566600650548935,
0.0006853388622403145,
0.007387680467218161,
0.0017343752551823854,
-0.013315831311047077,
0.06088320538401604,
-0.029569676145911217,
-0.01975102722644806,
-0.04287603124976158,
-0.002089780056849122,
0.040828898549079895,
0.025304818525910378,
-0.036128077656030655,
-0.060049187391996384,
0.017883967608213425,
-0.04928279295563698,
0.09886886179447174,
-0.017296364530920982,
0.021760249510407448,
-0.00004109367364435457,
-0.051178283989429474,
0.010501026175916195,
-0.0027674182783812284,
-0.013657020404934883,
0.04386168718338013,
-0.0074729775078594685,
0.03400512784719467,
-0.038288939744234085,
-0.010756917297840118,
-0.01592213287949562,
-0.04105635732412338,
0.002499680034816265,
-0.014102460816502571,
-0.05834324657917023,
-0.003828893881291151,
0.014140370301902294,
-0.04374795779585838,
-0.00347585859708488,
-0.033777669072151184,
0.042838118970394135,
0.011079151183366776,
0.046439554542303085,
0.04401332512497902,
-0.026309428736567497,
0.006274078506976366,
-0.0434446781873703,
0.022215167060494423,
-0.058039966970682144,
-0.025664962828159332,
0.007368725258857012,
0.0443924255669117,
-0.0025210045278072357,
-0.006743213161826134,
0.033872444182634354,
0.04932070150971413,
0.028849389404058456,
-0.05546209588646889,
-0.003509029746055603,
0.005506404209882021,
0.01601690798997879,
0.03844057768583298,
0.0014986234018579125,
0.04014652222394943,
0.030460556969046593,
-0.04348258674144745,
0.047538939863443375,
0.015685196965932846,
-0.021210556849837303,
-0.006051358301192522,
-0.0868893563747406,
0.04575717821717262,
-0.03218545392155647,
-0.013391651213169098,
-0.041207995265722275,
0.0248878113925457,
-0.021760249510407448,
-0.061641402542591095,
-0.025096314027905464,
-0.044998981058597565,
0.053869884461164474,
-0.024774080142378807,
0.011458249762654305,
0.06596312671899796,
0.022689038887619972,
0.025968240574002266,
0.06437090784311295,
0.07085349410772324,
-0.036564040929079056,
0.009325820952653885,
-0.08014140278100967,
0.008908812887966633,
0.01021670177578926,
-0.026536889374256134,
-0.04401332512497902,
-0.04924488440155983,
-0.013211579993367195,
-0.03789088502526283,
0.01808299496769905,
0.0037293806672096252,
0.034061990678310394,
0.04640164598822594,
0.002339747967198491,
0.0088424701243639,
0.03953996300697327,
-0.06171721965074539,
-0.009449027478694916,
0.01723949983716011,
0.046818654984235764,
-0.0361659899353981,
-0.03425154089927673,
-0.06664550304412842,
-0.015448260121047497,
-0.008851948194205761,
0.04799385741353035,
-0.029209531843662262,
-0.04575717821717262,
-0.07771517336368561,
-0.0389334075152874,
0.02934221737086773,
-0.02162756398320198,
-0.043179307132959366,
-0.03588166460394859,
0.04238320142030716,
0.07221824675798416,
0.02124846540391445,
-0.009363730438053608,
0.011297132819890976,
-0.012538679875433445,
-0.09143853932619095,
0.08188525587320328,
0.07001947611570358,
-0.013552768155932426,
-0.022613219916820526,
0.006785861682146788,
-0.023845290765166283,
0.0016692177159711719,
0.02244262583553791,
0.03783402219414711,
-0.03154098615050316,
0.015552512370049953,
-0.00510835088789463,
-0.030422646552324295,
-0.021134736016392708,
-0.0380614809691906,
-0.057850416749715805,
-0.01761859841644764,
0.0276173185557127,
-0.034118857234716415,
0.013770749792456627,
-0.012405995279550552,
0.015448260121047497,
-0.0013457993045449257,
-0.0679723471403122,
-0.02570287138223648,
-0.010226179845631123,
-0.019334018230438232,
-0.03246977925300598,
-0.0076814815402030945,
0.01677510514855385,
-0.00985655840486288,
-0.016917265951633453,
-0.0041298032738268375,
-0.0010063877562060952,
0.03790983930230141,
0.012984120287001133,
-0.060731563717126846,
-0.02085041254758835,
-0.02708658203482628,
0.05709221959114075,
0.09613935649394989,
0.0312945730984211,
-0.07092931121587753,
-0.03006250411272049,
0.013628588058054447,
-0.007283428218215704,
-0.01868007332086563,
0.02704867161810398,
0.008795083500444889,
0.07771517336368561,
0.023295598104596138,
0.03438422456383705,
-0.011496159248054028,
0.006738474126905203,
-0.05921517312526703,
0.020300719887018204,
0.021646518260240555,
-0.05231558158993721,
0.03736014664173126,
0.02062295377254486,
-0.013638065196573734,
0.003994749393314123,
-0.029607586562633514,
0.06209632009267807,
0.0192487221211195,
-0.017751282081007957,
0.040298160165548325,
-0.04363422840833664,
0.04132172837853432,
0.01184682548046112,
0.027067625895142555,
-0.017637552693486214,
-0.03413781151175499,
-0.03946414589881897,
-0.040260251611471176,
0.013609632849693298,
-0.06205840781331062,
0.017751282081007957,
-0.059670090675354004,
-0.009648054838180542,
-0.0001556376664666459,
0.00731186056509614,
-0.03787193074822426,
-0.001246285974048078,
-0.05815369635820389,
-0.001987897325307131,
-0.035938527435064316,
0.0003521468897815794,
-0.035464655607938766,
-0.041207995265722275,
0.046439554542303085,
0.010368341580033302,
-0.07108095288276672,
-0.024584531784057617,
-0.009837604127824306,
-0.026783302426338196,
-0.04666701331734657,
0.017978742718696594,
0.019921621307730675,
-0.021760249510407448,
0.011164448224008083,
-0.010150359943509102,
-0.014538424089550972,
0.00915522687137127,
-0.01831045374274254,
0.02680225670337677,
-0.0010839845053851604,
-0.014282532967627048,
-0.061451852321624756,
0.06656967848539352,
0.021684428676962852,
0.00855814665555954,
-0.06281660497188568,
-0.048789966851472855,
-0.01908760517835617,
0.0074445451609790325,
0.016822492703795433,
0.0058760251849889755,
0.013078895397484303,
0.06766906380653381,
-0.023902155458927155,
-0.02238576114177704,
-0.06209632009267807,
0.00545427855104208,
0.034649595618247986,
0.016386529430747032,
0.008804560638964176,
-0.021665474399924278,
-0.00588550278916955,
-0.011932122521102428,
0.0335502102971077,
0.01037781871855259,
0.04367213696241379,
0.06611476093530655,
0.03463064134120941,
0.010719007812440395,
-0.019769981503486633,
-0.004487577360123396,
-0.051709022372961044,
0.05906353145837784,
0.03381557762622833,
0.014348874799907207,
-0.027105536311864853,
0.09704919159412384,
0.04113217815756798,
0.03491496294736862,
-0.017324797809123993,
-0.05572746694087982,
-0.029474901035428047,
-0.09651845693588257,
0.01543878298252821,
-0.005307377781718969,
0.003440318163484335,
0.03870594874024391,
0.03908504545688629,
0.038497444242239,
0.07468238472938538,
0.02968340553343296,
-0.018917011097073555,
0.0190307404845953,
0.011306609958410263,
-0.003144147340208292,
0.07388628274202347,
0.01126870047301054,
0.004023181740194559,
-0.011571979150176048,
-0.020111171528697014,
0.009752306155860424,
0.04113217815756798,
0.0028764090966433287,
0.005937628913670778,
-0.008771389722824097,
0.0140455961227417,
0.03015727922320366,
0.04128381609916687,
0.019049694761633873,
-0.031578898429870605,
0.006548924837261438,
-0.0231060478836298,
-0.020888322964310646,
0.00962436106055975,
0.06088320538401604,
-0.01956147700548172,
-0.023864245042204857,
0.02564600668847561,
0.04738730192184448,
0.04329303652048111,
-0.067820705473423,
0.0316547155380249,
0.021798158064484596,
-0.02124846540391445,
-0.06031455844640732,
0.013619109988212585,
0.036033302545547485,
0.01965625211596489,
0.05481762811541557,
0.03969160467386246,
0.03815625607967377,
-0.0025778692215681076,
0.009325820952653885,
-0.002812436316162348,
0.010842214338481426,
0.005828638095408678,
0.04507480189204216,
-0.01126870047301054,
-0.01927715353667736,
-0.004956711549311876,
-0.01285143569111824,
0.009960810653865337,
0.021589653566479683,
-0.0074445451609790325,
-0.003537462092936039,
-0.03290574252605438,
-0.005217341706156731,
0.007401896640658379,
-0.0011112322099506855,
-0.04321721941232681,
-0.051519472151994705,
0.023996928706765175,
0.017504869028925896,
-0.0012439166894182563,
-0.024091703817248344,
-0.05504509061574936,
0.05398361384868622,
-0.04291393980383873,
0.02124846540391445,
-0.028167011216282845,
-0.0624375082552433,
0.036696724593639374,
0.05955636128783226,
0.01651921309530735,
-0.034118857234716415,
-0.015524080023169518,
0.01664241962134838,
0.009074668399989605,
0.026972852647304535,
-0.012074284255504608,
0.03246977925300598,
0.010207224637269974,
0.012197491712868214,
-0.01630123145878315,
0.033303793519735336,
-0.027598364278674126,
-0.006444673053920269,
0.023712605237960815,
-0.00034770433558151126,
0.04405123367905617,
0.01213114894926548,
-0.006596312392503023,
-0.03629867359995842,
-0.04405123367905617,
0.0036867319140583277,
0.015457737259566784,
-0.04185246303677559,
-0.019191857427358627,
0.0025802385061979294,
0.00738294143229723,
0.0335502102971077,
0.047159843146800995,
0.015182890929281712,
-0.04321721941232681,
-0.019315063953399658,
-0.003627497935667634,
0.03356916457414627,
-0.02238576114177704,
0.030763836577534676,
0.007013320457190275,
0.019258199259638786,
0.001938140601851046,
-0.020679818466305733,
-0.012358607724308968,
0.016348619014024734,
0.010719007812440395,
-0.0398053340613842,
0.02037653885781765,
-0.061451852321624756,
-0.04886578395962715,
0.03199590742588043,
0.05940471962094307,
-0.008444417268037796,
-0.06664550304412842,
-0.015836836770176888,
-0.0834016501903534,
-0.015997953712940216,
0.07187705487012863,
-0.02799641713500023,
-0.05182275176048279,
0.03385348618030548,
0.08378075063228607,
0.03487705439329147,
-0.048600416630506516,
-0.03548360988497734,
-0.05845697596669197,
0.034061990678310394,
-0.0023906894493848085,
-0.010188269428908825,
0.021779203787446022,
0.022954408079385757,
-0.011183403432369232,
-0.10516189783811569,
-0.007913678884506226,
0.018917011097073555,
-0.0015661503421142697,
0.07623668760061264,
0.015495647676289082,
-0.027465680614113808,
0.02272694930434227,
-0.019694162532687187,
0.027465680614113808,
0.047880128026008606,
0.051519472151994705,
0.001993820769712329,
-0.04291393980383873,
-0.049699801951646805,
0.030081458389759064,
0.045719269663095474,
-0.04799385741353035,
0.052808407694101334,
-0.031048160046339035,
-0.0389334075152874,
-0.031768444925546646,
-0.025778692215681076,
-0.005302639212459326,
0.005719647277146578,
0.08582787960767746,
0.014424694702029228,
-0.03394826129078865,
-0.026726437732577324,
-0.00688063632696867,
-0.009449027478694916,
-0.039009224623441696,
0.006847464945167303,
0.034744370728731155,
-0.0050277928821742535,
-0.011069673113524914,
0.046098366379737854,
0.01956147700548172,
-0.0997028797864914,
0.06118648499250412,
0.01213114894926548,
-0.03231813758611679,
0.0015862899599596858,
-0.03184426575899124,
-0.03379662334918976,
0.039577875286340714,
-0.06042828783392906,
-0.014964909292757511,
-0.011136015877127647,
0.024849900975823402,
-0.004736360628157854,
0.021267421543598175,
0.004229316487908363,
-0.026783302426338196,
-0.07468238472938538,
0.058191604912281036,
0.08006558567285538,
0.028223875910043716,
-0.023617830127477646,
0.06122439354658127,
0.027257176116108894,
0.03163576126098633,
-0.07688115537166595,
0.02316291257739067,
0.03034682758152485,
-0.04886578395962715,
-0.0579262375831604,
0.022044572979211807,
-0.0038810200057923794,
-0.01589370146393776,
0.004876153077930212,
0.028015373274683952,
0.018926488235592842,
-0.019769981503486633,
0.03826998546719551,
0.010633710771799088,
0.030271008610725403,
0.004572874400764704,
0.0644088163971901,
0.0009364915313199162,
0.021949797868728638,
0.010984376072883606,
0.0253237746655941,
0.028299696743488312,
-0.010055585764348507,
-0.012519724667072296,
0.04056353121995926,
-0.01395082101225853,
-0.02052817866206169,
0.015173413790762424,
0.06603894382715225,
-0.03953996300697327,
-0.03281096741557121,
-0.017372185364365578,
-0.0959118977189064,
0.006705303210765123,
0.04761476069688797,
-0.03480123355984688,
0.016528690233826637,
0.004805072210729122,
-0.0043146139942109585,
-0.0005538390832953155,
0.015069161541759968,
0.029891910031437874,
-0.0034426874481141567,
0.025835556909441948,
-0.017542779445648193,
0.034649595618247986,
0.021779203787446022,
-0.006913807243108749,
0.016310708597302437,
0.015969520434737206,
0.017921878024935722,
0.016689807176589966,
-0.06319570541381836,
-0.05546209588646889,
-0.0019274784717708826,
0.02564600668847561,
0.012112193740904331,
0.004755315836519003,
-0.07206660509109497,
0.03269723802804947,
-0.057319678366184235,
0.010283044539391994,
-0.013372696004807949,
0.010159837082028389,
0.0561065636575222,
-0.06342316418886185,
-0.045567627996206284,
0.01302203070372343,
-0.01915394701063633,
0.03197694942355156,
-0.0588739812374115,
-0.07047439366579056,
0.023030228912830353,
-0.08537296205759048,
0.012557635083794594,
0.05148156359791756,
0.053111687302589417,
-0.0016087988624349236,
-0.046060457825660706,
0.03749283403158188,
0.011401385068893433,
0.013003075495362282,
0.05508299916982651,
-0.015552512370049953,
0.01664241962134838,
-0.011903690174221992,
-0.0000609000853728503,
-0.008567623794078827,
0.03233709558844566,
-0.024774080142378807,
0.016689807176589966,
0.04492316022515297,
-0.013865523971617222,
-0.019826846197247505,
-0.026783302426338196,
-0.007174437399953604,
-0.023295598104596138,
-0.027655228972434998,
0.010084018111228943,
-0.03319006413221359,
0.050040990114212036,
0.025020495057106018,
-0.08931558579206467,
0.004475730471313,
0.08635861426591873,
0.0416250042617321,
-0.03366393968462944,
-0.028659839183092117,
-0.06395389884710312,
0.07350718230009079,
-0.01059580035507679,
-0.03373975679278374,
0.03764447197318077,
-0.0284892451018095,
-0.05815369635820389,
-0.010794826783239841,
-0.038383714854717255,
-0.0065062763169407845,
-0.058949802070856094,
0.017201589420437813,
0.04079098999500275,
0.0005008245352655649,
0.0317305363714695,
0.00570543110370636,
0.045908816158771515,
0.04291393980383873,
-0.014434171840548515,
0.01646234840154648,
0.005568007938563824,
0.0597459077835083,
-0.023333506658673286,
-0.05849488452076912,
0.01793135516345501,
0.03341752663254738,
-0.04325512796640396,
-0.02968340553343296,
0.006752690300345421,
0.03717060014605522,
0.027446724474430084,
0.0009364915313199162,
0.0015258711064234376,
-0.01081378199160099,
0.06122439354658127,
0.014955432154238224
]
|
31,427 | pydantic.v1.main | copy |
Duplicate a model, optionally choose which fields to include, exclude and change.
:param include: fields to include in new model
:param exclude: fields to exclude from new model, as with values this takes precedence over include
:param update: values to change/add in the new model. Note: the data is not validated before creating
the new model: you should trust this data
:param deep: set to `True` to make a deep copy of the model
:return: new model instance
| import warnings
from abc import ABCMeta
from copy import deepcopy
from enum import Enum
from functools import partial
from pathlib import Path
from types import FunctionType, prepare_class, resolve_bases
from typing import (
TYPE_CHECKING,
AbstractSet,
Any,
Callable,
ClassVar,
Dict,
List,
Mapping,
Optional,
Tuple,
Type,
TypeVar,
Union,
cast,
no_type_check,
overload,
)
from typing_extensions import dataclass_transform
from .class_validators import ValidatorGroup, extract_root_validators, extract_validators, inherit_validators
from .config import BaseConfig, Extra, inherit_config, prepare_config
from .error_wrappers import ErrorWrapper, ValidationError
from .errors import ConfigError, DictError, ExtraError, MissingError
from .fields import (
MAPPING_LIKE_SHAPES,
Field,
ModelField,
ModelPrivateAttr,
PrivateAttr,
Undefined,
is_finalvar_with_default_val,
)
from .json import custom_pydantic_encoder, pydantic_encoder
from .parse import Protocol, load_file, load_str_bytes
from .schema import default_ref_template, model_schema
from .types import PyObject, StrBytes
from .typing import (
AnyCallable,
get_args,
get_origin,
is_classvar,
is_namedtuple,
is_union,
resolve_annotations,
update_model_forward_refs,
)
from .utils import (
DUNDER_ATTRIBUTES,
ROOT_KEY,
ClassAttribute,
GetterDict,
Representation,
ValueItems,
generate_model_signature,
is_valid_field,
is_valid_private_name,
lenient_issubclass,
sequence_like,
smart_deepcopy,
unique_list,
validate_field_name,
)
if TYPE_CHECKING:
from inspect import Signature
from .class_validators import ValidatorListDict
from .types import ModelOrDc
from .typing import (
AbstractSetIntStr,
AnyClassMethod,
CallableGenerator,
DictAny,
DictStrAny,
MappingIntStrAny,
ReprArgs,
SetStr,
TupleGenerator,
)
Model = TypeVar('Model', bound='BaseModel')
__all__ = 'BaseModel', 'create_model', 'validate_model'
_T = TypeVar('_T')
def validate_custom_root_type(fields: Dict[str, ModelField]) -> None:
if len(fields) > 1:
raise ValueError(f'{ROOT_KEY} cannot be mixed with other fields')
| (self: 'Model', *, include: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, exclude: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, update: Optional[ForwardRef('DictStrAny')] = None, deep: bool = False) -> 'Model' | [
0.02730671316385269,
-0.025600044056773186,
-0.03714403510093689,
0.05572563782334328,
0.021304605528712273,
-0.0067691500298678875,
-0.01615583337843418,
-0.03852470964193344,
0.000126067636301741,
-0.03729744255542755,
0.008097092621028423,
0.03516890108585358,
0.037815194576978683,
0.018447373062372208,
0.004885102156549692,
0.01378758903592825,
-0.0026103416457772255,
0.01998145692050457,
0.07060626149177551,
-0.03495796397328377,
0.03831377252936363,
-0.019166475161910057,
-0.03488126024603844,
0.052810877561569214,
0.030969342216849327,
0.033692341297864914,
0.007895744405686855,
0.014401223510503769,
0.032752715051174164,
-0.03582088649272919,
-0.028284693136811256,
-0.007243757601827383,
0.018552841618657112,
0.050279635936021805,
-0.002389816800132394,
-0.08046276122331619,
0.017392689362168312,
0.07954230904579163,
-0.10009904950857162,
-0.020901909098029137,
-0.007473870646208525,
0.018265200778841972,
-0.02910926379263401,
-0.056646090000867844,
0.028687389567494392,
-0.026558848097920418,
0.0021800787653774023,
0.0625523179769516,
-0.036952272057533264,
-0.03187061846256256,
-0.009904436767101288,
-0.019003478810191154,
0.001786969369277358,
0.01700916700065136,
0.02425771951675415,
-0.04176546633243561,
-0.023126332089304924,
0.07628238201141357,
0.031602151691913605,
0.015398378483951092,
-0.0209977887570858,
0.049550946801900864,
0.030681701377034187,
-0.006802708376199007,
-0.007584132719784975,
-0.026808135211467743,
-0.056722793728113174,
-0.03727826476097107,
-0.017268044874072075,
-0.01875418983399868,
-0.07087472826242447,
-0.05626256763935089,
0.03618523105978966,
0.07977242022752762,
0.06842019408941269,
-0.06565883755683899,
0.006946528796106577,
-0.037527553737163544,
0.07003097981214523,
-0.025427458807826042,
0.015455907210707664,
-0.03273354098200798,
-0.04468022659420967,
-0.023586558178067207,
0.016961228102445602,
0.018293963745236397,
-0.01506279781460762,
0.0031280952971428633,
0.04560067877173424,
0.008025182411074638,
-0.05944579467177391,
0.016750290989875793,
-0.026194501668214798,
0.0624372623860836,
-0.0030058478005230427,
-0.00028030009707435966,
0.003051391104236245,
-0.033558111637830734,
-0.02049921080470085,
0.002012288197875023,
0.006169898435473442,
0.022244233638048172,
-0.04057655110955238,
-0.010335898026823997,
-0.021458014845848083,
-0.018188495188951492,
-0.053692977875471115,
-0.003854388603940606,
-0.03576335683465004,
-0.007377990055829287,
-0.043107789009809494,
-0.018619956448674202,
-0.015187442302703857,
0.013749237172305584,
0.013921821489930153,
-0.02728753723204136,
0.03173638507723808,
-0.02245516888797283,
0.020901909098029137,
-0.03633863851428032,
0.028553158044815063,
0.018332315608859062,
-0.05538047105073929,
0.01476556807756424,
0.0457540862262249,
0.04598419740796089,
0.043184492737054825,
-0.012330208905041218,
0.030221475288271904,
0.0013279423583298922,
-0.047019705176353455,
0.020441683009266853,
-0.019712992012500763,
0.02251269854605198,
0.04544726759195328,
0.014027290046215057,
-0.013317775912582874,
-0.016894111409783363,
-0.0643165186047554,
0.031755559146404266,
0.013701297342777252,
0.05396144092082977,
0.0970308780670166,
-0.044871985912323,
-0.019310295581817627,
0.004985776264220476,
0.0007508627022616565,
-0.02245516888797283,
-0.021342957392334938,
0.009295596741139889,
-0.02627120539546013,
-0.028418924659490585,
-0.0009797769598662853,
0.050509750843048096,
-0.058908864855766296,
0.03704815357923508,
-0.040231380611658096,
-0.043261196464300156,
0.0072006117552518845,
-0.0626673772931099,
-0.06822843104600906,
-0.037470027804374695,
0.013126014731824398,
-0.0997922345995903,
0.011869982816278934,
0.014075229875743389,
-0.0032479455694556236,
-0.09181498736143112,
-0.03938763216137886,
0.04034643620252609,
-0.04111348092556,
0.00412764772772789,
0.03307870775461197,
0.040077973157167435,
-0.014151934534311295,
0.03476620092988014,
0.03041323646903038,
0.011563166044652462,
0.019588347524404526,
0.020690971985459328,
0.06159351393580437,
0.004678959492594004,
-0.01622295007109642,
0.014142346568405628,
0.047019705176353455,
0.06163186579942703,
-0.04556232690811157,
0.05725972354412079,
0.020729323849081993,
0.015053209848701954,
0.018619956448674202,
0.015417554415762424,
0.04767169430851936,
-0.023471500724554062,
-0.02404678240418434,
0.013317775912582874,
0.006783532444387674,
0.044641874730587006,
-0.028994206339120865,
0.0663108229637146,
-0.011160468682646751,
0.00541244400665164,
0.01687493547797203,
-0.0223784651607275,
-0.03766178712248802,
-0.025082290172576904,
0.028112107887864113,
-0.004971394315361977,
-0.0037249501328915358,
-0.09672406315803528,
0.0039215050637722015,
0.007982036098837852,
-0.0028979824855923653,
-0.005911021493375301,
0.04142029583454132,
-0.08537182956933975,
0.060289543122053146,
-0.010700243525207043,
0.016846170648932457,
-0.002480903174728155,
0.09925530105829239,
0.06888041645288467,
-0.010105784982442856,
0.010585187003016472,
0.047173116356134415,
-0.05771994963288307,
-0.022129176184535027,
-0.004364951513707638,
0.014199874363839626,
-0.05676114559173584,
-0.006922558881342411,
-0.05584069713950157,
-0.037182386964559555,
0.019789697602391243,
0.033558111637830734,
0.01868707314133644,
0.053194399923086166,
-0.01925276778638363,
0.015110737644135952,
0.02013486623764038,
0.0032695187255740166,
0.0009629979031160474,
-0.05384638532996178,
-0.02918596751987934,
-0.00922848004847765,
-0.009357918985188007,
0.015388790518045425,
-0.00736840208992362,
0.012598673813045025,
-0.03850553557276726,
0.01523538213223219,
0.009736645966768265,
-0.014842272736132145,
0.06880371272563934,
0.007162259425967932,
-0.008384733460843563,
-0.036952272057533264,
-0.09066442400217056,
0.06957075744867325,
-0.034862082451581955,
-0.02991465851664543,
-0.03672216087579727,
0.0182364359498024,
0.08437467366456985,
-0.011467285454273224,
-0.07467158883810043,
0.042762622237205505,
0.018639132380485535,
0.009688706137239933,
-0.008432673290371895,
0.09273543953895569,
0.03633863851428032,
-0.010220841504633427,
0.025235699489712715,
-0.06926394253969193,
-0.03411421552300453,
-0.031180279329419136,
-0.008518965914845467,
0.038409654051065445,
-0.04483363404870033,
-0.0001221724960487336,
-0.057374779134988785,
0.03405668959021568,
0.0030945371836423874,
0.06324265897274017,
0.013432832434773445,
-0.028188813477754593,
-0.027172481641173363,
-0.05449837073683739,
0.017939206212759018,
0.011534402146935463,
-0.04740322753787041,
0.060212839394807816,
-0.0224359929561615,
0.0034013541880995035,
-0.04291602969169617,
-0.051583610475063324,
0.019732167944312096,
-0.002739780116826296,
-0.09557349979877472,
-0.029953010380268097,
0.04437340795993805,
0.04740322753787041,
0.02657802402973175,
0.039579395204782486,
-0.0359167642891407,
-0.002991465851664543,
-0.028917502611875534,
0.019943105056881905,
0.019166475161910057,
-0.025312403216958046,
0.06899547576904297,
0.015283321961760521,
0.025945212692022324,
0.058908864855766296,
0.0367988646030426,
-0.011275525204837322,
-0.0011295899748802185,
0.03720156103372574,
0.05576398968696594,
0.0031784323509782553,
0.022570226341485977,
-0.014142346568405628,
-0.020384155213832855,
-0.019156886264681816,
-0.020000632852315903,
0.019214415922760963,
0.009405858814716339,
-0.03537983447313309,
-0.04272426664829254,
-0.04061490297317505,
0.020230745896697044,
0.04096006974577904,
0.05595575273036957,
-0.0053069754503667355,
0.0018001529388129711,
0.019588347524404526,
-0.08291729539632797,
0.006241808645427227,
-0.012483617290854454,
0.04494869336485863,
-0.0032958858646452427,
0.00553708802908659,
-0.029147615656256676,
-0.05733642727136612,
-0.01700916700065136,
0.03211990371346474,
0.03223496302962303,
0.027038248255848885,
0.0015712386230006814,
0.03173638507723808,
-0.04134359210729599,
-0.03012559562921524,
0.0016515384195372462,
0.007119113579392433,
-0.07145000994205475,
-0.039215050637722015,
0.004566300194710493,
0.016338005661964417,
-0.025254875421524048,
0.06991592794656754,
-0.0419955775141716,
-0.03250342607498169,
0.0170762836933136,
0.03012559562921524,
0.011572754010558128,
-0.026098622009158134,
-0.024641241878271103,
0.04452681913971901,
-0.012474029324948788,
0.0023011276498436928,
-0.01651059091091156,
0.018188495188951492,
-0.06205374002456665,
-0.0023274945560842752,
0.0559174008667469,
-0.009544885717332363,
0.03553324565291405,
-0.08882352709770203,
0.005326151382178068,
0.005436413921415806,
0.008413497358560562,
0.010287958197295666,
-0.003425324335694313,
0.06002107635140419,
-0.06577389687299728,
0.026769783347845078,
0.018735013902187347,
-0.03505384176969528,
0.021707303822040558,
0.01531208585947752,
-0.018955538049340248,
-0.036894746124744415,
-0.02548498846590519,
0.008432673290371895,
-0.011093351989984512,
-0.04958929866552353,
0.028418924659490585,
-0.023011276498436928,
0.011438521556556225,
-0.030240651220083237,
-0.05449837073683739,
0.0670778676867485,
0.034075863659381866,
0.009463387541472912,
0.026079446077346802,
0.04452681913971901,
0.01509156171232462,
-0.018121380358934402,
0.08890023082494736,
0.0377960205078125,
0.047173116356134415,
-0.008825782686471939,
-0.013432832434773445,
0.028514806181192398,
0.005048098508268595,
0.053539566695690155,
-0.026616375893354416,
-0.02535075508058071,
0.009170952253043652,
0.020806027576327324,
0.022570226341485977,
0.01694205217063427,
-0.01093035563826561,
-0.030815932899713516,
0.061133287847042084,
-0.046444423496723175,
0.06650258600711823,
-0.007771099451929331,
0.029933834448456764,
0.007517016492784023,
0.0275176502764225,
-0.042685914784669876,
-0.045715734362602234,
-0.03908081725239754,
-0.03411421552300453,
0.03378822281956673,
-0.04836203157901764,
0.004777236841619015,
0.021419662982225418,
-0.048477087169885635,
0.0011152079096063972,
0.018198084086179733,
0.02280033938586712,
0.04889896139502525,
-0.012416500598192215,
-0.04974270612001419,
0.07455652952194214,
-0.007608103100210428,
0.012617849744856358,
0.0010852452833205462,
0.013988938182592392,
0.06297419220209122,
0.04019302874803543,
-0.035955119878053665,
-0.032541777938604355,
0.016673587262630463,
-0.025158993899822235,
-0.013519124127924442,
0.008768254891037941,
-0.00611716415733099,
-0.0014226242201402783,
0.0167982317507267,
-0.021036140620708466,
-0.0210553165525198,
0.03211990371346474,
0.0476333387196064,
-0.03969445079565048,
-0.05008787661790848,
0.002828469267114997,
0.048553790897130966,
-0.034497737884521484,
0.050586454570293427,
0.02556169219315052,
-0.0503946952521801,
0.015254558064043522,
0.06236055865883827,
-0.03236919268965721,
-0.05185207352042198,
-0.07313750684261322,
0.08897693455219269,
0.005565852392464876,
-0.01852407678961754,
0.006706828251481056,
0.01781456172466278,
0.0004449445987120271,
0.03144874423742294,
-0.0044344644993543625,
-0.029742073267698288,
0.03083510883152485,
-0.03699062392115593,
0.058678753674030304,
0.019166475161910057,
0.03904246538877487,
0.018073439598083496,
-0.06481509655714035,
0.0023802288342267275,
0.055265411734580994,
0.0392342247068882,
-0.058832161128520966,
0.050931625068187714,
-0.014842272736132145,
-0.007756717503070831,
-0.03213908150792122,
0.023049628362059593,
0.0015820252010598779,
-0.009094247594475746,
-0.0019343853928148746,
0.018265200778841972,
-0.024449480697512627,
-0.062092091888189316,
0.01368212141096592,
0.019300706684589386,
0.021189549937844276,
-0.008528553880751133,
-0.033922456204891205,
0.04494869336485863,
0.002953113755211234,
-0.02801622822880745,
-0.022627754136919975,
-0.04698135331273079,
0.009650353342294693,
-0.008456643670797348,
0.005024128593504429,
0.020614268258213997,
0.09028090536594391,
-0.009060690179467201,
0.004803603980690241,
0.06623411923646927,
0.01990475319325924,
0.07098978757858276,
0.02830386906862259,
0.00624660262838006,
0.020825203508138657,
-0.00890728086233139,
0.026232853531837463,
0.027613529935479164,
-0.0066397120244801044,
-0.030720053240656853,
-0.010431778617203236,
0.060212839394807816,
0.04180381819605827,
-0.022857867181301117,
0.04115183278918266,
0.015340850688517094,
-0.004199557937681675,
0.01926235482096672,
0.027786115184426308,
-0.055035300552845,
0.00839911587536335,
-0.039579395204782486,
0.04744157940149307,
0.0025767835322767496,
0.020115690305829048,
-0.024353599175810814,
-0.012886314652860165,
-0.003279106691479683,
-0.012119271792471409,
0.037105683237314224,
0.01977052167057991,
-0.017037931829690933,
-0.019214415922760963,
0.042762622237205505,
-0.004937836434692144,
-0.01651059091091156,
0.0238166693598032,
-0.028495630249381065,
0.005321357399225235,
-0.05250405892729759,
0.014755980111658573,
-0.03582088649272919,
0.001760602230206132,
-0.0024833001662045717,
-0.004216336645185947,
0.028495630249381065,
0.032695189118385315,
-0.036300286650657654,
0.02924349531531334,
-0.03344305232167244,
-0.028802447021007538,
0.027786115184426308,
0.003751317271962762,
0.01635718159377575,
-0.0364728718996048,
0.019022654742002487,
-0.06868866086006165,
0.04767169430851936,
0.028399748727679253,
-0.0429927334189415,
-0.012013803236186504,
-0.029780425131320953,
0.08951386064291,
-0.042839325964450836,
-0.009333948604762554,
0.007028026971966028,
0.004062928259372711,
-0.09166157990694046,
-0.01940617524087429,
0.019962280988693237,
-0.020959436893463135,
-0.0719485878944397,
-0.004223527852445841,
0.0005764804081991315,
-0.0238166693598032,
0.019885577261447906,
-0.026443790644407272,
-0.00639042304828763,
0.005968549754470587,
0.0456390306353569,
-0.015149089507758617,
-0.010335898026823997,
0.006634917575865984,
-0.013519124127924442,
0.013231483288109303,
-0.003207196481525898,
-0.06305089592933655,
-0.0718335285782814,
0.05212054029107094,
0.052312299609184265,
-0.0690721794962883,
0.018044674769043922,
0.03750837966799736,
0.023644085973501205,
-0.0020386551041156054,
-0.07421136647462845,
0.054344963282346725,
-0.0158586036413908,
-0.002672663889825344,
0.025005586445331573,
-0.009108630008995533,
0.035955119878053665,
-0.0004095887125004083,
0.0038663737941533327,
-0.020825203508138657,
0.002297532046213746,
-0.05169866606593132,
0.03041323646903038,
-0.0023634496610611677,
0.009300390258431435,
0.019712992012500763,
-0.010508482344448566,
-0.07620567083358765,
-0.025254875421524048,
0.052312299609184265,
-0.05472848564386368,
0.02636708691716194,
0.002383824437856674,
-0.04119018465280533,
0.04794015735387802,
0.029205143451690674,
-0.010268781334161758,
0.04889896139502525,
0.0025576073676347733,
-0.054690130054950714,
0.0303365308791399,
-0.02462206408381462,
0.014842272736132145,
-0.03685639426112175,
0.03041323646903038,
-0.030240651220083237,
-0.028361396864056587,
-0.012828785926103592,
0.03463197126984596,
-0.018802130594849586,
-0.027134129777550697,
0.026156149804592133,
-0.0008599265711382031,
-0.021534718573093414,
0.046099256724119186,
0.003283900674432516,
-0.016683174297213554,
-0.05292593315243721,
-0.03177473694086075,
-0.0024389554746448994,
-0.0729457437992096,
0.006332894787192345,
0.023720789700746536,
0.015014857053756714,
0.0026175326202064753,
-0.02013486623764038,
0.03892740607261658,
-0.005057686474174261,
-0.05710631608963013,
0.03720156103372574,
0.005287799518555403,
-0.040653254836797714,
0.01437245961278677,
0.01767074130475521,
0.03229248896241188,
-0.0869826227426529,
-0.011352228932082653,
0.024641241878271103,
0.021956592798233032,
-0.018955538049340248,
-0.0671929270029068,
-0.1093035563826561,
-0.027191657572984695,
-0.003080155234783888,
-0.01473680417984724,
-0.0034564854577183723,
0.0318322628736496,
0.00025662966072559357,
-0.051660314202308655,
-0.016673587262630463,
0.030374884605407715,
0.057451486587524414,
-0.048477087169885635,
0.016165420413017273,
0.016673587262630463,
-0.02874491922557354,
0.05653103440999985,
0.062092091888189316,
0.01390264555811882,
-0.08936045318841934,
-0.01925276778638363,
-0.007560162805020809,
0.025389106944203377,
0.06216879561543465,
-0.025158993899822235,
-0.01910894736647606,
0.001404646667651832,
0.04180381819605827,
0.01621336117386818,
0.021956592798233032,
-0.0031640504021197557,
-0.006452745292335749,
-0.0018744601402431726,
-0.017843326553702354,
0.03488126024603844,
-0.01477515697479248,
0.07750964909791946,
0.006270572543144226,
-0.048170268535614014,
0.014823096804320812,
0.011639870703220367,
-0.040154676884412766,
-0.01154399011284113,
-0.05120008811354637,
-0.03119945526123047,
-0.0023598542902618647,
0.01752692088484764,
0.02918596751987934,
-0.059637557715177536,
0.01744063012301922,
-0.05096997693181038,
0.04019302874803543,
0.04686629772186279,
0.015283321961760521,
0.035725004971027374,
-0.052389003336429596,
0.007636866997927427,
0.035073019564151764,
-0.014343694783747196,
0.009415446780622005,
0.03235001862049103,
-0.014420399442315102,
-0.00850458350032568,
-0.018715837970376015,
-0.022531874477863312,
-0.03534148260951042,
0.0030178329907357693,
-0.054191555827856064,
-0.013001371175050735,
-0.032043199986219406,
0.04372142255306244,
0.020595092326402664,
-0.033270470798015594,
0.008130650967359543
]
|
31,428 | prefect_sqlalchemy.credentials | dict |
Convert to a dictionary.
| def dict(self, *args, **kwargs) -> Dict:
"""
Convert to a dictionary.
"""
# Support serialization of the 'URL' type
d = super().dict(*args, **kwargs)
d["rendered_url"] = SecretStr(
self.rendered_url.render_as_string(hide_password=False)
)
return d
| (self, *args, **kwargs) -> Dict | [
-0.017753850668668747,
-0.061644297093153,
-0.002065944252535701,
-0.012747996486723423,
-0.005321579519659281,
0.036862120032310486,
-0.02732628770172596,
0.03409837558865547,
0.022512614727020264,
0.001664423500187695,
0.03629472851753235,
0.05761764943599701,
0.01608828268945217,
0.02238449454307556,
0.010249645449221134,
-0.0027362892869859934,
0.0029948183801025152,
0.0006600497290492058,
0.002240966074168682,
-0.0459037683904171,
-0.03234129399061203,
-0.0450984425842762,
0.030510999262332916,
0.0030794693157076836,
-0.013416053727269173,
0.023409457877278328,
0.008446806110441685,
-0.012281271629035473,
-0.0055823964066803455,
0.01934620551764965,
0.01618894934654236,
-0.025532599538564682,
0.07423672080039978,
0.08419352024793625,
0.027820466086268425,
-0.039131682366132736,
-0.051467861980199814,
0.03384213522076607,
-0.11618705093860626,
-0.004001480061560869,
-0.05776407569646835,
0.03127972036600113,
-0.0394977405667305,
-0.03680720925331116,
0.056299839168787,
0.04392705112695694,
-0.03305510804057121,
0.04733140021562576,
-0.04758764058351517,
-0.07236982136964798,
0.038655806332826614,
-0.018980147317051888,
-0.00404723733663559,
0.049491144716739655,
-0.019144874066114426,
-0.005133974365890026,
-0.006035394035279751,
0.05575075000524521,
-0.010652310214936733,
0.056958746165037155,
-0.033476073294878006,
-0.022329585626721382,
0.008405624888837337,
-0.04271905869245529,
0.0015443104784935713,
0.0024274273309856653,
-0.06775747984647751,
0.026667380705475807,
0.012098242528736591,
0.007316599600017071,
0.062083568423986435,
-0.052126768976449966,
-0.012107393704354763,
0.02079213783144951,
-0.013095752336084843,
-0.03217656537890434,
0.01748845726251602,
-0.014175626449286938,
0.00276145595125854,
-0.01993189938366413,
0.02679550275206566,
-0.062962107360363,
-0.042389605194330215,
-0.025331266224384308,
-0.030456090345978737,
-0.03362249955534935,
-0.004010631237179041,
-0.04103519022464752,
-0.03331134840846062,
0.06036309152841568,
-0.0011679562740027905,
0.03159087151288986,
-0.07760445773601532,
0.007110691629350185,
-0.018797118216753006,
-0.01296763215214014,
-0.0028712735511362553,
-0.01075297687202692,
0.05172410607337952,
-0.02756422571837902,
0.04799030348658562,
-0.009755466133356094,
-0.04374402388930321,
0.00021634645236190408,
-0.0124734528362751,
-0.09598060697317123,
0.013727203942835331,
-0.02284206822514534,
-0.023848729208111763,
0.004827400203794241,
0.0028186526615172625,
0.00630993815138936,
-0.02860749326646328,
0.04374402388930321,
0.02820482850074768,
0.016628220677375793,
-0.037264782935380936,
-0.03655096888542175,
0.05355439707636833,
0.004626067820936441,
-0.04290208965539932,
0.05304191634058952,
-0.029321307316422462,
0.036093395203351974,
0.021286318078637123,
0.09546812623739243,
-0.03861920163035393,
-0.015026712790131569,
0.023263035342097282,
-0.017030883580446243,
0.008044141344726086,
0.029614154249429703,
-0.04875902831554413,
0.023519275709986687,
0.010908551514148712,
-0.0357639417052269,
0.018248029053211212,
0.040412887930870056,
0.039534348994493484,
0.1310490369796753,
0.02033456414937973,
0.044073477387428284,
-0.0049417936243116856,
0.01348926592618227,
0.008149383589625359,
-0.05446954444050789,
0.02871731109917164,
0.007636900991201401,
-0.0248187854886055,
-0.03792368993163109,
0.08917191624641418,
0.03492200747132301,
0.05355439707636833,
0.028644099831581116,
-0.027820466086268425,
-0.014907743781805038,
-0.001211425755172968,
0.006351119838654995,
0.00320530217140913,
0.006868177559226751,
0.02901015803217888,
-0.05586056783795357,
0.05307852104306221,
-0.02807670831680298,
0.003317407565191388,
0.046818915754556656,
0.1248992532491684,
-0.03971737623214722,
0.03548939898610115,
-0.0013647128362208605,
-0.02201843447983265,
-0.05820334330201149,
-0.06515846401453018,
0.029815487563610077,
0.027527619153261185,
0.03129802644252777,
0.023226428776979446,
-0.021542558446526527,
-0.016792945563793182,
-0.020938562229275703,
0.042975299060344696,
-0.05582396313548088,
-0.04414668679237366,
0.06475579738616943,
0.05904528126120567,
-0.04806351661682129,
0.002658501733094454,
0.0405593104660511,
0.013086601160466671,
0.024379514157772064,
-0.016161493957042694,
0.01585034467279911,
-0.05758104473352432,
-0.04905187711119652,
-0.01822972670197487,
-0.03404346480965614,
-0.015722224488854408,
-0.07789731025695801,
-0.04626983031630516,
0.03327474370598793,
-0.04143785312771797,
-0.05267585813999176,
-0.036843813955783844,
-0.027491014450788498,
0.026484351605176926,
-0.015310408547520638,
0.0040403734892606735,
-0.015932708978652954,
0.029815487563610077,
-0.008369018323719501,
-0.017991788685321808,
-0.014834531582891941,
-0.010524190030992031,
0.001143933623097837,
0.015978464856743813,
-0.08843979984521866,
-0.026594169437885284,
0.03226808086037636,
-0.03898525983095169,
-0.00562357809394598,
0.08668271452188492,
0.01299508661031723,
0.0071930550038814545,
-0.054286517202854156,
-0.02476387657225132,
-0.037850476801395416,
0.021359529346227646,
-0.047697458416223526,
-0.07225999981164932,
-0.011137338355183601,
-0.02383042685687542,
-0.04846618324518204,
0.004594037774950266,
0.09349141269922256,
0.06581737101078033,
0.014990107156336308,
-0.010121525265276432,
-0.03810671716928482,
0.01386447623372078,
0.020261352881789207,
0.05307852104306221,
0.015173136256635189,
-0.005056186579167843,
0.01929129660129547,
-0.0115400031208992,
0.031609173864126205,
0.018165666610002518,
0.08280249685049057,
-0.032158263027668,
-0.08089898526668549,
0.04886884614825249,
-0.008135655894875526,
-0.0304194837808609,
0.02994360774755478,
-0.014120717532932758,
0.0017467867583036423,
0.0240134559571743,
-0.0029650761280208826,
0.01375465840101242,
-0.03964416682720184,
0.0104052210226655,
-0.054103486239910126,
-0.030858755111694336,
0.025624115020036697,
0.0488322414457798,
-0.0289552491158247,
-0.009256711229681969,
0.03301849961280823,
-0.059630975127220154,
0.0270883496850729,
0.11831019818782806,
0.02009662613272667,
0.0017547942698001862,
0.010634006932377815,
-0.0029330458492040634,
-0.0051705799996852875,
0.03960755839943886,
-0.01618894934654236,
0.00027568801306188107,
-0.03596527501940727,
0.0035164521541446447,
-0.05926491692662239,
0.027710648253560066,
-0.01910826750099659,
0.06823335587978363,
-0.021396135911345482,
0.024599149823188782,
0.05948454886674881,
0.03653266653418541,
-0.0225492212921381,
0.05157767981290817,
0.002658501733094454,
-0.03909507766366005,
0.02027965523302555,
-0.020243050530552864,
0.00932077132165432,
-0.026667380705475807,
-0.0028941521886736155,
0.014523381367325783,
0.02447102963924408,
-0.0314810536801815,
0.006296210922300816,
0.06676912307739258,
0.03243280574679375,
-0.009846980683505535,
-0.005417669657617807,
0.015484286472201347,
-0.015401923097670078,
-0.002763743745163083,
0.008460533805191517,
0.024507634341716766,
0.04099858179688454,
0.018888631835579872,
0.08455957472324371,
-0.07635986059904099,
-0.0240134559571743,
0.00010488442057976499,
-0.02278715930879116,
0.013827870599925518,
0.07555452734231949,
-0.028406159952282906,
-0.015301256440579891,
-0.005280397832393646,
-0.026777198538184166,
0.1088658794760704,
-0.04817333444952965,
0.04443953558802605,
-0.008638987317681313,
0.07269927114248276,
0.05728819966316223,
-0.011109883897006512,
-0.000916290853638202,
0.024800481274724007,
0.00143106107134372,
-0.04304851219058037,
0.008529169484972954,
-0.027399498969316483,
-0.019913597032427788,
-0.051650892943143845,
-0.06552451848983765,
-0.012162302620708942,
-0.040010225027799606,
0.0017319155158475041,
-0.004516249988228083,
-0.08067935705184937,
-0.039827194064855576,
-0.003996904008090496,
-0.0104052210226655,
-0.0119426678866148,
-0.04912508651614189,
-0.03898525983095169,
-0.008904379792511463,
0.06204696372151375,
0.037264782935380936,
0.014404412358999252,
-0.05457936227321625,
-0.031188206747174263,
-0.05004023388028145,
-0.048978663980960846,
-0.026832107454538345,
0.04605019465088844,
0.004841127432882786,
-0.01876051165163517,
0.0014516517985612154,
0.04667249321937561,
0.007705537136644125,
0.031096693128347397,
-0.010826188139617443,
0.05728819966316223,
-0.01980377919971943,
-0.004635218996554613,
0.001965278061106801,
0.005605274811387062,
-0.01642688736319542,
0.04158427566289902,
-0.017982637509703636,
0.002653926145285368,
-0.001413902034983039,
-0.037209875881671906,
0.011054974980652332,
-0.001020388794131577,
0.05110180377960205,
0.03677060455083847,
0.048502787947654724,
0.056665897369384766,
-0.016811249777674675,
0.03217656537890434,
0.02190861664712429,
0.015282954089343548,
-0.0183486957103014,
-0.032597534358501434,
-0.019309600815176964,
-0.015282954089343548,
0.07635986059904099,
-0.016527554020285606,
-0.04971078038215637,
0.004008343443274498,
0.041620884090662,
-0.02884543128311634,
0.024342907592654228,
0.04901526868343353,
-0.036917027086019516,
-0.007215933408588171,
-0.008460533805191517,
0.009279590100049973,
-0.03087705746293068,
0.010807884857058525,
0.031188206747174263,
0.04568413645029068,
-0.030986875295639038,
-0.04345117509365082,
-0.06380404531955719,
-0.0488322414457798,
-0.04037628322839737,
0.06307192891836166,
-0.005879818927496672,
-0.02593526430428028,
0.01456913910806179,
-0.05128483474254608,
0.0156764667481184,
0.05505523830652237,
-0.006126908585429192,
0.0016323933377861977,
0.009746314957737923,
-0.001383015769533813,
0.0071930550038814545,
0.007600295357406139,
-0.021652376279234886,
0.053334761410951614,
0.03548939898610115,
0.023867031559348106,
-0.010496735572814941,
-0.0217438917607069,
-0.041218217462301254,
0.035507701337337494,
0.02825973741710186,
0.03461085632443428,
-0.02044438198208809,
0.007188478950411081,
0.04517165198922157,
-0.008931834250688553,
-0.04443953558802605,
0.0040197828784585,
0.07533489912748337,
0.09195396304130554,
0.013104904443025589,
-0.08243643492460251,
0.022750552743673325,
0.06955116987228394,
-0.025312963873147964,
0.03237789869308472,
0.007238812278956175,
0.0272164698690176,
-0.07511526346206665,
-0.06007024645805359,
-0.012427695095539093,
0.015456832014024258,
-0.044073477387428284,
0.01057909894734621,
0.03909507766366005,
0.02108498476445675,
-0.02703344076871872,
-0.05000362917780876,
-0.011906061321496964,
-0.026649078354239464,
-0.0035210277419537306,
-0.03728308528661728,
-0.0018005515448749065,
-0.04202354699373245,
0.010679764673113823,
-0.0014024627162143588,
0.0156764667481184,
-0.027070045471191406,
-0.014441018924117088,
-0.0012880692956969142,
0.07236982136964798,
0.0252214502543211,
-0.01520974189043045,
-0.08067935705184937,
-0.05384724587202072,
-0.046635888516902924,
0.00010795873822644353,
-0.02703344076871872,
0.0038779352325946093,
-0.022164858877658844,
0.019529234617948532,
-0.00569678982719779,
0.06124163419008255,
0.0461600124835968,
0.083241768181324,
-0.028882037848234177,
0.02302509732544422,
-0.06746463477611542,
0.018925238400697708,
-0.03623981773853302,
0.040632523596286774,
0.0023233292158693075,
-0.003260210854932666,
-0.006621087901294231,
-0.023263035342097282,
0.01415732316672802,
-0.013324539177119732,
0.045244865119457245,
0.04421989992260933,
-0.011823697946965694,
-0.004269160330295563,
-0.03418989107012749,
0.05000362917780876,
0.010807884857058525,
0.026246413588523865,
-0.03931471332907677,
0.009018773213028908,
0.10564456135034561,
-0.008474260568618774,
0.02185370959341526,
0.001079873414710164,
-0.04286548122763634,
0.02785707265138626,
-0.018147364258766174,
-0.047514427453279495,
0.005911848973482847,
0.07592058926820755,
0.03570903465151787,
-0.03138953819870949,
-0.0021471634972840548,
0.006726330146193504,
-0.011173943988978863,
-0.0045299772173166275,
0.002383957849815488,
0.06526827812194824,
-0.0019298160914331675,
0.00879913754761219,
-0.009609042666852474,
0.0008161966688930988,
-0.014816229231655598,
0.06808692961931229,
-0.023061702027916908,
0.02209164761006832,
-0.04048610106110573,
-0.0021345801651477814,
0.014990107156336308,
-0.030144939199090004,
-0.016536705195903778,
-0.02943112514913082,
0.0070329043082892895,
0.0014264852507039905,
0.026118293404579163,
0.04334135726094246,
-0.020060021430253983,
-0.04381723329424858,
-0.03700854256749153,
-0.01346181146800518,
0.03964416682720184,
-0.024489331990480423,
-0.03245111182332039,
-0.027527619153261185,
0.00436753872781992,
-0.017698941752314568,
-0.0016243858262896538,
0.03164578229188919,
0.007700961548835039,
-0.003736087353900075,
-0.08045972138643265,
-0.017753850668668747,
-0.022677341476082802,
0.03880222886800766,
-0.01299508661031723,
0.04952775314450264,
-0.08375424891710281,
-0.010954308323562145,
0.005166004411876202,
-0.009426013566553593,
0.030602512881159782,
0.026008475571870804,
0.030565908178687096,
0.02049929089844227,
0.04656267538666725,
0.023317944258451462,
0.05820334330201149,
-0.03473897650837898,
0.00879913754761219,
0.07185734063386917,
0.010213039815425873,
-0.01358078047633171,
-0.002218087436631322,
-0.0329635925590992,
0.03268904983997345,
0.03116990439593792,
0.02476387657225132,
-0.0405593104660511,
-0.056775715202093124,
-0.001070721889846027,
-0.01410241425037384,
-0.0017216202104464173,
0.02983378991484642,
-0.041913729161024094,
-0.02313491515815258,
-0.02049929089844227,
-0.028479373082518578,
0.0067034512758255005,
-0.011668123304843903,
0.021396135911345482,
-0.016573311761021614,
0.025679022073745728,
0.009563285857439041,
0.00527582224458456,
0.041291430592536926,
0.036386240273714066,
-0.03817993029952049,
-0.060912180691957474,
-0.010176434181630611,
0.009700557217001915,
-0.01159491203725338,
-0.020700624212622643,
0.0041433279402554035,
-0.020352868363261223,
-0.052529435604810715,
-0.0017971197376027703,
-0.028699006885290146,
0.029211489483714104,
0.02236619032919407,
0.008629835210740566,
-0.038143325597047806,
0.07478580623865128,
-0.02249431237578392,
-0.04099858179688454,
0.01830293796956539,
0.04773406311869621,
-0.024910299107432365,
-0.027875375002622604,
0.007549962028861046,
0.02644774690270424,
0.028461068868637085,
0.010130676440894604,
0.013031692244112492,
0.028991855680942535,
0.03664248436689377,
0.026832107454538345,
0.03343946859240532,
0.03276225924491882,
0.05494542047381401,
-0.00162781763356179,
-0.055494509637355804,
0.04729479178786278,
-0.04733140021562576,
0.06841638684272766,
0.006749208550900221,
-0.05344457924365997,
-0.011787092313170433,
-0.05245622247457504,
0.01660076528787613,
0.012683936394751072,
0.04912508651614189,
-0.03671569377183914,
-0.02179880067706108,
0.021121591329574585,
-0.0013086601393297315,
-0.01422138325870037,
-0.0065341489389538765,
0.009023348800837994,
-0.0044636293314397335,
0.03274395689368248,
-0.04637964814901352,
-0.08265607059001923,
-0.029376216232776642,
0.022402796894311905,
-0.0149443494156003,
0.0257522352039814,
-0.009846980683505535,
-0.03503182530403137,
0.010322857648134232,
-0.007064934354275465,
-0.038655806332826614,
-0.022274676710367203,
-0.014578290283679962,
0.008808289654552937,
-0.04597698152065277,
-0.03700854256749153,
0.02366570010781288,
-0.016033373773097992,
-0.05622662603855133,
-0.0017307716188952327,
-0.058642614632844925,
0.06321834772825241,
-0.0571051687002182,
0.03752102330327034,
-0.02073722891509533,
-0.004308054223656654,
-0.026758896186947823,
-0.027930283918976784,
0.006524997763335705,
-0.0872684121131897,
-0.05600699409842491,
-0.0627058669924736,
0.002287867246195674,
-0.03472067415714264,
0.028882037848234177,
-0.036496058106422424,
0.04356099292635918,
0.02196352556347847,
-0.004896035883575678,
-0.01456913910806179,
0.04187712445855141,
-0.010359463281929493,
0.0104052210226655,
-0.03990040719509125,
0.019327903166413307,
-0.020005112513899803,
0.025569206103682518,
-0.010130676440894604,
0.0006234438624233007,
-0.004173070192337036,
0.009819526225328445,
-0.028827128931879997,
-0.02919318713247776,
0.007312024012207985,
-0.0104052210226655,
0.023391155526041985,
-0.004113585688173771,
-0.027454407885670662,
0.0008476548246107996,
0.009110287763178349,
0.0037681173998862505,
0.01945602335035801,
0.03722817823290825,
0.018980147317051888,
-0.034006860107183456,
-0.015026712790131569,
0.03362249955534935,
-0.02972397208213806,
-0.01707664132118225,
0.02265903726220131,
-0.0525660403072834,
-0.007916021160781384,
-0.031718991696834564,
-0.021469347178936005,
0.0037406631745398045,
-0.04088876396417618,
-0.01618894934654236,
0.026905320584774017,
0.026173202320933342,
0.07485901564359665,
0.00015671891742385924,
0.008378170430660248,
0.02836955524981022,
0.01261987630277872,
0.030090030282735825,
-0.012070788070559502,
0.031078388914465904,
0.014431866817176342,
0.04176730662584305,
0.07372424006462097,
-0.04861260578036308,
0.03325644135475159,
0.0450984425842762,
-0.034354615956544876,
-0.00729829678311944,
0.02551429718732834,
-0.004671825096011162,
-0.009581588208675385,
-0.03186541795730591,
-0.009544982574880123,
-0.006387725472450256,
-0.024324605241417885,
-0.008721350692212582,
0.06384065002202988,
0.015173136256635189,
-0.03494030982255936
]
|
31,429 | prefect.blocks.core | get_block_placeholder |
Returns the block placeholder for the current block which can be used for
templating.
Returns:
str: The block placeholder for the current block in the format
`prefect.blocks.{block_type_name}.{block_document_name}`
Raises:
BlockNotSavedError: Raised if the block has not been saved.
If a block has not been saved, the return value will be `None`.
| def block_schema_to_key(schema: BlockSchema) -> str:
"""
Defines the unique key used to lookup the Block class for a given schema.
"""
return f"{schema.block_type.slug}"
| (self) -> str | [
0.041167668998241425,
-0.05160203203558922,
0.021402914077043533,
0.01653295010328293,
-0.014022291637957096,
-0.03513140603899956,
0.045583575963974,
0.0027065249159932137,
0.013888745568692684,
-0.013336757197976112,
-0.04027736186981201,
0.009909085929393768,
-0.028649989515542984,
-0.008582532405853271,
-0.040348585695028305,
-0.04825448989868164,
-0.02421627566218376,
0.025925658643245697,
-0.020441384986042976,
-0.013790812343358994,
-0.012660126201808453,
0.03386717289686203,
0.007313849404454231,
-0.04885989427566528,
0.007963771000504494,
0.06449364125728607,
0.038176245987415314,
0.023147908970713615,
0.0030003252904862165,
-0.04483572021126747,
-0.005653431639075279,
-0.045298680663108826,
0.03842553123831749,
0.0026531065814197063,
-0.00605406891554594,
-0.07261320948600769,
0.03653808683156967,
0.06990668922662735,
0.010336431674659252,
-0.03538069128990173,
0.06556200236082077,
0.03272758424282074,
-0.06175149977207184,
-0.0683397501707077,
0.02029893547296524,
0.06492098420858383,
0.014779049903154373,
-0.01449415273964405,
-0.01834026724100113,
-0.016595270484685898,
-0.016052184626460075,
-0.04326878488063812,
-0.006383481435477734,
-0.003038163064047694,
-0.02962932549417019,
-0.03746400028467178,
-0.04052664712071419,
-0.029380040243268013,
-0.04861060902476311,
0.06659475713968277,
-0.05313335731625557,
-0.001082832459360361,
0.0008279829053208232,
0.03197972849011421,
0.01103086955845356,
-0.010069340467453003,
-0.058154672384262085,
0.003981885500252247,
-0.031730443239212036,
0.012980635277926922,
0.030305955559015274,
-0.04472888261079788,
-0.016871264204382896,
0.027403563261032104,
0.031730443239212036,
-0.06399507075548172,
-0.016203537583351135,
0.013888745568692684,
-0.0022992107551544905,
0.018073175102472305,
0.020441384986042976,
-0.03637783229351044,
-0.03703665733337402,
-0.04754224419593811,
0.040562260895967484,
-0.01170750055462122,
0.036181963980197906,
0.0113958939909935,
-0.03140993416309357,
-0.06851781159639359,
0.0036079578567296267,
-0.013577139005064964,
-0.006152002140879631,
0.04839693754911423,
0.0009771088371053338,
-0.012490968219935894,
-0.0150194326415658,
-0.05498518794775009,
0.040562260895967484,
-0.005105894524604082,
0.06702210009098053,
-0.005715752951800823,
-0.01999623328447342,
0.011645179241895676,
-0.04693683981895447,
-0.014636601321399212,
0.0001716617844067514,
0.0020165389869362116,
-0.020761894062161446,
-0.007469652220606804,
-0.013835327699780464,
-0.022328829392790794,
-0.020744089037179947,
0.010087146423757076,
0.030270343646407127,
0.0013821972534060478,
0.09230674058198929,
0.07777697592973709,
0.057121917605400085,
0.009544061496853828,
0.002152310451492667,
0.023343777284026146,
-0.04590408504009247,
0.020672863349318504,
0.03999246656894684,
0.004473778884857893,
0.016230246052145958,
0.03595048561692238,
-0.019925009459257126,
0.00025944021763280034,
0.004244525451213121,
0.024091633036732674,
-0.06976424157619476,
0.008364408276975155,
-0.019177153706550598,
0.018162205815315247,
0.020138680934906006,
0.07122433930635452,
0.0006660588551312685,
0.07734963297843933,
0.03235365450382233,
-0.00941941887140274,
-0.0003614078741520643,
-0.04647387936711311,
-0.021313883364200592,
-0.00039590714732185006,
-0.02694060653448105,
-0.01722738705575466,
0.01832246035337448,
-0.019444243982434273,
0.013488109223544598,
-0.007064564153552055,
0.04287705197930336,
0.10213570296764374,
-0.023041073232889175,
-0.04152378812432289,
-0.06456486135721207,
0.022400055080652237,
-0.0165774654597044,
-0.015615936368703842,
0.03782012313604355,
-0.0005191586678847671,
0.03262074664235115,
-0.04907356947660446,
-0.03611074015498161,
-0.020263323560357094,
0.05808344855904579,
-0.002009861869737506,
0.002383789513260126,
-0.07061892747879028,
-0.03999246656894684,
-0.007852483540773392,
-0.08304757624864578,
0.05192254111170769,
0.006939921528100967,
0.06050507351756096,
-0.0020343451760709286,
-0.00045016006333753467,
0.03472186625003815,
-0.025943465530872345,
0.030003251507878304,
0.056623347103595734,
-0.013559333048760891,
0.05779854953289032,
0.005208279937505722,
-0.022613726556301117,
0.011200027540326118,
0.005390792153775692,
0.04878867045044899,
-0.01283818669617176,
-0.052884072065353394,
0.04942969232797623,
-0.08689369261264801,
0.010291917249560356,
0.05064050480723381,
-0.004511616658419371,
0.01793072745203972,
-0.002557398984208703,
-0.08197921514511108,
0.02361086755990982,
0.03846114128828049,
-0.0015569195384159684,
0.0016270310152322054,
0.03096478059887886,
0.0538455992937088,
0.006022908259183168,
0.05729997903108597,
-0.0074874586425721645,
0.012562192976474762,
-0.015856318175792694,
-0.015509099699556828,
-0.018144400790333748,
-0.02619275078177452,
0.032175593078136444,
0.020583834499120712,
-0.09195061773061752,
-0.055982328951358795,
0.005555498413741589,
0.017191775143146515,
0.03949389606714249,
0.04722173511981964,
-0.015820706263184547,
0.021901484578847885,
-0.04629581794142723,
-0.011582857929170132,
-0.034027427434921265,
0.007647713180631399,
-0.031018199399113655,
-0.03657369688153267,
-0.04693683981895447,
-0.019444243982434273,
-0.01638159714639187,
-0.024981936439871788,
0.05605355277657509,
-0.0035478624049574137,
-0.011992397718131542,
-0.009971407242119312,
0.001563596772029996,
0.0372859425842762,
0.0033898332621902227,
0.011876658536493778,
0.010469977743923664,
0.022311024367809296,
-0.013559333048760891,
-0.02601468935608864,
-0.011404797434806824,
0.0018952351529151201,
-0.001914154039695859,
-0.022026127204298973,
-0.014609891921281815,
-0.028632184490561485,
-0.028222644701600075,
0.0445508249104023,
-0.014155836775898933,
0.01874980702996254,
-0.02402040734887123,
-0.03582584112882614,
-0.008400020189583302,
-0.021100210025906563,
-0.015687160193920135,
-0.06994230300188065,
0.009677606634795666,
-0.028756827116012573,
0.008132928982377052,
0.02008526399731636,
-0.049465302377939224,
-0.009633091278374195,
0.06435118615627289,
-0.004829900339245796,
-0.02453678473830223,
0.0931614339351654,
0.00657489662989974,
-0.04027736186981201,
0.003952950704842806,
0.009072200395166874,
-0.022132962942123413,
0.0025329154450446367,
0.0569794699549675,
0.004050884395837784,
-0.009775540791451931,
-0.004380296915769577,
-0.030394986271858215,
0.022863011807203293,
-0.013176502659916878,
0.036181963980197906,
-0.0066238632425665855,
-0.003846114268526435,
-0.07136678695678711,
-0.008266475051641464,
-0.006948824506253004,
-0.012544386088848114,
-0.010087146423757076,
-0.03564777970314026,
0.025747599080204964,
-0.025747599080204964,
0.016345985233783722,
0.01449415273964405,
-0.0013933260925114155,
0.03924461081624031,
0.016871264204382896,
-0.01107538491487503,
0.059294261038303375,
0.02373551018536091,
-0.012900508008897305,
-0.02040577307343483,
-0.011867755092680454,
-0.023165715858340263,
-0.04369613155722618,
0.024394335225224495,
0.04857499897480011,
-0.059899669140577316,
0.05626722797751427,
-0.013897649012506008,
0.0517800934612751,
-0.005310664884746075,
0.04715051129460335,
0.00968651007860899,
0.031855084002017975,
0.018589552491903305,
0.12378790229558945,
0.014075709506869316,
-0.011689694598317146,
-0.016354888677597046,
0.07026281207799911,
0.0024750458542257547,
-0.0486818365752697,
-0.06588251143693924,
-0.04747102037072182,
-0.009989213198423386,
-0.011885561048984528,
-0.0034944440703839064,
-0.033920589834451675,
0.03213998302817345,
-0.04113205522298813,
-0.054201722145080566,
0.018108787015080452,
0.05498518794775009,
-0.04017052799463272,
-0.03181947395205498,
-0.040953993797302246,
0.05167325586080551,
-0.01677333191037178,
0.04102521762251854,
0.016069991514086723,
-0.030501822009682655,
0.00023537417291663587,
-0.01248206477612257,
-0.038888487964868546,
-0.01046107430011034,
0.04633143171668053,
-0.011155512183904648,
-0.060647524893283844,
0.01692468300461769,
-0.003915112931281328,
0.07499922811985016,
-0.02900611236691475,
-0.01050558965653181,
-0.03749961405992508,
-0.0993579551577568,
0.1191583201289177,
0.060327015817165375,
-0.08767715841531754,
0.037143491208553314,
-0.03675175830721855,
0.008391117677092552,
0.062285684049129486,
-0.025427088141441345,
0.005088088568300009,
0.09672264754772186,
-0.029130754992365837,
-0.016844555735588074,
0.021937096491456032,
-0.06281986832618713,
-0.03354666382074356,
-0.03331518545746803,
0.022613726556301117,
0.016176827251911163,
0.02733233943581581,
-0.036306604743003845,
-0.008814011700451374,
0.0026108170859515667,
-0.028347287327051163,
0.07182974368333817,
0.04006369039416313,
-0.04907356947660446,
0.018500521779060364,
0.011654082685709,
-0.023468419909477234,
-0.005689044017344713,
0.036609310656785965,
0.03270977735519409,
-0.02403821423649788,
0.02939784526824951,
-0.0005876008071936667,
0.030786721035838127,
0.008702724240720272,
-0.0019775882828980684,
-0.04497816786170006,
0.02825825661420822,
-0.015411166474223137,
0.005372986197471619,
-0.04885989427566528,
0.011618469841778278,
0.027688462287187576,
0.03459722176194191,
0.006953276228159666,
0.014031194150447845,
0.06289108842611313,
0.007772355806082487,
-0.018251236528158188,
-0.054201722145080566,
0.007634358946233988,
-0.003258513519540429,
-0.0631759911775589,
0.05519886314868927,
-0.031552381813526154,
0.0435180701315403,
-0.00043374509550631046,
-0.016933586448431015,
0.023254746571183205,
0.01548239029943943,
0.05559059605002403,
0.04857499897480011,
-0.043874192982912064,
-0.013977776281535625,
-0.0006254386971704662,
0.015108462423086166,
-0.017895115539431572,
-0.01834026724100113,
0.06431557983160019,
-0.04586847499012947,
0.04373174533247948,
0.012036913074553013,
-0.024109438061714172,
-0.0037437293212860823,
-0.007358364295214415,
0.05979283154010773,
0.0026286232750862837,
-0.004068690352141857,
0.007794613484293222,
0.07051209360361099,
0.005417501088231802,
-0.05085417628288269,
0.003627989673987031,
0.024875100702047348,
0.03977879136800766,
-0.045512352138757706,
0.02102898620069027,
0.03555874899029732,
0.053489476442337036,
-0.009846764616668224,
-0.002064392901957035,
0.04586847499012947,
-0.05459345504641533,
0.01741435006260872,
-0.02507096715271473,
-0.008831817656755447,
-0.022863011807203293,
0.02962932549417019,
-0.029789580032229424,
-0.012134846299886703,
0.02382454089820385,
0.024875100702047348,
0.01642611250281334,
0.021260464563965797,
-0.023575255647301674,
-0.03885287791490555,
0.013372369110584259,
0.07934391498565674,
0.04227164387702942,
-0.023771122097969055,
-0.0013432465493679047,
0.014690020121634007,
0.023041073232889175,
-0.005849298555403948,
0.03162360563874245,
-0.0033608984667807817,
0.01046107430011034,
-0.05719314515590668,
-0.03190850466489792,
-0.015357747673988342,
-0.04031297564506531,
-0.005657883360981941,
0.0049100276082754135,
0.08197921514511108,
-0.008310990408062935,
-0.0393870584666729,
-0.0035701198503375053,
-0.07827554643154144,
-0.0038705975748598576,
-0.029771773144602776,
0.05024877190589905,
0.020014038309454918,
0.07934391498565674,
0.03468625247478485,
-0.02466142736375332,
0.0186607763171196,
0.04316194728016853,
-0.052884072065353394,
-0.009695412591099739,
0.019123734906315804,
-0.020868731662631035,
-0.0026419777423143387,
-0.035060182213783264,
0.044586434960365295,
-0.02795555256307125,
-0.0033453181385993958,
-0.015152977779507637,
0.013897649012506008,
-0.004562809132039547,
-0.0065081240609288216,
-0.022524697706103325,
0.06499221175909042,
0.00009202129149343818,
-0.03678737208247185,
0.010131661780178547,
0.03165921941399574,
0.011449312791228294,
0.03539849445223808,
0.067342609167099,
-0.029184171929955482,
-0.0024594655260443687,
-0.013158696703612804,
0.02848973497748375,
0.03162360563874245,
0.02702963538467884,
0.014191449619829655,
-0.03999246656894684,
-0.017895115539431572,
0.06089681014418602,
-0.019123734906315804,
0.01440512202680111,
-0.0009420531569048762,
0.031018199399113655,
-0.030074477195739746,
0.05633845180273056,
-0.01278476882725954,
0.0067217969335615635,
-0.015598130412399769,
-0.023343777284026146,
-0.031053811311721802,
-0.03623538091778755,
-0.010941838845610619,
-0.058154672384262085,
0.04818326607346535,
0.09494204074144363,
-0.02920197881758213,
0.05523447319865227,
-0.09002756327390671,
-0.03190850466489792,
0.05324019119143486,
0.014538668096065521,
0.016230246052145958,
-0.09999897330999374,
-0.006788569502532482,
-0.05405927076935768,
0.007407331373542547,
-0.0019653465133160353,
0.04494255781173706,
0.03778451308608055,
0.0010155033087357879,
0.01517078373581171,
0.021830258890986443,
-0.00473641837015748,
0.024394335225224495,
-0.015767287462949753,
-0.03322615474462509,
-0.009855668060481548,
-0.006468060426414013,
0.0403841994702816,
-0.007500812876969576,
0.008346602320671082,
0.08824695646762848,
-0.0160432830452919,
-0.019515467807650566,
0.023646479472517967,
-0.026068108156323433,
0.035060182213783264,
-0.01750338077545166,
-0.06182272359728813,
-0.008190798573195934,
0.02610372006893158,
0.03023473173379898,
0.054023660719394684,
-0.0026686869096010923,
-0.032674163579940796,
-0.005448661744594574,
-0.008457889780402184,
-0.007598746567964554,
0.015108462423086166,
-0.04059787094593048,
0.01309637539088726,
-0.02640642412006855,
0.010140565223991871,
0.03591487184166908,
0.007567585911601782,
0.040028076618909836,
-0.006993339862674475,
-0.007928159087896347,
-0.015313232317566872,
0.024394335225224495,
0.009561867453157902,
0.007233721669763327,
0.0787741169333458,
0.0642087385058403,
-0.012312907725572586,
0.026673514395952225,
-0.0027132020331919193,
0.012980635277926922,
-0.005364082753658295,
-0.03903093561530113,
0.021260464563965797,
0.025622956454753876,
-0.005657883360981941,
-0.034241098910570145,
-0.0372859425842762,
0.03331518545746803,
-0.05957916006445885,
0.00015469036588910967,
-0.039208997040987015,
-0.043126337230205536,
0.023788928985595703,
0.03700104355812073,
-0.009508449584245682,
-0.04255654290318489,
0.06509904563426971,
-0.05922303721308708,
0.0027911036740988493,
0.060113340616226196,
-0.04512061923742294,
-0.016951393336057663,
-0.02145633101463318,
-0.0039039840921759605,
-0.0921642929315567,
0.043233174830675125,
0.0507829524576664,
-0.01947985589504242,
0.00375485816039145,
-0.03445477411150932,
0.04576163738965988,
-0.02311229705810547,
0.0077590011060237885,
-0.03331518545746803,
-0.008760593831539154,
-0.03249610587954521,
-0.01248206477612257,
0.04212919622659683,
-0.030715495347976685,
-0.059401098638772964,
-0.029860803857445717,
-0.04626020789146423,
0.005942780524492264,
0.01655965857207775,
-0.030394986271858215,
0.042414091527462006,
0.05911619961261749,
0.00045795022742822766,
-0.051530808210372925,
0.01210813783109188,
-0.07111749798059464,
0.017325319349765778,
-0.0424497053027153,
-0.021367302164435387,
-0.036822982132434845,
-0.01823342964053154,
-0.006481414660811424,
0.026584483683109283,
-0.04497816786170006,
-0.043874192982912064,
-0.02672693319618702,
-0.03137432038784027,
-0.019800366833806038,
0.016069991514086723,
-0.11438629031181335,
-0.0487174466252327,
-0.019123734906315804,
-0.011778725311160088,
0.05085417628288269,
0.013559333048760891,
-0.04878867045044899,
0.03703665733337402,
-0.03416987508535385,
-0.030946975573897362,
-0.004967897664755583,
0.03863920271396637,
0.02206173911690712,
-0.026353005319833755,
-0.008417826145887375,
-0.009828958660364151,
-0.04358929395675659,
0.0295224878937006,
-0.027902133762836456,
-0.021812453866004944,
0.0016949166310951114,
-0.052884072065353394,
-0.011938979849219322,
0.07033403217792511,
0.03664492070674896,
0.012357423081994057,
0.018028659746050835,
0.017067132517695427,
-0.002124488353729248,
0.008791754022240639,
0.006775215268135071,
0.011208930052816868,
0.014592085964977741,
0.059080589562654495,
0.03538069128990173,
-0.02466142736375332,
0.060861196368932724,
0.03336860239505768,
-0.06143099069595337,
0.019141539931297302,
-0.012989538721740246,
0.04362490773200989,
-0.025355864316225052,
-0.0745006576180458,
0.04305511340498924,
0.01692468300461769,
0.013194308616220951,
-0.022204186767339706,
-0.03595048561692238,
-0.014583183452486992,
0.03327957168221474,
-0.006441351026296616,
-0.00022994888422545046,
-0.00031411045347340405,
0.018678583204746246,
0.021580973640084267,
0.02825825661420822,
0.018714195117354393,
-0.028774632140994072,
-0.0756402462720871,
0.0036012805067002773,
0.09714999794960022,
0.002399369841441512,
0.008960912004113197,
-0.05395243689417839,
-0.00834215059876442,
0.05527008697390556,
-0.02569418027997017,
0.03942267224192619,
-0.07019158452749252,
0.03313712403178215,
-0.010140565223991871,
-0.006187614519149065,
0.0336713045835495,
0.06078997254371643,
0.003770438488572836,
-0.030484016984701157,
-0.0186607763171196,
0.06488537043333054,
-0.02556953765451908,
-0.044906944036483765,
-0.016711009666323662,
-0.031107230111956596,
0.02587224170565605,
0.04398103058338165,
-0.039208997040987015,
-0.03251390904188156,
0.06766311824321747,
-0.08148064464330673,
-0.002521786605939269,
-0.0040864963084459305,
0.0160432830452919,
-0.04081154614686966,
0.0178684052079916,
-0.03456161171197891
]
|
31,430 | prefect_sqlalchemy.credentials | get_engine |
Returns an authenticated engine that can be
used to query from databases.
Returns:
The authenticated SQLAlchemy Connection / AsyncConnection.
Examples:
Create an asynchronous engine to PostgreSQL using URL params.
```python
from prefect import flow
from prefect_sqlalchemy import DatabaseCredentials, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.POSTGRESQL_ASYNCPG,
username="prefect",
password="prefect_password",
database="postgres"
)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
Create a synchronous engine to Snowflake using the `url` kwarg.
```python
from prefect import flow
from prefect_sqlalchemy import DatabaseCredentials, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
url = (
"snowflake://<user_login_name>:<password>"
"@<account_identifier>/<database_name>"
"?warehouse=<warehouse_name>"
)
sqlalchemy_credentials = DatabaseCredentials(url=url)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
| def get_engine(self) -> Union["Connection", "AsyncConnection"]:
"""
Returns an authenticated engine that can be
used to query from databases.
Returns:
The authenticated SQLAlchemy Connection / AsyncConnection.
Examples:
Create an asynchronous engine to PostgreSQL using URL params.
```python
from prefect import flow
from prefect_sqlalchemy import DatabaseCredentials, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.POSTGRESQL_ASYNCPG,
username="prefect",
password="prefect_password",
database="postgres"
)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
Create a synchronous engine to Snowflake using the `url` kwarg.
```python
from prefect import flow
from prefect_sqlalchemy import DatabaseCredentials, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
url = (
"snowflake://<user_login_name>:<password>"
"@<account_identifier>/<database_name>"
"?warehouse=<warehouse_name>"
)
sqlalchemy_credentials = DatabaseCredentials(url=url)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
"""
engine_kwargs = dict(
url=self.rendered_url,
connect_args=self.connect_args or {},
poolclass=NullPool,
)
if self._driver_is_async:
engine = create_async_engine(**engine_kwargs)
else:
engine = create_engine(**engine_kwargs)
return engine
| (self) -> Union[sqlalchemy.engine.base.Connection, sqlalchemy.ext.asyncio.engine.AsyncConnection] | [
0.03817615285515785,
-0.14705988764762878,
-0.040590014308691025,
0.025011321529746056,
0.03719203919172287,
0.006833085790276527,
0.006833085790276527,
0.008973067626357079,
-0.024769935756921768,
-0.028650682419538498,
0.024602822959423065,
-0.04664323851466179,
-0.05013405531644821,
0.027870820835232735,
0.01814110018312931,
-0.0036022246349602938,
-0.005770058371126652,
-0.011410139501094818,
0.034202564507722855,
-0.053216367959976196,
0.01977509818971157,
0.04408083111047745,
-0.020629234611988068,
-0.06509999930858612,
0.0033260229974985123,
0.07479257881641388,
-0.022467482835054398,
0.02120484784245491,
0.023433027788996696,
-0.010843809694051743,
0.06599126756191254,
0.017259111627936363,
0.044637877494096756,
0.052547916769981384,
0.04768305644392967,
0.012886308133602142,
0.036876380443573,
0.06461722403764725,
0.00011438281944720075,
-0.06803376972675323,
-0.05291927978396416,
0.002604185603559017,
0.060420818626880646,
0.01752835139632225,
-0.046011921018362045,
0.008945214562118053,
0.007190523203462362,
-0.05291927978396416,
0.042483966797590256,
-0.007622233126312494,
0.0761294886469841,
0.040441468358039856,
-0.01154940016567707,
0.04133274033665657,
0.009376924484968185,
-0.0118000702932477,
-0.07865475863218307,
0.021037735044956207,
-0.05577877536416054,
0.043858014047145844,
-0.00034960379707627,
-0.018540315330028534,
0.010648844763636589,
0.028223615139722824,
-0.012932728976011276,
-0.023173073306679726,
-0.032884225249290466,
-0.003449037205427885,
0.026236820966005325,
-0.01680419221520424,
-0.010203207843005657,
0.011939331889152527,
0.001963583752512932,
-0.01642354391515255,
-0.01121517363935709,
-0.04363519325852394,
0.01206002477556467,
0.05767272785305977,
0.02374868653714657,
0.0009852733928710222,
-0.035688020288944244,
-0.01353619433939457,
-0.011558684520423412,
-0.0350567027926445,
0.06684540212154388,
-0.02907775156199932,
-0.050802506506443024,
0.0411841981112957,
-0.06777381151914597,
-0.06948208808898926,
-0.0009034574031829834,
-0.03388690575957298,
0.01957084983587265,
0.09477192908525467,
-0.0174726452678442,
-0.02733234316110611,
0.0007589738816022873,
0.003822721540927887,
-0.012644922360777855,
0.000531223660800606,
-0.018131816759705544,
0.055147457867860794,
-0.004298530984669924,
0.02003505267202854,
-0.031603023409843445,
-0.048760008066892624,
-0.02902204729616642,
-0.004939132835716009,
0.0062203360721468925,
-0.00222818017937243,
-0.020666370168328285,
0.030934568494558334,
0.059455275535583496,
0.006336387246847153,
0.0023175394162535667,
-0.045194920152425766,
-0.04174124076962471,
-0.006795949302613735,
0.015290886163711548,
-0.013888989575207233,
-0.061237819492816925,
0.03587369993329048,
0.03969874233007431,
0.00499483710154891,
0.058675412088632584,
0.06268613785505295,
0.028576411306858063,
-0.045751966536045074,
-0.027963660657405853,
-0.02560550346970558,
0.0675138607621193,
0.028780659660696983,
0.02478850446641445,
0.019032372161746025,
0.002006522612646222,
0.07479257881641388,
0.01305342186242342,
-0.0013090558350086212,
-0.008819879963994026,
0.010723116807639599,
-0.008262834511697292,
-0.00857385154813528,
-0.05221368744969368,
-0.012384967878460884,
-0.018911678344011307,
0.02135339379310608,
-0.029913319274783134,
-0.06253758817911148,
-0.005765416193753481,
-0.07731784880161285,
0.06432013213634491,
-0.027258070185780525,
0.03745199367403984,
-0.008276760578155518,
-0.07382703572511673,
0.009242305532097816,
0.002316378988325596,
0.00928872637450695,
0.009868981316685677,
-0.024157186970114708,
-0.003012685338035226,
0.009316578507423401,
-0.027258070185780525,
-0.014891671016812325,
0.011679377406835556,
0.012579933740198612,
0.009553322568535805,
-0.0700019896030426,
0.004321740940213203,
-0.02400864101946354,
-0.034815315157175064,
0.0371549054980278,
-0.01504950039088726,
0.05113673582673073,
-0.007654727436602116,
0.03969874233007431,
0.04649469256401062,
-0.010871662758290768,
0.02645963989198208,
0.0032888867426663637,
0.02283884584903717,
-0.04571482911705971,
-0.046049054712057114,
0.00921909511089325,
0.03943878784775734,
0.0165349543094635,
0.004665252286940813,
0.03969874233007431,
0.06357740610837936,
-0.037062063813209534,
-0.03862179070711136,
0.04768305644392967,
0.03475961089134216,
-0.00877810176461935,
0.00012881666771136224,
-0.04114706069231033,
0.007534034084528685,
0.039773017168045044,
-0.08051157742738724,
0.045492012053728104,
0.007274079602211714,
-0.0025183078832924366,
0.010008242912590504,
0.03412829339504242,
0.0450463742017746,
-0.05124814435839653,
0.02166905254125595,
-0.05191659927368164,
-0.036969222128391266,
-0.013749727979302406,
-0.0535505972802639,
-0.05626155063509941,
-0.04664323851466179,
0.03969874233007431,
0.021037735044956207,
0.04619760066270828,
0.04177837818861008,
0.0055565242655575275,
0.03628220036625862,
0.05941813811659813,
0.027907956391572952,
-0.005087677855044603,
0.043560922145843506,
-0.03958733379840851,
0.03877033293247223,
-0.0639859065413475,
-0.0513966903090477,
-0.02560550346970558,
-0.023284481838345528,
-0.06862794607877731,
-0.02963479608297348,
-0.003862178884446621,
0.02601400390267372,
0.03071174956858158,
0.04909423738718033,
0.017779020592570305,
-0.0184381902217865,
0.035130973905324936,
-0.027870820835232735,
0.01581079512834549,
0.035780858248472214,
0.05544454976916313,
0.011605105362832546,
0.021929007023572922,
-0.09544038027524948,
0.006234262604266405,
0.033292725682258606,
-0.022931687533855438,
0.008935931138694286,
-0.0037693381309509277,
-0.07482971996068954,
-0.0450463742017746,
0.0006220336072146893,
-0.009952537715435028,
-0.061943408101797104,
-0.07494112849235535,
0.002820040564984083,
0.023210210725665092,
0.016154306009411812,
-0.010212492197751999,
-0.009047339670360088,
0.033385567367076874,
-0.05031973496079445,
0.0410727858543396,
0.044675011187791824,
-0.03628220036625862,
-0.03444395214319229,
-0.010853094048798084,
-0.021483371034264565,
-0.017723316326737404,
0.06004945561289787,
0.04062715172767639,
-0.005802552681416273,
0.013434069231152534,
-0.017918281257152557,
-0.0409613773226738,
-0.05410763993859291,
0.013183399103581905,
-0.04749737307429314,
-0.020666370168328285,
-0.03366408869624138,
-0.01683204434812069,
-0.00613213749602437,
-0.034871019423007965,
-0.003927167505025864,
-0.006345671601593494,
-0.04868573695421219,
-0.11155755072832108,
0.057152822613716125,
0.006173915695399046,
-0.019607985392212868,
-0.0389188788831234,
-0.018048258498311043,
-0.04530632868409157,
0.01895809918642044,
0.02272743731737137,
-0.007937891408801079,
-0.029263433068990707,
0.02064780332148075,
-0.08422520756721497,
0.009924685582518578,
0.0003501840401440859,
0.039624471217393875,
0.09024129807949066,
0.038807470351457596,
-0.044117968529462814,
0.01796470209956169,
-0.010611708275973797,
-0.03843610733747482,
-0.02345159649848938,
-0.01869814470410347,
0.006893432233482599,
0.05095105245709419,
0.037062063813209534,
-0.05046828091144562,
-0.0032958497758954763,
0.0010050020646303892,
-0.017314815893769264,
0.01788114570081234,
0.029096318408846855,
-0.07991739362478256,
0.03034038655459881,
0.029356272891163826,
-0.03932737931609154,
0.01793684996664524,
0.014900954440236092,
-0.03674640506505966,
0.018818838521838188,
0.012644922360777855,
0.06320604681968689,
-0.0804373025894165,
0.03862179070711136,
0.01831749826669693,
0.060977865010499954,
-0.032104361802339554,
-0.011688661761581898,
0.007055903784930706,
-0.007742926012724638,
0.02085205353796482,
-0.03479674831032753,
0.04021865129470825,
-0.05693000182509422,
0.011103764176368713,
0.012190002016723156,
0.019273757934570312,
-0.010630276054143906,
0.023377323523163795,
-0.048871416598558426,
0.03981015086174011,
-0.021631915122270584,
0.008337107487022877,
-0.02759229764342308,
-0.04103565216064453,
-0.0014610827201977372,
-0.03448108956217766,
0.007464403286576271,
-0.030934568494558334,
0.05971522629261017,
-0.03836183622479439,
-0.031231658533215523,
0.024862777441740036,
-0.0047720191068947315,
0.029133455827832222,
0.012691343203186989,
-0.07475544512271881,
0.025197003036737442,
-0.01152154803276062,
0.011131616309285164,
0.021539075300097466,
0.023952936753630638,
-0.03899315372109413,
0.01506806816905737,
0.05577877536416054,
0.03086029551923275,
-0.037730518728494644,
-0.004602584522217512,
-0.08088293671607971,
-0.034611064940690994,
-0.005236223340034485,
0.00005149765274836682,
0.02207755111157894,
0.03229004517197609,
0.024157186970114708,
0.007886829786002636,
-0.012932728976011276,
-0.04649469256401062,
-0.04649469256401062,
-0.030284682288765907,
-0.014993795193731785,
0.03862179070711136,
-0.05236223340034485,
-0.020165029913187027,
0.003548840992152691,
-0.022708868607878685,
0.009636878967285156,
0.01195790059864521,
-0.018763134256005287,
0.044117968529462814,
0.010509583167731762,
0.000611008785199374,
0.001418143860064447,
-0.024602822959423065,
0.12217854708433151,
-0.004532954189926386,
-0.029913319274783134,
0.021167712286114693,
0.07813484966754913,
-0.001722197630442679,
0.021334825083613396,
-0.021594779565930367,
-0.0763523057103157,
-0.007413341198116541,
-0.07594380527734756,
0.004649004898965359,
-0.02365584671497345,
-0.0029314495623111725,
0.045492012053728104,
0.0007119731744751334,
0.030284682288765907,
0.06914785504341125,
-0.027202365919947624,
-0.005918603390455246,
-0.04177837818861008,
0.00547760957852006,
-0.007617590948939323,
0.06732817739248276,
0.04378373920917511,
0.03184440732002258,
-0.01665564626455307,
0.02554979920387268,
0.045603420585393906,
-0.0005938912509009242,
0.011920764110982418,
0.010509583167731762,
0.01921805366873741,
0.032122932374477386,
0.02376725524663925,
0.04066428914666176,
0.008643481880426407,
-0.04578910395503044,
0.016813475638628006,
0.00729264784604311,
-0.03457392752170563,
0.022133255377411842,
0.06372595578432083,
-0.043449513614177704,
-0.03336699679493904,
-0.00538941053673625,
0.04014438018202782,
0.05020832642912865,
-0.03695065528154373,
0.06090359017252922,
0.003400295739993453,
0.026032570749521255,
-0.030841726809740067,
0.02642250247299671,
0.038807470351457596,
-0.016674214974045753,
-0.0016200726386159658,
0.025716912001371384,
0.043858014047145844,
-0.02896634116768837,
0.04500924050807953,
-0.031807269901037216,
0.033942610025405884,
-0.04040433466434479,
0.0014471565373241901,
-0.019088076427578926,
-0.05845259130001068,
-0.018893111497163773,
0.021427664905786514,
-0.02376725524663925,
-0.013471205718815327,
-0.014919523149728775,
-0.003555804258212447,
0.0015376764349639416,
0.025011321529746056,
0.017101282253861427,
0.01249637734144926,
-0.030786022543907166,
-0.06599126756191254,
0.06688254326581955,
0.015875782817602158,
0.013350512832403183,
-0.0028177194762974977,
0.007097681984305382,
0.05808122828602791,
-0.03663499653339386,
0.00279683037661016,
-0.0204806886613369,
0.005394052714109421,
0.06146063655614853,
0.03468533605337143,
-0.00045521024730987847,
-0.028075069189071655,
-0.020350711420178413,
0.03433254361152649,
0.022003278136253357,
-0.013090558350086212,
0.01837320253252983,
0.035075269639492035,
-0.0073808468878269196,
0.028632115572690964,
-0.05358773097395897,
0.029727637767791748,
-0.08897866308689117,
-0.028446434065699577,
-0.03275424987077713,
0.011205889284610748,
0.05551882088184357,
-0.0013380686286836863,
0.020573530346155167,
-0.043969422578811646,
-0.06420872360467911,
0.0057886261492967606,
0.03355268016457558,
-0.004860218148678541,
-0.02217039279639721,
-0.02330305054783821,
-0.02764800190925598,
-0.015337307006120682,
0.01802969165146351,
0.008606345392763615,
0.014724557287991047,
-0.038287561386823654,
0.016377124935388565,
0.04619760066270828,
-0.0041058859787881374,
0.0013902916107326746,
-0.021743325516581535,
0.01052815094590187,
-0.005886109080165625,
-0.07520107924938202,
-0.0014796508476138115,
-0.002875745063647628,
-0.03013613633811474,
-0.11816781759262085,
0.03386833891272545,
-0.02278314158320427,
-0.006628836039453745,
-0.007668653503060341,
0.035576608031988144,
-0.05644723027944565,
-0.03884460777044296,
-0.026088276877999306,
-0.0676252692937851,
0.013721875846385956,
0.0033585173077881336,
-0.032364316284656525,
-0.01796470209956169,
0.014520307071506977,
0.043041013181209564,
0.060977865010499954,
-0.019997917115688324,
-0.04352378472685814,
-0.020573530346155167,
0.05288214236497879,
-0.009488333947956562,
-0.02764800190925598,
-0.010973786935210228,
0.018948815762996674,
-0.02759229764342308,
-0.04430364817380905,
0.020907757803797722,
0.017695464193820953,
-0.021520506590604782,
0.0802144855260849,
0.05655863881111145,
-0.021019166335463524,
0.0007804433116689324,
-0.02569834515452385,
0.009446555748581886,
0.0640973150730133,
0.004240505397319794,
0.009766856208443642,
-0.00933514628559351,
-0.021780461072921753,
0.019088076427578926,
0.04170410707592964,
-0.029857613146305084,
0.00015347750741057098,
-0.05808122828602791,
-0.003674176288768649,
-0.04047860577702522,
-0.0028664609417319298,
0.02386009506881237,
-0.015587977133691311,
0.06361453980207443,
0.000331325747538358,
-0.022244665771722794,
-0.029709069058299065,
0.017509782686829567,
0.0022827242501080036,
-0.019403735175728798,
0.050765372812747955,
-0.004939132835716009,
-0.06535995006561279,
0.008420663885772228,
0.06261186301708221,
-0.0118000702932477,
-0.04950273409485817,
0.04545487463474274,
-0.011762934736907482,
-0.05095105245709419,
0.010602423921227455,
-0.02304309606552124,
-0.057189956307411194,
-0.035279519855976105,
0.011920764110982418,
-0.023934368044137955,
-0.026960980147123337,
0.029727637767791748,
-0.013703308068215847,
-0.03299563378095627,
0.028279319405555725,
0.018540315330028534,
-0.05889822915196419,
0.04404369369149208,
0.011029492132365704,
0.03238288313150406,
0.023154504597187042,
0.0782833993434906,
0.02963479608297348,
-0.02400864101946354,
-0.0046350788325071335,
0.0678480863571167,
0.024974185973405838,
-0.06168345361948013,
-0.03171443194150925,
0.020573530346155167,
0.011577252298593521,
0.007352994289249182,
0.03342270106077194,
0.00403161346912384,
0.021836165338754654,
-0.05563022941350937,
0.02324734628200531,
-0.0036045454908162355,
0.02432429976761341,
-0.038807470351457596,
-0.0041058859787881374,
0.03412829339504242,
0.04816582798957825,
0.012329263612627983,
0.03381263464689255,
-0.011595821008086205,
-0.0023906517308205366,
-0.04768305644392967,
0.01966368965804577,
-0.013136979192495346,
-0.0022931687999516726,
-0.0064988587982952595,
0.06257472932338715,
-0.05451614037156105,
-0.02493705041706562,
-0.002120252698659897,
-0.03806474432349205,
-0.012366400100290775,
0.055555958300828934,
0.01126159355044365,
0.009609026834368706,
0.02645963989198208,
-0.02222609706223011,
0.04148128628730774,
0.003646323923021555,
0.03126879408955574,
-0.023618709295988083,
0.0001859718031482771,
0.036969222128391266,
0.03293992951512337,
0.032104361802339554,
0.014362477697432041,
0.010370321571826935,
-0.009924685582518578,
0.017658328637480736,
0.022616028785705566,
0.006893432233482599,
-0.024751367047429085,
0.03238288313150406,
-0.017305532470345497,
0.021446233615279198,
0.006294609047472477,
-0.03386833891272545,
0.061943408101797104,
-0.05436759442090988,
-0.018447475507855415,
0.002620432758703828,
0.011382287368178368,
0.05707854777574539,
-0.09365783631801605,
-0.027016684412956238,
0.0012986112851649523,
-0.03464820235967636,
-0.000515266670845449,
-0.017166271805763245,
-0.03386833891272545,
0.03722917661070824,
-0.04979982599616051,
-0.0065963417291641235,
0.04311528429389,
0.03951306268572807,
-0.02625538967549801,
-0.031231658533215523,
0.004672215320169926,
0.025215571746230125,
0.011252310127019882,
0.07178454101085663,
-0.013656887225806713,
0.00785897672176361,
0.003449037205427885,
-0.03167729452252388,
-0.003980550915002823,
0.04389514774084091,
-0.00023645401233807206,
0.03728488087654114,
0.0350567027926445,
-0.05057968944311142,
0.028390727937221527,
-0.03669070079922676,
0.010806674137711525,
-0.056892868131399155,
-0.005259433761239052,
0.026329662650823593,
-0.04786873608827591,
0.05756131932139397,
0.02441714145243168,
-0.02759229764342308,
0.04382087662816048,
0.043152421712875366,
0.08155139535665512,
-0.015151625499129295,
-0.015142341144382954,
-0.04664323851466179,
0.05603872984647751,
0.00536620058119297,
0.005797910504043102,
0.014473887160420418,
-0.044786419719457626,
-0.05410763993859291,
-0.00471167266368866,
-0.01793684996664524,
0.019812235608696938,
-0.06888790428638458,
0.01592220366001129,
0.09811419993638992,
-0.049539871513843536,
0.011437991634011269,
0.008188562467694283,
0.03888174518942833,
0.01668349839746952,
-0.00661490997299552,
0.08103148639202118,
-0.003091600025072694,
0.04278105869889259,
-0.01680419221520424,
-0.04512064903974533,
0.041926924139261246,
-0.022875983268022537,
-0.020610665902495384,
0.0014390329597517848,
-0.0011251149699091911,
0.04590051248669624,
0.007190523203462362,
-0.013499057851731777,
-0.039364516735076904,
-0.06186913698911667,
0.03906742483377457,
-0.005807194393128157
]
|
31,431 | prefect.blocks.core | is_block_class | null | @staticmethod
def is_block_class(block) -> bool:
return _is_subclass(block, Block)
| (block) -> bool | [
0.05157962441444397,
-0.08870425820350647,
0.03136026859283447,
0.026406792923808098,
-0.07326210290193558,
-0.07714027166366577,
-0.010832426138222218,
0.09096064418554306,
-0.04657326266169548,
-0.005923018790781498,
0.008435013704001904,
-0.0009915768168866634,
-0.017857197672128677,
0.00006648385169683024,
-0.05136808753013611,
-0.0029394745361059904,
-0.010726657696068287,
-0.022845929488539696,
-0.02101261541247368,
-0.06547050923109055,
-0.042695093899965286,
0.04953477159142494,
0.01995493285357952,
-0.012974231503903866,
-0.015874043107032776,
0.06963072717189789,
0.05619816854596138,
0.0347801074385643,
-0.006866118870675564,
0.020695310086011887,
-0.051438599824905396,
-0.043682266026735306,
0.018024662509560585,
0.034039732068777084,
0.056339193135499954,
0.0025538611225783825,
-0.010797169990837574,
0.06208593025803566,
-0.012339622713625431,
0.01178433932363987,
-0.03754770755767822,
-0.018615202978253365,
-0.035732023417949677,
0.00795464962720871,
0.010453423485159874,
0.009845255874097347,
0.021664852276444435,
-0.008082453161478043,
-0.04615018889307976,
-0.005350107792764902,
0.03331698104739189,
-0.036701563745737076,
0.009096064604818821,
0.027764150872826576,
-0.034727223217487335,
-0.00024486437905579805,
0.009686604142189026,
0.011414150707423687,
-0.06180388107895851,
0.08842220902442932,
0.005090094171464443,
0.01710800640285015,
0.06402501463890076,
-0.05863083526492119,
0.01379393506795168,
-0.016332373023033142,
-0.061839137226343155,
-0.0063901618123054504,
0.010100862942636013,
0.0577494353055954,
-0.036701563745737076,
0.023304259404540062,
-0.004091906826943159,
0.07354415208101273,
0.003651206148788333,
-0.06296733021736145,
-0.03201250731945038,
0.04787773638963699,
0.005398584995418787,
-0.014869245700538158,
0.02386835590004921,
0.014111240394413471,
0.010744285769760609,
0.0005547321634367108,
0.018121616914868355,
-0.03516792505979538,
0.0044885375536978245,
0.018509434536099434,
-0.021241778507828712,
-0.015953369438648224,
-0.04230727627873421,
0.030972452834248543,
0.024379568174481392,
0.02152382768690586,
0.008805202320218086,
0.035626254975795746,
0.013141698203980923,
-0.07453132420778275,
-0.02653018943965435,
-0.027041401714086533,
0.03663105145096779,
0.04519827663898468,
0.02691800519824028,
-0.054364852607250214,
-0.006275579798966646,
0.03084905631840229,
-0.005151792429387569,
0.017134448513388634,
-0.007831253111362457,
0.011757898144423962,
0.036014068871736526,
-0.05915967747569084,
-0.04650275036692619,
0.06532949209213257,
-0.011713827960193157,
-0.06420129537582397,
0.061839137226343155,
0.04791299253702164,
-0.01905590295791626,
0.002311475807800889,
0.01739005371928215,
0.02485552616417408,
-0.015116037800908089,
-0.0041954717598855495,
0.044352129101753235,
0.008289582096040249,
-0.012507089413702488,
0.0035256065893918276,
0.014869245700538158,
0.0069454447366297245,
0.02543725073337555,
-0.008950633928179741,
-0.05108603835105896,
0.023462912067770958,
-0.030196819454431534,
0.06927816569805145,
-0.008144151419401169,
0.032065391540527344,
0.0059979381039738655,
0.0025626751594245434,
0.004649393726140261,
0.002820485271513462,
0.046925824135541916,
-0.027464475482702255,
-0.0858132615685463,
0.002443685894832015,
-0.05658598616719246,
-0.02013121359050274,
-0.017046308144927025,
-0.00806482508778572,
-0.004966698121279478,
-0.019796280190348625,
0.054787926375865936,
0.0994926169514656,
-0.05753789842128754,
-0.02575455605983734,
-0.05464690178632736,
0.013776306994259357,
0.0017991610802710056,
-0.023039838299155235,
-0.0014840599615126848,
0.0203427504748106,
-0.02533148229122162,
-0.00027640204643830657,
-0.02279304526746273,
-0.034145500510931015,
-0.01622660458087921,
-0.047102101147174835,
-0.03966307267546654,
0.018738599494099617,
-0.041002802550792694,
0.0048917788080871105,
-0.030584637075662613,
0.06123978644609451,
0.027869919314980507,
0.07188711315393448,
-0.011766712181270123,
-0.029897144064307213,
0.02388598397374153,
-0.036701563745737076,
0.0398746095597744,
-0.009307601489126682,
-0.03864064812660217,
0.011713827960193157,
0.022669650614261627,
0.00034870451781898737,
0.008818423375487328,
-0.05115655064582825,
0.04075600951910019,
0.015794716775417328,
-0.07714027166366577,
0.028857089579105377,
-0.006535592954605818,
-0.03262948989868164,
0.07319159060716629,
0.02526096999645233,
-0.018914878368377686,
0.06370770931243896,
-0.06765639036893845,
0.013547142967581749,
-0.02633628062903881,
-0.010814798064529896,
0.008791981264948845,
-0.03955730423331261,
0.044246360659599304,
-0.007183423265814781,
0.038957953453063965,
0.02191164530813694,
-0.026071859523653984,
-0.023639190942049026,
-0.09716571867465973,
-0.0063504986464977264,
0.04452840983867645,
0.08101844042539597,
0.06748010963201523,
-0.015116037800908089,
0.010938194580376148,
0.012842021882534027,
-0.013987843878567219,
0.04569185897707939,
0.06920765340328217,
0.030002910643815994,
-0.021664852276444435,
0.03733617439866066,
-0.03899320960044861,
0.01789245381951332,
-0.016949353739619255,
0.016834771260619164,
0.006319649517536163,
-0.036701563745737076,
-0.03254134953022003,
0.019866792485117912,
-0.012145714834332466,
0.04890016093850136,
0.01109684631228447,
-0.016764258965849876,
0.022757789120078087,
0.023515796288847923,
-0.01425226405262947,
-0.001735259429551661,
0.02653018943965435,
-0.01503671146929264,
-0.021682480350136757,
-0.041214339435100555,
-0.034039732068777084,
-0.059794288128614426,
-0.020483773201704025,
0.014331590384244919,
-0.024520592764019966,
0.029615094885230064,
-0.05055719614028931,
-0.023039838299155235,
-0.01425226405262947,
-0.06000582128763199,
0.026371536776423454,
-0.004338699392974377,
-0.026988517493009567,
-0.0042549665085971355,
0.019778652116656303,
0.02279304526746273,
-0.013441374525427818,
0.007311226334422827,
0.06903137266635895,
0.05982954427599907,
-0.04057973250746727,
0.014366846531629562,
0.027182426303625107,
0.021488571539521217,
-0.02032512240111828,
0.011370080523192883,
0.11775525659322739,
0.024132777005434036,
0.019337952136993408,
0.024908410385251045,
-0.000032536114304093644,
-0.04389379918575287,
0.03627848997712135,
0.014269892126321793,
-0.010435795411467552,
-0.03338749334216118,
0.022616766393184662,
0.04350598528981209,
0.0035145890433341265,
-0.022158436477184296,
0.022845929488539696,
-0.046608518809080124,
-0.005134164355695248,
0.039134230464696884,
-0.0467495433986187,
0.014754663221538067,
-0.04815978556871414,
-0.02328663133084774,
0.04512776434421539,
0.0047110915184021,
0.018007034435868263,
0.07001854479312897,
-0.02466161735355854,
0.057925716042518616,
-0.010347655043005943,
-0.04452840983867645,
-0.03164231777191162,
-0.013943773694336414,
0.006689838133752346,
0.024097520858049393,
0.004525997210294008,
-0.030690405517816544,
-0.025966091081500053,
0.0052223047241568565,
-0.011070404201745987,
0.027764150872826576,
0.022176064550876617,
0.06511795520782471,
0.02936830185353756,
-0.02623051218688488,
0.057432129979133606,
0.05990005284547806,
0.041813693940639496,
0.014410916715860367,
0.00038285882328636944,
0.06437757611274719,
-0.029738491401076317,
-0.0022332514636218548,
0.037865012884140015,
0.08242867887020111,
-0.025401994585990906,
-0.02554301917552948,
-0.0027213275898247957,
0.012498275376856327,
-0.07195762544870377,
0.016473395749926567,
-0.03818231821060181,
-0.0219997838139534,
0.07678771018981934,
-0.01144059281796217,
-0.05334242805838585,
0.006165404338389635,
-0.007584461010992527,
-0.011343639343976974,
0.0036093397065997124,
-0.0549994632601738,
0.048477090895175934,
0.02208792418241501,
0.05193218216300011,
0.013591213151812553,
-0.021982155740261078,
0.041108570992946625,
-0.0379355251789093,
0.046608518809080124,
0.05640970543026924,
0.07156981527805328,
-0.03185385465621948,
-0.08891579508781433,
-0.0008472473127767444,
-0.009572021663188934,
0.00029361690394580364,
-0.04459892213344574,
0.035220809280872345,
-0.02820485271513462,
-0.042695093899965286,
0.018315525725483894,
0.06938393414020538,
0.0017771259881556034,
-0.005477911327034235,
-0.008712654933333397,
-0.03488587588071823,
0.028539784252643585,
0.004069872200489044,
0.017716173082590103,
0.023639190942049026,
-0.026794608682394028,
-0.019919676706194878,
0.006672210525721312,
-0.008104488253593445,
-0.0626852810382843,
-0.014225821942090988,
-0.037759244441986084,
-0.013864447362720966,
-0.0008097877725958824,
0.002637594472616911,
0.049464259296655655,
0.0412495955824852,
0.0038957952056080103,
-0.021488571539521217,
-0.0626852810382843,
0.016191348433494568,
-0.005795215722173452,
-0.051720649003982544,
0.012075202539563179,
-0.03966307267546654,
0.008509933017194271,
0.032964419573545456,
-0.01838603802025318,
-0.06011158972978592,
-0.03486824780702591,
-0.06702177971601486,
-0.0035828975960612297,
-0.010047978721559048,
0.0038120620884001255,
-0.011995876207947731,
-0.001257099094800651,
0.03927525505423546,
0.004246152471750975,
0.020184097811579704,
0.012286738492548466,
0.012903720140457153,
0.005248746834695339,
0.05274307355284691,
-0.00043271310278214514,
0.015609622932970524,
-0.08003126829862595,
0.048582859337329865,
-0.01453431323170662,
-0.0634961724281311,
-0.02917439304292202,
0.003049649531021714,
-0.01488687377423048,
0.034533314406871796,
0.026600701734423637,
0.021576711907982826,
-0.022281832993030548,
0.04717261344194412,
0.027446847409009933,
0.04653800651431084,
-0.04364700987935066,
-0.0002401819365331903,
-0.019179299473762512,
-0.021347546949982643,
-0.0017330559203401208,
0.018007034435868263,
0.00953676551580429,
-0.058983396738767624,
0.01610320806503296,
-0.026882749050855637,
0.013873261399567127,
0.014922129921615124,
-0.043964311480522156,
0.001964423805475235,
-0.021982155740261078,
-0.0274997316300869,
0.027164798229932785,
0.030619893223047256,
0.025384366512298584,
-0.09272345155477524,
0.05609240010380745,
0.047701455652713776,
-0.04304765537381172,
-0.026089487597346306,
0.007646159268915653,
0.05729110538959503,
0.012921348214149475,
-0.06141606718301773,
-0.006191846448928118,
0.00874791108071804,
0.01572420448064804,
-0.03839385509490967,
-0.03474485129117966,
-0.02406226471066475,
0.017072750255465508,
0.05817250907421112,
-0.03839385509490967,
-0.05961800739169121,
0.0013937163166701794,
-0.023603934794664383,
-0.025401994585990906,
0.012956604361534119,
0.0016228806925937533,
0.005640970543026924,
-0.029985282570123672,
0.04840657860040665,
0.014181751757860184,
0.018527062609791756,
-0.04449315369129181,
-0.00372171844355762,
-0.04410533607006073,
0.033933963626623154,
0.017328355461359024,
-0.014481429010629654,
0.03130738437175751,
-0.03878167271614075,
-0.007095282897353172,
-0.057819947600364685,
-0.01365291140973568,
-0.047595687210559845,
-0.028434015810489655,
0.019302695989608765,
-0.052707817405462265,
0.0003324536664877087,
-0.012269110418856144,
0.01905590295791626,
-0.024908410385251045,
-0.051121294498443604,
-0.019796280190348625,
-0.01602388173341751,
0.053694985806941986,
0.018156873062253,
-0.005927425809204578,
0.015962183475494385,
0.01708156429231167,
0.01875622570514679,
-0.03723040595650673,
0.025560647249221802,
0.0868709459900856,
0.03888744115829468,
-0.05489369481801987,
0.0320301353931427,
-0.01016256120055914,
0.021752992644906044,
-0.020113585516810417,
0.018421294167637825,
0.05704431235790253,
-0.007205458357930183,
0.049076441675424576,
0.00727156363427639,
0.017557520419359207,
0.018024662509560585,
0.030919568613171577,
0.040227171033620834,
-0.0020217150449752808,
0.051720649003982544,
0.00795464962720871,
0.07629412412643433,
-0.02445008046925068,
0.01021544449031353,
-0.008827237412333488,
0.029421186074614525,
0.04942900314927101,
0.02711191400885582,
0.006121334154158831,
0.0043166643008589745,
-0.02721768245100975,
0.03832334280014038,
0.03902846574783325,
-0.0031488072127103806,
0.0010780643206089735,
-0.013970215804874897,
0.03301730379462242,
-0.003459501313045621,
0.014640080742537975,
-0.02966797910630703,
-0.01895013451576233,
0.009051994420588017,
-0.02064242586493492,
0.021894017234444618,
0.029809003695845604,
-0.05246102437376976,
0.036084581166505814,
0.01424345001578331,
-0.044246360659599304,
-0.004631765652447939,
0.002692681970074773,
0.05337768420577049,
0.010303584858775139,
0.028645552694797516,
-0.010726657696068287,
0.0890568196773529,
-0.011405336670577526,
-0.00007147616270231083,
0.03328172490000725,
0.013282722793519497,
0.06321412324905396,
-0.005715889390558004,
0.02730582281947136,
0.008703840896487236,
-0.020853962749242783,
-0.024837898090481758,
-0.0339692197740078,
0.015794716775417328,
0.05753789842128754,
0.03585541993379593,
0.037865012884140015,
0.013229838572442532,
-0.0005646478966809809,
0.03814706206321716,
0.010585633106529713,
0.06451860070228577,
0.06469488143920898,
-0.028716064989566803,
0.03641951456665993,
-0.04276560619473457,
-0.1226205974817276,
0.011907735839486122,
-0.04939374700188637,
-0.025701671838760376,
-0.042695093899965286,
-0.032576605677604675,
-0.09526188671588898,
-0.039945121854543686,
-0.040332939475774765,
-0.02395649626851082,
0.04840657860040665,
0.03902846574783325,
0.047701455652713776,
0.05669175088405609,
-0.01916167140007019,
0.020977359265089035,
0.004382769577205181,
0.022546254098415375,
0.00988051202148199,
-0.05588086321949959,
0.025860324501991272,
-0.03842911124229431,
0.008011940866708755,
0.010770727880299091,
0.016552722081542015,
0.029526954516768456,
-0.010656145401299,
-0.02631865255534649,
-0.015785902738571167,
-0.01728428527712822,
-0.0481245294213295,
0.038570135831832886,
0.015785902738571167,
0.03485061973333359,
0.0108588682487607,
-0.03201250731945038,
-0.024714501574635506,
-0.04530404508113861,
0.028081456199288368,
0.023744959384202957,
0.03338749334216118,
-0.04311816766858101,
0.01984916441142559,
0.050945013761520386,
-0.0176721028983593,
-0.06427180767059326,
-0.02101261541247368,
-0.026565445587038994,
-0.040332939475774765,
0.022158436477184296,
-0.05975903198122978,
0.01562725007534027,
-0.03190673887729645,
0.031025337055325508,
-0.08369790017604828,
-0.002752176485955715,
-0.044563665986061096,
-0.03486824780702591,
-0.0045876954682171345,
0.019602371379733086,
0.027182426303625107,
-0.015644878149032593,
-0.014675336889922619,
-0.02004307322204113,
-0.0005811742157675326,
-0.026248140260577202,
-0.08778759837150574,
0.04844183474779129,
0.006606105249375105,
-0.017866011708974838,
-0.012991859577596188,
-0.04026242718100548,
0.06945444643497467,
0.024502964690327644,
-0.033546146005392075,
-0.00012167474051238969,
-0.02180587686598301,
0.011608059518039227,
0.02337477169930935,
0.008567224256694317,
-0.057220593094825745,
0.02339239977300167,
-0.027235310524702072,
-0.018227385357022285,
0.03916948661208153,
0.0295622106641531,
-0.003613746725022793,
-0.003203894942998886,
0.004318867810070515,
-0.00533247971907258,
-0.060851968824863434,
-0.021876389160752296,
0.0536244735121727,
-0.026741724461317062,
-0.09991569072008133,
-0.02388598397374153,
-0.029015742242336273,
-0.06733908504247665,
-0.05972377583384514,
0.017213772982358932,
-0.017716173082590103,
-0.02161196805536747,
0.02416803315281868,
-0.0786210224032402,
0.013044743798673153,
0.03287627920508385,
0.08757606893777847,
-0.07883255928754807,
-0.032065391540527344,
0.0053941779769957066,
-0.10922329127788544,
0.012075202539563179,
-0.032576605677604675,
-0.010039164684712887,
0.0579962283372879,
0.033933963626623154,
0.017249029129743576,
0.013582399114966393,
0.04213099926710129,
-0.03495638817548752,
0.031783342361450195,
0.021065499633550644,
-0.05098026990890503,
-0.028821833431720734,
0.033458005636930466,
0.011969434097409248,
0.033845823258161545,
-0.04371752217411995,
0.041989974677562714,
0.026847492903470993,
0.05041617155075073,
0.01845655031502247,
-0.037759244441986084,
0.03569676727056503,
-0.03220641613006592,
-0.013247466646134853,
-0.002855741186067462,
-0.02337477169930935,
0.015600808896124363,
0.012057574465870857,
0.004675835836678743,
-0.04075600951910019,
0.03358140215277672,
-0.014948572032153606,
0.020554285496473312,
-0.032171159982681274,
0.0034771293867379427,
-0.009069622494280338,
-0.008664177730679512,
-0.0021241779904812574,
0.00371951493434608,
0.0015281300293281674,
-0.01680832915008068,
-0.06395450234413147,
0.012136900797486305,
0.027094285935163498,
0.017857197672128677,
-0.04900592938065529,
-0.0027830256149172783,
-0.08003126829862595,
-0.000910598027985543,
0.018209757283329964,
-0.05253153666853905,
0.007751927245408297,
-0.001918150344863534,
-0.04340021684765816,
0.0037437533028423786,
-0.008875714614987373,
0.052707817405462265,
0.03056700900197029,
-0.009739488363265991,
0.05041617155075073,
-0.0008995805401355028,
0.007412587758153677,
0.01109684631228447,
0.06451860070228577,
0.003920033574104309,
-0.03359903022646904,
-0.02936830185353756,
-0.03515029698610306,
-0.054188571870326996,
0.04040345177054405,
-0.016191348433494568,
0.06941919028759003,
0.045057252049446106,
-0.04840657860040665,
-0.017636846750974655,
-0.029015742242336273,
-0.0018068733625113964
]
|
31,432 | pydantic.v1.main | json |
Generate a JSON representation of the model, `include` and `exclude` arguments as per `dict()`.
`encoder` is an optional function to supply as `default` to json.dumps(), other arguments as per `json.dumps()`.
| import warnings
from abc import ABCMeta
from copy import deepcopy
from enum import Enum
from functools import partial
from pathlib import Path
from types import FunctionType, prepare_class, resolve_bases
from typing import (
TYPE_CHECKING,
AbstractSet,
Any,
Callable,
ClassVar,
Dict,
List,
Mapping,
Optional,
Tuple,
Type,
TypeVar,
Union,
cast,
no_type_check,
overload,
)
from typing_extensions import dataclass_transform
from .class_validators import ValidatorGroup, extract_root_validators, extract_validators, inherit_validators
from .config import BaseConfig, Extra, inherit_config, prepare_config
from .error_wrappers import ErrorWrapper, ValidationError
from .errors import ConfigError, DictError, ExtraError, MissingError
from .fields import (
MAPPING_LIKE_SHAPES,
Field,
ModelField,
ModelPrivateAttr,
PrivateAttr,
Undefined,
is_finalvar_with_default_val,
)
from .json import custom_pydantic_encoder, pydantic_encoder
from .parse import Protocol, load_file, load_str_bytes
from .schema import default_ref_template, model_schema
from .types import PyObject, StrBytes
from .typing import (
AnyCallable,
get_args,
get_origin,
is_classvar,
is_namedtuple,
is_union,
resolve_annotations,
update_model_forward_refs,
)
from .utils import (
DUNDER_ATTRIBUTES,
ROOT_KEY,
ClassAttribute,
GetterDict,
Representation,
ValueItems,
generate_model_signature,
is_valid_field,
is_valid_private_name,
lenient_issubclass,
sequence_like,
smart_deepcopy,
unique_list,
validate_field_name,
)
if TYPE_CHECKING:
from inspect import Signature
from .class_validators import ValidatorListDict
from .types import ModelOrDc
from .typing import (
AbstractSetIntStr,
AnyClassMethod,
CallableGenerator,
DictAny,
DictStrAny,
MappingIntStrAny,
ReprArgs,
SetStr,
TupleGenerator,
)
Model = TypeVar('Model', bound='BaseModel')
__all__ = 'BaseModel', 'create_model', 'validate_model'
_T = TypeVar('_T')
def validate_custom_root_type(fields: Dict[str, ModelField]) -> None:
if len(fields) > 1:
raise ValueError(f'{ROOT_KEY} cannot be mixed with other fields')
| (self, *, include: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, exclude: Union[ForwardRef('AbstractSetIntStr'), ForwardRef('MappingIntStrAny'), NoneType] = None, by_alias: bool = False, skip_defaults: Optional[bool] = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, encoder: Optional[Callable[[Any], Any]] = None, models_as_dict: bool = True, **dumps_kwargs: Any) -> str | [
0.027288053184747696,
-0.025581350550055504,
-0.037106383591890335,
0.05576504394412041,
0.021305007860064507,
-0.00673571927472949,
-0.016165725886821747,
-0.03850626200437546,
0.00013730619684793055,
-0.037336498498916626,
0.00809245090931654,
0.035246267914772034,
0.03781590983271599,
0.018428543582558632,
0.004885194357484579,
0.013787849806249142,
-0.0026319643948227167,
0.01996265910565853,
0.07060759514570236,
-0.03501615300774574,
0.03831449896097183,
-0.019166836515069008,
-0.034881915897130966,
0.0528118759393692,
0.03100827895104885,
0.033731330186128616,
0.007891098968684673,
0.01442067138850689,
0.03275333344936371,
-0.03582156077027321,
-0.028342755511403084,
-0.0072630709037184715,
0.0185723677277565,
0.05028058588504791,
-0.0023742811754345894,
-0.08046428114175797,
0.017364252358675003,
0.0795438140630722,
-0.10010094195604324,
-0.02080642059445381,
-0.007474011741578579,
0.0181888397783041,
-0.029109813272953033,
-0.0566471591591835,
0.02861122600734234,
-0.026520995423197746,
0.002217274159193039,
0.06251514703035355,
-0.036952972412109375,
-0.03190957009792328,
-0.009904623962938786,
-0.019003836438059807,
0.0018061795271933079,
0.01702866517007351,
0.02423900179564953,
-0.04176625236868858,
-0.023126767948269844,
0.07628381997346878,
0.03156439587473869,
0.015408257022500038,
-0.020979009568691254,
0.04959023371338844,
0.03062475100159645,
-0.00679324846714735,
-0.007589070126414299,
-0.026789465919137,
-0.0567622184753418,
-0.03727896884083748,
-0.017249194905161858,
-0.018764132633805275,
-0.07079935818910599,
-0.05622527748346329,
0.036185912787914276,
0.0797739252448082,
0.06849818676710129,
-0.06566008180379868,
0.006917895283550024,
-0.03752826526761055,
0.07003230601549149,
-0.025427939370274544,
0.015446610748767853,
-0.03271498158574104,
-0.04471942409873009,
-0.023529473692178726,
0.016980724409222603,
0.018294310197234154,
-0.015091846697032452,
0.003178492421284318,
0.04563989117741585,
0.008044510148465633,
-0.05948527157306671,
0.016750607639551163,
-0.02615664340555668,
0.06243843957781792,
-0.003029875224456191,
-0.00026397546753287315,
0.003027478000149131,
-0.03359709680080414,
-0.02048042230308056,
0.0020003407262265682,
0.006141250021755695,
0.022225476801395416,
-0.04057731479406357,
-0.010384034365415573,
-0.021515948697924614,
-0.018217604607343674,
-0.05373234301805496,
-0.0038424760568886995,
-0.035725679248571396,
-0.007421276532113552,
-0.04314695671200752,
-0.01871619001030922,
-0.015245257876813412,
0.013797437772154808,
0.013893320225179195,
-0.02730722911655903,
0.03169862926006317,
-0.022455593571066856,
0.020902303978800774,
-0.0363776795566082,
0.028496166691184044,
0.01833266206085682,
-0.05541986972093582,
0.014765847474336624,
0.04579330235719681,
0.04594671353697777,
0.04318530857563019,
-0.01232085283845663,
0.03024122305214405,
0.0013015998993068933,
-0.04702059552073479,
0.02040371671319008,
-0.019732540473341942,
0.02249394729733467,
0.04544812813401222,
0.014008378610014915,
-0.013327615335583687,
-0.016894429922103882,
-0.0643177330493927,
0.03175615891814232,
0.013711144216358662,
0.05396246165037155,
0.09703271090984344,
-0.04487283527851105,
-0.01932983659207821,
0.004971488378942013,
0.0007352960528805852,
-0.02247476950287819,
-0.021381713449954987,
0.009271801449358463,
-0.026271702721714973,
-0.028438638895750046,
-0.0010085600661113858,
0.05047234892845154,
-0.058909978717565536,
0.03699132427573204,
-0.04023214057087898,
-0.04326201602816582,
0.007191159296780825,
-0.06266855448484421,
-0.06822971999645233,
-0.0374707356095314,
0.01316461618989706,
-0.09979411214590073,
0.011870207265019417,
0.01407549623399973,
-0.003269580425694585,
-0.0918167233467102,
-0.03938837721943855,
0.04030884429812431,
-0.04115260764956474,
0.00412532826885581,
0.033040981739759445,
0.04004037380218506,
-0.014209730550646782,
0.03476686030626297,
0.030413810163736343,
0.011563383974134922,
0.01955995336174965,
0.020691363140940666,
0.06159467622637749,
0.004691033158451319,
-0.016232844442129135,
0.014180966652929783,
0.04702059552073479,
0.06155632436275482,
-0.04552483186125755,
0.05726080387830734,
0.02072971500456333,
0.015091846697032452,
0.018601132556796074,
0.015398669056594372,
0.04763424023985863,
-0.023529473692178726,
-0.02400888316333294,
0.013337203301489353,
0.006826807279139757,
0.04460436478257179,
-0.028956402093172073,
0.06635043025016785,
-0.011160679161548615,
0.00541254598647356,
0.016865665093064308,
-0.02241724170744419,
-0.03766249865293503,
-0.02508276328444481,
0.028055109083652496,
-0.004976282361894846,
-0.003772961674258113,
-0.0966491848230362,
0.003947946708649397,
0.00797739252448082,
-0.0028908459935337305,
-0.0059015448205173016,
0.04138272628188133,
-0.08545015007257462,
0.06032903119921684,
-0.010690856724977493,
0.01679854840040207,
-0.002444994170218706,
0.09925717860460281,
0.06888172030448914,
-0.010144328698515892,
0.01058538630604744,
0.04717400670051575,
-0.05772103741765022,
-0.02211041748523712,
-0.004372224677354097,
0.014248083345592022,
-0.05680057033896446,
-0.006922689266502857,
-0.05576504394412041,
-0.037183087319135666,
0.01980924792587757,
0.03355874493718147,
0.018697014078497887,
0.05319540202617645,
-0.01925313100218773,
0.015149375423789024,
0.020154422149062157,
0.0032719774171710014,
0.0009612183202989399,
-0.05384740233421326,
-0.02916734293103218,
-0.00925262551754713,
-0.00940603669732809,
0.015360316261649132,
-0.007354158908128738,
0.012579734437167645,
-0.03850626200437546,
0.015283610671758652,
0.009732035920023918,
-0.014842553064227104,
0.06880500912666321,
0.007200747728347778,
-0.008312980644404888,
-0.036952972412109375,
-0.09066613763570786,
0.0695720687508583,
-0.03492027148604393,
-0.0298576932400465,
-0.036722853779792786,
0.01826554536819458,
0.0843762680888176,
-0.011486678384244442,
-0.07459629327058792,
0.04280177876353264,
0.018591543659567833,
0.009703271090984344,
-0.008466391824185848,
0.09273719042539597,
0.036396853625774384,
-0.010182681493461132,
0.025216998532414436,
-0.06926524639129639,
-0.034114859998226166,
-0.031180867925286293,
-0.008562273345887661,
0.038333673030138016,
-0.04479612782597542,
-0.00013663202116731554,
-0.05737586319446564,
0.03405733034014702,
0.003101786831393838,
0.06328219920396805,
0.013413908891379833,
-0.02822769805788994,
-0.0271729938685894,
-0.054537754505872726,
0.017939545214176178,
0.011515443213284016,
-0.04740412160754204,
0.060213975608348846,
-0.02241724170744419,
0.0033894330263137817,
-0.0429551936686039,
-0.05158458277583122,
0.019751718267798424,
-0.0027853758074343204,
-0.09557530283927917,
-0.02993439882993698,
0.04429754242300987,
0.047442477196455,
0.026578525081276894,
0.03961849585175514,
-0.03591744229197502,
-0.0029651548247784376,
-0.02891804836690426,
0.01996265910565853,
0.0191188957542181,
-0.025351233780384064,
0.06907348334789276,
0.015331551432609558,
0.025964878499507904,
0.05887162312865257,
0.036799561232328415,
-0.011256561614573002,
-0.0011799493804574013,
0.037183087319135666,
0.05576504394412041,
0.003207257017493248,
0.02255147509276867,
-0.014142613857984543,
-0.020365362986922264,
-0.0191188957542181,
-0.020001010969281197,
0.01918601244688034,
0.009415624663233757,
-0.035342149436473846,
-0.04272507503628731,
-0.040615666657686234,
0.02026948146522045,
0.04096084460616112,
0.05595680698752403,
-0.005326251965016127,
0.0017834075260907412,
0.01955995336174965,
-0.08291886001825333,
0.006265896838158369,
-0.012483852915465832,
0.04494953900575638,
-0.0032959480304270983,
0.005522810388356447,
-0.02916734293103218,
-0.05733751133084297,
-0.01703825406730175,
0.03213968873023987,
0.0322163924574852,
0.027057936415076256,
0.0015401066048070788,
0.03171780705451965,
-0.04138272628188133,
-0.03014533966779709,
0.0016287976177409291,
0.0071096597239375114,
-0.07145135849714279,
-0.03923496603965759,
0.0045615918934345245,
0.01633831486105919,
-0.025274528190493584,
0.06991724669933319,
-0.04195801913738251,
-0.032484862953424454,
0.017153311520814896,
0.03014533966779709,
0.011572972871363163,
-0.026060761883854866,
-0.02464170567691326,
0.04456601291894913,
-0.012493440881371498,
0.002317950362339616,
-0.016520490869879723,
0.018198426812887192,
-0.06205490976572037,
-0.0023395237512886524,
0.05591845512390137,
-0.00955465342849493,
0.035495564341545105,
-0.08882520347833633,
0.00531186955049634,
0.0054173399694263935,
0.008413656614720821,
0.01024021115154028,
-0.003425388829782605,
0.06002220883965492,
-0.06581348925828934,
0.026827817782759666,
0.01880248449742794,
-0.03505450487136841,
0.02170771360397339,
0.015274022705852985,
-0.01894630864262581,
-0.03689544275403023,
-0.025504644960165024,
0.008447214961051941,
-0.011122326366603374,
-0.04959023371338844,
0.02840028516948223,
-0.02303088642656803,
0.01142914965748787,
-0.030279574915766716,
-0.054537754505872726,
0.06711748987436295,
0.03401897847652435,
0.00947794783860445,
0.026060761883854866,
0.0444893054664135,
0.015120611526072025,
-0.018092956393957138,
0.08890190720558167,
0.03781590983271599,
0.04713565111160278,
-0.008845126256346703,
-0.013423497788608074,
0.028496166691184044,
0.005009841173887253,
0.05354057997465134,
-0.026578525081276894,
-0.025370409712195396,
0.009180713444948196,
0.02080642059445381,
0.022589828819036484,
0.016932783648371696,
-0.010911385528743267,
-0.03085486777126789,
0.06117279455065727,
-0.04644530266523361,
0.0665038451552391,
-0.007790422532707453,
0.029896046966314316,
0.007512364536523819,
0.02753734588623047,
-0.04268672317266464,
-0.04567824304103851,
-0.03904320299625397,
-0.03415321186184883,
0.0337505079805851,
-0.04840129613876343,
0.004767738748341799,
0.021458419039845467,
-0.04847800359129906,
0.0010852657724171877,
0.018198426812887192,
0.02278159372508526,
0.04889988526701927,
-0.012407147325575352,
-0.0497436448931694,
0.07455793768167496,
-0.007675364147871733,
0.012579734437167645,
0.0011002473765984178,
0.014027554541826248,
0.06301373243331909,
0.04019378498196602,
-0.035955797880887985,
-0.0325423926115036,
0.0166547242552042,
-0.025121117010712624,
-0.013490615412592888,
0.008768420666456223,
-0.006141250021755695,
-0.0013950848951935768,
0.016750607639551163,
-0.02101736143231392,
-0.021036537364125252,
0.0321013368666172,
0.04759588837623596,
-0.03969519957900047,
-0.05012717470526695,
0.002821331610903144,
0.04855470731854439,
-0.03453674167394638,
0.05058740824460983,
0.02556217461824417,
-0.05035729333758354,
0.015226081013679504,
0.06240008771419525,
-0.03238898143172264,
-0.05189140513539314,
-0.07313888520002365,
0.08890190720558167,
0.005575545597821474,
-0.018591543659567833,
0.006711748894304037,
0.017834074795246124,
0.00044225630699656904,
0.03146851435303688,
-0.004429754335433245,
-0.029723457992076874,
0.030816514045000076,
-0.03699132427573204,
0.05864150822162628,
0.01918601244688034,
0.03904320299625397,
0.018092956393957138,
-0.06481631845235825,
0.002377876779064536,
0.05526645854115486,
0.03927331790328026,
-0.05887162312865257,
0.05097093805670738,
-0.01485214103013277,
-0.007780834566801786,
-0.03208215907216072,
0.023050062358379364,
0.0015832536155357957,
-0.009118390269577503,
-0.0018900764407590032,
0.01826554536819458,
-0.024449942633509636,
-0.06205490976572037,
0.013691967353224754,
0.019281895831227303,
0.021151596680283546,
-0.008552685379981995,
-0.033961448818445206,
0.04491118714213371,
0.0029915221966803074,
-0.027978403493762016,
-0.02262818068265915,
-0.04698223993182182,
0.009650535881519318,
-0.008480774238705635,
0.005033811554312706,
0.020614657551050186,
0.09035931527614594,
-0.009060860611498356,
0.004839650355279446,
0.06615866720676422,
0.019905129447579384,
0.07099112868309021,
0.028266049921512604,
0.006241926457732916,
0.02080642059445381,
-0.008907449431717396,
0.026271702721714973,
0.02763322927057743,
-0.00665901368483901,
-0.030720632523298264,
-0.010422387160360813,
0.060213975608348846,
0.04180460795760155,
-0.02287747524678707,
0.04119095951318741,
0.015360316261649132,
-0.004158887080848217,
0.019233955070376396,
0.02776746265590191,
-0.05503633990883827,
0.008399274200201035,
-0.03958014026284218,
0.047442477196455,
0.002584023168310523,
0.020135246217250824,
-0.024296529591083527,
-0.01288655772805214,
-0.003317521419376135,
-0.01212908886373043,
0.037144735455513,
0.01979007013142109,
-0.016990313306450844,
-0.019233955070376396,
0.04276342689990997,
-0.004909164737910032,
-0.016558842733502388,
0.0237787663936615,
-0.028496166691184044,
0.0053789871744811535,
-0.05246669799089432,
0.014756258577108383,
-0.03582156077027321,
0.0017330694245174527,
-0.0024857441894710064,
-0.004206828307360411,
0.02845781482756138,
0.03271498158574104,
-0.03630097210407257,
0.029263224452733994,
-0.03346286341547966,
-0.028802990913391113,
0.02776746265590191,
0.003758579259738326,
0.016376666724681854,
-0.03643520921468735,
0.019051779061555862,
-0.06868995726108551,
0.04763424023985863,
0.028419461101293564,
-0.04291683807969093,
-0.011985265649855137,
-0.029800163581967354,
0.0895155519247055,
-0.04287848621606827,
-0.009334124624729156,
0.007018571719527245,
0.004041431471705437,
-0.09158660471439362,
-0.01949283666908741,
0.019924305379390717,
-0.020998185500502586,
-0.07202665507793427,
-0.004235592670738697,
0.0005722964415326715,
-0.023817120119929314,
0.019847599789500237,
-0.0264634657651186,
-0.006352190859615803,
0.0060118092224001884,
0.04563989117741585,
-0.015149375423789024,
-0.010288151912391186,
0.00660148449242115,
-0.01347143854945898,
0.0132317328825593,
-0.003168904222548008,
-0.06301373243331909,
-0.07183488458395004,
0.05208317190408707,
0.05235163867473602,
-0.06907348334789276,
0.0180258397012949,
0.0374707356095314,
0.02362535521388054,
-0.0020602671429514885,
-0.07421276718378067,
0.0543459877371788,
-0.015791786834597588,
-0.0027254493907094,
0.024986881762742996,
-0.009147155098617077,
0.035955797880887985,
-0.00040749902836978436,
0.0038472702726721764,
-0.02080642059445381,
0.002285590162500739,
-0.05166129022836685,
0.030490515753626823,
-0.002375479554757476,
0.009343713521957397,
0.019732540473341942,
-0.010451151989400387,
-0.07620711624622345,
-0.02515946887433529,
0.05231328681111336,
-0.05465281009674072,
0.026348408311605453,
0.0024018471594899893,
-0.04115260764956474,
0.04790271073579788,
0.029205694794654846,
-0.010259387083351612,
0.04889988526701927,
0.0025097145698964596,
-0.05465281009674072,
0.030356280505657196,
-0.02462252974510193,
0.01485214103013277,
-0.0368187353014946,
0.030413810163736343,
-0.03024122305214405,
-0.028361933305859566,
-0.012800263240933418,
0.03463262319564819,
-0.018764132633805275,
-0.02709628827869892,
0.026137467473745346,
-0.0008809170103631914,
-0.021515948697924614,
0.04610012471675873,
0.0032575952354818583,
-0.016635548323392868,
-0.0529269315302372,
-0.0317753367125988,
-0.0024078397545963526,
-0.07294712215662003,
0.006323426030576229,
0.023740414530038834,
0.015024729073047638,
0.0026295671705156565,
-0.020135246217250824,
0.038947317749261856,
-0.005033811554312706,
-0.05710739269852638,
0.037183087319135666,
0.00535022234544158,
-0.0406540222465992,
0.01434396579861641,
0.01765189878642559,
0.03223557025194168,
-0.08690755814313889,
-0.01139079686254263,
0.02462252974510193,
0.02195700630545616,
-0.01894630864262581,
-0.06719419360160828,
-0.10938233137130737,
-0.02724969945847988,
-0.0030802132096141577,
-0.014756258577108383,
-0.003439771244302392,
0.03185204043984413,
0.0002224764903075993,
-0.05169964209198952,
-0.016625961288809776,
0.030413810163736343,
0.0574142150580883,
-0.04851635545492172,
0.01618490181863308,
0.016702666878700256,
-0.02870710752904415,
0.05653209984302521,
0.06205490976572037,
0.013912496156990528,
-0.08936213701963425,
-0.01926271803677082,
-0.007545923348516226,
0.02540876343846321,
0.06220832094550133,
-0.025197822600603104,
-0.019138071686029434,
0.0014070702018216252,
0.04180460795760155,
0.0162711963057518,
0.02201453596353531,
-0.003154521808028221,
-0.006433690432459116,
-0.0018541206372901797,
-0.017929958179593086,
0.034881915897130966,
-0.014785023406147957,
0.07751110941171646,
0.006289867218583822,
-0.04817118123173714,
0.014765847474336624,
0.011649678461253643,
-0.04019378498196602,
-0.011525031179189682,
-0.05120105296373367,
-0.031200043857097626,
-0.0023922589607536793,
0.017536841332912445,
0.029186518862843513,
-0.05960032716393471,
0.017479311674833298,
-0.05100928992033005,
0.04019378498196602,
0.04690553620457649,
0.015254845842719078,
0.03568732738494873,
-0.05231328681111336,
0.007656187750399113,
0.03507368266582489,
-0.014353553764522076,
0.009453977458178997,
0.032331451773643494,
-0.014401495456695557,
-0.008480774238705635,
-0.018754543736577034,
-0.02249394729733467,
-0.03530379757285118,
0.0030562428291887045,
-0.05423092842102051,
-0.012982439249753952,
-0.03198627755045891,
0.0437222495675087,
0.020595479756593704,
-0.03321356698870659,
0.008130804635584354
]
|
31,433 | prefect.blocks.core | save |
Saves the values of a block as a block document.
Args:
name: User specified name to give saved block document which can later be used to load the
block document.
overwrite: Boolean value specifying if values should be overwritten if a block document with
the specified name already exists.
| @staticmethod
def schema_extra(schema: Dict[str, Any], model: Type["Block"]):
"""
Customizes Pydantic's schema generation feature to add blocks related information.
"""
schema["block_type_slug"] = model.get_block_type_slug()
# Ensures args and code examples aren't included in the schema
description = model.get_description()
if description:
schema["description"] = description
else:
# Prevent the description of the base class from being included in the schema
schema.pop("description", None)
# create a list of secret field names
# secret fields include both top-level keys and dot-delimited nested secret keys
# A wildcard (*) means that all fields under a given key are secret.
# for example: ["x", "y", "z.*", "child.a"]
# means the top-level keys "x" and "y", all keys under "z", and the key "a" of a block
# nested under the "child" key are all secret. There is no limit to nesting.
secrets = schema["secret_fields"] = []
for field in model.__fields__.values():
_collect_secret_fields(field.name, field.type_, secrets)
# create block schema references
refs = schema["block_schema_references"] = {}
for field in model.__fields__.values():
if Block.is_block_class(field.type_):
refs[field.name] = field.type_._to_block_schema_reference_dict()
if get_origin(field.type_) is Union:
for type_ in get_args(field.type_):
if Block.is_block_class(type_):
if isinstance(refs.get(field.name), list):
refs[field.name].append(
type_._to_block_schema_reference_dict()
)
elif isinstance(refs.get(field.name), dict):
refs[field.name] = [
refs[field.name],
type_._to_block_schema_reference_dict(),
]
else:
refs[
field.name
] = type_._to_block_schema_reference_dict()
| (self, name: Optional[str] = None, overwrite: bool = False, client: 'PrefectClient' = None) | [
0.018158091232180595,
-0.0571989044547081,
0.039278529584407806,
0.027118278667330742,
-0.03975396975874901,
-0.031525228172540665,
0.002210331615060568,
-0.02280275896191597,
-0.02457651123404503,
-0.016622059047222137,
-0.023607347160577774,
0.005604688078165054,
-0.012964840978384018,
0.006180699914693832,
-0.04180201143026352,
0.00709957629442215,
-0.005595544818788767,
-0.004061798565089703,
-0.0009588770917616785,
-0.024119358509778976,
0.01602776162326336,
0.0072412933222949505,
-0.004304089583456516,
0.025728534907102585,
-0.00966420117765665,
0.033280692994594574,
0.013741999864578247,
0.01045964565128088,
0.009773917496204376,
-0.029769761487841606,
-0.0005705832736566663,
-0.036864764988422394,
0.00668356753885746,
0.012361399829387665,
0.01056936290115118,
-0.09874490648508072,
0.022546755149960518,
0.0954534113407135,
-0.039168812334537506,
0.031068073585629463,
0.056138310581445694,
0.017572937533259392,
-0.046556394547224045,
-0.03569445759057999,
0.01820380613207817,
0.001042878837324679,
0.018267808482050896,
0.03253096342086792,
-0.054273128509521484,
-0.060161251574754715,
0.044544924050569534,
-0.02305876463651657,
-0.0029052032623440027,
0.014930595643818378,
0.026295403018593788,
-0.08382345736026764,
-0.062063004821538925,
0.0381447933614254,
0.03423156961798668,
0.0765090212225914,
0.0008480176329612732,
0.03375612944364548,
0.008045881986618042,
-0.010953370481729507,
0.010349929332733154,
-0.027996011078357697,
-0.08228742331266403,
-0.057930346578359604,
-0.008480176329612732,
0.009746488183736801,
-0.03061092272400856,
-0.04758041724562645,
0.02113872580230236,
0.08967500925064087,
0.03079378232359886,
-0.07003574073314667,
-0.005654974840581417,
-0.016311196610331535,
0.05163992941379547,
-0.022217605262994766,
-0.005417255684733391,
-0.028197158128023148,
-0.039095669984817505,
-0.028014296665787697,
0.025344526395201683,
0.0189261082559824,
0.021797023713588715,
0.00012650263670366257,
0.037193916738033295,
-0.02090100571513176,
-0.042826034128665924,
0.01798437349498272,
-0.023552490398287773,
0.05913722887635231,
-0.009819632396101952,
0.03050120547413826,
-0.02887374348938465,
-0.0758507177233696,
-0.03688305243849754,
0.033682987093925476,
0.00012543117918539792,
0.011602526530623436,
-0.0027223422657698393,
0.006797855719923973,
-0.02133987285196781,
-0.027246281504631042,
-0.011227661743760109,
-0.044983793050050735,
-0.002822915790602565,
-0.020059846341609955,
-0.04754384607076645,
-0.06429390609264374,
-0.02311362326145172,
0.03231152892112732,
0.01751807890832424,
-0.00013014556316193193,
0.08404289186000824,
0.0379619337618351,
0.03399384766817093,
-0.01247111614793539,
0.026057684794068336,
-0.016311196610331535,
-0.016786634922027588,
-0.02475937269628048,
0.05109134688973427,
0.050177041441202164,
0.020023273304104805,
-0.016996923834085464,
-0.017755797132849693,
0.007314437534660101,
-0.04747069999575615,
0.013641426339745522,
-0.04567866399884224,
0.004532665479928255,
0.008379602804780006,
0.0023863352835178375,
-0.018048375844955444,
0.00413494324311614,
0.005307538900524378,
0.02505194954574108,
0.0008183027384802699,
0.0009508769144304097,
0.05511428788304329,
-0.08375031501054764,
-0.08952871710062027,
0.01733521744608879,
-0.04158257693052292,
-0.02294904924929142,
-0.01518660131841898,
-0.0014617446577176452,
-0.010624220594763756,
-0.02276618778705597,
0.01039564423263073,
0.10657136142253876,
-0.05361482873558998,
0.035401877015829086,
-0.06619565933942795,
0.0023726208601146936,
-0.025984540581703186,
-0.027374282479286194,
-0.03604189306497574,
0.0032526389695703983,
0.0191089678555727,
-0.04015626385807991,
-0.030007481575012207,
0.008425317704677582,
-0.0033692128490656614,
-0.08572521060705185,
-0.03960768133401871,
-0.0008685895008966327,
-0.03964425250887871,
0.00425151688978076,
-0.01251683197915554,
0.06447676569223404,
0.06564708054065704,
0.08382345736026764,
0.012571689672768116,
-0.039351675659418106,
0.016768349334597588,
-0.054455988109111786,
0.04143628850579262,
0.013741999864578247,
0.011447095312178135,
-0.007021860219538212,
0.013403707183897495,
-0.0023371914867311716,
-0.006884714588522911,
-0.009563627652823925,
0.04703183472156525,
0.04374033957719803,
0.017746655270457268,
0.054236557334661484,
0.003504072781652212,
-0.017700938507914543,
0.021888455376029015,
0.030117196962237358,
-0.01149281021207571,
0.04052198678255081,
-0.07950793951749802,
0.010880226269364357,
-0.005549829453229904,
-0.05310281738638878,
-0.021998170763254166,
-0.02079128846526146,
0.04022940620779991,
0.02115701138973236,
0.02878231182694435,
-0.00018186091620009392,
-0.03637104108929634,
-0.03481672331690788,
-0.0573817640542984,
0.019803840667009354,
0.035127587616443634,
-0.00759787205606699,
0.03066577948629856,
-0.07899592816829681,
-0.0005762976943515241,
-0.0022297606337815523,
-0.019182113930583,
0.03211038187146187,
0.09208877384662628,
-0.024320505559444427,
-0.04370376467704773,
0.002244618022814393,
-0.005458399187773466,
0.0023954783100634813,
0.01324827503412962,
-0.024155931547284126,
0.00382865103892982,
-0.03371955826878548,
-0.03649904578924179,
-0.05580915883183479,
-0.05986867472529411,
0.03964425250887871,
-0.0034789294004440308,
0.0386202298104763,
0.011401379480957985,
-0.0141991525888443,
0.027282852679491043,
-0.013568282127380371,
-0.006176128517836332,
0.03646247088909149,
-0.009152189828455448,
-0.060344111174345016,
-0.0574183352291584,
-0.052590806037187576,
0.024229075759649277,
-0.03412185236811638,
0.009865348227322102,
-0.009883633814752102,
-0.03666361793875694,
-0.0006045839982107282,
0.048275288194417953,
0.05485828220844269,
0.02086443454027176,
-0.02649655006825924,
0.00851217657327652,
-0.06381846964359283,
0.012644833885133266,
-0.03448757529258728,
-0.014235724695026875,
-0.03022691421210766,
0.006578422617167234,
0.05350511148571968,
0.010761366225779057,
-0.05504114553332329,
0.015689469873905182,
0.00661042332649231,
-0.023278197273612022,
-0.007547585293650627,
0.09282021224498749,
0.027575429528951645,
-0.0009514483390375972,
-0.0031040646135807037,
-0.021778738126158714,
-0.03487158194184303,
0.020498711615800858,
0.048531293869018555,
-0.008626464754343033,
-0.025911396369338036,
-0.004507522098720074,
-0.031415510922670364,
0.036992769688367844,
-0.013732857070863247,
0.06422076374292374,
0.007264150772243738,
-0.04443521052598953,
0.041107140481472015,
-0.06992602348327637,
-0.000491438782773912,
0.001142880879342556,
-0.0187981054186821,
0.027776576578617096,
-0.007771590258926153,
0.015753470361232758,
0.003216066863387823,
-0.030062338337302208,
0.08418917655944824,
-0.01428143959492445,
-0.046922117471694946,
-0.022565040737390518,
0.03622475266456604,
0.0959654226899147,
0.05866179242730141,
0.010267642326653004,
-0.044544924050569534,
0.026149114593863487,
-0.056138310581445694,
0.052444517612457275,
0.01916382648050785,
-0.028325160965323448,
0.06454991549253464,
0.02636854723095894,
0.021797023713588715,
0.012059679254889488,
0.02497880533337593,
-0.022089602425694466,
0.01516831573098898,
0.015506608411669731,
0.04754384607076645,
-0.03467043489217758,
-0.0023360485211014748,
0.023899925872683525,
0.04754384607076645,
-0.01746322028338909,
-0.03307954594492912,
0.0003788650210481137,
-0.004644668195396662,
-0.033116117119789124,
-0.002042328240349889,
-0.027813149616122246,
-0.028069155290722847,
0.03412185236811638,
0.04019283503293991,
-0.06235558167099953,
0.0023474774789065123,
0.005234394688159227,
-0.08550577610731125,
-0.013028842397034168,
-0.06363561004400253,
0.060234393924474716,
0.0008880184614099562,
0.04999418184161186,
-0.03569445759057999,
-0.03234810009598732,
-0.011072230525314808,
0.047104980796575546,
0.02272961474955082,
-0.03242124617099762,
0.08287257701158524,
0.007181863766163588,
-0.03417671099305153,
-0.009298479184508324,
0.005869836080819368,
0.033189259469509125,
-0.052188511937856674,
-0.023369628936052322,
-0.017627794295549393,
-0.039241958409547806,
0.011392236687242985,
0.07201063632965088,
-0.004244659561663866,
0.020041558891534805,
0.017216358333826065,
0.054126840084791183,
0.02486908808350563,
-0.019182113930583,
0.008498461917042732,
0.020407281816005707,
-0.026149114593863487,
0.0029577757231891155,
-0.023205053061246872,
-0.008553320541977882,
-0.02889202907681465,
0.029970908537507057,
0.01929182931780815,
-0.037102486938238144,
0.0193284023553133,
-0.04523979872465134,
0.03030005842447281,
0.009581913240253925,
0.017143214121460915,
0.039022523909807205,
-0.024393649771809578,
0.008114454336464405,
-0.05167650431394577,
0.02847144939005375,
-0.0029577757231891155,
-0.046848975121974945,
0.02483251690864563,
0.042789459228515625,
-0.020224420353770256,
-0.03068406693637371,
-0.002601196989417076,
-0.01888953521847725,
-0.011373951099812984,
-0.012205967679619789,
-0.006217272020876408,
-0.00842988956719637,
-0.024283932521939278,
0.04366719350218773,
-0.08228742331266403,
0.0005508685717359185,
0.026130829006433487,
0.004637810867279768,
-0.012608261778950691,
0.017417505383491516,
0.05185936391353607,
0.02512509375810623,
0.054126840084791183,
-0.013348848558962345,
0.019438117742538452,
0.003302925731986761,
0.0047406698577106,
0.0387299470603466,
-0.028050867840647697,
0.0959654226899147,
0.025381099432706833,
-0.0570891872048378,
0.045093510299921036,
0.09018702059984207,
0.0025417672004550695,
0.05281024053692818,
-0.011447095312178135,
0.02505194954574108,
-0.013403707183897495,
-0.031561799347400665,
0.013586567714810371,
-0.017481505870819092,
0.03390241786837578,
-0.005010389722883701,
0.057601198554039,
0.002452622400596738,
-0.059795528650283813,
0.0070401462726294994,
-0.0762164443731308,
0.04703183472156525,
-0.052261658012866974,
0.01648491434752941,
0.046702686697244644,
0.04143628850579262,
0.04754384607076645,
-0.048421576619148254,
-0.016814064234495163,
0.028965173289179802,
0.010715651325881481,
-0.04205801710486412,
0.07318095117807388,
0.039168812334537506,
0.009284764528274536,
-0.016018617898225784,
-0.028032582253217697,
0.10386501252651215,
-0.00661956612020731,
-0.03282354027032852,
-0.007730446290224791,
0.060014963150024414,
-0.015945473685860634,
0.0033280691131949425,
0.009069902822375298,
0.010788795538246632,
-0.014071149751543999,
-0.0036869337782263756,
0.014665448106825352,
-0.005915551446378231,
-0.008333887904882431,
0.018011802807450294,
-0.016814064234495163,
-0.019511261954903603,
0.035383593291044235,
0.04428892210125923,
-0.04169229418039322,
0.00528468145057559,
0.006144127808511257,
0.042606599628925323,
-0.031653229147195816,
0.019730696454644203,
-0.07841077446937561,
-0.05504114553332329,
-0.10145124793052673,
0.037358492612838745,
-0.040960852056741714,
-0.040777988731861115,
-0.005664117634296417,
0.054419416934251785,
-0.000345150037901476,
0.016759205609560013,
-0.03068406693637371,
-0.007698445580899715,
-0.005060676485300064,
-0.06528135389089584,
0.0380350761115551,
0.01591804437339306,
0.01630205288529396,
-0.016868922859430313,
-0.014519158750772476,
0.0046949549578130245,
0.04337461665272713,
0.04918959364295006,
-0.0565040297806263,
0.0379253588616848,
0.011931676417589188,
-0.006016124971210957,
-0.044544924050569534,
0.016110049560666084,
0.035292163491249084,
0.003462929045781493,
-0.029056603088974953,
0.006025268230587244,
0.012937411665916443,
-0.03359155356884003,
-0.00799559522420168,
0.07233978807926178,
0.03457900509238243,
-0.02459479682147503,
-0.0076161581091582775,
0.050579335540533066,
0.0569428987801075,
0.07391239702701569,
-0.008923614397644997,
-0.021760452538728714,
-0.04183858260512352,
-0.02071814425289631,
0.013202560134232044,
0.05917380005121231,
0.019511261954903603,
-0.01713407039642334,
-0.05390740558505058,
0.03993682935833931,
-0.010468789376318455,
0.08031252771615982,
0.012096251361072063,
0.00662413751706481,
-0.027886293828487396,
-0.0377790704369545,
0.04172886908054352,
0.07010888308286667,
-0.01584490016102791,
-0.040997423231601715,
-0.037120770663022995,
0.04216773435473442,
0.027977723628282547,
0.0007171577890403569,
0.020114703103899956,
0.006464134436100721,
0.060088105499744415,
-0.025381099432706833,
0.0015417463146150112,
-0.02859945222735405,
-0.010276785120368004,
0.013028842397034168,
0.031013216823339462,
0.016695203259587288,
0.02496051974594593,
0.004539522808045149,
-0.06886543333530426,
0.0016068905824795365,
-0.03695619851350784,
0.05858864635229111,
0.0284165907651186,
0.0067841410636901855,
0.02510680817067623,
0.01337627787142992,
-0.019931843504309654,
0.03037320263683796,
0.03364641219377518,
-0.01608262024819851,
0.025801679119467735,
-0.04403291642665863,
0.03238467499613762,
-0.023735349997878075,
0.03982711210846901,
0.05921037495136261,
-0.004578380845487118,
0.035072728991508484,
0.04728784039616585,
-0.06385504454374313,
0.06824370473623276,
-0.027099991217255592,
-0.07299809157848358,
-0.005563544109463692,
-0.01888953521847725,
0.03993682935833931,
-0.00003903652395820245,
0.020462140440940857,
-0.06070983409881592,
0.0015166029334068298,
0.017554650083184242,
0.028069155290722847,
0.07511927932500839,
0.0003734363417606801,
0.017271216958761215,
-0.026094255968928337,
-0.0047543845139443874,
0.003026348538696766,
0.04728784039616585,
-0.08367716521024704,
-0.03509101644158363,
-0.012727121822535992,
0.01644834131002426,
-0.05365139991044998,
-0.00042915178346447647,
0.015031169168651104,
0.03598703444004059,
-0.0071681491099298,
0.002866345224902034,
0.044764358550310135,
-0.009124761447310448,
0.022327320650219917,
-0.02496051974594593,
-0.019730696454644203,
-0.0028732025530189276,
0.0015257459599524736,
0.008754467591643333,
-0.05921037495136261,
-0.06802427023649216,
-0.05193250626325607,
0.050871916115283966,
0.07789876312017441,
-0.061697281897068024,
-0.035145875066518784,
0.024357078596949577,
0.026240546256303787,
-0.012416258454322815,
-0.08001995086669922,
0.04944559931755066,
-0.04447178170084953,
-0.0190906822681427,
0.021742166951298714,
0.00037657926441170275,
0.005979552865028381,
-0.05174964666366577,
-0.010221926495432854,
-0.02680741436779499,
0.050469622015953064,
-0.03192752227187157,
0.01322998944669962,
-0.019511261954903603,
-0.01530546136200428,
0.0759970098733902,
-0.008987615816295147,
-0.06502535194158554,
-0.031305793672800064,
0.025911396369338036,
-0.056174881756305695,
0.042935751378536224,
0.006326988805085421,
-0.0386202298104763,
0.009865348227322102,
0.041107140481472015,
-0.029550328850746155,
0.05902751162648201,
-0.0025326241739094257,
-0.019584406167268753,
0.06849970668554306,
-0.003110921708866954,
-0.0046949549578130245,
-0.04154600575566292,
0.0289468877017498,
-0.06326988339424133,
0.010605935007333755,
-0.04231402277946472,
-0.006070983130484819,
-0.022235890850424767,
-0.062099575996398926,
0.01231568492949009,
-0.008891613222658634,
-0.016238052397966385,
0.02261989936232567,
0.04129000008106232,
-0.00759330065920949,
-0.0014400299405679107,
-0.042643170803785324,
-0.0285628791898489,
-0.057710912078619,
-0.002516623819246888,
-0.02490566112101078,
0.035017870366573334,
-0.03265896439552307,
-0.04205801710486412,
0.06096583977341652,
-0.01240711472928524,
-0.039059098809957504,
0.017700938507914543,
0.008699608966708183,
0.019511261954903603,
-0.025417670607566833,
0.011273377574980259,
0.0027154849376529455,
-0.04966503381729126,
-0.015652896836400032,
-0.03421328216791153,
0.016183193773031235,
0.035365305840969086,
-0.06316017359495163,
-0.0375230647623539,
0.01805751770734787,
-0.048677582293748856,
-0.0036526473704725504,
0.024357078596949577,
0.04377691075205803,
-0.03435957059264183,
-0.040887705981731415,
0.0058149779215455055,
0.008937329053878784,
0.04041226953268051,
-0.011053944006562233,
0.014308868907392025,
0.023387914523482323,
0.04739755764603615,
0.03441442921757698,
0.01927354373037815,
0.02269304357469082,
-0.044654641300439835,
0.007831020280718803,
0.007163577247411013,
0.0143454410135746,
0.05222508683800697,
0.027721719816327095,
-0.013741999864578247,
-0.030866926535964012,
0.023918211460113525,
0.005979552865028381,
0.015872329473495483,
-0.016292909160256386,
0.005654974840581417,
-0.018523814156651497,
-0.005938409361988306,
0.02678912878036499,
-0.02669769711792469,
0.02693541720509529,
-0.02133987285196781,
-0.025454243645071983,
0.015927188098430634,
0.037303633987903595,
-0.020480426028370857,
-0.0014023148687556386,
0.011218518950045109,
-0.03459728881716728,
0.000878303952049464,
-0.003968082368373871,
0.019602693617343903,
-0.04984789341688156,
0.056321170181035995,
-0.07032831758260727,
-0.000917161931283772,
0.06451334059238434,
0.04637353494763374,
0.026130829006433487,
-0.01323913224041462,
-0.0032092095352709293,
0.04180201143026352,
0.017627794295549393,
0.013065414503216743,
0.004148657433688641,
0.01606433466076851,
0.007543013896793127,
-0.001300598494708538,
-0.08696866780519485,
-0.06305045634508133,
0.030117196962237358,
-0.06092926487326622,
0.06747569143772125,
0.024009641259908676,
0.027721719816327095,
-0.01916382648050785,
-0.027209708467125893,
0.01789294369518757
]
|
31,434 | prefect_sqlalchemy.database | SqlAlchemyConnector |
Block used to manage authentication with a database.
Upon instantiating, an engine is created and maintained for the life of
the object until the close method is called.
It is recommended to use this block as a context manager, which will automatically
close the engine and its connections when the context is exited.
It is also recommended that this block is loaded and consumed within a single task
or flow because if the block is passed across separate tasks and flows,
the state of the block's connection and cursor could be lost.
Attributes:
connection_info: SQLAlchemy URL to create the engine;
either create from components or create from a string.
connect_args: The options which will be passed directly to the
DBAPI's connect() method as additional keyword arguments.
fetch_size: The number of rows to fetch at a time.
Example:
Load stored database credentials and use in context manager:
```python
from prefect_sqlalchemy import SqlAlchemyConnector
database_block = SqlAlchemyConnector.load("BLOCK_NAME")
with database_block:
...
```
Create table named customers and insert values; then fetch the first 10 rows.
```python
from prefect_sqlalchemy import (
SqlAlchemyConnector, SyncDriver, ConnectionComponents
)
with SqlAlchemyConnector(
connection_info=ConnectionComponents(
driver=SyncDriver.SQLITE_PYSQLITE,
database="prefect.db"
)
) as database:
database.execute(
"CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);",
)
for i in range(1, 42):
database.execute(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
parameters={"name": "Marvin", "address": f"Highway {i}"},
)
results = database.fetch_many(
"SELECT * FROM customers WHERE name = :name;",
parameters={"name": "Marvin"},
size=10
)
print(results)
```
| class SqlAlchemyConnector(CredentialsBlock, DatabaseBlock):
"""
Block used to manage authentication with a database.
Upon instantiating, an engine is created and maintained for the life of
the object until the close method is called.
It is recommended to use this block as a context manager, which will automatically
close the engine and its connections when the context is exited.
It is also recommended that this block is loaded and consumed within a single task
or flow because if the block is passed across separate tasks and flows,
the state of the block's connection and cursor could be lost.
Attributes:
connection_info: SQLAlchemy URL to create the engine;
either create from components or create from a string.
connect_args: The options which will be passed directly to the
DBAPI's connect() method as additional keyword arguments.
fetch_size: The number of rows to fetch at a time.
Example:
Load stored database credentials and use in context manager:
```python
from prefect_sqlalchemy import SqlAlchemyConnector
database_block = SqlAlchemyConnector.load("BLOCK_NAME")
with database_block:
...
```
Create table named customers and insert values; then fetch the first 10 rows.
```python
from prefect_sqlalchemy import (
SqlAlchemyConnector, SyncDriver, ConnectionComponents
)
with SqlAlchemyConnector(
connection_info=ConnectionComponents(
driver=SyncDriver.SQLITE_PYSQLITE,
database="prefect.db"
)
) as database:
database.execute(
"CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);",
)
for i in range(1, 42):
database.execute(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
parameters={"name": "Marvin", "address": f"Highway {i}"},
)
results = database.fetch_many(
"SELECT * FROM customers WHERE name = :name;",
parameters={"name": "Marvin"},
size=10
)
print(results)
```
"""
_block_type_name = "SQLAlchemy Connector"
_logo_url = "https://cdn.sanity.io/images/3ugk85nk/production/3c7dff04f70aaf4528e184a3b028f9e40b98d68c-250x250.png" # noqa
_documentation_url = "https://prefecthq.github.io/prefect-sqlalchemy/database/#prefect_sqlalchemy.database.SqlAlchemyConnector" # noqa
connection_info: Union[ConnectionComponents, AnyUrl] = Field(
default=...,
description=(
"SQLAlchemy URL to create the engine; either create from components "
"or create from a string."
),
)
connect_args: Optional[Dict[str, Any]] = Field(
default=None,
title="Additional Connection Arguments",
description=(
"The options which will be passed directly to the DBAPI's connect() "
"method as additional keyword arguments."
),
)
fetch_size: int = Field(
default=1, description="The number of rows to fetch at a time."
)
_engine: Optional[Union[AsyncEngine, Engine]] = None
_exit_stack: Union[ExitStack, AsyncExitStack] = None
_unique_results: Dict[str, CursorResult] = None
class Config:
"""Configuration of pydantic."""
# Support serialization of the 'URL' type
arbitrary_types_allowed = True
json_encoders = {URL: lambda u: u.render_as_string()}
def dict(self, *args, **kwargs) -> Dict:
"""
Convert to a dictionary.
"""
# Support serialization of the 'URL' type
d = super().dict(*args, **kwargs)
d["_rendered_url"] = SecretStr(
self._rendered_url.render_as_string(hide_password=False)
)
return d
def block_initialization(self):
"""
Initializes the engine.
"""
super().block_initialization()
if isinstance(self.connection_info, ConnectionComponents):
self._rendered_url = self.connection_info.create_url()
else:
# make rendered url from string
self._rendered_url = make_url(str(self.connection_info))
drivername = self._rendered_url.drivername
try:
AsyncDriver(drivername)
self._driver_is_async = True
except ValueError:
self._driver_is_async = False
if self._unique_results is None:
self._unique_results = {}
if self._exit_stack is None:
self._start_exit_stack()
def _start_exit_stack(self):
"""
Starts an AsyncExitStack or ExitStack depending on whether driver is async.
"""
self._exit_stack = AsyncExitStack() if self._driver_is_async else ExitStack()
def get_engine(
self, **create_engine_kwargs: Dict[str, Any]
) -> Union[Engine, AsyncEngine]:
"""
Returns an authenticated engine that can be
used to query from databases.
If an existing engine exists, return that one.
Returns:
The authenticated SQLAlchemy Engine / AsyncEngine.
Examples:
Create an asynchronous engine to PostgreSQL using URL params.
```python
from prefect import flow
from prefect_sqlalchemy import (
SqlAlchemyConnector, ConnectionComponents, AsyncDriver
)
@flow
def sqlalchemy_credentials_flow():
sqlalchemy_credentials = SqlAlchemyConnector(
connection_info=ConnectionComponents(
driver=AsyncDriver.POSTGRESQL_ASYNCPG,
username="prefect",
password="prefect_password",
database="postgres"
)
)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
Create a synchronous engine to Snowflake using the `url` kwarg.
```python
from prefect import flow
from prefect_sqlalchemy import SqlAlchemyConnector, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
url = (
"snowflake://<user_login_name>:<password>"
"@<account_identifier>/<database_name>"
"?warehouse=<warehouse_name>"
)
sqlalchemy_credentials = SqlAlchemyConnector(url=url)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
"""
if self._engine is not None:
self.logger.debug("Reusing existing engine.")
return self._engine
engine_kwargs = dict(
url=self._rendered_url,
connect_args=self.connect_args or {},
**create_engine_kwargs,
)
if self._driver_is_async:
# no need to await here
engine = create_async_engine(**engine_kwargs)
else:
engine = create_engine(**engine_kwargs)
self.logger.info("Created a new engine.")
if self._engine is None:
self._engine = engine
return engine
def get_connection(
self, begin: bool = True, **connect_kwargs: Dict[str, Any]
) -> Union[Connection, AsyncConnection]:
"""
Returns a connection that can be used to query from databases.
Args:
begin: Whether to begin a transaction on the connection; if True, if
any operations fail, the entire transaction will be rolled back.
**connect_kwargs: Additional keyword arguments to pass to either
`engine.begin` or engine.connect`.
Returns:
The SQLAlchemy Connection / AsyncConnection.
Examples:
Create an synchronous connection as a context-managed transaction.
```p | (*args, connection_info: Union[prefect_sqlalchemy.credentials.ConnectionComponents, pydantic.v1.networks.AnyUrl], connect_args: Optional[Dict[str, Any]] = None, fetch_size: int = 1, **kwargs) -> None | [
0.040570300072431564,
-0.14156627655029297,
-0.049251653254032135,
0.024346476420760155,
0.04473906755447388,
-0.013236919417977333,
-0.003462335327640176,
0.010615321807563305,
-0.03375844284892082,
-0.059136368334293365,
0.0034274165518581867,
-0.03910908102989197,
-0.037390001118183136,
0.0534634031355381,
0.006715158000588417,
0.030277304351329803,
0.012173238210380077,
-0.013161709532141685,
0.02582918293774128,
-0.047403644770383835,
0.018308207392692566,
0.051486458629369736,
0.01173272356390953,
-0.034553516656160355,
-0.0019594831392169,
0.03133024275302887,
-0.015160140581429005,
0.01510641910135746,
0.03861484304070473,
0.0050121936947107315,
0.04512586072087288,
0.02030663751065731,
0.028945017606019974,
0.06042567640542984,
0.023959683254361153,
-0.014300600625574589,
0.039968620985746384,
0.04611433297395706,
0.03072856366634369,
-0.046501126140356064,
-0.03427416458725929,
0.010969881899654865,
0.041494302451610565,
0.009524780325591564,
-0.03420970216393471,
0.015987448394298553,
-0.008987567387521267,
-0.03653045743703842,
0.0158692616969347,
-0.01728750206530094,
0.050154171884059906,
0.03726106882095337,
-0.01741643436253071,
0.07460808753967285,
0.032103825360536575,
-0.04390101507306099,
-0.09532301127910614,
0.02613002248108387,
-0.033199742436409,
0.012678218074142933,
-0.0001578901574248448,
0.010088853538036346,
0.007284603547304869,
0.039238009601831436,
0.01695443131029606,
-0.039044614881277084,
-0.04667303338646889,
-0.0005026295548304915,
0.027290401980280876,
-0.026968074962496758,
0.0076445359736680984,
0.013989017345011234,
0.015074186958372593,
0.0075424653477966785,
-0.007101951166987419,
-0.03092195838689804,
-0.0012738654622808099,
0.03478989005088806,
0.04151579365134239,
-0.0012261878000572324,
-0.034897331148386,
-0.0046871802769601345,
-0.013150964863598347,
-0.037196602672338486,
0.06300429999828339,
-0.005441964138299227,
-0.013398082926869392,
0.03962480276823044,
-0.04950951784849167,
-0.025571322068572044,
0.00033626152435317636,
0.003048681654036045,
-0.01012645848095417,
0.09635445475578308,
0.0021918276324868202,
-0.026194488629698753,
0.008213981054723263,
0.00255578919313848,
-0.015632888302206993,
0.022799303755164146,
-0.02662425860762596,
0.023014189675450325,
0.005791152361780405,
0.0019594831392169,
-0.029353298246860504,
-0.07791732251644135,
-0.03399481624364853,
-0.02030663751065731,
0.02512006275355816,
-0.016352752223610878,
-0.06167200952768326,
-0.004676436074078083,
0.043213386088609695,
-0.017513131722807884,
0.00010660313273547217,
-0.03341462463140488,
-0.02155297063291073,
-0.009793386794626713,
0.013387339189648628,
-0.02499113231897354,
-0.011141790077090263,
0.006505644880235195,
0.015772562474012375,
0.010330598801374435,
0.046887919306755066,
0.09815949201583862,
0.011055836454033852,
-0.034145236015319824,
-0.03481137752532959,
-0.02797803469002247,
0.05402210354804993,
0.005656849127262831,
0.013795620761811733,
-0.0020239485893398523,
0.012205471284687519,
0.03687427565455437,
0.00005502232670551166,
-0.013301384635269642,
-0.025657275691628456,
0.04473906755447388,
0.01403199415653944,
0.005850245710462332,
-0.04265468195080757,
-0.022820793092250824,
-0.017083361744880676,
-0.012452589347958565,
-0.05217409133911133,
-0.08144143223762512,
0.006118851713836193,
-0.06536803394556046,
0.07331877946853638,
-0.05075585097074509,
0.0002803578390739858,
0.018909884616732597,
-0.07370557636022568,
0.019694214686751366,
-0.016857732087373734,
-0.015375025570392609,
0.030040930956602097,
-0.029954977333545685,
-0.008885497227311134,
-0.043729107826948166,
-0.0033763814717531204,
-0.0015377711970359087,
-0.030578143894672394,
0.0019044188084080815,
-0.01728750206530094,
-0.08230097591876984,
-0.037798281759023666,
-0.010830206796526909,
-0.014837812632322311,
0.020994270220398903,
-0.011464118026196957,
0.03579984977841377,
-0.023809263482689857,
0.045770514756441116,
0.045383721590042114,
-0.04847806692123413,
0.013967528939247131,
-0.0638638362288475,
0.0012671502772718668,
-0.06949383020401001,
-0.027806125581264496,
-0.0010207040468230844,
0.03646599501371384,
0.010088853538036346,
-0.0014209274668246508,
0.05509652942419052,
0.09360393136739731,
0.00204812316223979,
-0.05221707001328468,
0.005350637715309858,
0.029460741207003593,
-0.0029331808909773827,
-0.006527133751660585,
-0.007929258048534393,
0.009836363606154919,
0.03818507492542267,
-0.050669897347688675,
0.015138652175664902,
-0.014311344362795353,
-0.0196834709495306,
0.035155195742845535,
-0.03988266736268997,
0.053420424461364746,
-0.037304043769836426,
0.002726354170590639,
-0.04589944705367088,
-0.017051128670573235,
-0.03502626344561577,
-0.0816563218832016,
-0.043041475117206573,
-0.02092980407178402,
0.04804829880595207,
0.032318711280822754,
-0.0028633433394134045,
0.05728835612535477,
0.0008991596405394375,
0.05982399731874466,
0.07478000223636627,
0.06657139211893082,
-0.04697387292981148,
0.00241208472289145,
-0.05952316150069237,
0.018662767484784126,
-0.02509857341647148,
-0.04003308713436127,
-0.022197626531124115,
0.01810406520962715,
-0.042203426361083984,
-0.04039838910102844,
-0.004947728477418423,
0.018652021884918213,
0.03949587419629097,
0.051486458629369736,
-0.010502506978809834,
-0.025055596604943275,
0.04061327502131462,
-0.052732791751623154,
0.00038309977389872074,
0.018759464845061302,
0.06248857453465462,
0.00536944018676877,
-0.02675318904221058,
-0.10417627543210983,
-0.027720171958208084,
0.02286376990377903,
-0.0015377711970359087,
-0.0018305520061403513,
-0.03335016220808029,
-0.05655774474143982,
-0.02387372963130474,
0.035971757024526596,
-0.008160259574651718,
-0.056299883872270584,
-0.08423493802547455,
0.01693294197320938,
0.022305069491267204,
0.011088068597018719,
-0.006876321509480476,
-0.019941333681344986,
-0.0023247876670211554,
-0.06704413890838623,
0.07095504552125931,
0.0616290345788002,
-0.017599085345864296,
-0.05032607913017273,
-0.01613786816596985,
-0.022412510588765144,
-0.023830752819776535,
0.07413534075021744,
0.060769494622945786,
-0.01812555454671383,
0.017072618007659912,
-0.03337164968252182,
-0.03478989005088806,
-0.03180298954248428,
-0.015933725982904434,
-0.06798963248729706,
-0.03887270763516426,
-0.003902849741280079,
-0.02387372963130474,
-0.019285934045910835,
-0.03171703219413757,
0.03448905050754547,
-0.004813425242900848,
-0.0553114116191864,
-0.060167815536260605,
0.006167200859636068,
0.0213380865752697,
-0.030277304351329803,
-0.0330493226647377,
0.011098813265562057,
-0.05105669051408768,
0.020027287304401398,
0.03685278818011284,
-0.041279420256614685,
0.018652021884918213,
-0.011109557002782822,
-0.09360393136739731,
0.0024389454629272223,
-0.015439490787684917,
0.06111330911517143,
0.08436387032270432,
0.026860632002353668,
-0.04779043421149254,
0.022820793092250824,
-0.010701275430619717,
-0.03764786198735237,
-0.01831895112991333,
0.03012688457965851,
0.010008271783590317,
0.05092775821685791,
0.030384747311472893,
-0.008552425540983677,
-0.017180060967803,
0.0054177893325686455,
-0.0276557058095932,
0.034660957753658295,
0.01714782789349556,
-0.07753052562475204,
0.016642848029732704,
0.04443822801113129,
-0.028751621022820473,
0.05621393024921417,
-0.023744799196720123,
0.003035251284018159,
0.01878095418214798,
0.003760488471016288,
0.04297700896859169,
-0.0720294713973999,
0.01428985595703125,
0.00619943393394351,
0.034746915102005005,
-0.009723548777401447,
-0.0048241694457829,
-0.0372825562953949,
-0.02307865396142006,
0.02795654535293579,
-0.056600723415613174,
0.06420765072107315,
-0.04972440004348755,
0.027634218335151672,
-0.001586120342835784,
-0.0011912690242752433,
-0.01973719149827957,
0.03908758983016014,
-0.043428268283605576,
0.012366634793579578,
-0.0004378283047117293,
0.02817143127322197,
-0.034897331148386,
-0.019210724160075188,
0.029826045036315918,
-0.006806483957916498,
-0.02939627505838871,
-0.025291969999670982,
0.002076326869428158,
-0.04115048795938492,
-0.041064534336328506,
0.03012688457965851,
-0.01581553928554058,
0.014074970968067646,
0.011625281535089016,
-0.05655774474143982,
0.008616890758275986,
-0.03532710298895836,
-0.026258952915668488,
0.03051367774605751,
0.027118494734168053,
-0.03977522253990173,
-0.019769424572587013,
0.05380721762776375,
0.01377413235604763,
-0.0034865099005401134,
-0.03661641478538513,
-0.07039634138345718,
0.0010623380076140165,
-0.04317040741443634,
0.04564158618450165,
0.037390001118183136,
0.015439490787684917,
0.03092195838689804,
0.007580070290714502,
-0.008305307477712631,
-0.05324851721525192,
-0.017437921836972237,
-0.027118494734168053,
-0.0031829848885536194,
0.02724742516875267,
-0.019941333681344986,
-0.0074565112590789795,
0.009814875200390816,
0.005073973443359137,
0.008128027431666851,
0.013956784270703793,
0.032318711280822754,
0.04072071611881256,
0.015718841925263405,
-0.039646293967962265,
0.012377379462122917,
-0.04503990709781647,
0.11921823024749756,
0.008971450850367546,
-0.0075639537535607815,
-0.002852599136531353,
0.09197080135345459,
0.022605907171964645,
0.016664335504174232,
0.02563578635454178,
-0.06622757017612457,
-0.0043030730448663235,
-0.05866362154483795,
0.015332048758864403,
-0.029654137790203094,
-0.020543010905385017,
0.03244764357805252,
0.030878981575369835,
0.025549832731485367,
0.07318984717130661,
0.024453919380903244,
-0.028343338519334793,
-0.011431884951889515,
-0.010346715338528156,
-0.019361143931746483,
0.056600723415613174,
0.02025291696190834,
0.02827887237071991,
-0.02550685591995716,
0.010233900509774685,
0.012517054565250874,
0.00002097437572956551,
0.01771727204322815,
0.008536309003829956,
0.0022804676555097103,
0.019038815051317215,
0.02542090229690075,
0.023744799196720123,
0.027913568541407585,
-0.030664097517728806,
0.049552492797374725,
0.03092195838689804,
-0.013989017345011234,
-0.000010398002814326901,
0.06704413890838623,
-0.01520311739295721,
-0.04478204622864723,
0.012796404771506786,
0.06596971303224564,
0.06622757017612457,
-0.04390101507306099,
0.04456716030836105,
0.022584419697523117,
0.009857852011919022,
-0.07529572397470474,
0.003403241978958249,
0.03534859046339989,
-0.006623831577599049,
0.011077324859797955,
0.04469609260559082,
0.05019714683294296,
-0.03614366427063942,
0.02479773573577404,
-0.014558462426066399,
0.04723173379898071,
-0.03809912130236626,
0.00936361588537693,
0.0025974230375140905,
-0.036380041390657425,
-0.009895456954836845,
0.002874087542295456,
-0.007574697956442833,
-0.010797973722219467,
0.0027062087319791317,
0.02188604325056076,
-0.018899140879511833,
0.018576811999082565,
0.0004019022162538022,
0.00359663856215775,
-0.03249061852693558,
-0.0196834709495306,
0.008896240964531898,
0.025077085942029953,
-0.009379732422530651,
-0.01377413235604763,
-0.02610853500664234,
0.10331673175096512,
-0.05191623046994209,
0.0051035201177001,
-0.018985094502568245,
-0.023014189675450325,
0.03962480276823044,
0.07065420597791672,
0.011152534745633602,
-0.027225935831665993,
-0.027311889454722404,
0.008616890758275986,
0.009481802582740784,
0.026065556332468987,
-0.04233235493302345,
0.009030544199049473,
0.01608414575457573,
0.030878981575369835,
-0.05458080396056175,
0.04581349343061447,
-0.02449689619243145,
-0.015289071947336197,
-0.0080313291400671,
0.005936199799180031,
0.03197489678859711,
0.0016546149272471666,
-0.008262330666184425,
-0.00966445542871952,
-0.07731564342975616,
-0.00008074977085925639,
0.03988266736268997,
0.02735486812889576,
-0.002218688139691949,
-0.00519216014072299,
-0.03440309688448906,
0.020285150036215782,
0.0192966777831316,
0.016266798600554466,
-0.0017056501237675548,
-0.01723378151655197,
0.01547172386199236,
0.04645814746618271,
-0.024217545986175537,
0.03193191811442375,
0.010830206796526909,
0.02591513842344284,
0.0017217665445059538,
-0.04181663319468498,
-0.02713998220860958,
0.03143768385052681,
-0.010158690623939037,
-0.07856197655200958,
0.0192966777831316,
-0.018275974318385124,
-0.026194488629698753,
0.014612183906137943,
0.05874957516789436,
-0.04869295284152031,
-0.055354390293359756,
-0.03133024275302887,
-0.07318984717130661,
0.018007367849349976,
0.014354321174323559,
-0.04998226463794708,
-0.042396821081638336,
0.03571389615535736,
0.0516153909265995,
0.05092775821685791,
-0.04615730792284012,
-0.03532710298895836,
-0.054236989468336105,
0.04920867830514908,
-0.020081007853150368,
-0.010244645178318024,
0.009084265679121017,
0.03197489678859711,
0.02076864056289196,
-0.056901562958955765,
-0.02368033304810524,
0.04482502117753029,
-0.009659083560109138,
0.04804829880595207,
0.044223345816135406,
-0.02675318904221058,
0.006312248297035694,
-0.01883467473089695,
0.033736951649188995,
0.07447916269302368,
0.04499693214893341,
0.004936984274536371,
-0.04409441351890564,
-0.03341462463140488,
0.025270482525229454,
0.047102805227041245,
-0.045383721590042114,
0.05079882591962814,
-0.04684494063258171,
-0.006151084788143635,
-0.052517905831336975,
-0.022713350132107735,
0.04409441351890564,
-0.018039600923657417,
0.08144143223762512,
0.0372825562953949,
-0.014418787322938442,
-0.022777816280722618,
0.013623712584376335,
-0.008439610712230206,
-0.013892319053411484,
0.04564158618450165,
0.023229073733091354,
-0.04534074664115906,
0.009857852011919022,
0.0534634031355381,
0.025356436148285866,
-0.08973599970340729,
0.041064534336328506,
-0.010878555476665497,
-0.04499693214893341,
0.011775701306760311,
-0.017674295231699944,
-0.043428268283605576,
-0.018200764432549477,
-0.015149395912885666,
0.01086243987083435,
0.0014719626633450389,
0.013140221126377583,
-0.017835458740592003,
-0.018909884616732597,
-0.029632648453116417,
-0.03461798280477524,
-0.07744457572698593,
0.05892148241400719,
0.0645514726638794,
0.01239886786788702,
-0.004775820299983025,
0.057718124240636826,
0.002992274472489953,
0.008079677820205688,
-0.050669897347688675,
0.06773176789283752,
0.009938433766365051,
-0.04864997789263725,
-0.05990995466709137,
0.019264444708824158,
-0.010346715338528156,
0.014880790375173092,
0.019253700971603394,
0.03178149834275246,
0.04192407429218292,
-0.05591309070587158,
0.03427416458725929,
-0.016159355640411377,
0.008702844381332397,
-0.023701822385191917,
0.012688962742686272,
-0.0024872946087270975,
0.02112320065498352,
0.01654614880681038,
0.016589125618338585,
0.020693430677056313,
-0.010212412104010582,
-0.06042567640542984,
0.05806194245815277,
0.008826403878629208,
-0.006596971303224564,
0.026710212230682373,
0.04890783876180649,
-0.0395173616707325,
-0.023121632635593414,
0.008729705587029457,
-0.0879739448428154,
0.002946611260995269,
0.04317040741443634,
0.01892062835395336,
0.023315029218792915,
0.007897025905549526,
-0.0023503052070736885,
0.014504740945994854,
-0.002855285070836544,
0.022627396509051323,
-0.008606146089732647,
0.024647315964102745,
0.026796165853738785,
0.06132819503545761,
0.015503956936299801,
-0.0009965294739231467,
0.01158230472356081,
-0.0003354221407789737,
0.020338870584964752,
-0.000837380182929337,
-0.028106965124607086,
-0.023422470316290855,
0.009003683924674988,
0.007445767056196928,
0.022219114005565643,
0.003521428909152746,
-0.024367965757846832,
0.06132819503545761,
-0.04774745926260948,
0.01118476688861847,
-0.008552425540983677,
-0.0019084479426965117,
0.049466539174318314,
-0.0835043340921402,
-0.026473838835954666,
0.008858636021614075,
-0.029654137790203094,
0.015364281833171844,
-0.08732928335666656,
-0.060898423194885254,
0.02044631354510784,
-0.0724162608385086,
-0.0006013424135744572,
0.04766150563955307,
0.03663790225982666,
-0.02267037332057953,
-0.01791066862642765,
0.02011324092745781,
0.029869021847844124,
0.02398117259144783,
0.033522069454193115,
-0.02991199865937233,
0.025958115234971046,
0.0023556773085147142,
-0.0030030186753720045,
0.014773347415030003,
0.05857766419649124,
-0.005576267372816801,
0.03513370454311371,
0.060683540999889374,
-0.035477522760629654,
0.014633672311902046,
-0.03350057825446129,
0.010137202218174934,
-0.045985400676727295,
0.012259192764759064,
0.018469370901584625,
-0.052732791751623154,
0.028321851044893265,
-0.0030755423940718174,
-0.040978580713272095,
0.02305716648697853,
0.08732928335666656,
0.07121291011571884,
-0.025657275691628456,
-0.022197626531124115,
-0.0757254958152771,
0.06867726147174835,
0.010894672013819218,
-0.02460433915257454,
0.043041475117206573,
-0.0313517302274704,
-0.0471457801759243,
-0.022176137194037437,
-0.025979602709412575,
0.0032662528101354837,
-0.0857391357421875,
0.005423161666840315,
0.06360597908496857,
-0.0009730263845995069,
0.032103825360536575,
0.011313698254525661,
0.029675625264644623,
0.011077324859797955,
0.012968312948942184,
0.06695818156003952,
-0.00801521260291338,
0.05990995466709137,
-0.007977607659995556,
-0.039431408047676086,
0.04448120668530464,
0.02398117259144783,
-0.048821885138750076,
-0.022305069491267204,
0.01851234771311283,
0.017588341608643532,
0.00350799853913486,
0.006468039937317371,
0.011442628689110279,
-0.04430929943919182,
0.021542226895689964,
0.03021283820271492
]
|
31,435 | prefect_sqlalchemy.database | __aenter__ |
Start an asynchronous database engine upon entry.
| @sync_compatible
async def execute_many(
self,
operation: str,
seq_of_parameters: List[Dict[str, Any]],
**execution_options: Dict[str, Any],
) -> None:
"""
Executes many operations on the database. This method is intended to be used
for operations that do not return data, such as INSERT, UPDATE, or DELETE.
Unlike the fetch methods, this method will always execute the operation
upon calling.
Args:
operation: The SQL query or other operation to be executed.
seq_of_parameters: The sequence of parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Examples:
Create a table and insert two rows into it.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
```
""" # noqa
async with self._manage_connection(begin=False) as connection:
await self._async_sync_execute(
connection,
text(operation),
seq_of_parameters,
execution_options=execution_options,
)
self.logger.info(
f"Executed {len(seq_of_parameters)} operations based off {operation!r}."
)
| (self) | [
-0.024076342582702637,
-0.03652384877204895,
-0.10821330547332764,
0.05053427070379257,
-0.010707832872867584,
-0.0025257833767682314,
-0.03697039559483528,
-0.032021164894104004,
-0.018382864072918892,
-0.06285153329372406,
-0.010959015227854252,
0.04164053872227669,
-0.025713684037327766,
-0.028746483847498894,
-0.0008890245808288455,
0.0033653853461146355,
0.038012340664863586,
-0.039110101759433746,
-0.0031886270735412836,
0.003921243827790022,
0.04588273912668228,
0.1019616425037384,
-0.01564776338636875,
-0.009554252028465271,
0.01795492321252823,
-0.004537572152912617,
0.02431822381913662,
-0.008456490002572536,
0.07033120095729828,
0.05343683063983917,
0.050236575305461884,
-0.004488730803132057,
0.010456649586558342,
0.010289194993674755,
0.004470124840736389,
0.007093590218573809,
0.021918030455708504,
0.039482224732637405,
0.016829252243041992,
-0.05209718644618988,
-0.022420397028326988,
-0.03125831112265587,
0.014103452675044537,
-0.018503805622458458,
-0.004207313060760498,
0.013052206486463547,
-0.014857001602649689,
0.01949923299252987,
0.004677118267863989,
-0.0129777817055583,
0.05053427070379257,
-0.011600927449762821,
-0.01766652800142765,
-0.006781937554478645,
-0.002143194666132331,
0.056971997022628784,
-0.026532353833317757,
0.016801342368125916,
0.02934188023209572,
-0.041752174496650696,
0.022271547466516495,
0.015591944567859173,
-0.0056609176099300385,
0.03516560047864914,
0.016047794371843338,
-0.0192201416939497,
-0.027983631938695908,
-0.03624475747346878,
-0.004751542583107948,
0.022811125963926315,
-0.029918670654296875,
0.026941688731312752,
0.017285102978348732,
0.02422519214451313,
-0.04015204682946205,
0.019006170332431793,
-0.0007715733372606337,
0.057046420872211456,
0.009870556183159351,
0.017452558502554893,
-0.03745415806770325,
-0.016503645107150078,
0.01178698893636465,
0.01702461764216423,
-0.011917231604456902,
0.007102893199771643,
-0.04108235239982605,
0.011880019679665565,
-0.02121099829673767,
-0.07256393879652023,
-0.04204987362027168,
0.006153980270028114,
-0.06370741873979568,
0.057158056646585464,
-0.00776341138407588,
-0.0002588869829196483,
-0.03899846598505974,
-0.0389612540602684,
-0.05838606134057045,
0.0116567462682724,
-0.04368721321225166,
0.02095051296055317,
0.08380205184221268,
-0.050869181752204895,
0.020057417452335358,
-0.10345012694597244,
-0.027890602126717567,
-0.03151879832148552,
-0.027537085115909576,
-0.02251342684030533,
-0.037565793842077255,
0.06385626643896103,
0.04789220169186592,
-0.021359847858548164,
-0.01766652800142765,
0.0035467951092869043,
-0.015229124575853348,
-0.0355377234518528,
-0.019089898094534874,
-0.020876087248325348,
0.02029929682612419,
-0.0046259514056146145,
0.03773324936628342,
-0.026383504271507263,
0.024374041706323624,
0.10136624425649643,
0.027834782376885414,
0.005125991068780422,
-0.03200255706906319,
-0.015564034692943096,
0.015601247549057007,
-0.0309792198240757,
0.05083196982741356,
0.050310999155044556,
-0.003991016652435064,
-0.0007000559708103538,
-0.014475575648248196,
-0.02558344043791294,
-0.02604859322309494,
-0.019331777468323708,
0.009805435314774513,
-0.04141726344823837,
0.033379413187503815,
0.05202276259660721,
0.02723938599228859,
0.011647442355751991,
-0.028820909559726715,
-0.056599874049425125,
0.03723088279366493,
-0.003974736202508211,
0.012028868310153484,
0.0013884830987080932,
-0.046217646449804306,
0.012242838740348816,
-0.060879286378622055,
0.030830372124910355,
0.01874568499624729,
-0.04298017919063568,
-0.03404923528432846,
-0.06813567876815796,
-0.01784328743815422,
-0.013731330633163452,
-0.015219821594655514,
0.03639360889792442,
-0.012633567675948143,
-0.0014280211180448532,
-0.03524002805352211,
-0.03384456783533096,
-0.03650524467229843,
-0.024374041706323624,
0.03490511700510979,
0.036375001072883606,
0.08618363738059998,
-0.004235222470015287,
-0.04044974595308304,
0.06374463438987732,
-0.012410294264554977,
-0.008289034478366375,
-0.001054154010489583,
-0.052692584693431854,
-0.065270334482193,
-0.04945511743426323,
0.05328797921538353,
-0.056413810700178146,
-0.00430499529466033,
0.030830372124910355,
-0.020541176199913025,
-0.013154540210962296,
0.06936368346214294,
-0.012121899053454399,
-0.03607730194926262,
-0.0012059103464707732,
0.018261924386024475,
0.01019616425037384,
-0.002350187860429287,
0.0006547035300172865,
-0.00418870709836483,
0.019331777468323708,
0.04469194635748863,
0.03778906911611557,
0.0023478621151298285,
-0.026755627244710922,
0.06951253116130829,
-0.026997506618499756,
0.03177928552031517,
-0.017443254590034485,
-0.015033760108053684,
0.009186781011521816,
0.0005541140562854707,
-0.05090639367699623,
-0.011498593725264072,
-0.03369571641087532,
-0.015591944567859173,
0.07591304183006287,
0.04510128125548363,
0.05831163749098778,
0.0075959558598697186,
-0.014373241923749447,
0.05883261188864708,
-0.0024769422598183155,
0.09913350641727448,
-0.04138005152344704,
-0.0018001438584178686,
-0.026476535946130753,
0.03226304426789284,
0.014587212353944778,
0.01613152213394642,
-0.018271228298544884,
0.027834782376885414,
0.047668926417827606,
-0.06541918218135834,
0.011507896706461906,
0.0011117167305201292,
0.03497954085469246,
-0.008456490002572536,
-0.044766370207071304,
-0.042310360819101334,
-0.028299937024712563,
0.026718415319919586,
-0.0063074808567762375,
-0.02904418297111988,
0.03505396470427513,
-0.029193030670285225,
-0.04201266169548035,
-0.037565793842077255,
-0.029174424707889557,
-0.02487640641629696,
0.016792040318250656,
0.010596196167171001,
-0.01306150946766138,
-0.0031537404283881187,
0.012168414890766144,
0.026941688731312752,
-0.03804955258965492,
-0.010019405744969845,
0.01904338225722313,
0.011293926276266575,
-0.0011384631507098675,
0.02815108746290207,
0.002509502926841378,
0.024932226166129112,
-0.016243159770965576,
-0.03577960282564163,
0.047036319971084595,
-0.022904155775904655,
-0.03443996235728264,
-0.0542927123606205,
0.0038096068892627954,
-0.019871355965733528,
0.01488491054624319,
-0.004688746761530638,
0.009535646066069603,
-0.025732289999723434,
-0.035202812403440475,
-0.023164642974734306,
0.0285976342856884,
0.044580306857824326,
-0.027667328715324402,
-0.0792621523141861,
-0.026904476806521416,
0.06675882637500763,
-0.01574079319834709,
-0.025657864287495613,
-0.07769923657178879,
0.032560743391513824,
0.028262725099921227,
-0.036914579570293427,
-0.023927494883537292,
-0.023908888921141624,
0.000402357749408111,
0.05202276259660721,
0.014149968512356281,
0.04562225192785263,
-0.01712695136666298,
-0.03524002805352211,
0.022104091942310333,
-0.020466752350330353,
0.017545588314533234,
0.031276918947696686,
-0.05953964218497276,
0.012177717871963978,
-0.033025894314050674,
0.047408442944288254,
-0.006428421009331942,
0.018801502883434296,
-0.06348414719104767,
0.06556802988052368,
-0.01619664393365383,
-0.08752327412366867,
-0.00195945892482996,
-0.003125831251963973,
0.052320461720228195,
0.010326406918466091,
0.024634527042508125,
0.057046420872211456,
0.048041049391031265,
-0.0027932466473430395,
0.0026978901587426662,
-0.026253260672092438,
0.002988611115142703,
-0.019443415105342865,
0.02405773662030697,
0.05306470766663551,
-0.025360167026519775,
0.02314603701233864,
-0.04681304469704628,
0.0034630675800144672,
0.01015895139425993,
0.01433602999895811,
0.01811307668685913,
-0.01721998117864132,
-0.029490729793906212,
-0.013489450328052044,
0.024560103192925453,
0.00617258669808507,
0.012317263521254063,
-0.0003174672310706228,
0.003063035663217306,
0.07189411669969559,
-0.00022327365877572447,
0.02294136956334114,
0.033825960010290146,
0.030588490888476372,
0.01721998117864132,
-0.060060616582632065,
0.01766652800142765,
0.043389514088630676,
0.06314923614263535,
-0.003393294522538781,
-0.06716816127300262,
0.012875447981059551,
-0.013377813622355461,
-0.013545269146561623,
0.0235739778727293,
0.025881139561533928,
0.005200415849685669,
-0.025564834475517273,
-0.019443415105342865,
-0.017694437876343727,
-0.05894424766302109,
0.044766370207071304,
-0.06515869498252869,
0.03726809471845627,
0.022904155775904655,
0.03185370936989784,
0.008116927929222584,
-0.013117327354848385,
-0.03270959109067917,
-0.019164321944117546,
-0.007056377828121185,
-0.0027769661974161863,
-0.02777896448969841,
0.06378184258937836,
0.05775345489382744,
0.03723088279366493,
0.02541598491370678,
-0.052506521344184875,
0.04182659834623337,
-0.06166074424982071,
0.010791560634970665,
-0.01361039001494646,
-0.06705652177333832,
0.11282762140035629,
-0.05831163749098778,
0.020745843648910522,
-0.018522411584854126,
0.04573388770222664,
-0.012680083513259888,
-0.0422731451690197,
0.01758280023932457,
-0.01822471246123314,
-0.00878209713846445,
-0.037286702543497086,
0.00846114195883274,
-0.041677750647068024,
-0.01893174648284912,
0.05101803317666054,
0.03767742961645126,
-0.02396470680832863,
-0.06300038844347,
-0.002359490841627121,
-0.049603965133428574,
0.03231886401772499,
0.02076445147395134,
-0.017620014026761055,
-0.04580831155180931,
-0.01630827970802784,
0.009298417717218399,
-0.017089737579226494,
0.014615122228860855,
-0.018801502883434296,
-0.04007762297987938,
0.009637979790568352,
0.01721067726612091,
-0.028076663613319397,
0.02050396427512169,
0.02085748128592968,
0.06281432509422302,
-0.004453844390809536,
0.05976291745901108,
0.06456330418586731,
-0.013731330633163452,
0.022327367216348648,
0.07319655269384384,
-0.00022908808023203164,
-0.02986285276710987,
0.04260805621743202,
-0.008772794157266617,
0.0023490251041948795,
-0.04502685368061066,
-0.04789220169186592,
-0.008177397772669792,
-0.04071022942662239,
0.008526262827217579,
0.023536765947937965,
0.007502925582230091,
0.022178517654538155,
-0.018438683822751045,
0.07185690850019455,
0.009056538343429565,
-0.02057838998734951,
0.0566742978990078,
-0.025025255978107452,
-0.05548350512981415,
0.03306310996413231,
-0.033398017287254333,
-0.008530914783477783,
0.0045305946841835976,
0.037007611244916916,
0.037565793842077255,
0.009889163076877594,
0.05299028381705284,
0.036300577223300934,
-0.017378132790327072,
0.08156931400299072,
-0.05001330003142357,
0.006335390266031027,
-0.01740604266524315,
-0.013126630336046219,
0.00039712476427666843,
0.06437724083662033,
-0.025118287652730942,
-0.005791160743683577,
-0.03778906911611557,
0.0037258793599903584,
-0.055520717054605484,
-0.03643082082271576,
0.046217646449804306,
-0.005637660156935453,
-0.005814418196678162,
-0.026643989607691765,
0.001009964500553906,
-0.0015431466745212674,
0.0008512308122590184,
0.03840307146310806,
-0.02967679128050804,
0.04543618857860565,
-0.01938759721815586,
-0.002567647024989128,
-0.03877519443631172,
0.0030700128991156816,
-0.07963427156209946,
0.04811547324061394,
-0.004437563940882683,
-0.005460901651531458,
-0.02550901658833027,
0.059428006410598755,
-0.0305140670388937,
0.03278401494026184,
-0.034570205956697464,
0.02405773662030697,
-0.05790230259299278,
0.07948542386293411,
0.010307800956070423,
0.043203454464673996,
-0.059428006410598755,
-0.06363299489021301,
0.004995748400688171,
0.008642551489174366,
-0.017601406201720238,
0.027351023629307747,
0.024895014241337776,
0.0499388761818409,
-0.005726038943976164,
0.03836585953831673,
0.007707593031227589,
0.06902877241373062,
-0.04242199659347534,
-0.054962534457445145,
-0.05909309536218643,
-0.055967263877391815,
-0.020076023414731026,
0.0013105699326843023,
-0.04871087148785591,
-0.0065633151680231094,
-0.026848657056689262,
0.03241189196705818,
-0.00776341138407588,
0.03858913108706474,
0.0116567462682724,
0.023741433396935463,
-0.022643670439720154,
-0.0566742978990078,
0.0720057561993599,
-0.015815217047929764,
-0.04450588300824165,
-0.021880818530917168,
-0.04018925875425339,
0.02714635618031025,
0.023164642974734306,
-0.025118287652730942,
0.04387327656149864,
0.010959015227854252,
-0.03330498933792114,
0.01494072936475277,
0.03659827634692192,
-0.0024025177117437124,
0.02723938599228859,
0.04007762297987938,
0.0044422154314816,
0.0037212276365607977,
0.0792621523141861,
-0.03412365913391113,
-0.006726119201630354,
-0.028374360874295235,
-0.013535966165363789,
-0.010038011707365513,
-0.023071611300110817,
0.0466269850730896,
-0.011945140548050404,
-0.018466591835021973,
0.044022124260663986,
-0.01666179671883583,
0.039482224732637405,
-0.05537186935544014,
-0.12004680931568146,
0.040486957877874374,
-0.032560743391513824,
-0.02649514190852642,
0.018001439049839973,
0.022829731926321983,
0.015303549356758595,
-0.06780076771974564,
0.01001010276377201,
0.05853491276502609,
0.04752007871866226,
0.0317048616707325,
-0.003425855189561844,
0.028653454035520554,
0.014075543731451035,
-0.01425230223685503,
0.05730690807104111,
0.025118287652730942,
-0.07070332765579224,
0.01128462329506874,
-0.04286854341626167,
-0.019517838954925537,
-0.04636649787425995,
-0.024169374257326126,
-0.05511138215661049,
0.02251342684030533,
-0.010810166597366333,
0.012717295438051224,
-0.021192392334342003,
0.041677750647068024,
0.09578440338373184,
-0.044208183884620667,
0.07144757360219955,
0.05786509066820145,
0.0016082681249827147,
-0.010475256480276585,
-0.016010582447052002,
0.011963747441768646,
-0.001505934284068644,
0.014354635961353779,
0.044394247233867645,
-0.03808676451444626,
-0.01765722595155239,
-0.05373452976346016,
-0.029807034879922867,
-0.0451757051050663,
0.03579821065068245,
0.0024862452410161495,
0.02934188023209572,
-0.004423609469085932,
-0.007749456912279129,
-0.037119247019290924,
0.012010262347757816,
0.0069168321788311005,
0.06407953798770905,
-0.0023862372618168592,
0.023425128310918808,
0.015294245444238186,
-0.0360586978495121,
0.0037770462222397327,
0.008228564634919167,
-0.08089949190616608,
0.07230345159769058,
0.06988465785980225,
-0.054590411484241486,
-0.012670780532062054,
0.01619664393365383,
-0.02904418297111988,
-0.015108184888958931,
-0.04938069358468056,
0.04000319913029671,
-0.08960716426372528,
-0.005521371494978666,
-0.04182659834623337,
-0.020076023414731026,
-0.017889801412820816,
-0.02612301893532276,
0.05712084472179413,
0.05611611530184746,
0.0768805667757988,
-0.09585882723331451,
0.007423849310725927,
0.0016675752121955156,
-0.01561055053025484,
-0.04383606091141701,
0.047222379595041275,
0.019908567890524864,
-0.005223673302680254,
-0.0571952685713768,
0.007949472405016422,
0.022122697904706,
-0.04692468047142029,
-0.021527301520109177,
0.04789220169186592,
0.05064591020345688,
0.0312955267727375,
0.08060178905725479,
-0.004344533197581768,
0.00879605207592249,
0.030439643189311028,
-0.005893494468182325,
-0.045845527201890945,
-0.06482378393411636,
0.026718415319919586,
0.0069214836694300175,
-0.009591464884579182,
0.020838875323534012,
-0.017554892227053642,
0.025974169373512268,
-0.03023497574031353,
-0.019517838954925537,
-0.01819680444896221,
-0.022420397028326988,
0.006619133986532688,
0.03196534514427185,
0.02104354277253151,
-0.02504386194050312,
0.031667646020650864,
0.06512148678302765,
0.03607730194926262,
0.04071022942662239,
0.008158791810274124,
-0.01015895139425993,
0.01996438577771187,
-0.0015791959594935179,
-0.009042583405971527,
-0.015377973206341267,
-0.0008832101593725383,
-0.031128069385886192,
-0.05444156005978584,
-0.01594546064734459,
0.014763970859348774,
0.04141726344823837,
0.025974169373512268,
-0.04789220169186592,
0.01840147189795971,
-0.022792520001530647,
-0.028653454035520554,
0.004086373373866081,
-0.05328797921538353,
0.0017292080447077751,
-0.009317023679614067,
-0.06266547739505768,
0.04528734087944031,
0.06400511413812637,
0.02504386194050312,
0.027164962142705917,
-0.012484719045460224,
0.00626096548512578,
0.055781204253435135,
0.0389612540602684,
-0.011768382973968983,
-0.02121099829673767,
0.04975281283259392,
-0.0010378736769780517,
0.012670780532062054,
0.02413216233253479,
0.016326885670423508,
-0.01019616425037384,
0.01985275000333786,
0.03503536060452461,
0.04752007871866226,
0.063409723341465,
-0.00019405620696488768,
-0.01557333767414093,
-0.04204987362027168,
-0.012912659905850887,
0.05991176515817642,
-0.07241509109735489,
-0.01938759721815586,
-0.03743555024266243,
0.02850460447371006,
0.04945511743426323,
0.07513158768415451,
0.06884270906448364,
-0.031072251498699188,
-0.012494022026658058,
0.009870556183159351,
-0.02268088236451149,
0.0344027504324913,
-0.05726969614624977,
0.04316624253988266,
-0.020262084901332855,
-0.02303439937531948,
-0.02069002576172352,
-0.02560204640030861,
-0.042794119566679,
0.01767583191394806,
-0.018968958407640457,
-0.022011062130331993,
-0.009554252028465271,
-0.008414626121520996,
-0.02705332636833191,
0.0023536765947937965,
-0.016178037971258163,
-0.000745408411603421,
0.039296165108680725,
-0.03970550000667572,
0.01552682276815176,
0.05019936338067055,
-0.0023641425650566816,
0.054143864661455154,
0.02113657258450985,
-0.036095909774303436,
-0.040561381727457047,
-0.04204987362027168,
0.04811547324061394,
0.002542063593864441,
0.016326885670423508,
-0.015787309035658836,
-0.02405773662030697,
0.06285153329372406,
0.007181969471275806
]
|
31,436 | prefect_sqlalchemy.database | __aexit__ |
Dispose the asynchronous database engine upon exit.
| @sync_compatible
async def execute_many(
self,
operation: str,
seq_of_parameters: List[Dict[str, Any]],
**execution_options: Dict[str, Any],
) -> None:
"""
Executes many operations on the database. This method is intended to be used
for operations that do not return data, such as INSERT, UPDATE, or DELETE.
Unlike the fetch methods, this method will always execute the operation
upon calling.
Args:
operation: The SQL query or other operation to be executed.
seq_of_parameters: The sequence of parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Examples:
Create a table and insert two rows into it.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
```
""" # noqa
async with self._manage_connection(begin=False) as connection:
await self._async_sync_execute(
connection,
text(operation),
seq_of_parameters,
execution_options=execution_options,
)
self.logger.info(
f"Executed {len(seq_of_parameters)} operations based off {operation!r}."
)
| (self, *args) | [
-0.024076342582702637,
-0.03652384877204895,
-0.10821330547332764,
0.05053427070379257,
-0.010707832872867584,
-0.0025257833767682314,
-0.03697039559483528,
-0.032021164894104004,
-0.018382864072918892,
-0.06285153329372406,
-0.010959015227854252,
0.04164053872227669,
-0.025713684037327766,
-0.028746483847498894,
-0.0008890245808288455,
0.0033653853461146355,
0.038012340664863586,
-0.039110101759433746,
-0.0031886270735412836,
0.003921243827790022,
0.04588273912668228,
0.1019616425037384,
-0.01564776338636875,
-0.009554252028465271,
0.01795492321252823,
-0.004537572152912617,
0.02431822381913662,
-0.008456490002572536,
0.07033120095729828,
0.05343683063983917,
0.050236575305461884,
-0.004488730803132057,
0.010456649586558342,
0.010289194993674755,
0.004470124840736389,
0.007093590218573809,
0.021918030455708504,
0.039482224732637405,
0.016829252243041992,
-0.05209718644618988,
-0.022420397028326988,
-0.03125831112265587,
0.014103452675044537,
-0.018503805622458458,
-0.004207313060760498,
0.013052206486463547,
-0.014857001602649689,
0.01949923299252987,
0.004677118267863989,
-0.0129777817055583,
0.05053427070379257,
-0.011600927449762821,
-0.01766652800142765,
-0.006781937554478645,
-0.002143194666132331,
0.056971997022628784,
-0.026532353833317757,
0.016801342368125916,
0.02934188023209572,
-0.041752174496650696,
0.022271547466516495,
0.015591944567859173,
-0.0056609176099300385,
0.03516560047864914,
0.016047794371843338,
-0.0192201416939497,
-0.027983631938695908,
-0.03624475747346878,
-0.004751542583107948,
0.022811125963926315,
-0.029918670654296875,
0.026941688731312752,
0.017285102978348732,
0.02422519214451313,
-0.04015204682946205,
0.019006170332431793,
-0.0007715733372606337,
0.057046420872211456,
0.009870556183159351,
0.017452558502554893,
-0.03745415806770325,
-0.016503645107150078,
0.01178698893636465,
0.01702461764216423,
-0.011917231604456902,
0.007102893199771643,
-0.04108235239982605,
0.011880019679665565,
-0.02121099829673767,
-0.07256393879652023,
-0.04204987362027168,
0.006153980270028114,
-0.06370741873979568,
0.057158056646585464,
-0.00776341138407588,
-0.0002588869829196483,
-0.03899846598505974,
-0.0389612540602684,
-0.05838606134057045,
0.0116567462682724,
-0.04368721321225166,
0.02095051296055317,
0.08380205184221268,
-0.050869181752204895,
0.020057417452335358,
-0.10345012694597244,
-0.027890602126717567,
-0.03151879832148552,
-0.027537085115909576,
-0.02251342684030533,
-0.037565793842077255,
0.06385626643896103,
0.04789220169186592,
-0.021359847858548164,
-0.01766652800142765,
0.0035467951092869043,
-0.015229124575853348,
-0.0355377234518528,
-0.019089898094534874,
-0.020876087248325348,
0.02029929682612419,
-0.0046259514056146145,
0.03773324936628342,
-0.026383504271507263,
0.024374041706323624,
0.10136624425649643,
0.027834782376885414,
0.005125991068780422,
-0.03200255706906319,
-0.015564034692943096,
0.015601247549057007,
-0.0309792198240757,
0.05083196982741356,
0.050310999155044556,
-0.003991016652435064,
-0.0007000559708103538,
-0.014475575648248196,
-0.02558344043791294,
-0.02604859322309494,
-0.019331777468323708,
0.009805435314774513,
-0.04141726344823837,
0.033379413187503815,
0.05202276259660721,
0.02723938599228859,
0.011647442355751991,
-0.028820909559726715,
-0.056599874049425125,
0.03723088279366493,
-0.003974736202508211,
0.012028868310153484,
0.0013884830987080932,
-0.046217646449804306,
0.012242838740348816,
-0.060879286378622055,
0.030830372124910355,
0.01874568499624729,
-0.04298017919063568,
-0.03404923528432846,
-0.06813567876815796,
-0.01784328743815422,
-0.013731330633163452,
-0.015219821594655514,
0.03639360889792442,
-0.012633567675948143,
-0.0014280211180448532,
-0.03524002805352211,
-0.03384456783533096,
-0.03650524467229843,
-0.024374041706323624,
0.03490511700510979,
0.036375001072883606,
0.08618363738059998,
-0.004235222470015287,
-0.04044974595308304,
0.06374463438987732,
-0.012410294264554977,
-0.008289034478366375,
-0.001054154010489583,
-0.052692584693431854,
-0.065270334482193,
-0.04945511743426323,
0.05328797921538353,
-0.056413810700178146,
-0.00430499529466033,
0.030830372124910355,
-0.020541176199913025,
-0.013154540210962296,
0.06936368346214294,
-0.012121899053454399,
-0.03607730194926262,
-0.0012059103464707732,
0.018261924386024475,
0.01019616425037384,
-0.002350187860429287,
0.0006547035300172865,
-0.00418870709836483,
0.019331777468323708,
0.04469194635748863,
0.03778906911611557,
0.0023478621151298285,
-0.026755627244710922,
0.06951253116130829,
-0.026997506618499756,
0.03177928552031517,
-0.017443254590034485,
-0.015033760108053684,
0.009186781011521816,
0.0005541140562854707,
-0.05090639367699623,
-0.011498593725264072,
-0.03369571641087532,
-0.015591944567859173,
0.07591304183006287,
0.04510128125548363,
0.05831163749098778,
0.0075959558598697186,
-0.014373241923749447,
0.05883261188864708,
-0.0024769422598183155,
0.09913350641727448,
-0.04138005152344704,
-0.0018001438584178686,
-0.026476535946130753,
0.03226304426789284,
0.014587212353944778,
0.01613152213394642,
-0.018271228298544884,
0.027834782376885414,
0.047668926417827606,
-0.06541918218135834,
0.011507896706461906,
0.0011117167305201292,
0.03497954085469246,
-0.008456490002572536,
-0.044766370207071304,
-0.042310360819101334,
-0.028299937024712563,
0.026718415319919586,
-0.0063074808567762375,
-0.02904418297111988,
0.03505396470427513,
-0.029193030670285225,
-0.04201266169548035,
-0.037565793842077255,
-0.029174424707889557,
-0.02487640641629696,
0.016792040318250656,
0.010596196167171001,
-0.01306150946766138,
-0.0031537404283881187,
0.012168414890766144,
0.026941688731312752,
-0.03804955258965492,
-0.010019405744969845,
0.01904338225722313,
0.011293926276266575,
-0.0011384631507098675,
0.02815108746290207,
0.002509502926841378,
0.024932226166129112,
-0.016243159770965576,
-0.03577960282564163,
0.047036319971084595,
-0.022904155775904655,
-0.03443996235728264,
-0.0542927123606205,
0.0038096068892627954,
-0.019871355965733528,
0.01488491054624319,
-0.004688746761530638,
0.009535646066069603,
-0.025732289999723434,
-0.035202812403440475,
-0.023164642974734306,
0.0285976342856884,
0.044580306857824326,
-0.027667328715324402,
-0.0792621523141861,
-0.026904476806521416,
0.06675882637500763,
-0.01574079319834709,
-0.025657864287495613,
-0.07769923657178879,
0.032560743391513824,
0.028262725099921227,
-0.036914579570293427,
-0.023927494883537292,
-0.023908888921141624,
0.000402357749408111,
0.05202276259660721,
0.014149968512356281,
0.04562225192785263,
-0.01712695136666298,
-0.03524002805352211,
0.022104091942310333,
-0.020466752350330353,
0.017545588314533234,
0.031276918947696686,
-0.05953964218497276,
0.012177717871963978,
-0.033025894314050674,
0.047408442944288254,
-0.006428421009331942,
0.018801502883434296,
-0.06348414719104767,
0.06556802988052368,
-0.01619664393365383,
-0.08752327412366867,
-0.00195945892482996,
-0.003125831251963973,
0.052320461720228195,
0.010326406918466091,
0.024634527042508125,
0.057046420872211456,
0.048041049391031265,
-0.0027932466473430395,
0.0026978901587426662,
-0.026253260672092438,
0.002988611115142703,
-0.019443415105342865,
0.02405773662030697,
0.05306470766663551,
-0.025360167026519775,
0.02314603701233864,
-0.04681304469704628,
0.0034630675800144672,
0.01015895139425993,
0.01433602999895811,
0.01811307668685913,
-0.01721998117864132,
-0.029490729793906212,
-0.013489450328052044,
0.024560103192925453,
0.00617258669808507,
0.012317263521254063,
-0.0003174672310706228,
0.003063035663217306,
0.07189411669969559,
-0.00022327365877572447,
0.02294136956334114,
0.033825960010290146,
0.030588490888476372,
0.01721998117864132,
-0.060060616582632065,
0.01766652800142765,
0.043389514088630676,
0.06314923614263535,
-0.003393294522538781,
-0.06716816127300262,
0.012875447981059551,
-0.013377813622355461,
-0.013545269146561623,
0.0235739778727293,
0.025881139561533928,
0.005200415849685669,
-0.025564834475517273,
-0.019443415105342865,
-0.017694437876343727,
-0.05894424766302109,
0.044766370207071304,
-0.06515869498252869,
0.03726809471845627,
0.022904155775904655,
0.03185370936989784,
0.008116927929222584,
-0.013117327354848385,
-0.03270959109067917,
-0.019164321944117546,
-0.007056377828121185,
-0.0027769661974161863,
-0.02777896448969841,
0.06378184258937836,
0.05775345489382744,
0.03723088279366493,
0.02541598491370678,
-0.052506521344184875,
0.04182659834623337,
-0.06166074424982071,
0.010791560634970665,
-0.01361039001494646,
-0.06705652177333832,
0.11282762140035629,
-0.05831163749098778,
0.020745843648910522,
-0.018522411584854126,
0.04573388770222664,
-0.012680083513259888,
-0.0422731451690197,
0.01758280023932457,
-0.01822471246123314,
-0.00878209713846445,
-0.037286702543497086,
0.00846114195883274,
-0.041677750647068024,
-0.01893174648284912,
0.05101803317666054,
0.03767742961645126,
-0.02396470680832863,
-0.06300038844347,
-0.002359490841627121,
-0.049603965133428574,
0.03231886401772499,
0.02076445147395134,
-0.017620014026761055,
-0.04580831155180931,
-0.01630827970802784,
0.009298417717218399,
-0.017089737579226494,
0.014615122228860855,
-0.018801502883434296,
-0.04007762297987938,
0.009637979790568352,
0.01721067726612091,
-0.028076663613319397,
0.02050396427512169,
0.02085748128592968,
0.06281432509422302,
-0.004453844390809536,
0.05976291745901108,
0.06456330418586731,
-0.013731330633163452,
0.022327367216348648,
0.07319655269384384,
-0.00022908808023203164,
-0.02986285276710987,
0.04260805621743202,
-0.008772794157266617,
0.0023490251041948795,
-0.04502685368061066,
-0.04789220169186592,
-0.008177397772669792,
-0.04071022942662239,
0.008526262827217579,
0.023536765947937965,
0.007502925582230091,
0.022178517654538155,
-0.018438683822751045,
0.07185690850019455,
0.009056538343429565,
-0.02057838998734951,
0.0566742978990078,
-0.025025255978107452,
-0.05548350512981415,
0.03306310996413231,
-0.033398017287254333,
-0.008530914783477783,
0.0045305946841835976,
0.037007611244916916,
0.037565793842077255,
0.009889163076877594,
0.05299028381705284,
0.036300577223300934,
-0.017378132790327072,
0.08156931400299072,
-0.05001330003142357,
0.006335390266031027,
-0.01740604266524315,
-0.013126630336046219,
0.00039712476427666843,
0.06437724083662033,
-0.025118287652730942,
-0.005791160743683577,
-0.03778906911611557,
0.0037258793599903584,
-0.055520717054605484,
-0.03643082082271576,
0.046217646449804306,
-0.005637660156935453,
-0.005814418196678162,
-0.026643989607691765,
0.001009964500553906,
-0.0015431466745212674,
0.0008512308122590184,
0.03840307146310806,
-0.02967679128050804,
0.04543618857860565,
-0.01938759721815586,
-0.002567647024989128,
-0.03877519443631172,
0.0030700128991156816,
-0.07963427156209946,
0.04811547324061394,
-0.004437563940882683,
-0.005460901651531458,
-0.02550901658833027,
0.059428006410598755,
-0.0305140670388937,
0.03278401494026184,
-0.034570205956697464,
0.02405773662030697,
-0.05790230259299278,
0.07948542386293411,
0.010307800956070423,
0.043203454464673996,
-0.059428006410598755,
-0.06363299489021301,
0.004995748400688171,
0.008642551489174366,
-0.017601406201720238,
0.027351023629307747,
0.024895014241337776,
0.0499388761818409,
-0.005726038943976164,
0.03836585953831673,
0.007707593031227589,
0.06902877241373062,
-0.04242199659347534,
-0.054962534457445145,
-0.05909309536218643,
-0.055967263877391815,
-0.020076023414731026,
0.0013105699326843023,
-0.04871087148785591,
-0.0065633151680231094,
-0.026848657056689262,
0.03241189196705818,
-0.00776341138407588,
0.03858913108706474,
0.0116567462682724,
0.023741433396935463,
-0.022643670439720154,
-0.0566742978990078,
0.0720057561993599,
-0.015815217047929764,
-0.04450588300824165,
-0.021880818530917168,
-0.04018925875425339,
0.02714635618031025,
0.023164642974734306,
-0.025118287652730942,
0.04387327656149864,
0.010959015227854252,
-0.03330498933792114,
0.01494072936475277,
0.03659827634692192,
-0.0024025177117437124,
0.02723938599228859,
0.04007762297987938,
0.0044422154314816,
0.0037212276365607977,
0.0792621523141861,
-0.03412365913391113,
-0.006726119201630354,
-0.028374360874295235,
-0.013535966165363789,
-0.010038011707365513,
-0.023071611300110817,
0.0466269850730896,
-0.011945140548050404,
-0.018466591835021973,
0.044022124260663986,
-0.01666179671883583,
0.039482224732637405,
-0.05537186935544014,
-0.12004680931568146,
0.040486957877874374,
-0.032560743391513824,
-0.02649514190852642,
0.018001439049839973,
0.022829731926321983,
0.015303549356758595,
-0.06780076771974564,
0.01001010276377201,
0.05853491276502609,
0.04752007871866226,
0.0317048616707325,
-0.003425855189561844,
0.028653454035520554,
0.014075543731451035,
-0.01425230223685503,
0.05730690807104111,
0.025118287652730942,
-0.07070332765579224,
0.01128462329506874,
-0.04286854341626167,
-0.019517838954925537,
-0.04636649787425995,
-0.024169374257326126,
-0.05511138215661049,
0.02251342684030533,
-0.010810166597366333,
0.012717295438051224,
-0.021192392334342003,
0.041677750647068024,
0.09578440338373184,
-0.044208183884620667,
0.07144757360219955,
0.05786509066820145,
0.0016082681249827147,
-0.010475256480276585,
-0.016010582447052002,
0.011963747441768646,
-0.001505934284068644,
0.014354635961353779,
0.044394247233867645,
-0.03808676451444626,
-0.01765722595155239,
-0.05373452976346016,
-0.029807034879922867,
-0.0451757051050663,
0.03579821065068245,
0.0024862452410161495,
0.02934188023209572,
-0.004423609469085932,
-0.007749456912279129,
-0.037119247019290924,
0.012010262347757816,
0.0069168321788311005,
0.06407953798770905,
-0.0023862372618168592,
0.023425128310918808,
0.015294245444238186,
-0.0360586978495121,
0.0037770462222397327,
0.008228564634919167,
-0.08089949190616608,
0.07230345159769058,
0.06988465785980225,
-0.054590411484241486,
-0.012670780532062054,
0.01619664393365383,
-0.02904418297111988,
-0.015108184888958931,
-0.04938069358468056,
0.04000319913029671,
-0.08960716426372528,
-0.005521371494978666,
-0.04182659834623337,
-0.020076023414731026,
-0.017889801412820816,
-0.02612301893532276,
0.05712084472179413,
0.05611611530184746,
0.0768805667757988,
-0.09585882723331451,
0.007423849310725927,
0.0016675752121955156,
-0.01561055053025484,
-0.04383606091141701,
0.047222379595041275,
0.019908567890524864,
-0.005223673302680254,
-0.0571952685713768,
0.007949472405016422,
0.022122697904706,
-0.04692468047142029,
-0.021527301520109177,
0.04789220169186592,
0.05064591020345688,
0.0312955267727375,
0.08060178905725479,
-0.004344533197581768,
0.00879605207592249,
0.030439643189311028,
-0.005893494468182325,
-0.045845527201890945,
-0.06482378393411636,
0.026718415319919586,
0.0069214836694300175,
-0.009591464884579182,
0.020838875323534012,
-0.017554892227053642,
0.025974169373512268,
-0.03023497574031353,
-0.019517838954925537,
-0.01819680444896221,
-0.022420397028326988,
0.006619133986532688,
0.03196534514427185,
0.02104354277253151,
-0.02504386194050312,
0.031667646020650864,
0.06512148678302765,
0.03607730194926262,
0.04071022942662239,
0.008158791810274124,
-0.01015895139425993,
0.01996438577771187,
-0.0015791959594935179,
-0.009042583405971527,
-0.015377973206341267,
-0.0008832101593725383,
-0.031128069385886192,
-0.05444156005978584,
-0.01594546064734459,
0.014763970859348774,
0.04141726344823837,
0.025974169373512268,
-0.04789220169186592,
0.01840147189795971,
-0.022792520001530647,
-0.028653454035520554,
0.004086373373866081,
-0.05328797921538353,
0.0017292080447077751,
-0.009317023679614067,
-0.06266547739505768,
0.04528734087944031,
0.06400511413812637,
0.02504386194050312,
0.027164962142705917,
-0.012484719045460224,
0.00626096548512578,
0.055781204253435135,
0.0389612540602684,
-0.011768382973968983,
-0.02121099829673767,
0.04975281283259392,
-0.0010378736769780517,
0.012670780532062054,
0.02413216233253479,
0.016326885670423508,
-0.01019616425037384,
0.01985275000333786,
0.03503536060452461,
0.04752007871866226,
0.063409723341465,
-0.00019405620696488768,
-0.01557333767414093,
-0.04204987362027168,
-0.012912659905850887,
0.05991176515817642,
-0.07241509109735489,
-0.01938759721815586,
-0.03743555024266243,
0.02850460447371006,
0.04945511743426323,
0.07513158768415451,
0.06884270906448364,
-0.031072251498699188,
-0.012494022026658058,
0.009870556183159351,
-0.02268088236451149,
0.0344027504324913,
-0.05726969614624977,
0.04316624253988266,
-0.020262084901332855,
-0.02303439937531948,
-0.02069002576172352,
-0.02560204640030861,
-0.042794119566679,
0.01767583191394806,
-0.018968958407640457,
-0.022011062130331993,
-0.009554252028465271,
-0.008414626121520996,
-0.02705332636833191,
0.0023536765947937965,
-0.016178037971258163,
-0.000745408411603421,
0.039296165108680725,
-0.03970550000667572,
0.01552682276815176,
0.05019936338067055,
-0.0023641425650566816,
0.054143864661455154,
0.02113657258450985,
-0.036095909774303436,
-0.040561381727457047,
-0.04204987362027168,
0.04811547324061394,
0.002542063593864441,
0.016326885670423508,
-0.015787309035658836,
-0.02405773662030697,
0.06285153329372406,
0.007181969471275806
]
|
31,437 | prefect_sqlalchemy.database | __enter__ |
Start an synchronous database engine upon entry.
| def __enter__(self):
"""
Start an synchronous database engine upon entry.
"""
if self._driver_is_async:
raise RuntimeError(
f"{self._rendered_url.drivername} cannot be run synchronously. "
f"Please use the `async with` syntax."
)
return self
| (self) | [
0.031143708154559135,
-0.060720864683389664,
-0.07233377546072006,
0.05118533968925476,
0.06824711710214615,
-0.00801154412329197,
-0.008811847306787968,
0.01747044548392296,
0.0039376611821353436,
-0.050129618495702744,
0.02560969814658165,
-0.047166794538497925,
-0.018083443865180016,
0.018066415563225746,
0.001169591792859137,
-0.03133101388812065,
-0.021523043513298035,
-0.002003950299695134,
-0.024536950513720512,
-0.06232146918773651,
-0.030241237953305244,
0.09051938354969025,
0.03095640242099762,
-0.036030665040016174,
-0.015086563304066658,
0.0679406225681305,
-0.027772217988967896,
-0.004946554079651833,
0.02755085751414299,
0.014405454508960247,
0.06433074176311493,
0.014805606566369534,
0.026410000398755074,
0.01593795046210289,
0.05700882151722908,
-0.010037843137979507,
-0.008407439105212688,
0.010523133911192417,
-0.028606576845049858,
-0.04675813019275665,
-0.009314165450632572,
-0.02370259165763855,
0.0435909740626812,
0.010710438713431358,
-0.006547159980982542,
0.014814119786024094,
0.038414545357227325,
-0.03851671144366264,
0.06419452279806137,
-0.01937755011022091,
0.062117137014865875,
0.06613568216562271,
0.016125254333019257,
0.06143602728843689,
-0.043318528681993484,
0.04348880797624588,
-0.025252114981412888,
0.05377355217933655,
0.016704197973012924,
-0.013979761861264706,
0.014218149706721306,
-0.006517361383885145,
0.011979004368185997,
0.0760117620229721,
-0.007875322364270687,
-0.030530709773302078,
-0.04641757532954216,
0.010991396382451057,
0.029577156528830528,
0.022578762844204903,
-0.011902378872036934,
0.008156280033290386,
-0.02324284426867962,
-0.0007949818973429501,
-0.024264506995677948,
0.013247569091618061,
-0.06262797117233276,
0.007483684923499823,
0.025524558499455452,
0.05264972522854805,
-0.019632965326309204,
0.018594274297356606,
0.008079655468463898,
0.024349644780158997,
0.020961128175258636,
-0.02559266984462738,
0.003695016261190176,
-0.013426360674202442,
-0.06433074176311493,
-0.04508941248059273,
-0.025967279449105263,
0.04866523668169975,
0.0030735041946172714,
0.08186929672956467,
0.029713379219174385,
-0.017572611570358276,
0.018730496987700462,
-0.014992911368608475,
-0.05125344917178154,
-0.00009817547106649727,
-0.028861992061138153,
0.023345010355114937,
0.06177658215165138,
-0.04696246236562729,
-0.01844102516770363,
-0.06450101733207703,
0.01547820121049881,
-0.030786124989390373,
-0.024332618340849876,
-0.004644311964511871,
-0.0348387248814106,
-0.015282382257282734,
-0.006325799506157637,
0.022306319326162338,
-0.02950904704630375,
-0.0464516319334507,
-0.03185887262225151,
0.003137358231469989,
0.0513896718621254,
-0.026375945657491684,
-0.06545457243919373,
0.03235267475247383,
-0.05213889107108116,
0.026852721348404884,
0.021182488650083542,
0.05707693099975586,
0.02423045225441456,
-0.01549522951245308,
0.0068366313353180885,
-0.024860477074980736,
0.06235552579164505,
0.013000667095184326,
0.02424747869372368,
-0.020007576793432236,
0.012225906364619732,
0.05176428332924843,
0.02705705352127552,
-0.035587944090366364,
0.00303093483671546,
0.06668056547641754,
-0.043727196753025055,
-0.01830480434000492,
-0.041377369314432144,
-0.000520941917784512,
0.07737398147583008,
0.010787063278257847,
-0.11987517774105072,
-0.012643084861338139,
0.021625209599733353,
-0.05213889107108116,
0.10863687843084335,
-0.020620573312044144,
0.048631180077791214,
0.05990353226661682,
-0.03732477128505707,
0.02424747869372368,
-0.02080787904560566,
0.01595497690141201,
0.03929998725652695,
-0.03419167175889015,
0.002692508976906538,
-0.004933783318847418,
0.008134995587170124,
0.016082685440778732,
-0.021965764462947845,
0.024553978815674782,
-0.03129695728421211,
-0.03582633286714554,
-0.022800123319029808,
0.026358917355537415,
-0.00003714837657753378,
0.03684799373149872,
-0.03235267475247383,
0.050981007516384125,
-0.03185887262225151,
0.04028759524226189,
0.05803048610687256,
0.039878930896520615,
0.0213187113404274,
-0.025524558499455452,
-0.009612150490283966,
-0.017572611570358276,
0.004101553000509739,
0.008633056655526161,
0.01886671781539917,
0.00013981357915326953,
0.01374137308448553,
0.0006156586459837854,
0.06627190113067627,
-0.005176428239792585,
-0.01111058983951807,
0.022544706240296364,
0.00046453758841380477,
-0.015810241922736168,
0.047030575573444366,
0.019496744498610497,
-0.023089593276381493,
0.022119013592600822,
-0.020041631534695625,
0.0454980805516243,
0.01084666047245264,
-0.05506765842437744,
0.016797849908471107,
-0.013860567472875118,
0.05499954894185066,
-0.016423240303993225,
-0.00032884793472476304,
-0.010710438713431358,
0.019054023548960686,
0.03187590092420578,
-0.09058749675750732,
-0.0217954870313406,
-0.08377640694379807,
0.0757393166422844,
0.050129618495702744,
-0.03143317997455597,
0.03613283112645149,
0.032233480364084244,
0.06923472881317139,
0.04972095414996147,
0.015367520973086357,
-0.008633056655526161,
0.019530799239873886,
-0.04525969177484512,
-0.02312364988029003,
-0.060107868164777756,
0.002824473660439253,
-0.028640631586313248,
-0.01828777603805065,
-0.009271595627069473,
-0.01934349536895752,
0.014601273462176323,
0.002064611529931426,
-0.022902289405465126,
-0.012217392213642597,
-0.02988365665078163,
-0.035043057054281235,
0.06252580136060715,
-0.020603546872735023,
-0.007802954874932766,
0.026018362492322922,
0.06358151882886887,
-0.02171034924685955,
-0.04147953540086746,
-0.0617084726691246,
-0.025371309369802475,
0.007181442808359861,
-0.012643084861338139,
0.019019968807697296,
-0.008999152109026909,
-0.046179186552762985,
-0.03919782117009163,
0.021863598376512527,
-0.01453316304832697,
-0.09515092521905899,
-0.045225635170936584,
0.041854146867990494,
0.0333232581615448,
0.01354555506259203,
-0.006870686542242765,
-0.005585093516856432,
-0.007070762570947409,
-0.04972095414996147,
0.07853186130523682,
0.007688017562031746,
-0.019445661455392838,
-0.021488988772034645,
-0.023583397269248962,
0.028368188068270683,
0.010157037526369095,
-0.04154764860868454,
0.05663421005010605,
0.028623605147004128,
-0.013494471088051796,
-0.03613283112645149,
-0.042296867817640305,
-0.052411336451768875,
-0.014294774271547794,
-0.10741088539361954,
-0.023770703002810478,
0.020092714577913284,
0.013247569091618061,
-0.005763884633779526,
-0.011093562468886375,
0.008701167069375515,
-0.06089114025235176,
-0.007832753472030163,
-0.038959432393312454,
-0.01712137646973133,
-0.04103681445121765,
-0.029338769614696503,
0.016780821606516838,
-0.0069983946159482,
-0.039368096739053726,
0.00793491955846548,
-0.033527590334415436,
-0.06487563252449036,
0.03541766479611397,
-0.002192319603636861,
0.003371489467099309,
0.02119951695203781,
-0.045157525688409805,
0.002330669667571783,
0.11299597471952438,
0.028708742931485176,
-0.012217392213642597,
-0.01740233413875103,
0.03434491902589798,
-0.0900426059961319,
-0.03400436416268349,
-0.02460506185889244,
0.03916376456618309,
0.02947499044239521,
0.03204617649316788,
0.0036396761424839497,
0.014737495221197605,
-0.008862930350005627,
0.009288623929023743,
-0.004903984721750021,
0.016670141369104385,
-0.09535525739192963,
0.0445445254445076,
0.026273777708411217,
0.0076667326502501965,
-0.0015378163661807775,
0.010080412961542606,
0.03735882788896561,
0.04505535960197449,
-0.013017695397138596,
0.04600891098380089,
-0.03763126954436302,
0.008633056655526161,
-0.003188441274687648,
0.013869081623852253,
-0.05418222025036812,
0.00023053943004924804,
0.006891971454024315,
-0.05898403748869896,
0.03773343563079834,
-0.04648568853735924,
0.017019210383296013,
-0.003892963519319892,
-0.024060174822807312,
-0.028793882578611374,
-0.014584246091544628,
-0.0502658411860466,
0.04451047256588936,
-0.05741748586297035,
0.040866538882255554,
-0.02664838917553425,
-0.029832573607563972,
0.01450762152671814,
-0.05932459235191345,
0.05636176839470863,
-0.0017879110528156161,
-0.028861992061138153,
-0.006087411195039749,
-0.018049387261271477,
-0.025882141664624214,
-0.053909774869680405,
-0.012200364843010902,
0.010489078238606453,
-0.009893108159303665,
0.015180216170847416,
-0.062117137014865875,
-0.046587854623794556,
-0.011723588220775127,
0.0019443532219156623,
-0.00457620108500123,
0.011766157113015652,
-0.0384826585650444,
0.011187214404344559,
0.05459088459610939,
0.09051938354969025,
-0.028231967240571976,
-0.02126762829720974,
-0.0407303161919117,
-0.010591244325041771,
-0.030292320996522903,
0.010965854860842228,
-0.009126860648393631,
0.0494825653731823,
0.056395821273326874,
-0.02262984588742256,
-0.008654341101646423,
-0.05738342925906181,
0.03487277776002884,
0.004908241331577301,
-0.022578762844204903,
-0.02217009663581848,
-0.004746478050947189,
-0.0231406781822443,
-0.005155143328011036,
0.03318703547120094,
-0.008701167069375515,
-0.021897653117775917,
0.009084290824830532,
-0.0035758221056312323,
0.015078050084412098,
-0.015316437929868698,
0.013426360674202442,
-0.016687169671058655,
0.058711592108011246,
-0.004610256291925907,
0.01781100034713745,
-0.038925379514694214,
0.06358151882886887,
0.0005278594326227903,
0.060720864683389664,
0.005035949405282736,
-0.10073601454496384,
-0.025882141664624214,
-0.08370829373598099,
-0.008786305785179138,
-0.025745918974280357,
-0.05401194095611572,
0.1170826330780983,
-0.004669853486120701,
-0.019922437146306038,
0.08316340297460556,
-0.008862930350005627,
0.012753765098750591,
-0.001790039474144578,
0.017342736944556236,
0.018611302599310875,
-0.017393819987773895,
0.013324194587767124,
0.004320784937590361,
-0.013170944526791573,
0.011076534166932106,
-0.016176337376236916,
0.026682443916797638,
0.031177762895822525,
0.03807399049401283,
0.022119013592600822,
0.018202636390924454,
0.015043994411826134,
0.00725381076335907,
0.02171034924685955,
-0.002339183585718274,
-0.02504778280854225,
-0.0034864265471696854,
-0.027329497039318085,
-0.0405600406229496,
0.030070960521697998,
-0.05411410704255104,
0.008117967285215855,
0.03288053721189499,
0.05091289430856705,
0.029560130089521408,
-0.04577052220702171,
0.016567975282669067,
0.03630310669541359,
0.024809394031763077,
-0.04052598401904106,
-0.014890745282173157,
0.05278594419360161,
-0.025779973715543747,
0.020671656355261803,
0.01934349536895752,
0.004280344117432833,
0.015035480260848999,
0.01305175106972456,
0.014371398836374283,
0.04049192741513252,
0.013664748519659042,
0.02898118644952774,
0.016329588368535042,
-0.031688593327999115,
-0.0532967783510685,
-0.004058983642607927,
0.010386912152171135,
0.012515377253293991,
-0.043250419199466705,
-0.01112761814147234,
-0.044782914221286774,
-0.0062576886266469955,
-0.00603207154199481,
0.026290806010365486,
-0.06606756895780563,
-0.023004455491900444,
-0.001719800173304975,
0.06136791780591011,
0.05986947938799858,
-0.028248993679881096,
-0.02707408182322979,
0.09930568933486938,
-0.056327711790800095,
0.04682624340057373,
-0.03923187777400017,
-0.01404787227511406,
0.016704197973012924,
0.06477346271276474,
0.022544706240296364,
0.003803567960858345,
-0.016142282634973526,
-0.04624729976058006,
-0.006172549910843372,
0.03688205033540726,
-0.012311045080423355,
0.05275189131498337,
0.009739858098328114,
0.03390219807624817,
0.0035992353223264217,
0.039402153342962265,
-0.0012408953625708818,
-0.01784505508840084,
0.01973513327538967,
0.011434116400778294,
0.005006150808185339,
0.008760764263570309,
0.021437905728816986,
-0.0481884591281414,
-0.04600891098380089,
0.048631180077791214,
0.014371398836374283,
-0.03626905381679535,
-0.022800123319029808,
0.021097350865602493,
0.0038610363844782114,
0.02990068309009075,
0.0038014394231140614,
0.04921012371778488,
-0.011740615591406822,
-0.020126769319176674,
-0.020961128175258636,
0.04256930947303772,
0.011766157113015652,
0.02085896208882332,
0.042262811213731766,
0.029713379219174385,
-0.015341979451477528,
0.0053467052057385445,
-0.044782914221286774,
0.01883266307413578,
-0.0101400101557374,
-0.03242078796029091,
0.02416234090924263,
-0.016755281016230583,
-0.05554443597793579,
0.024366673082113266,
0.0145161347463727,
0.02366853691637516,
-0.042296867817640305,
0.006070383824408054,
-0.06303663551807404,
0.004469777457416058,
0.05619148910045624,
-0.03906159847974777,
-0.03807399049401283,
0.012515377253293991,
0.013664748519659042,
0.04117303714156151,
-0.04382936283946037,
-0.04202442243695259,
-0.045702412724494934,
-0.004348454996943474,
0.00012990290997549891,
0.014209635555744171,
-0.0004610788600984961,
0.020109742879867554,
0.010761521756649017,
-0.08738628029823303,
0.025814030319452286,
0.04045787453651428,
-0.04069625958800316,
0.03800588101148605,
0.019156189635396004,
0.002977723255753517,
0.02262984588742256,
-0.00991013552993536,
-0.013136888854205608,
0.08227796107530594,
0.034498170018196106,
-0.03369786590337753,
-0.0010583795374259353,
-0.03613283112645149,
0.008560688234865665,
0.003058604896068573,
-0.07533065229654312,
0.013485957868397236,
-0.06582918018102646,
0.006483306176960468,
-0.002713793655857444,
-0.03299972787499428,
-0.027755189687013626,
-0.01602308824658394,
0.11885351687669754,
-0.0027499774005264044,
0.01985432580113411,
0.0016357257263734937,
0.0030245494563132524,
0.018543191254138947,
-0.04147953540086746,
0.08077952265739441,
-0.02225523628294468,
-0.022408485412597656,
-0.0025477732997387648,
0.06426262855529785,
-0.004101553000509739,
-0.03437897562980652,
0.053875718265771866,
-0.0022966142278164625,
-0.0137584013864398,
0.04195631295442581,
-0.009765399619936943,
-0.029815545305609703,
-0.06303663551807404,
-0.06095925346016884,
-0.030837208032608032,
-0.0192413292825222,
0.014550190418958664,
-0.0052445391193032265,
0.03422572463750839,
-0.0036332907620817423,
-0.011842782609164715,
-0.08847605437040329,
-0.006066126748919487,
0.0384826585650444,
0.03325514495372772,
0.04253525659441948,
0.035485778003931046,
0.02460506185889244,
-0.035587944090366364,
0.0018900773720815778,
0.015682533383369446,
0.03909565508365631,
-0.052854057401418686,
-0.029134435579180717,
-0.015537798404693604,
-0.019632965326309204,
-0.010625299997627735,
0.01828777603805065,
0.004588971845805645,
0.06644217669963837,
-0.06446696072816849,
0.030547738075256348,
0.011825754307210445,
-0.00845426507294178,
-0.04164981469511986,
0.011195728555321693,
-0.026188639923930168,
0.01495885569602251,
0.0010780678130686283,
0.028810909017920494,
-0.0261716116219759,
-0.02317473292350769,
-0.05377355217933655,
0.024979671463370323,
-0.011400061659514904,
-0.017112862318754196,
0.015026967041194439,
0.028197910636663437,
-0.023038510233163834,
-0.008003029972314835,
0.029747433960437775,
-0.026290806010365486,
-0.05595310032367706,
0.01833885908126831,
0.006632298696786165,
-0.02707408182322979,
0.04144548252224922,
-0.06034625321626663,
0.012813362292945385,
0.03589444234967232,
0.029679322615265846,
-0.011766157113015652,
0.01256646029651165,
-0.040764372795820236,
-0.003237396012991667,
0.01235361397266388,
0.023004455491900444,
-0.007624163758009672,
0.018117498606443405,
0.009475928731262684,
0.013043236918747425,
-0.019530799239873886,
-0.0388232097029686,
0.019513772800564766,
0.017325708642601967,
-0.013988275080919266,
-0.005653204396367073,
0.006696152500808239,
0.019701076671481133,
-0.07131210714578629,
0.03616688773036003,
-0.022374428808689117,
-0.03175670653581619,
0.0757393166422844,
-0.08152874559164047,
-0.02079085074365139,
0.006849402096122503,
-0.03926593065261841,
0.0036226483061909676,
-0.050981007516384125,
-0.05322866514325142,
0.023889897391200066,
-0.08942960947751999,
-0.00734746316447854,
0.024571005254983902,
0.0679406225681305,
-0.003997258376330137,
0.016968127340078354,
-0.03817615658044815,
0.021029239520430565,
0.015078050084412098,
0.03582633286714554,
0.035043057054281235,
0.006436479743570089,
-0.00011653349065454677,
0.0367458276450634,
-0.006606757175177336,
0.008982124738395214,
0.03272728621959686,
0.03490683436393738,
0.025456447154283524,
-0.027346525341272354,
-0.03780154883861542,
-0.020569490268826485,
0.02077382430434227,
-0.06930283457040787,
-0.038891322910785675,
0.01549522951245308,
-0.08643272519111633,
0.04985717684030533,
0.02133573777973652,
-0.05653204396367073,
0.025507530197501183,
0.05687259882688522,
0.06136791780591011,
-0.034532226622104645,
-0.035111166536808014,
-0.034055449068546295,
0.08186929672956467,
0.03150128945708275,
-0.006193834822624922,
0.016848932951688766,
0.017325708642601967,
-0.004916755482554436,
-0.022425513714551926,
-0.019156189635396004,
-0.019156189635396004,
-0.03190995380282402,
-0.002645682543516159,
0.08098385483026505,
0.004686881322413683,
0.024009091779589653,
0.030598821118474007,
-0.012574974447488785,
0.010344342328608036,
0.015461173839867115,
0.04491913691163063,
-0.006585472263395786,
0.0760117620229721,
0.0022966142278164625,
-0.04934634640812874,
0.05949486792087555,
0.03528144583106041,
0.009969732724130154,
-0.018083443865180016,
0.023889897391200066,
-0.003458756487816572,
-0.0019198758527636528,
0.03906159847974777,
-0.04120709374547005,
-0.02217009663581848,
0.064398854970932,
0.043318528681993484
]
|
31,439 | prefect_sqlalchemy.database | __exit__ |
Dispose the synchronous database engine upon exit.
| def __exit__(self, *args):
"""
Dispose the synchronous database engine upon exit.
"""
self.close()
| (self, *args) | [
-0.004306006245315075,
-0.01720733568072319,
-0.01601400412619114,
0.039221376180648804,
-0.00017693951667752117,
-0.055677663534879684,
-0.033396583050489426,
0.07016453891992569,
0.00316065875813365,
-0.043727658689022064,
-0.00650907913222909,
-0.04456215724349022,
-0.017557824030518532,
0.03289588540792465,
-0.0015625962987542152,
0.005607821978628635,
-0.06976398080587387,
-0.018459081649780273,
-0.013886035420000553,
-0.058681853115558624,
-0.034748468548059464,
0.07577235996723175,
0.027204614132642746,
-0.055477384477853775,
-0.019610688090324402,
0.005211435724049807,
-0.0355495847761631,
0.005027846433222294,
0.030409082770347595,
0.0037635830231010914,
-0.023065505549311638,
0.0003794355143327266,
0.014161420054733753,
0.0423257052898407,
0.04245922341942787,
-0.0018244198290631175,
-0.0012110642855986953,
0.022765086963772774,
0.018842950463294983,
0.00315440003760159,
0.007639823015779257,
-0.018809569999575615,
0.039021097123622894,
0.005290713161230087,
0.04960252344608307,
0.016631532460451126,
0.011582823470234871,
-0.05637864023447037,
0.02937430702149868,
0.013059883378446102,
0.02767193131148815,
0.05427570641040802,
0.009045951068401337,
0.02243128791451454,
-0.04449539631605148,
0.03109337016940117,
-0.015212886035442352,
0.04776662588119507,
-0.01065653096884489,
-0.06585852801799774,
0.03269560635089874,
0.027805451303720474,
-0.0024784570559859276,
0.017057126387953758,
0.017724722623825073,
-0.013243473134934902,
-0.04940224066376686,
0.0377526581287384,
0.08618688583374023,
0.02845636010169983,
-0.040523190051317215,
-0.014186454936861992,
-0.004197521600872278,
0.04339386150240898,
-0.02114616334438324,
-0.010606461204588413,
-0.054576124995946884,
-0.021112782880663872,
0.007314369082450867,
0.0016846414655447006,
0.002286522649228573,
0.007239264436066151,
-0.018442390486598015,
0.060551125556230545,
0.05414218828082085,
-0.02096257358789444,
-0.002876929473131895,
0.01720733568072319,
-0.06722710281610489,
0.013435407541692257,
-0.015388131141662598,
0.025034919381141663,
0.01794169284403324,
0.06238701939582825,
0.046297911554574966,
-0.05557752400636673,
-0.03972207382321358,
0.023315856233239174,
-0.018592599779367447,
-0.055877942591905594,
-0.0188763290643692,
0.014603703282773495,
0.03494874760508537,
-0.029340926557779312,
-0.010606461204588413,
-0.027388202026486397,
0.004677357617765665,
-0.06435643136501312,
-0.05647877976298332,
-0.011591168120503426,
-0.0789768248796463,
-0.022915296256542206,
-0.025669138878583908,
-0.017841553315520287,
-0.023132266476750374,
-0.03598352521657944,
-0.05948296934366226,
0.015805380418896675,
0.027571791782975197,
-0.024450771510601044,
-0.056412018835544586,
0.034514810889959335,
-0.056612297892570496,
-0.012233731336891651,
0.04900168254971504,
0.09259582310914993,
0.03179434686899185,
0.020879123359918594,
-0.024267181754112244,
0.02153003215789795,
0.027204614132642746,
0.022898606956005096,
-0.008119659498333931,
-0.03524916619062424,
0.001156821963377297,
0.015204541385173798,
0.07276816666126251,
-0.03244525566697121,
-0.03962193429470062,
0.010464596562087536,
-0.017324164509773254,
0.02466774173080921,
-0.014829018153250217,
0.005499337334185839,
0.04786676913499832,
0.0498361811041832,
-0.05597808212041855,
-0.038053080439567566,
-0.050236739218235016,
-0.06665964424610138,
0.0448959581553936,
-0.02642018534243107,
0.01068156585097313,
0.029240787029266357,
-0.04402808099985123,
0.036584362387657166,
-0.030375702306628227,
0.008445112966001034,
0.034748468548059464,
-0.050603918731212616,
0.02057870477437973,
0.013585616834461689,
-0.04956914111971855,
-0.019176749512553215,
-0.05861509218811989,
-0.0005372076411731541,
-0.01281787920743227,
-0.010506321676075459,
-0.013952795416116714,
-0.040723469108343124,
-0.06218674033880234,
0.008048727177083492,
-0.017841553315520287,
0.03955517336726189,
-0.04189176484942436,
0.060551125556230545,
0.03651760518550873,
0.02843966893851757,
-0.018258802592754364,
0.007527166046202183,
0.0038971025496721268,
-0.08218129724264145,
-0.041457828134298325,
0.028856918215751648,
0.04058995097875595,
-0.02243128791451454,
-0.011499373242259026,
0.02114616334438324,
0.050837576389312744,
-0.03428114950656891,
-0.006146072875708342,
-0.012133590877056122,
-0.02433394268155098,
0.0016554341418668628,
0.057713836431503296,
-0.0033734554890543222,
0.026470255106687546,
0.027171233668923378,
0.01563013531267643,
0.021262992173433304,
-0.03558296710252762,
0.036784641444683075,
-0.006200315430760384,
-0.10661537945270538,
0.05504344403743744,
-0.03781941905617714,
0.011190609075129032,
-0.018392320722341537,
-0.05233967304229736,
0.023065505549311638,
0.02642018534243107,
-0.0042329877614974976,
-0.03895433619618416,
0.05594469979405403,
0.09453185647726059,
-0.02770531177520752,
0.024617671966552734,
-0.005465957336127758,
0.030726192519068718,
0.0804455429315567,
-0.015780344605445862,
-0.024634361267089844,
0.020328355953097343,
-0.010714945383369923,
-0.04028953239321709,
-0.027271373197436333,
-0.025335339829325676,
0.013952795416116714,
0.029324237257242203,
-0.048734646290540695,
-0.03801969811320305,
0.05053715780377388,
0.01573861949145794,
-0.051738835871219635,
0.04339386150240898,
-0.0004727948980871588,
-0.06405601650476456,
0.03741886094212532,
-0.04038967192173004,
-0.01795838214457035,
0.01216697134077549,
-0.014870742335915565,
-0.006759428419172764,
-0.014837362803518772,
-0.001554251299239695,
0.03641746565699577,
0.04739945009350777,
0.03568310663104057,
0.051571935415267944,
-0.013911070302128792,
-0.014361699111759663,
-0.047966908663511276,
0.04099050909280777,
-0.02301543578505516,
-0.012609254568815231,
-0.06799484044313431,
-0.0050445361994206905,
0.027104472741484642,
0.02114616334438324,
0.011858207173645496,
0.019410407170653343,
0.03085971064865589,
-0.04903506487607956,
0.07537180185317993,
0.04065671190619469,
0.010756670497357845,
0.010180867277085781,
-0.050637297332286835,
0.03721858188509941,
-0.010264317505061626,
0.04119078814983368,
0.0059708282351493835,
-0.04272626340389252,
-0.04038967192173004,
-0.061252105981111526,
-0.00032284617191180587,
-0.010397836565971375,
-0.03611704334616661,
-0.09025923162698746,
-0.020728914067149162,
0.06345517933368683,
0.029808245599269867,
0.04225894436240196,
-0.03878743574023247,
-0.0009883578168228269,
-0.00243464601226151,
-0.026486946269869804,
-0.02990838512778282,
-0.012692704796791077,
-0.00786930974572897,
-0.019193438813090324,
-0.03332982212305069,
-0.018475770950317383,
0.04055657237768173,
0.037685900926589966,
0.005011156667023897,
-0.0665261298418045,
0.0018431959906592965,
0.025502238422632217,
-0.021413201466202736,
-0.004064002074301243,
-0.038653917610645294,
0.022948676720261574,
0.10581426322460175,
-0.00955499429255724,
0.0049402243457734585,
0.015413166023790836,
0.038820814341306686,
-0.02264825813472271,
0.0509377159178257,
0.017674652859568596,
0.01612248830497265,
-0.009070985950529575,
0.053074032068252563,
0.05000308156013489,
-0.0016909001860767603,
-0.0032274185214191675,
-0.010898535139858723,
-0.03588338568806648,
0.04025615006685257,
-0.0767737552523613,
-0.0168568454682827,
0.08425085246562958,
-0.022030729800462723,
0.011899932287633419,
-0.008303248323500156,
0.003774014301598072,
0.04906844347715378,
0.007606443017721176,
0.00236579985357821,
-0.017824864014983177,
-0.022564807906746864,
0.010180867277085781,
-0.006000035908073187,
-0.03234511613845825,
-0.017290784046053886,
0.026069696992635727,
-0.060551125556230545,
0.02433394268155098,
-0.03661774471402168,
0.002351196249946952,
0.00953830499202013,
0.003212814684957266,
-0.024584291502833366,
-0.06272082030773163,
0.01477060280740261,
-0.01724071428179741,
-0.055110204964876175,
0.034715089946985245,
0.00040342731517739594,
0.02057870477437973,
0.04980280250310898,
-0.05010322108864784,
0.058081015944480896,
-0.02585272677242756,
-0.0663258507847786,
0.017858242616057396,
0.013118297792971134,
0.018225422129034996,
-0.07283493131399155,
0.038119837641716,
0.0024450772907584906,
-0.025201819837093353,
-0.025769278407096863,
0.020879123359918594,
-0.048200566321611404,
-0.04242584481835365,
0.004973604343831539,
-0.008399215526878834,
0.022748397663235664,
-0.02790559083223343,
-0.056612297892570496,
0.05741341784596443,
0.07884331047534943,
-0.022147558629512787,
-0.031360410153865814,
-0.0007442673086188734,
0.04119078814983368,
-0.015421510674059391,
0.010464596562087536,
-0.040122631937265396,
-0.01777479238808155,
0.03835349902510643,
-0.04189176484942436,
-0.043527379631996155,
-0.04549679532647133,
0.022331148386001587,
0.005165538750588894,
-0.0344480499625206,
0.05337445065379143,
0.017874933779239655,
-0.025518927723169327,
-0.00004371331669972278,
-0.02621990628540516,
0.0038512051105499268,
0.06482375413179398,
0.035115648061037064,
0.00491518946364522,
0.016573118045926094,
-0.021580101922154427,
-0.023098886013031006,
-0.010356112383306026,
0.01658146269619465,
0.02206411026418209,
0.028706708922982216,
-0.03671788424253464,
0.05147179588675499,
0.013343612663447857,
0.05407542735338211,
-0.016498012468218803,
-0.055310484021902084,
-0.033947352319955826,
-0.02079567313194275,
-0.04245922341942787,
0.018292181193828583,
-0.022197628393769264,
0.0688960999250412,
0.024000143632292747,
0.10174191743135452,
0.06806160509586334,
0.031744278967380524,
0.0434272401034832,
0.0366511233150959,
0.0016627359436824918,
-0.050971098244190216,
-0.04639805108308792,
-0.016297733411192894,
0.010714945383369923,
-0.016848500818014145,
0.012016762048006058,
-0.04653157293796539,
-0.04679860919713974,
0.03781941905617714,
0.013151678256690502,
-0.01601400412619114,
0.047633107751607895,
0.0027308925054967403,
0.008762221783399582,
0.01854253001511097,
0.03785279765725136,
0.022898606956005096,
0.015254611149430275,
-0.00012191484711365774,
-0.054342467337846756,
0.025735897943377495,
-0.05741341784596443,
0.047800008207559586,
0.020678844302892685,
0.016055729240179062,
0.03611704334616661,
-0.0355495847761631,
-0.009863758459687233,
-0.02580265700817108,
-0.04018939286470413,
0.015880484133958817,
-0.05030350014567375,
-0.0009727109572850168,
-0.020712224766612053,
0.014086315408349037,
0.01365237683057785,
0.001110924524255097,
0.0703648179769516,
0.06685992330312729,
-0.019944487139582634,
-0.011115504428744316,
-0.0028518945910036564,
0.0007583494298160076,
-0.006279592402279377,
0.0008417991921305656,
0.00010392099648015574,
-0.008445112966001034,
0.04506285488605499,
-0.03868729621171951,
-0.02580265700817108,
-0.041290927678346634,
-0.0037531517446041107,
-0.005816446617245674,
0.003886671271175146,
0.03598352521657944,
-0.03892095759510994,
0.011449303478002548,
-0.02601962722837925,
0.056412018835544586,
0.014662118628621101,
-0.0725678876042366,
-0.021079402416944504,
0.10441230982542038,
-0.10381146520376205,
0.008737186901271343,
-0.05207263305783272,
-0.02004462666809559,
0.012408975511789322,
0.03928813338279724,
-0.026870815083384514,
0.05040363967418671,
-0.03538268804550171,
-0.04933548346161842,
-0.02261487767100334,
-0.015580065548419952,
-0.08238157629966736,
0.03421439230442047,
-0.0033108682837337255,
-0.044662296772003174,
-0.014011210761964321,
0.0075063034892082214,
-0.02301543578505516,
0.013435407541692257,
0.0015479925787076354,
-0.024033524096012115,
-0.012943053618073463,
-0.03821997717022896,
-0.01890970952808857,
-0.051371656358242035,
-0.02132975123822689,
0.02451753243803978,
0.047666486352682114,
-0.05067067965865135,
-0.03521578758955002,
0.006863740738481283,
0.038854196667671204,
0.03661774471402168,
0.026320045813918114,
0.012559184804558754,
0.00022870443353895098,
-0.023816553875803947,
-0.08625364303588867,
-0.0024513360112905502,
0.005403370130807161,
0.05948296934366226,
0.049135204404592514,
0.032295048236846924,
-0.01414472982287407,
-0.0068971202708780766,
-0.04566369578242302,
0.01621428318321705,
-0.017257405444979668,
-0.07023129612207413,
-0.03239518776535988,
0.04018939286470413,
-0.031543999910354614,
-0.007593925576657057,
0.04185838624835014,
0.06238701939582825,
-0.028690017759799957,
0.003398490371182561,
-0.022915296256542206,
0.0007296635885722935,
0.031894486397504807,
0.02450084127485752,
0.036951541900634766,
-0.015137781389057636,
0.012676014564931393,
0.068161740899086,
-0.015171161852777004,
-0.01601400412619114,
-0.0359167642891407,
0.009763618931174278,
0.019160058349370956,
0.0168568454682827,
0.01926019787788391,
-0.012659324333071709,
0.054943304508924484,
-0.008737186901271343,
0.009688514284789562,
0.03932151570916176,
0.017691344022750854,
0.056979477405548096,
0.002286522649228573,
0.04963590204715729,
0.031110061332583427,
-0.04943562299013138,
-0.01619759388267994,
0.08932459354400635,
0.0054284050129354,
-0.017107196152210236,
-0.011007020249962807,
-0.02435063198208809,
-0.006504906807094812,
0.033930663019418716,
-0.056979477405548096,
0.02136313170194626,
-0.016606496647000313,
-0.015121092088520527,
-0.040723469108343124,
-0.023816553875803947,
0.03324637562036514,
0.03998911380767822,
0.10568074136972427,
-0.03578324615955353,
0.011649582535028458,
0.009271265007555485,
0.04235908389091492,
-0.009546649642288685,
-0.06312137842178345,
0.05878199264407158,
-0.008261523209512234,
-0.004944396670907736,
0.0018546703504398465,
0.022264389321208,
0.02842297963798046,
-0.01608910784125328,
0.037719279527664185,
0.0008214582921937108,
-0.006250385195016861,
0.022531427443027496,
0.04703227058053017,
-0.05300727114081383,
0.007172504439949989,
-0.07043157517910004,
0.037685900926589966,
-0.05447598546743393,
-0.011132194660604,
0.010222592391073704,
0.011157229542732239,
-0.021613480523228645,
-0.004418663214892149,
-0.07103241235017776,
0.010973639786243439,
0.016573118045926094,
0.0553438626229763,
-0.005954138468950987,
0.02972479537129402,
0.016848500818014145,
-0.015112746506929398,
-0.018475770950317383,
0.0292240958660841,
-0.006400594487786293,
-0.011808137409389019,
-0.04472905769944191,
-0.003876240225508809,
-0.05768045783042908,
0.004064002074301243,
0.030025213956832886,
0.02972479537129402,
0.051772214472293854,
-0.02823938988149166,
-0.004506285768002272,
-0.014528598636388779,
0.031343720853328705,
-0.012358905747532845,
0.05634526163339615,
-0.00012165406224085018,
0.05694609880447388,
-0.010080727748572826,
-0.008687117137014866,
-0.014203144237399101,
0.004714909940958023,
-0.04996969923377037,
0.02823938988149166,
-0.06031746789813042,
-0.003667615819722414,
0.036784641444683075,
0.029073886573314667,
-0.030843021348118782,
0.008962501771748066,
-0.03009197488427162,
-0.022114180028438568,
-0.004648149944841862,
-0.03104330040514469,
0.02960796467959881,
-0.036217182874679565,
0.0018671877915039659,
-0.057580314576625824,
0.012650979682803154,
0.03478185087442398,
0.0066259088926017284,
-0.007026467472314835,
0.03201131895184517,
-0.01779148355126381,
0.025702517479658127,
0.00473159970715642,
0.026286665350198746,
-0.0012882552109658718,
0.018008451908826828,
-0.014386733993887901,
0.005578614771366119,
0.001213150448165834,
-0.00887905154377222,
-0.027254683896899223,
0.03992235288023949,
-0.006955535151064396,
0.022030729800462723,
-0.0033066957257688046,
-0.008662082254886627,
0.015237921848893166,
0.07904358953237534,
-0.03892095759510994,
0.025034919381141663,
0.061852943152189255,
-0.09626761078834534,
-0.027271373197436333,
0.0067761181853711605,
-0.024450771510601044,
-0.03571648523211479,
-0.09039275348186493,
-0.02807249128818512,
0.025769278407096863,
-0.05521034449338913,
-0.01189158670604229,
0.0016575203044340014,
0.03388059139251709,
0.0005914499633945525,
0.035482827574014664,
-0.033229682594537735,
0.044996097683906555,
0.03104330040514469,
0.03277905657887459,
-0.01964406669139862,
0.019059918820858,
-0.01151606347411871,
0.01421148981899023,
0.03571648523211479,
0.022197628393769264,
0.01095695048570633,
0.046898748725652695,
0.009196160361170769,
-0.04346062242984772,
-0.0069597079418599606,
-0.0108568100258708,
-0.006984742823988199,
-0.030592672526836395,
-0.023816553875803947,
0.019210128113627434,
-0.09092683345079422,
0.02022821456193924,
-0.02149665169417858,
-0.0553438626229763,
0.033763762563467026,
0.04890154302120209,
0.06515755504369736,
-0.07396984100341797,
-0.09553325176239014,
-0.029057197272777557,
0.0782424733042717,
-0.0069138105027377605,
-0.020812364295125008,
0.05040363967418671,
-0.012934708967804909,
0.023265786468982697,
-0.020111385732889175,
-0.06041760742664337,
-0.006713530980050564,
-0.002184296725317836,
0.006471526809036732,
0.07710755616426468,
-0.010965295135974884,
0.004030622076243162,
0.05671243742108345,
-0.003221159800887108,
-0.027104472741484642,
0.0542423278093338,
0.040723469108343124,
0.033964041620492935,
0.07136621326208115,
-0.0029666379559785128,
-0.038453638553619385,
0.03932151570916176,
0.0333465151488781,
-0.014536943286657333,
0.017374234274029732,
0.004723255056887865,
0.005653719417750835,
-0.007952759973704815,
-0.014002865180373192,
0.03821997717022896,
-0.014753912575542927,
0.07096565514802933,
0.026103077456355095
]
|
31,440 | prefect_sqlalchemy.database | __getstate__ | Allows the block to be pickleable. | def __getstate__(self):
"""Allows the block to be pickleable."""
data = self.__dict__.copy()
data.update({k: None for k in {"_engine", "_exit_stack", "_unique_results"}})
return data
| (self) | [
0.050701022148132324,
-0.040440939366817474,
-0.026637427508831024,
0.011450039222836494,
-0.018422311171889305,
-0.009625437669456005,
-0.024504318833351135,
0.005473806522786617,
0.04290900006890297,
-0.08038827031850815,
-0.021101919934153557,
0.02290007844567299,
-0.06713125854730606,
0.029317036271095276,
-0.04216858372092247,
0.03381243348121643,
-0.04481293261051178,
0.0018345183925703168,
-0.048409249633550644,
-0.0016042395727708936,
-0.02252987027168274,
-0.0017717151204124093,
0.024010706692934036,
0.03776133060455322,
-0.013653664849698544,
0.0021683678496629,
0.0015623706858605146,
-0.03548718988895416,
0.06522732228040695,
0.019726857542991638,
-0.019162729382514954,
-0.05003111809492111,
-0.01593662239611149,
0.017787666991353035,
0.026231961324810982,
-0.008902648463845253,
-0.016888588666915894,
0.050947826355695724,
-0.0309036485850811,
-0.025720719248056412,
0.015398937277495861,
-0.07220841199159622,
-0.033971093595027924,
-0.0011613108217716217,
0.02429277077317238,
-0.004297070205211639,
0.0332130491733551,
-0.010427556931972504,
0.07982414215803146,
-0.09160031378269196,
0.049184925854206085,
0.039453715085983276,
0.0030850761104375124,
0.05468517541885376,
0.0060203056782484055,
0.006518324837088585,
0.027025265619158745,
0.027924345806241035,
-0.0014147277688607574,
0.06381700187921524,
-0.05542559549212456,
0.023376062512397766,
0.033971093595027924,
-0.03331882134079933,
0.0062935552559792995,
-0.03254314512014389,
-0.05369795113801956,
0.010797766037285328,
-0.025033188983798027,
0.02429277077317238,
0.016888588666915894,
-0.02367575466632843,
0.010480443947017193,
0.04001784324645996,
-0.032878097146749496,
-0.035399045795202255,
-0.06314709782600403,
0.007404182571917772,
-0.00015645743405912071,
0.005147669930011034,
-0.05048947408795357,
0.00835174135863781,
-0.08278581500053406,
0.023499464616179466,
-0.023957818746566772,
-0.035240381956100464,
0.04505974054336548,
0.025897009298205376,
-0.06899993121623993,
-0.0124020054936409,
-0.01170566026121378,
0.08870916068553925,
-0.04163971170783043,
0.07890743017196655,
0.005905717145651579,
-0.05821097642183304,
-0.01746153086423874,
0.0020581865683197975,
-0.01988551951944828,
-0.011661587283015251,
-0.04132239148020744,
-0.003975341096520424,
-0.037902362644672394,
-0.01189957931637764,
-0.010542145930230618,
-0.011106274090707302,
0.037549782544374466,
-0.04608222097158432,
0.014482228085398674,
-0.04167497158050537,
0.0024151739198714495,
-0.004764238838106394,
-0.030603954568505287,
0.0334598533809185,
0.004153834655880928,
-0.007509956602007151,
-0.04125187546014786,
0.003633778775110841,
0.014579188078641891,
0.006840054411441088,
-0.010427556931972504,
0.04470716044306755,
-0.04978431388735771,
0.037796590477228165,
0.01328345574438572,
0.07643937319517136,
0.012410820461809635,
-0.004358771722763777,
0.013080722652375698,
-0.027430733665823936,
0.045518092811107635,
-0.0016174613265320659,
-0.030956534668803215,
0.045271288603544235,
-0.02127820998430252,
0.029722504317760468,
0.06307658553123474,
-0.0034817287232726812,
-0.006822425406426191,
0.02607329934835434,
0.02609092928469181,
-0.004706944804638624,
0.01121204812079668,
0.02621433138847351,
0.04262693598866463,
-0.01635090261697769,
0.003287809668108821,
0.04068774729967117,
-0.021930484101176262,
-0.049079153686761856,
0.0977352112531662,
-0.0007894489099271595,
-0.01759374886751175,
0.043226324021816254,
-0.043473128229379654,
0.018915923312306404,
-0.018387053161859512,
-0.009863428771495819,
-0.039559490978717804,
-0.0547204352915287,
-0.03825494274497032,
-0.02697237953543663,
0.015495896339416504,
-0.07806123793125153,
0.0023622869048267603,
0.029034972190856934,
0.050313182175159454,
-0.07749710977077484,
-0.017637820914387703,
0.009889872744679451,
-0.08511283993721008,
-0.014729034155607224,
-0.08081136643886566,
0.06875312328338623,
-0.032842837274074554,
0.07305460423231125,
-0.03924216702580452,
-0.0035478374920785427,
0.004962565377354622,
-0.03194376081228256,
-0.01670348271727562,
-0.048409249633550644,
-0.10097894817590714,
0.049431733787059784,
0.03610420599579811,
-0.040546715259552,
0.02961673028767109,
-0.022582756355404854,
0.07446492463350296,
0.04446035251021385,
-0.023270288482308388,
-0.007241114042699337,
0.006531546823680401,
-0.02113717794418335,
0.005654503591358662,
-0.005548729561269283,
-0.05708272010087967,
-0.00975765474140644,
-0.03145014867186546,
0.025526801124215126,
-0.019673971459269524,
-0.06970509141683578,
0.015249090269207954,
-0.013962172903120518,
-0.03580451011657715,
0.017646634951233864,
-0.006685800384730101,
-0.0010489259148016572,
0.026619799435138702,
0.0415339395403862,
-0.029211262241005898,
-0.022371208295226097,
0.008893833495676517,
0.06557990610599518,
0.047280993312597275,
-0.06907044351100922,
0.028841054067015648,
0.0018323147669434547,
0.03747926652431488,
0.04308529198169708,
0.06332339346408844,
-0.021718936040997505,
-0.030938906595110893,
-0.03680936619639397,
-0.0559544637799263,
-0.01608646847307682,
-0.029052602127194405,
-0.03878381475806236,
-0.035892657935619354,
-0.04798615351319313,
0.021983370184898376,
-0.012014167383313179,
-0.01898643933236599,
-0.03860752284526825,
0.036633074283599854,
0.04636428505182266,
-0.010304153896868229,
-0.031696952879428864,
-0.029158376157283783,
0.01888066530227661,
0.031732212752103806,
-0.003382565453648567,
0.054755691438913345,
-0.03846649080514908,
-0.0035875027533620596,
-0.013486189767718315,
0.07926001399755478,
0.06773064285516739,
-0.014808365143835545,
0.0019435979193076491,
0.041604455560445786,
-0.008422257378697395,
-0.03860752284526825,
-0.00975765474140644,
0.023235030472278595,
-0.052358146756887436,
0.04213332384824753,
0.011740918271243572,
0.036033689975738525,
-0.007091267500072718,
0.012172828428447247,
-0.013133609667420387,
-0.02074933983385563,
0.02432802878320217,
0.018827779218554497,
0.035769253969192505,
-0.002198116621002555,
-0.009722396731376648,
-0.060467492789030075,
0.03687988221645355,
0.06286503374576569,
-0.005050710402429104,
-0.01455274410545826,
0.013248197734355927,
-0.04989008605480194,
-0.05175876244902611,
0.029651988297700882,
-0.018792521208524704,
-0.05535507947206497,
0.002578242216259241,
0.05796417221426964,
0.060820072889328,
0.03864278271794319,
-0.028400328010320663,
-0.005725019611418247,
-0.036774106323719025,
-0.024645350873470306,
0.010868282057344913,
0.027941973879933357,
-0.03737349435687065,
0.003505968488752842,
0.028047747910022736,
0.009775283746421337,
-0.031203340739011765,
0.08327942341566086,
-0.011441225185990334,
-0.08694625645875931,
0.020414389669895172,
0.02935229428112507,
0.03356562927365303,
0.011176790110766888,
-0.056659623980522156,
-0.009951573796570301,
0.07502905279397964,
-0.0059630111791193485,
0.003382565453648567,
0.051970310509204865,
0.04072300344705582,
-0.05503775551915169,
-0.02341132052242756,
0.034376561641693115,
0.027518877759575844,
0.0723494440317154,
0.025174221023917198,
0.0025363732129335403,
-0.07658040523529053,
0.008276818320155144,
-0.002129804342985153,
0.00020094311912544072,
0.09427992254495621,
-0.08906173706054688,
-0.05179401859641075,
0.03620997816324234,
0.010048533789813519,
0.044777676463127136,
-0.009457961656153202,
0.0004878276668023318,
-0.013389229774475098,
0.020202841609716415,
0.003889399580657482,
-0.06582670658826828,
-0.04262693598866463,
0.02646113745868206,
0.03390057757496834,
-0.03275469318032265,
0.036774106323719025,
-0.015786774456501007,
0.010154307819902897,
0.007329259067773819,
-0.09611333906650543,
0.05429733917117119,
-0.0024129701778292656,
-0.021754194051027298,
-0.008382592350244522,
0.0002809622965287417,
0.007329259067773819,
0.018263651058077812,
0.01082421001046896,
0.052358146756887436,
-0.01986788958311081,
-0.03934794291853905,
0.0007172801997512579,
-0.0034839322324842215,
0.08440767973661423,
0.05824623629450798,
-0.040969811379909515,
0.020731711760163307,
-0.002847084542736411,
-0.036668334156274796,
0.005826386623084545,
0.056377559900283813,
0.0017485769931226969,
-0.046399544924497604,
0.01799921505153179,
0.03583976998925209,
-0.015407751314342022,
-0.02721918560564518,
0.01113271713256836,
0.020484905689954758,
-0.07072757184505463,
-0.04428406432271004,
-0.06004439294338226,
-0.04089929535984993,
0.019779745489358902,
0.02799486182630062,
-0.02771279774606228,
-0.049431733787059784,
0.005240221973508596,
-0.029810648411512375,
0.020044179633259773,
0.045271288603544235,
-0.015213832259178162,
0.0039577120915055275,
-0.015055171214044094,
0.026655057445168495,
0.03698565438389778,
0.006148115731775761,
0.013768253847956657,
0.049713797867298126,
0.025985155254602432,
-0.05003111809492111,
-0.01609528250992298,
-0.06670816242694855,
0.041463423520326614,
0.01284273061901331,
0.009440332651138306,
0.06092584505677223,
-0.008942313492298126,
-0.0351874977350235,
-0.03353036940097809,
0.0427679680287838,
0.007968311198055744,
-0.013133609667420387,
-0.007294001057744026,
-0.00395330460742116,
-0.03776133060455322,
0.022247806191444397,
-0.007144154515117407,
0.035134609788656235,
-0.0987224355340004,
0.012084683403372765,
-0.027430733665823936,
-0.023887302726507187,
-0.08659368008375168,
0.0009150555706582963,
-0.02898208610713482,
0.0491144098341465,
-0.007769984658807516,
0.04315580800175667,
0.02166604809463024,
0.04685789719223976,
0.048444509506225586,
0.023393690586090088,
-0.011176790110766888,
0.0034486742224544287,
0.02074933983385563,
-0.04075826331973076,
0.007479105610400438,
0.016271572560071945,
0.02140161395072937,
-0.0026443509850651026,
-0.012252159416675568,
0.006646135356277227,
0.014975840225815773,
0.018580973148345947,
-0.03354799747467041,
0.0021033608354628086,
-0.03705617040395737,
-0.007518771104514599,
0.11860795319080353,
0.006483066827058792,
0.04865605756640434,
0.010286524891853333,
0.0007806344074197114,
0.048162445425987244,
-0.018792521208524704,
-0.025897009298205376,
0.04608222097158432,
0.05553136765956879,
-0.029704874381422997,
0.002068102825433016,
-0.009775283746421337,
0.04294425994157791,
-0.010806581005454063,
-0.02951095625758171,
0.02582649327814579,
-0.02201862819492817,
-0.03340696543455124,
-0.013063093647360802,
-0.020802227780222893,
0.007827279157936573,
-0.02242409624159336,
-0.024839268997311592,
0.03733823448419571,
0.041851259768009186,
-0.034270789474248886,
-0.02353472262620926,
-0.01018956582993269,
-0.012084683403372765,
0.013274641707539558,
0.012234530411660671,
0.015777960419654846,
-0.01910984329879284,
-0.07954207807779312,
-0.0032591624185442924,
-0.002886749804019928,
-0.019162729382514954,
-0.031097566708922386,
-0.015134502202272415,
-0.08102291077375412,
-0.003461895976215601,
-0.014808365143835545,
0.030991792678833008,
0.016994362697005272,
-0.029070230200886726,
-0.021242951974272728,
0.08017671853303909,
0.005817572120577097,
0.04255641996860504,
0.009316929616034031,
-0.06833002716302872,
0.006478659808635712,
-0.021824710071086884,
0.010312968865036964,
0.009087752550840378,
0.022194918245077133,
0.0019524124218150973,
0.029193634167313576,
0.06515680998563766,
-0.04255641996860504,
0.006275926250964403,
-0.0006170152337290347,
0.03208479285240173,
-0.005209371447563171,
0.010224823839962482,
-0.04795089736580849,
-0.013089536689221859,
0.00974884070456028,
0.022353580221533775,
0.016500750556588173,
0.008259189315140247,
0.0020471683237701654,
0.01063910499215126,
-0.01822839304804802,
-0.010083791799843311,
-0.01747915893793106,
-0.021577904000878334,
0.024028334766626358,
-0.03390057757496834,
0.012313860468566418,
0.05087731033563614,
0.08313839137554169,
0.060573264956474304,
-0.052851758897304535,
-0.025667833164334297,
-0.00594978965818882,
-0.0040700966492295265,
-0.03026900440454483,
-0.0048876418732106686,
0.03241974115371704,
0.011044572107493877,
-0.06240668147802353,
0.0038034580647945404,
0.04569438472390175,
-0.015390122309327126,
0.004334531724452972,
0.030427664518356323,
0.00892027746886015,
-0.06811848282814026,
-0.05806994438171387,
0.03241974115371704,
0.008082899264991283,
0.032208193093538284,
-0.03266654908657074,
0.01411201898008585,
0.014288309030234814,
-0.01886303722858429,
0.03762029856443405,
-0.051476698368787766,
-0.02936992421746254,
0.0016989954747259617,
-0.06212461739778519,
0.03910113498568535,
-0.07559318095445633,
0.01494058221578598,
-0.07813175767660141,
0.05468517541885376,
0.009034865535795689,
0.0427679680287838,
0.015143316239118576,
0.028065377846360207,
0.054755691438913345,
-0.036139462143182755,
-0.04037042334675789,
0.026408251374959946,
0.015980694442987442,
0.008228338323533535,
0.05711797997355461,
-0.0321376770734787,
-0.0138652129098773,
0.03039240650832653,
0.015733888372778893,
0.06783641874790192,
0.012322675436735153,
0.06314709782600403,
0.03548718988895416,
-0.0008087306632660329,
0.02887631207704544,
0.03913639485836029,
-0.07777917385101318,
0.06917621940374374,
-0.029211262241005898,
-0.011934837326407433,
-0.0615604892373085,
-0.013071907684206963,
0.004389622714370489,
-0.06067904084920883,
0.04022939130663872,
0.04428406432271004,
0.038924846798181534,
0.0025451877154409885,
0.033354081213474274,
0.0012692884774878621,
-0.006302369758486748,
0.052604954689741135,
0.0011128310579806566,
0.007866944186389446,
0.014676147140562534,
-0.039700523018836975,
0.024028334766626358,
-0.02191285416483879,
0.0305334385484457,
0.02709578163921833,
-0.006438994314521551,
0.0008307669195346534,
-0.03257840499281883,
-0.01597188040614128,
0.060714296996593475,
0.00043411427759565413,
0.015390122309327126,
-0.03174984082579613,
-0.040969811379909515,
0.02267090231180191,
-0.02254749834537506,
-0.007747948169708252,
-0.03548718988895416,
-0.005764685105532408,
0.015099244192242622,
-0.01821076311171055,
0.03485254570841789,
-0.012463707476854324,
0.014596817083656788,
-0.018898295238614082,
-0.0011877543292939663,
-0.024715866893529892,
-0.05877510458230972,
0.016677040606737137,
0.005345996003597975,
-0.014253051020205021,
-0.006262704264372587,
-0.025914639234542847,
-0.0000957888551056385,
0.05877510458230972,
-0.05510827153921127,
0.05454414337873459,
0.029034972190856934,
0.04428406432271004,
0.03291335329413414,
-0.014015059918165207,
0.020202841609716415,
0.01988551951944828,
-0.01474666316062212,
0.002388730412349105,
-0.041851259768009186,
-0.07227892428636551,
-0.02293533645570278,
0.006615284364670515,
-0.02998693846166134,
0.045130256563425064,
-0.02785382978618145,
-0.028047747910022736,
0.006540361326187849,
0.0032239044085144997,
0.0030894833616912365,
-0.016042396426200867,
0.012886803597211838,
0.02808300592005253,
0.021965742111206055,
0.010268895886838436,
-0.04460138455033302,
-0.09181186556816101,
0.0410403273999691,
-0.07241995632648468,
-0.01449104305356741,
0.06346442550420761,
0.035910286009311676,
-0.08511283993721008,
0.07792020589113235,
0.040476199239492416,
-0.009881057776510715,
0.009219970554113388,
0.0004189643368590623,
-0.021084291860461235,
-0.0021595533471554518,
-0.06529784202575684,
-0.022512240335345268,
-0.016932660713791847,
-0.002615703735500574,
0.008937906473875046,
0.0007508854614570737,
0.008669063448905945,
0.04163971170783043,
-0.02609092928469181,
0.012490150518715382,
-0.008409036323428154,
0.07587524503469467,
-0.04534180462360382,
-0.00784931518137455,
0.054896723479032516,
-0.0666728988289833,
-0.003281198674812913,
-0.02557968720793724,
0.02520947903394699,
0.029281778261065483,
-0.05041895806789398,
-0.013653664849698544,
0.0013298881240189075,
-0.09068360924720764,
0.038184426724910736,
-0.024469060823321342,
0.00917589757591486,
0.01145885419100523,
0.02469823695719242,
-0.03687988221645355,
0.04125187546014786,
0.0005955298547632992,
-0.02596752531826496,
0.010991685092449188,
-0.021472129970788956,
-0.013327528722584248,
0.04453086853027344,
0.022864820435643196,
-0.017576118931174278,
0.02695474959909916,
0.01644786261022091,
-0.011088645085692406,
-0.03559296205639839,
0.007091267500072718,
-0.02406359277665615,
0.028188779950141907,
-0.05419156327843666,
0.03860752284526825,
0.002353472402319312,
0.02482164092361927,
0.03025137446820736,
0.048797089606523514,
-0.025279995054006577,
-0.03864278271794319,
0.030850760638713837,
0.05405053123831749,
-0.00917589757591486,
-0.035645850002765656,
-0.056377559900283813,
0.0013442117488011718,
0.03293098509311676,
-0.03864278271794319,
0.041569195687770844,
0.040581971406936646,
0.00048534857342019677,
0.046011704951524734,
0.00961662270128727,
-0.0006891839439049363,
0.02002655155956745,
0.0752405971288681,
-0.012825101613998413,
-0.021754194051027298,
0.029546214267611504,
0.0036690367851406336,
-0.0022829563822597265,
-0.01986788958311081,
0.018140247091650963,
0.05154721438884735,
0.022741418331861496,
0.039559490978717804,
0.02494504302740097,
-0.02189522609114647,
-0.0069061629474163055,
-0.005522286053746939,
0.007135340012609959,
-0.022688530385494232,
-0.0552140474319458,
-0.04333209618926048,
-0.018580973148345947,
0.04833873361349106,
-0.010074976831674576,
0.005531100556254387,
0.010956427082419395,
-0.012375562451779842
]
|
31,451 | prefect_sqlalchemy.database | __setstate__ | Upon loading back, restart the engine and results. | def __setstate__(self, data: dict):
"""Upon loading back, restart the engine and results."""
self.__dict__.update(data)
if self._unique_results is None:
self._unique_results = {}
if self._exit_stack is None:
self._start_exit_stack()
| (self, data: <function SqlAlchemyConnector.dict at 0x7f57a0c0feb0>) | [
0.03362135589122772,
-0.019770057871937752,
-0.045353811234235764,
0.034391846507787704,
0.009543562307953835,
-0.011653652414679527,
-0.05754155293107033,
-0.01389507669955492,
0.05267345905303955,
-0.04910118877887726,
0.003331491257995367,
0.021223481744527817,
-0.022939572110772133,
0.020785704255104065,
-0.058977462351322174,
-0.03018917702138424,
-0.006076359655708075,
0.06822333484888077,
-0.062479689717292786,
-0.040065448731184006,
-0.023009616881608963,
0.02775513008236885,
0.03638811409473419,
0.06027328595519066,
-0.006435337942093611,
-0.015514855273067951,
-0.02241423726081848,
-0.026967130601406097,
0.07830974459648132,
0.001743451226502657,
-0.017169656231999397,
-0.023027127608656883,
-0.011601119302213192,
0.03241308778524399,
0.042937275022268295,
-0.03523238003253937,
0.010751829482614994,
0.005980048794299364,
-0.01653050072491169,
0.026792019605636597,
-0.014043920673429966,
-0.05330386012792587,
0.006479115691035986,
0.0157337449491024,
0.029751399531960487,
0.017248457297682762,
0.008274005725979805,
0.014026409946382046,
0.06514137983322144,
-0.06822333484888077,
0.012126453220844269,
-0.005581670440733433,
0.010322807356715202,
0.046159323304891586,
0.018526768311858177,
0.05813692882657051,
0.007253983058035374,
0.04608927667140961,
0.014017654582858086,
-0.0553351491689682,
0.01084814127534628,
-0.007976316846907139,
-0.020943304523825645,
0.0026879573706537485,
0.022904548794031143,
-0.017896369099617004,
-0.010673029348254204,
0.017055833712220192,
-0.01518214400857687,
-0.0029681355226784945,
-0.025408640503883362,
0.01696827821433544,
0.005165781360119581,
-0.013693698681890965,
-0.002845557639375329,
0.0245681069791317,
-0.058977462351322174,
-0.014472943730652332,
-0.008834362030029297,
0.031782690435647964,
0.002996590919792652,
0.003576647024601698,
-0.06486120074987411,
0.04052073881030083,
-0.03834936022758484,
-0.0031235467176884413,
0.042762164026498795,
0.008352805860340595,
-0.05302368104457855,
-0.05165781453251839,
-0.005235826130956411,
0.06962423026561737,
-0.009385962039232254,
0.059537820518016815,
0.05589550733566284,
-0.037088558077812195,
-0.0030381798278540373,
-0.00976245105266571,
-0.042937275022268295,
-0.054179415106773376,
-0.02498837374150753,
-0.023272283375263214,
0.03001406602561474,
-0.048470791429281235,
0.0032198578119277954,
-0.07284627109766006,
0.01943734660744667,
-0.04101105034351349,
0.007906272076070309,
-0.01934979110956192,
-0.06360039860010147,
-0.014175254851579666,
-0.03820927068591118,
0.020820725709199905,
-0.012073920108377934,
-0.011461030691862106,
-0.056175682693719864,
-0.020628103986382484,
0.02722979709506035,
0.040450695902109146,
-0.04122118651866913,
0.04612429812550545,
-0.021626237779855728,
0.056560929864645004,
0.020645614713430405,
0.0656316876411438,
0.03046935424208641,
0.03596784919500351,
0.018736902624368668,
-0.06748787313699722,
0.04619434475898743,
-0.014630543999373913,
-0.04720998927950859,
0.004579158965498209,
0.023027127608656883,
0.02246677130460739,
0.0599580854177475,
-0.018036456778645515,
-0.03290339931845665,
0.0391898937523365,
0.029278598725795746,
0.018736902624368668,
-0.024007750675082207,
0.04384785145521164,
0.06899382919073105,
0.0249183289706707,
0.009639873169362545,
0.04122118651866913,
-0.014525476843118668,
-0.025566240772604942,
0.0677330270409584,
-0.04111611843109131,
-0.025408640503883362,
0.01519089937210083,
-0.05537017434835434,
0.010497918352484703,
-0.031905267387628555,
-0.034059133380651474,
-0.009009473025798798,
-0.011671164073050022,
-0.02794775366783142,
-0.06549160182476044,
0.0031082243658602238,
-0.054004304111003876,
-0.028140375390648842,
0.024235395714640617,
-0.02780766412615776,
-0.017476100474596024,
-0.020295392721891403,
0.010821874253451824,
-0.04202669486403465,
-0.034391846507787704,
-0.05834706500172615,
0.03062695451080799,
-0.037263669073581696,
0.048225633800029755,
-0.03036428801715374,
-0.03869958221912384,
0.01670561172068119,
0.01236285362392664,
-0.04069584980607033,
-0.04461834207177162,
-0.1049966961145401,
0.04664963483810425,
-0.005730515345931053,
-0.009158317930996418,
0.002663879655301571,
0.01236285362392664,
0.06699755787849426,
0.0606585331261158,
0.0002831876918207854,
-0.04101105034351349,
0.0017139011761173606,
-0.012791875749826431,
0.010261517949402332,
0.019945168867707253,
-0.018211567774415016,
-0.05330386012792587,
0.018141524866223335,
-0.002613535150885582,
-0.04076589643955231,
-0.045528922230005264,
0.07053480297327042,
-0.05060714855790138,
-0.016889479011297226,
0.0223441943526268,
0.006063226610422134,
0.008195205591619015,
0.03929496183991432,
0.029173532500863075,
-0.0308545995503664,
-0.045563943684101105,
0.025811396539211273,
0.037508826702833176,
0.040415674448013306,
-0.05747150629758835,
0.07298636436462402,
-0.015567388385534286,
0.05169283598661423,
0.014831922017037868,
0.0500117689371109,
0.003707980504259467,
-0.034742068499326706,
-0.0336914025247097,
-0.0656316876411438,
-0.015891345217823982,
-0.04066082835197449,
-0.032010335475206375,
-0.03509229049086571,
-0.013002009131014347,
-0.007188315968960524,
-0.013483565300703049,
0.018824458122253418,
-0.06514137983322144,
0.037683937698602676,
0.006225204560905695,
0.015506099909543991,
0.025513706728816032,
-0.016609299927949905,
0.04717496782541275,
0.01535725500434637,
0.0020564624574035406,
0.01947236992418766,
-0.03947007283568382,
-0.06934405118227005,
0.007512271869927645,
0.059677910059690475,
0.03278082236647606,
-0.029803931713104248,
-0.03017166629433632,
0.05176288262009621,
-0.00839658360928297,
-0.02171379327774048,
-0.0011393175227567554,
0.029891487210989,
-0.03579273819923401,
0.06979934126138687,
0.03925994038581848,
0.06142902001738548,
-0.010261517949402332,
0.01252920925617218,
-0.010550451464951038,
-0.031414955854415894,
0.02472570724785328,
0.014761877246201038,
0.004955647978931665,
-0.004112924914807081,
0.018561791628599167,
-0.019962681457400322,
0.017108367756009102,
0.07641854137182236,
0.010191474109888077,
-0.007967561483383179,
0.05484483763575554,
-0.02439299412071705,
0.010156451724469662,
0.01621530018746853,
-0.056736040860414505,
-0.06482617557048798,
0.011312185786664486,
0.0819520577788353,
0.02773761935532093,
0.020295392721891403,
-0.031817711889743805,
-0.005581670440733433,
-0.06524644792079926,
-0.01757241226732731,
0.03579273819923401,
0.02710721828043461,
-0.021013347432017326,
0.020838236436247826,
0.03789407014846802,
0.0006566671072505414,
0.0008290422265417874,
0.017327256500720978,
-0.02220410481095314,
-0.0727061852812767,
0.01787010207772255,
0.029628820717334747,
0.03537246957421303,
0.03309602290391922,
-0.10401607304811478,
0.01785258948802948,
0.03290339931845665,
0.003616047091782093,
0.003983780741691589,
0.06128893047571182,
0.026546863839030266,
-0.015803789719939232,
-0.03600287064909935,
0.026862062513828278,
0.054144393652677536,
-0.03393655642867088,
0.03269326686859131,
-0.007582316640764475,
-0.07550796121358871,
0.003230802249163389,
-0.04489852115511894,
0.0003307960578240454,
0.06892377883195877,
-0.07172556221485138,
-0.028893353417515755,
0.016766900196671486,
-0.011338452808558941,
0.05726137384772301,
-0.00968365091830492,
0.059432752430438995,
-0.0025872685946524143,
0.0503619909286499,
-0.039820294827222824,
-0.05508999526500702,
-0.05442457273602486,
0.04339256510138512,
0.025548730045557022,
-0.018736902624368668,
-0.026511840522289276,
-0.02532108500599861,
-0.03074953332543373,
0.022659393027424812,
-0.02747495286166668,
0.036913447082042694,
-0.015724988654255867,
-0.03327113389968872,
-0.0243054386228323,
0.03957514092326164,
0.009210851043462753,
0.039680205285549164,
-0.023044638335704803,
0.06139399856328964,
-0.023324817419052124,
-0.06699755787849426,
0.01256423071026802,
0.014437921345233917,
0.053794171661138535,
0.07046476006507874,
-0.08321285992860794,
0.01973503641784191,
-0.02740490809082985,
-0.005844337400048971,
-0.07648858428001404,
0.010567963123321533,
0.03409415856003761,
-0.08958690613508224,
0.029576286673545837,
-0.0014216842828318477,
-0.045283764600753784,
-0.05789177492260933,
0.005060714669525623,
0.03757886961102486,
-0.029243575409054756,
0.008033228106796741,
-0.10485661029815674,
-0.014578009955585003,
0.032185446470975876,
0.06086866557598114,
0.010541696101427078,
-0.005774293094873428,
0.013325965031981468,
-0.04507363215088844,
-0.021276015788316727,
0.04780536890029907,
-0.007809961214661598,
-0.01679316721856594,
-0.008716161362826824,
0.023604994639754295,
0.03257068991661072,
0.007783694192767143,
0.021363571286201477,
0.061989378184080124,
0.007201449479907751,
-0.013282187283039093,
0.004353702999651432,
0.022641882300376892,
0.028560642153024673,
0.01931476965546608,
0.050572123378515244,
0.039960384368896484,
0.0022895794827491045,
-0.04612429812550545,
-0.0006544782663695514,
0.006439715623855591,
-0.022694416344165802,
0.017134634777903557,
0.021100902929902077,
0.05151772499084473,
-0.045528922230005264,
0.026774507015943527,
-0.00985000655055046,
-0.007394071668386459,
-0.05270848050713539,
-0.018421702086925507,
-0.031029710546135902,
-0.023324817419052124,
-0.050817281007766724,
-0.043007317930459976,
0.0018528957152739167,
0.06016822159290314,
-0.00377364712767303,
0.05519505962729454,
0.06402067095041275,
0.03523238003253937,
0.06142902001738548,
0.059187598526477814,
0.05165781453251839,
-0.007936916314065456,
0.03358633443713188,
-0.013684943318367004,
-0.029803931713104248,
-0.026774507015943527,
0.03418171405792236,
-0.023149704560637474,
-0.009070762433111668,
-0.007284627296030521,
0.020978325977921486,
0.0243054386228323,
-0.029681354761123657,
-0.017686234787106514,
-0.010016362182796001,
-0.04342758655548096,
0.06419578194618225,
0.003110413206741214,
-0.0026726352516561747,
0.045248743146657944,
-0.009692407213151455,
0.03330615535378456,
0.0030272353906184435,
-0.016889479011297226,
0.02812286466360092,
0.018701879307627678,
-0.014744365587830544,
-0.015401032753288746,
-0.005095737054944038,
-0.026546863839030266,
-0.013369742780923843,
0.007823094725608826,
0.013930099084973335,
-0.05004679039120674,
0.02726481854915619,
0.013693698681890965,
0.012502942234277725,
-0.03257068991661072,
-0.0016296289395540953,
-0.056946173310279846,
0.03514482453465462,
0.037508826702833176,
0.0013177120126783848,
-0.04132625088095665,
0.015042055398225784,
-0.020838236436247826,
-0.007739916443824768,
-0.03337620198726654,
0.0018528957152739167,
0.02462063916027546,
-0.031099755316972733,
-0.017327256500720978,
-0.008685517124831676,
-0.031590066850185394,
-0.03337620198726654,
-0.028315486386418343,
-0.04973158985376358,
0.03241308778524399,
0.008173316717147827,
0.04612429812550545,
0.04132625088095665,
-0.042762164026498795,
-0.08055116981267929,
0.09764202684164047,
-0.011312185786664486,
0.008974450640380383,
-0.01548858918249607,
-0.02453308366239071,
-0.02216908149421215,
0.010454140603542328,
0.0329909548163414,
0.009167073294520378,
0.0076085831969976425,
-0.022764461115002632,
0.014814410358667374,
0.03514482453465462,
-0.06437089294195175,
0.029698865488171577,
-0.037018515169620514,
0.005340892821550369,
0.023534949868917465,
0.020102769136428833,
0.00020753417629748583,
-0.0038436916656792164,
0.023324817419052124,
-0.007398449815809727,
0.010655518621206284,
-0.0391898937523365,
-0.026844551786780357,
0.04724501073360443,
-0.025776373222470284,
0.029138509184122086,
-0.023044638335704803,
-0.029646331444382668,
0.005034448113292456,
-0.054249461740255356,
0.018211567774415016,
0.026476819068193436,
0.03852447122335434,
0.05169283598661423,
-0.028192909434437752,
0.0014807843836024404,
-0.050747234374284744,
0.018579302355647087,
-0.02442801743745804,
0.009666140191257,
0.05141265690326691,
-0.01516463328152895,
-0.03285086899995804,
0.008694272488355637,
0.05459968373179436,
0.04801550135016441,
-0.0059318928979337215,
0.007372182793915272,
-0.04650954529643059,
0.00002946451786556281,
-0.040205538272857666,
-0.0014545177109539509,
0.01901707984507084,
0.027089707553386688,
-0.059782974421978,
0.04146634042263031,
-0.036773357540369034,
-0.0314674898982048,
0.04706989973783493,
-0.043077364563941956,
-0.01912214607000351,
-0.061884310096502304,
-0.048575855791568756,
0.037298694252967834,
-0.011758719570934772,
-0.05624572932720184,
-0.054109372198581696,
0.04647452011704445,
0.015795033425092697,
0.04223683103919029,
0.01367618702352047,
0.006334648933261633,
0.017274722456932068,
-0.0169332567602396,
-0.006374049000442028,
0.04622936621308327,
-0.016766900196671486,
-0.0077486722730100155,
0.02994402125477791,
-0.04454829916357994,
-0.02227414958178997,
0.04430314153432846,
-0.004318680614233017,
0.026686951518058777,
0.014613032341003418,
0.02803530916571617,
0.008913162164390087,
0.04139629751443863,
-0.006553538143634796,
0.03824429214000702,
-0.05806688591837883,
0.042727142572402954,
-0.005686737131327391,
-0.03374393656849861,
-0.02458561770617962,
-0.005524759646505117,
0.02516348473727703,
-0.017195923253893852,
0.10065393894910812,
0.020505525171756744,
-0.017047079280018806,
-0.056455861777067184,
0.0498366579413414,
-0.006128893233835697,
-0.023342328146100044,
0.025898952037096024,
0.0191571693867445,
0.05607061833143234,
0.009622362442314625,
-0.0015333177288994193,
-0.011522319167852402,
-0.056280750781297684,
0.0353899821639061,
0.012581742368638515,
-0.031905267387628555,
-0.007140160538256168,
-0.034251756966114044,
-0.02729984186589718,
0.0993230938911438,
-0.001304578734561801,
0.026511840522289276,
-0.005161403678357601,
-0.037193626165390015,
0.016731878742575645,
0.0034431247040629387,
0.0015694344183430076,
-0.03258820250630379,
-0.015287211164832115,
-0.011653652414679527,
0.01668810099363327,
0.03526740148663521,
-0.0446883887052536,
0.018841968849301338,
-0.023604994639754295,
0.012704320251941681,
-0.03785904869437218,
0.0022895794827491045,
0.031607579439878464,
0.031257353723049164,
-0.004478469956666231,
-0.08307276666164398,
-0.021188460290431976,
0.012888186611235142,
0.028227930888533592,
-0.0324656218290329,
0.03862953931093216,
0.0038590137846767902,
0.03053939901292324,
0.03257068991661072,
0.008116405457258224,
-0.022869527339935303,
0.06934405118227005,
-0.008856250904500484,
0.06374049186706543,
-0.02239672653377056,
-0.018316635861992836,
0.0020017402712255716,
-0.01533098891377449,
-0.031695134937763214,
0.06006315350532532,
-0.0018660291098058224,
-0.002860879758372903,
-0.0017981735290959477,
-0.014718099497258663,
0.04395291954278946,
-0.00967489555478096,
0.026109084486961365,
0.03775398060679436,
-0.04402296617627144,
0.013711209408938885,
-0.017371034249663353,
-0.09280895441770554,
0.057086262851953506,
-0.04349762946367264,
-0.03908482939004898,
0.10450638830661774,
0.032097890973091125,
-0.01912214607000351,
0.062059421092271805,
0.026827041059732437,
0.007302138488739729,
-0.01527845486998558,
-0.03342873603105545,
0.01612774468958378,
0.02467317320406437,
-0.020908281207084656,
-0.008567317388951778,
-0.0049906703643500805,
-0.025898952037096024,
0.002860879758372903,
0.02779015339910984,
-0.05228821560740471,
0.017047079280018806,
-0.009350939653813839,
-0.004495981149375439,
-0.029716376215219498,
0.11151083558797836,
-0.02786019816994667,
-0.03957514092326164,
0.056280750781297684,
-0.03250064700841904,
-0.031800199300050735,
-0.00807262770831585,
-0.009097028523683548,
-0.032220467925071716,
-0.0645810216665268,
-0.06892377883195877,
-0.056736040860414505,
-0.11522319167852402,
0.0034409358631819487,
-0.029085977002978325,
0.05260341614484787,
0.032097890973091125,
0.018281612545251846,
-0.04454829916357994,
0.028998419642448425,
0.0003948211087845266,
-0.05333888158202171,
-0.014954499900341034,
-0.009289651177823544,
-0.03542500361800194,
0.06500129401683807,
0.013413520529866219,
-0.00406695855781436,
0.03964518383145332,
0.00949978455901146,
-0.00551162613555789,
-0.014534232206642628,
-0.0164954774081707,
-0.03894473984837532,
0.01236285362392664,
-0.03053939901292324,
0.0220815259963274,
0.00958734005689621,
-0.003530680201947689,
0.04167647287249565,
-0.010331562720239162,
-0.034619491547346115,
-0.0450386106967926,
0.06149906665086746,
0.06149906665086746,
-0.07347667217254639,
-0.08048112690448761,
-0.04973158985376358,
0.01783507876098156,
-0.005327759310603142,
-0.0649312436580658,
0.046159323304891586,
0.02444552816450596,
0.01940232515335083,
0.024130327627062798,
-0.013378498144447803,
-0.037193626165390015,
-0.016434188932180405,
0.007100760471075773,
-0.0030141021125018597,
0.0006024920730851591,
0.04038064926862717,
-0.014901965856552124,
-0.013693698681890965,
0.025933973491191864,
0.039715226739645004,
0.03495220094919205,
0.016749389469623566,
0.050747234374284744,
0.026862062513828278,
0.02504090592265129,
-0.008077005855739117,
0.03271077945828438,
0.031835220754146576,
-0.01372872106730938,
-0.006317137740552425,
-0.051342613995075226,
-0.029050953686237335,
-0.012643030844628811,
0.06962423026561737,
0.0048505812883377075,
0.04717496782541275,
0.006649849005043507
]
|
31,453 | prefect_sqlalchemy.database | _async_sync_execute |
Execute the statement asynchronously or synchronously.
| def get_client(
self,
client_type: Literal["engine", "connection"],
**get_client_kwargs: Dict[str, Any],
) -> Union[Engine, AsyncEngine, Connection, AsyncConnection]:
"""
Returns either an engine or connection that can be used to query from databases.
Args:
client_type: Select from either 'engine' or 'connection'.
**get_client_kwargs: Additional keyword arguments to pass to
either `get_engine` or `get_connection`.
Returns:
The authenticated SQLAlchemy engine or connection.
Examples:
Create an engine.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
engine = sqlalchemy_connector.get_client(client_type="engine")
```
Create a context managed connection.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
with sqlalchemy_connector.get_client(client_type="connection") as conn:
...
```
""" # noqa: E501
if client_type == "engine":
client = self.get_engine(**get_client_kwargs)
elif client_type == "connection":
client = self.get_connection(**get_client_kwargs)
else:
raise ValueError(
f"{client_type!r} is not supported; choose from engine or connection."
)
return client
| (self, connection: Union[sqlalchemy.engine.base.Connection, sqlalchemy.ext.asyncio.engine.AsyncConnection], *execute_args: Tuple[Any], **execute_kwargs: Dict[str, Any]) -> sqlalchemy.engine.cursor.CursorResult | [
0.02293139137327671,
-0.09721993654966354,
0.029398730024695396,
0.008627887815237045,
0.023236634209752083,
0.008775739930570126,
0.04563384875655174,
-0.029723050072789192,
-0.010740743018686771,
-0.036877185106277466,
0.011618317104876041,
-0.03315703570842743,
-0.05673706904053688,
0.014146111905574799,
-0.007464148569852114,
-0.016072958707809448,
-0.04094073548913002,
-0.023408332839608192,
0.044069476425647736,
-0.06547465175390244,
-0.005332216154783964,
0.036934420466423035,
0.013583319261670113,
-0.04971647635102272,
0.03777384012937546,
0.0592934787273407,
-0.033653054386377335,
0.0044212560169398785,
0.08958885818719864,
-0.013573780655860901,
0.0692138820886612,
-0.0012805903097614646,
0.010540426708757877,
-0.005947471596300602,
0.02625091001391411,
0.025220714509487152,
0.030696013942360878,
0.07726466655731201,
0.04563384875655174,
-0.022969545796513557,
-0.04071180522441864,
-0.007049208972603083,
0.05303599685430527,
0.021042698994278908,
-0.052082110196352005,
-0.006748734973371029,
-0.0033934451639652252,
-0.060094743967056274,
-0.0033457509707659483,
-0.025106247514486313,
0.05616473779082298,
-0.026632463559508324,
0.006324256304651499,
0.0057614641264081,
-0.028025135397911072,
-0.04929676651954651,
-0.05433327704668045,
0.00932422373443842,
-0.04677851125597954,
0.06677193939685822,
-0.030219070613384247,
-0.03773568198084831,
-0.03241300582885742,
0.023789886385202408,
-0.014003029093146324,
-0.04193277657032013,
-0.0354272834956646,
-0.004771808627992868,
0.02052760124206543,
-0.0003788711328525096,
-0.0032503625843673944,
0.048457346856594086,
0.0016418742015957832,
-0.008685121312737465,
0.04006316140294075,
-0.05170055851340294,
0.01327807642519474,
0.04891521483659744,
0.024343140423297882,
0.015214462764561176,
-0.008923592045903206,
0.004087396431714296,
-0.019764494150877,
-0.040330249816179276,
0.04860996827483177,
-0.02913164161145687,
-0.07318204641342163,
0.030696013942360878,
0.0038250780198723078,
-0.03493126109242439,
-0.005499145947396755,
-0.05563056096434593,
0.019220778718590736,
0.0560121163725853,
-0.0515860915184021,
-0.029856594279408455,
-0.010874287225306034,
-0.012677129358053207,
0.03914743289351463,
0.029799360781908035,
0.026594309136271477,
0.048991523683071136,
0.008227256126701832,
-0.010788436979055405,
-0.011933098547160625,
-0.05528716370463371,
0.012295574881136417,
-0.0219393502920866,
0.0033576744608581066,
0.029608584940433502,
-0.015777254477143288,
-0.020432213321328163,
0.05280706286430359,
-0.011542006395757198,
0.0003952660190407187,
0.00882820412516594,
-0.03718243166804314,
0.016931455582380295,
0.0058282362297177315,
-0.0013092069420963526,
-0.07608184963464737,
0.03930005431175232,
0.03779291734099388,
0.0364956334233284,
0.045061517506837845,
0.0405973382294178,
-0.010626276955008507,
-0.05555425211787224,
0.012390963733196259,
-0.022740613669157028,
0.061620958149433136,
0.00180522701703012,
-0.011532467789947987,
0.02111900970339775,
-0.026766007766127586,
0.09287022799253464,
-0.06658115983009338,
0.008160484954714775,
-0.013192227110266685,
0.02590751089155674,
-0.018762914463877678,
0.03914743289351463,
-0.02239721454679966,
-0.0017849568976089358,
-0.036171313375234604,
0.014432277530431747,
-0.01749424822628498,
-0.058759305626153946,
-0.013211304321885109,
-0.024228673428297043,
0.0428103506565094,
-0.008170023560523987,
0.04311559349298477,
-0.023599110543727875,
-0.06211698055267334,
-0.03844155743718147,
-0.06066707521677017,
-0.016072958707809448,
-0.037354130297899246,
-0.011418000794947147,
-0.0037058424204587936,
0.028387611731886864,
0.033767521381378174,
-0.019669104367494583,
0.02146240882575512,
0.014804292470216751,
-0.028750088065862656,
-0.09065721184015274,
0.025411492213606834,
-0.000568753806874156,
-0.06387212872505188,
0.030982179567217827,
-0.03548451513051987,
0.004266249947249889,
-0.007769391871988773,
0.029093487188220024,
0.032966259866952896,
-0.012801134027540684,
0.023084012791514397,
0.017122233286499977,
0.059102702885866165,
-0.033424124121665955,
-0.0615064911544323,
0.04975463077425957,
0.016444973647594452,
0.0070539782755076885,
0.057652797549963,
-0.03941452130675316,
0.06039998680353165,
-0.025697655975818634,
-0.08707060664892197,
0.06169727072119713,
0.01295375544577837,
-0.02409513108432293,
0.01755147986114025,
-0.04838103801012039,
0.023084012791514397,
0.028521155938506126,
-0.08653642982244492,
0.06791660189628601,
-0.011494312435388565,
0.03844155743718147,
-0.008790048770606518,
0.02491547167301178,
0.0422380194067955,
-0.030276304110884666,
0.04662588983774185,
-0.04082626849412918,
-0.043497148901224136,
-0.004325867630541325,
-0.05971318855881691,
-0.03012368269264698,
-0.031325578689575195,
0.006047629751265049,
0.02794882468879223,
-0.010807515121996403,
-0.017475169152021408,
0.007316296454519033,
0.016387740150094032,
0.06997699290513992,
0.003202668158337474,
0.023141246289014816,
0.03285179287195206,
-0.030810479074716568,
0.024724693968892097,
-0.07070194184780121,
-0.03111572191119194,
0.014995069243013859,
-0.009443460032343864,
-0.022091971710324287,
-0.027090327814221382,
0.004974509123712778,
0.07829486578702927,
0.018991846591234207,
-0.01654990203678608,
-0.02508717030286789,
-0.021481486037373543,
0.06677193939685822,
-0.002713802270591259,
0.03504572808742523,
0.03388198837637901,
0.03306164592504501,
0.009204988367855549,
-0.01493783574551344,
-0.10149334371089935,
0.034893106669187546,
0.055477939546108246,
-0.023351099342107773,
0.002971351146697998,
0.012381425127387047,
-0.0405973382294178,
-0.04639695584774017,
0.030486159026622772,
0.013745480217039585,
-0.01438458263874054,
0.019917115569114685,
-0.010893364436924458,
-0.027738969773054123,
-0.03607592359185219,
-0.02409513108432293,
-0.05391357094049454,
0.0483047254383564,
-0.030219070613384247,
0.029036253690719604,
-0.019611870869994164,
-0.03241300582885742,
0.0007523766253143549,
0.024877315387129784,
-0.01602526567876339,
-0.008022171445190907,
0.11026908457279205,
0.09950926154851913,
0.05063220486044884,
0.02649891935288906,
-0.0029928137082606554,
-0.05502007529139519,
-0.04258141666650772,
-0.004204247146844864,
-0.025182558223605156,
-0.013745480217039585,
-0.07043485343456268,
0.05059405043721199,
0.023599110543727875,
-0.060972318053245544,
-0.036705486476421356,
-0.06860339641571045,
-0.033653054386377335,
-0.06513125449419022,
0.021653184667229652,
0.029436884447932243,
0.0009389803744852543,
-0.06417737156152725,
-0.003777383826673031,
-0.013707324862480164,
-0.00964854471385479,
0.01272482331842184,
0.04819026216864586,
-0.016645289957523346,
-0.027471883222460747,
-0.04456549882888794,
-0.023789886385202408,
-0.021252553910017014,
0.015300312079489231,
0.04216170683503151,
0.0615064911544323,
-0.035999611020088196,
0.031611744314432144,
-0.04364977031946182,
-0.004254326224327087,
0.021309787407517433,
-0.06474970281124115,
-0.016101576387882233,
-0.007168444339185953,
0.010301955975592136,
-0.036705486476421356,
0.01353562530130148,
0.009920402429997921,
-0.011761399917304516,
0.032203152775764465,
0.030657857656478882,
-0.07612001150846481,
0.03645747900009155,
0.039109278470277786,
0.013478392735123634,
-0.053493861109018326,
0.05238735303282738,
-0.060438141226768494,
0.046702198684215546,
0.017408397048711777,
0.07928690314292908,
-0.06062891706824303,
0.047694239765405655,
-0.00441410206258297,
0.015328928828239441,
-0.022664302960038185,
-0.014928297139704227,
0.0691375732421875,
-0.011503851041197777,
0.025697655975818634,
0.003379137022420764,
0.03607592359185219,
-0.03702980652451515,
0.02239721454679966,
-0.015376622788608074,
0.008456189185380936,
0.008212948217988014,
0.015529245138168335,
-0.015987109392881393,
0.031726207584142685,
0.012381425127387047,
-0.031554508954286575,
-0.014518126845359802,
-0.02754819393157959,
-0.022893235087394714,
-0.019764494150877,
-0.023370178416371346,
-0.009085753001272678,
0.01882968656718731,
-0.013869484886527061,
0.00005257544762571342,
0.010578582994639874,
-0.0050269728526473045,
0.03369121253490448,
0.034416165202856064,
-0.10614830255508423,
0.03762121871113777,
-0.0028163448441773653,
-0.025640424340963364,
0.042314331978559494,
0.009433920495212078,
-0.012266959063708782,
0.00508897565305233,
0.02024143561720848,
0.02678508497774601,
-0.01531939022243023,
-0.011990332044661045,
-0.06936649978160858,
-0.06028551980853081,
0.02006973698735237,
0.043077439069747925,
0.003138280939310789,
0.014899680390954018,
0.03199329599738121,
0.0307150911539793,
-0.018057039007544518,
-0.01760871335864067,
-0.013173148967325687,
0.0014391737058758736,
-0.0389566570520401,
0.01883922517299652,
-0.007187522016465664,
-0.0346069410443306,
0.021920273080468178,
-0.03767845034599304,
0.02216828241944313,
-0.012801134027540684,
-0.03332873433828354,
0.01006348431110382,
-0.0038632333744317293,
-0.003517450299113989,
-0.008065096102654934,
0.0288263987749815,
0.08073680847883224,
0.008537269197404385,
-0.04796132817864418,
0.04616802558302879,
0.03821262717247009,
0.00961992796510458,
0.03105849027633667,
-0.06329979747533798,
-0.04574831575155258,
0.002176049631088972,
-0.030963100492954254,
0.0067964293994009495,
0.00275672716088593,
-0.007836163975298405,
0.05906454846262932,
0.06215513497591019,
0.030963100492954254,
0.07016776502132416,
0.014756597578525543,
-0.00002476001827744767,
0.003891850123181939,
0.017360704019665718,
0.03691534325480461,
0.050746671855449677,
0.003078663256019354,
0.02420959621667862,
-0.015720020979642868,
0.0364956334233284,
0.050326962023973465,
-0.03720150887966156,
0.006820276379585266,
0.005179594736546278,
0.013583319261670113,
0.052196577191352844,
0.010368728078901768,
0.04586278274655342,
0.02117624320089817,
-0.046358801424503326,
-0.008289258927106857,
-0.00453333742916584,
-0.05673706904053688,
-0.0002457743976265192,
0.02485823817551136,
-0.07608184963464737,
-0.04185646399855614,
0.009729624725878239,
0.013239921070635319,
0.004573877900838852,
-0.04113151133060455,
0.05925532430410385,
-0.004468950442969799,
0.04677851125597954,
-0.006724887993186712,
0.008704198524355888,
0.00016424704517703503,
0.00804124865680933,
0.03580883517861366,
0.030848635360598564,
0.06169727072119713,
-0.016340047121047974,
0.02338925562798977,
-0.03273732587695122,
0.029570428654551506,
0.020565755665302277,
-0.004426025319844484,
0.014003029093146324,
0.012810672633349895,
0.004695497918874025,
0.0020103121642023325,
-0.031077567487955093,
-0.023427410051226616,
0.0041613224893808365,
0.014832909218966961,
0.0038441556971520185,
0.03058154694736004,
-0.009414843283593655,
-0.026365377008914948,
-0.05990396440029144,
-0.06440630555152893,
0.06005658954381943,
-0.021481486037373543,
-0.010712126269936562,
-0.03847971186041832,
-0.0219393502920866,
0.003064354881644249,
-0.008332183584570885,
-0.001819535274989903,
-0.023656344041228294,
-0.017732718959450722,
0.1086665540933609,
0.044718120247125626,
0.005933163687586784,
-0.005069897975772619,
-0.002385904313996434,
-0.010483194142580032,
-0.0019351937808096409,
0.017637331038713455,
0.04674035683274269,
0.04151306673884392,
-0.006376720033586025,
0.009462537243962288,
-0.02800605818629265,
0.04929676651954651,
-0.07829486578702927,
-0.024190519005060196,
-0.003972930368036032,
0.001675260253250599,
-0.006910895463079214,
-0.007960168644785881,
0.04433656483888626,
0.013115916401147842,
-0.034893106669187546,
-0.02356095425784588,
0.007836163975298405,
0.008575424551963806,
-0.009147755801677704,
-0.004180400166660547,
-0.01506184134632349,
0.00618594279512763,
0.036934420466423035,
-0.04761793091893196,
0.0060762460343539715,
-0.012562663294374943,
-0.0050412812270224094,
0.04433656483888626,
-0.02293139137327671,
0.012772517278790474,
-0.004442718345671892,
0.02117624320089817,
-0.0069538201205432415,
-0.07875272631645203,
0.025583190843462944,
0.013850407674908638,
-0.057805418968200684,
-0.11324520409107208,
0.0202986691147089,
0.05105191469192505,
-0.03023814782500267,
0.02129070833325386,
0.013640552759170532,
-0.05292152985930443,
-0.03344320133328438,
0.013755018822848797,
-0.03176436573266983,
0.06513125449419022,
-0.003932390362024307,
-0.06726795434951782,
-0.01790441758930683,
0.046816665679216385,
0.01889645867049694,
0.03332873433828354,
-0.0038894652388989925,
-0.046587735414505005,
0.019802648574113846,
0.006672424264252186,
-0.039910539984703064,
0.010502271354198456,
-0.02625091001391411,
0.026174599304795265,
-0.05566871911287308,
-0.0587211474776268,
0.05444774404168129,
0.023789886385202408,
-0.031134800985455513,
0.06677193939685822,
0.05776726454496384,
-0.015157229267060757,
-0.03584698960185051,
-0.02134794183075428,
-0.030848635360598564,
0.05246366560459137,
0.006023782771080732,
0.016874222084879875,
0.04139859974384308,
-0.04052102565765381,
-0.006600882858037949,
0.011360768228769302,
-0.006476877722889185,
-0.010511810891330242,
-0.03235577419400215,
-0.00241929036565125,
-0.027681738138198853,
0.01222880370914936,
0.03241300582885742,
-0.0074164546094834805,
0.014603976160287857,
-0.006147787440568209,
-0.0015154845314100385,
0.019630949944257736,
0.0244003739207983,
-0.019506944343447685,
0.0006748735322616994,
0.04151306673884392,
-0.01479475386440754,
0.0225116815418005,
0.021367019042372704,
0.010635815560817719,
0.0031859753653407097,
-0.05326492711901665,
0.0326419398188591,
0.008007862605154514,
-0.014136573299765587,
-0.011723244562745094,
-0.014603976160287857,
-0.06677193939685822,
-0.020203281193971634,
0.02726202830672264,
-0.04826657101511955,
-0.016816988587379456,
0.0466640442609787,
-0.05311230570077896,
-0.038517870008945465,
0.0015739098889753222,
0.009295607917010784,
-0.045824624598026276,
-0.0031859753653407097,
-0.00003616192043409683,
-0.0021629338152706623,
0.0013628628803417087,
0.030924946069717407,
0.06696271151304245,
-0.029780283570289612,
-0.03937636315822601,
0.049449387937784195,
-0.010111179202795029,
-0.06314717233181,
0.012038026005029678,
0.015824949368834496,
0.027109406888484955,
0.010883825831115246,
0.016444973647594452,
-0.02163410745561123,
0.04178015515208244,
-0.024114208295941353,
0.06303270906209946,
-0.0005750136915594339,
0.025411492213606834,
-0.0005368582787923515,
-0.011885404586791992,
0.020165124908089638,
0.053951725363731384,
-0.013344848528504372,
-0.0023787503596395254,
-0.008236795663833618,
0.011398923583328724,
-0.039681609719991684,
0.007383068557828665,
0.0060094743967056274,
0.0015154845314100385,
0.02794882468879223,
0.030696013942360878,
-0.014117495156824589,
-0.024190519005060196,
-0.0009073829278349876,
0.0006301601533778012,
-0.017732718959450722,
0.030810479074716568,
0.011093680746853352,
0.015405239537358284,
0.061392027884721756,
0.03199329599738121,
0.050212495028972626,
-0.0428103506565094,
0.002544487826526165,
-0.029207952320575714,
-0.023026779294013977,
0.07936321943998337,
-0.02403789758682251,
0.03397737815976143,
0.009204988367855549,
-0.011084141209721565,
0.02035590261220932,
-0.02081376686692238,
0.021424252539873123,
-0.0038298475556075573,
-0.015376622788608074,
0.02380896545946598,
-0.020565755665302277,
0.0014296348672360182,
0.031916987150907516,
-0.056050270795822144,
0.04731268808245659,
-0.047579772770404816,
-0.059980276972055435,
-0.00045339338248595595,
0.037525828927755356,
0.029036253690719604,
-0.11225316673517227,
-0.012619895860552788,
0.010044407099485397,
-0.02544964663684368,
0.025583190843462944,
0.009071444161236286,
-0.02527794800698757,
0.0152335399761796,
-0.06673378497362137,
-0.07535690069198608,
0.10416422039270401,
0.05597396194934845,
-0.019840804859995842,
-0.0537991039454937,
0.046931132674217224,
0.004750346299260855,
0.01626373641192913,
0.04101704806089401,
-0.02293139137327671,
0.019840804859995842,
-0.003064354881644249,
0.01636866293847561,
-0.013478392735123634,
0.07543320953845978,
0.00441410206258297,
0.033958300948143005,
-0.0007571460446342826,
-0.03573252633213997,
0.0609341599047184,
-0.06432998925447464,
0.0027519576251506805,
-0.050975605845451355,
-0.029742129147052765,
0.019630949944257736,
-0.060209210962057114,
0.08607856184244156,
0.03063878044486046,
-0.04864812642335892,
-0.00789339654147625,
0.0003577067982405424,
0.05799619480967522,
-0.0025707194581627846,
-0.08378924429416656,
-0.013258999213576317,
-0.0033934451639652252,
0.0444510318338871,
-0.026231832802295685,
0.008790048770606518,
-0.02842576801776886,
0.00010045599628938362,
-0.034301698207855225,
-0.07169397920370102,
0.035598982125520706,
-0.08722322434186935,
0.0032122069969773293,
0.004118397831916809,
-0.05143347010016441,
0.04006316140294075,
0.006972897797822952,
0.02964673936367035,
0.009553156793117523,
-0.039796072989702225,
0.021481486037373543,
0.028635622933506966,
0.04590093716979027,
-0.015300312079489231,
-0.04368792474269867,
0.016645289957523346,
0.0010295994579792023,
0.016769295558333397,
0.0318215973675251,
0.05948425829410553,
0.04601540416479111,
0.023007702082395554,
-0.04761793091893196,
-0.03199329599738121,
-0.09729625284671783,
-0.016635751351714134,
-0.020775610581040382
]
|
31,459 | prefect_sqlalchemy.database | _get_result_set |
Returns a new or existing result set based on whether the inputs
are unique.
Args:
*execute_args: Args to pass to execute.
**execute_kwargs: Keyword args to pass to execute.
Returns:
The result set from the operation.
| @asynccontextmanager
async def _manage_connection(self, **get_connection_kwargs: Dict[str, Any]):
if self._driver_is_async:
async with self.get_connection(**get_connection_kwargs) as connection:
yield connection
else:
with self.get_connection(**get_connection_kwargs) as connection:
yield connection
| (self, *execute_args: Tuple[Any], **execute_kwargs: Dict[str, Any]) -> sqlalchemy.engine.cursor.CursorResult | [
0.02358894608914852,
-0.09531094133853912,
-0.04035534709692001,
0.012732572853565216,
0.015069293789565563,
0.0008320305496454239,
0.010140006430447102,
0.007364083547145128,
0.013031058944761753,
-0.05795751139521599,
0.006157346069812775,
-0.012996946461498737,
-0.007799020502716303,
0.03677351400256157,
-0.011632437817752361,
0.004168148152530193,
-0.02672731690108776,
-0.029729235917329788,
0.04768958315253258,
-0.004257693886756897,
-0.02665909007191658,
0.09606142342090607,
0.02219032496213913,
-0.07320589572191238,
-0.025106962770223618,
0.08159762620925903,
-0.04079881310462952,
-0.012877551838755608,
0.09039870649576187,
0.023793622851371765,
-0.005133964587002993,
0.03416388854384422,
0.011692134663462639,
0.07341057062149048,
0.06130055710673332,
0.03082084283232689,
-0.004562576301395893,
0.0497022345662117,
-0.07784523069858551,
-0.04666620120406151,
-0.034692637622356415,
-0.02775069698691368,
0.052021898329257965,
0.024492932483553886,
-0.003699098015204072,
-0.004050885327160358,
-0.021678633987903595,
-0.020740533247590065,
0.027801867574453354,
-0.026386188343167305,
0.07927796244621277,
0.044414762407541275,
-0.027307232841849327,
0.055876635015010834,
0.012280579656362534,
0.019427193328738213,
-0.054921478033065796,
0.04874707758426666,
0.029729235917329788,
0.03192950785160065,
-0.05833275243639946,
0.010643168352544308,
-0.008685951121151447,
0.010523773729801178,
-0.012280579656362534,
-0.07818635553121567,
-0.055876635015010834,
0.004571104422211647,
0.04608628526329994,
0.05686590448021889,
0.026607921347022057,
0.02814299426972866,
-0.005266151390969753,
-0.00560301449149847,
0.00838320143520832,
-0.034846141934394836,
-0.04953166842460632,
-0.002976334886625409,
-0.024680553004145622,
0.05236302688717842,
-0.02195153571665287,
0.052090123295784,
0.01591358333826065,
0.013636560179293156,
0.052021898329257965,
-0.01883022114634514,
-0.021149886772036552,
0.006259683985263109,
-0.05072561651468277,
-0.028961699455976486,
0.0030424282886087894,
-0.013116341084241867,
0.041208166629076004,
0.03534077852964401,
-0.0212522242218256,
-0.018489094451069832,
-0.0442441962659359,
0.007666833698749542,
-0.03337929770350456,
0.0011150595964863896,
-0.07177316397428513,
0.012485255487263203,
0.04823538661003113,
0.003146898467093706,
0.029831573367118835,
-0.06829366832971573,
0.05519438162446022,
-0.043323155492544174,
0.010063252411782742,
-0.019171347841620445,
-0.04901997745037079,
0.014796392060816288,
0.029831573367118835,
0.04223154857754707,
-0.034453846514225006,
-0.010310569778084755,
-0.02147395722568035,
-0.027699528262019157,
0.0003357970854267478,
-0.04983868449926376,
-0.10663636028766632,
0.018165023997426033,
0.040662363171577454,
-0.007568759843707085,
0.06382489949464798,
0.07306944578886032,
0.0065666986629366875,
-0.0025392656680196524,
-0.019393080845475197,
0.020911097526550293,
0.01070286612957716,
0.004532727878540754,
0.04632507264614105,
-0.006084856577217579,
0.013397770933806896,
0.03980954363942146,
-0.027153724804520607,
-0.012826383113861084,
0.019631870090961456,
0.007155143190175295,
-0.023179592564702034,
0.022463226690888405,
-0.03612536936998367,
-0.028091825544834137,
0.013508637435734272,
0.011095162481069565,
-0.0321512371301651,
-0.009824463166296482,
0.014335870742797852,
-0.09476513415575027,
0.037285204976797104,
-0.011078106239438057,
0.005381281487643719,
0.06590577214956284,
-0.06218748912215233,
0.050759728997945786,
-0.015069293789565563,
0.05840097740292549,
-0.003758795326575637,
0.01513751968741417,
0.0012600385816767812,
0.015572456642985344,
0.0011886151041835546,
0.0013048115652054548,
0.0009055861155502498,
0.011308366432785988,
0.0038739258889108896,
-0.055706072598695755,
0.029831573367118835,
-0.011026936583220959,
-0.036568835377693176,
0.03960486873984337,
-0.0024113429244607687,
-0.02162746526300907,
0.01835264265537262,
0.05028215050697327,
0.037046413868665695,
0.0018623413052409887,
0.022684959694743156,
-0.003187407273799181,
-0.01183711364865303,
-0.036500610411167145,
0.030240926891565323,
-0.0010937390616163611,
0.025755103677511215,
0.02188331075012684,
0.04328904300928116,
0.008634782396256924,
0.0392296276986599,
0.0017642672173678875,
-0.010174118913710117,
0.04560870677232742,
0.02249733917415142,
-0.03042854554951191,
0.044175971299409866,
-0.044175971299409866,
0.008285126648843288,
0.04878119006752968,
-0.02186625450849533,
0.1127084270119667,
0.028245331719517708,
-0.03557956591248512,
0.007398196030408144,
0.01772155798971653,
0.07798168063163757,
-0.03042854554951191,
0.017465712502598763,
-0.04499467834830284,
-0.012331748381257057,
0.025908611714839935,
-0.08930709958076477,
-0.027153724804520607,
-0.011785944923758507,
0.014020328409969807,
0.05918556824326515,
0.04878119006752968,
0.021917423233389854,
0.01599033735692501,
0.007534646894782782,
0.0475190207362175,
0.03416388854384422,
-0.040560025721788406,
-0.017192810773849487,
-0.028961699455976486,
0.0396730937063694,
-0.01569185219705105,
-0.00956008955836296,
-0.019103122875094414,
0.005014569964259863,
0.026863766834139824,
-0.004933552350848913,
0.06559876352548599,
0.021235167980194092,
-0.011043992824852467,
-0.046154510229825974,
-0.018949616700410843,
-0.012280579656362534,
0.010643168352544308,
-0.04635918512940407,
-0.012570537626743317,
-0.00232392898760736,
0.05212423577904701,
-0.0037523992359638214,
-0.02423708699643612,
-0.07552555948495865,
-0.04690498858690262,
0.007615664973855019,
0.006110440939664841,
0.05355697125196457,
0.01944424957036972,
-0.026522640138864517,
-0.025516314432024956,
0.0093724699690938,
-0.008357616141438484,
-0.07757232338190079,
-0.07463863492012024,
-0.032253578305244446,
-0.010148534551262856,
-0.0028036392759531736,
-0.038786161690950394,
-0.010267929174005985,
0.0839172899723053,
-0.05106674134731293,
0.07839103043079376,
-0.007108238060027361,
-0.015299554914236069,
0.008647574111819267,
-0.03353280574083328,
-0.032884661108255386,
-0.0011790208518505096,
-0.041753970086574554,
0.04052591323852539,
0.04823538661003113,
0.019393080845475197,
-0.037046413868665695,
-0.014821977354586124,
-0.014796392060816288,
-0.015504231676459312,
-0.11571034789085388,
-0.03455618396401405,
-0.021900366991758347,
0.02759719081223011,
0.010012083686888218,
-0.04594983533024788,
-0.014847561717033386,
-0.05103262886404991,
0.027699528262019157,
-0.00846848264336586,
0.004754460416734219,
-0.010481133125722408,
-0.06955583393573761,
-0.032117124646902084,
-0.03230474516749382,
0.018608488142490387,
0.0012472462840378284,
-0.018062684684991837,
-0.0749797597527504,
0.04547225683927536,
-0.008843722753226757,
0.002782318741083145,
-0.027170781046152115,
-0.013124869205057621,
-0.06027717515826225,
0.09469690918922424,
0.07648071646690369,
0.010532302781939507,
0.023861847817897797,
-0.04792837053537369,
-0.07648071646690369,
0.04704144224524498,
-0.028586460277438164,
0.022616732865571976,
0.046154510229825974,
0.012041790410876274,
0.01898372918367386,
0.000597505597397685,
0.000890128780156374,
0.05372753366827965,
-0.015180160291492939,
0.045745156705379486,
-0.070613332092762,
-0.0019476230954751372,
-0.010771091096103191,
-0.005722408648580313,
0.03082084283232689,
0.05659300088882446,
-0.036739397794008255,
0.07068155705928802,
0.00709544587880373,
0.03598891943693161,
-0.060652416199445724,
0.017440129071474075,
-0.057445820420980453,
-0.018216192722320557,
-0.02055291458964348,
-0.010498189367353916,
-0.01584535837173462,
-0.008920476771891117,
0.020092392340302467,
-0.03503376245498657,
0.006660508457571268,
0.0223438311368227,
0.009116624481976032,
-0.03440267965197563,
0.0141141377389431,
0.011393648572266102,
0.03105963207781315,
-0.012110015377402306,
-0.004707555286586285,
-0.03544311597943306,
-0.00008334963786182925,
0.03895672783255577,
0.011982092633843422,
0.054921478033065796,
-0.009474808350205421,
-0.00664345221593976,
-0.01344893965870142,
0.02798948623239994,
-0.04113994166254997,
-0.007666833698749542,
0.000903987092897296,
0.0047246115282177925,
0.061982814222574234,
0.02077464573085308,
-0.02595978043973446,
0.00041361674084328115,
-0.03334518522024155,
0.030769674107432365,
0.0013453203719109297,
-0.0325947031378746,
-0.03042854554951191,
0.04287968948483467,
0.028432952240109444,
0.004873855039477348,
-0.02077464573085308,
0.00601663114503026,
-0.08678276091814041,
-0.005910028703510761,
-0.023503664880990982,
0.06617867946624756,
0.04625684767961502,
-0.0026181512512266636,
0.0727965459227562,
-0.04189042001962662,
0.008442898280918598,
-0.08746501803398132,
0.012792269699275494,
-0.0021554974373430014,
-0.02367422729730606,
0.014924314804375172,
-0.02155923843383789,
0.005044418387115002,
-0.035409003496170044,
0.0029827309772372246,
-0.00846421904861927,
-0.06682682037353516,
0.027938317507505417,
-0.0017461448442190886,
0.01780683919787407,
-0.01262170635163784,
-0.002660792088136077,
0.012306164018809795,
0.052328914403915405,
-0.0030424282886087894,
-0.010191175155341625,
0.023026086390018463,
0.0076796263456344604,
0.04015067219734192,
0.039945993572473526,
-0.006732997950166464,
-0.10581766068935394,
-0.02437353879213333,
-0.0023004766553640366,
0.013184566050767899,
-0.01344893965870142,
-0.02711961232125759,
0.06297208368778229,
0.026283850893378258,
0.01889844611287117,
0.09189967066049576,
-0.012988418340682983,
-0.02594272419810295,
-0.02369128353893757,
-0.008297919295728207,
0.013858292251825333,
-0.03551134094595909,
0.03544311597943306,
-0.008698743768036366,
-0.0075900801457464695,
-0.009398054331541061,
-0.0014188759960234165,
0.01676640287041664,
0.026829654350876808,
-0.004232109524309635,
0.06164168566465378,
0.02469760924577713,
-0.02219032496213913,
0.03864971175789833,
0.03167366236448288,
-0.008929004892706871,
-0.00415322370827198,
0.024100637063384056,
-0.053591083735227585,
-0.07320589572191238,
0.02759719081223011,
-0.03980954363942146,
0.026693204417824745,
0.040423572063446045,
0.047962483018636703,
0.0282282754778862,
-0.06658802926540375,
0.045676931738853455,
0.020126504823565483,
-0.018642602488398552,
-0.019256630912423134,
-0.018096797168254852,
0.06614456325769424,
-0.024322370067238808,
0.017295148223638535,
-0.030854955315589905,
0.06140289455652237,
-0.03221946582198143,
-0.004276882391422987,
-0.00239002238959074,
0.044107746332883835,
0.0013133396860212088,
0.03056499734520912,
0.02367422729730606,
-0.02955867163836956,
-0.012067374773323536,
-0.010591999627649784,
0.008540972135961056,
0.0018506150227040052,
-0.02336721308529377,
-0.0044602383859455585,
-0.08971645683050156,
-0.04823538661003113,
0.009935329668223858,
0.008835194632411003,
-0.03711463883519173,
-0.019086066633462906,
0.0024966245982795954,
0.09592496603727341,
0.010097364895045757,
-0.021303392946720123,
-0.013704785145819187,
0.08384906500577927,
-0.049429330974817276,
0.007317178416997194,
-0.04345960542559624,
-0.026795541867613792,
0.05011158436536789,
0.022002704441547394,
0.004142563324421644,
-0.01944424957036972,
-0.03319167718291283,
-0.03027503937482834,
0.034692637622356415,
0.03520432859659195,
0.0010686875320971012,
0.044175971299409866,
-0.002005188260227442,
0.0425044484436512,
-0.011359536089003086,
0.026283850893378258,
0.017201339825987816,
-0.06781608611345291,
-0.007155143190175295,
0.001066022552549839,
-0.0002008119918173179,
0.019665982574224472,
0.05161254480481148,
-0.043868958950042725,
-0.04717789217829704,
0.019955940544605255,
-0.0007046408718451858,
-0.04625684767961502,
0.007577287964522839,
0.03404449298977852,
-0.018523206934332848,
0.055774297565221786,
-0.004532727878540754,
0.04571104422211647,
0.02751190960407257,
-0.017892122268676758,
-0.0440395213663578,
0.02964395470917225,
0.01501812506467104,
-0.02846706472337246,
-0.0008410917362198234,
-0.005321584176272154,
-0.020569970831274986,
-0.053591083735227585,
-0.027716584503650665,
0.012417030520737171,
-0.031230194494128227,
-0.04884941503405571,
-0.004967664834111929,
-0.05481914058327675,
-0.006123233120888472,
0.028757022693753242,
0.01835264265537262,
-0.037523992359638214,
-0.04823538661003113,
-0.06764552742242813,
-0.005931349005550146,
0.018693771213293076,
0.057275258004665375,
0.005249094683676958,
-0.035954806953668594,
0.039400190114974976,
0.031639546155929565,
0.00015324073319789022,
0.015743020921945572,
-0.04328904300928116,
-0.0638590157032013,
-0.011709190905094147,
-0.04758724570274353,
0.027546022087335587,
-0.0014561867574229836,
0.023895960301160812,
0.018335586413741112,
-0.12007677555084229,
0.04015067219734192,
0.04267501458525658,
-0.016032978892326355,
0.010634640231728554,
0.07777699828147888,
-0.007773436140269041,
0.019734209403395653,
0.010796676389873028,
-0.04291380196809769,
0.00489943940192461,
-0.005752257537096739,
-0.009952385909855366,
0.01070286612957716,
-0.04165163263678551,
0.003809964517131448,
0.03334518522024155,
-0.01019970327615738,
0.02312842383980751,
-0.03622771054506302,
0.01857437565922737,
0.0128604955971241,
-0.005590221844613552,
-0.040730588138103485,
-0.016331464052200317,
0.047860145568847656,
0.04444887489080429,
0.0004008244723081589,
0.02225854992866516,
0.008165732026100159,
-0.025755103677511215,
-0.081529401242733,
0.018761996179819107,
-0.0015659870114177465,
-0.038615599274635315,
0.005747993476688862,
0.021968591958284378,
-0.007372611667960882,
-0.0025861705653369427,
0.062289826571941376,
0.008233957923948765,
-0.010643168352544308,
-0.03557956591248512,
0.03206595778465271,
-0.03440267965197563,
-0.07381992787122726,
-0.00045012799091637135,
-0.00808045081794262,
-0.053284067660570145,
0.028876418247818947,
0.024799946695566177,
-0.005922820884734392,
-0.05229479819536209,
0.007807548623532057,
-0.07504798471927643,
0.01944424957036972,
0.0019625474233180285,
-0.025823328644037247,
0.023878904059529305,
-0.0035221383441239595,
-0.004178808070719242,
-0.006029423326253891,
-0.03800157085061073,
0.042538560926914215,
0.020604083314538002,
-0.06890769302845001,
-0.06791842728853226,
0.028978755697607994,
0.009500392712652683,
-0.04929288104176521,
0.05833275243639946,
-0.001581977354362607,
0.0828256830573082,
-0.0858958289027214,
0.03274821117520332,
0.018335586413741112,
-0.04768958315253258,
-0.028432952240109444,
0.02696610614657402,
-0.01927368715405464,
-0.006353494245558977,
-0.009577145799994469,
-0.0035221383441239595,
-0.012800797820091248,
-0.0019625474233180285,
-0.020280012860894203,
-0.019955940544605255,
-0.02288963459432125,
-0.006268212106078863,
0.03660294786095619,
0.0464274138212204,
-0.026846710592508316,
0.007457893341779709,
-0.04274323955178261,
-0.02580627240240574,
0.0304114893078804,
0.03544311597943306,
-0.0022322512231767178,
-0.016186485067009926,
0.026386188343167305,
0.002810035366564989,
0.03796745836734772,
0.03534077852964401,
0.011274253949522972,
-0.05086206644773483,
-0.013065171428024769,
-0.009662427939474583,
0.011402176693081856,
0.07020397484302521,
-0.004942080471664667,
-0.01811385527253151,
0.028279444202780724,
-0.008886363357305527,
0.0018804636783897877,
0.006268212106078863,
-0.04581338167190552,
-0.00040215699118562043,
0.027068443596363068,
-0.01328690443187952,
0.016902852803468704,
-0.024680553004145622,
0.05215834826231003,
-0.011086634360253811,
-0.04878119006752968,
0.0069504668936133385,
-0.009696540422737598,
0.05843508988618851,
-0.035477228462696075,
-0.011393648572266102,
0.016348520293831825,
-0.04189042001962662,
0.024799946695566177,
-0.09865398705005646,
0.006298060994595289,
-0.017550993710756302,
-0.1083419993519783,
0.033294014632701874,
-0.0014604508178308606,
0.06897591799497604,
-0.03459029644727707,
0.015384837053716183,
0.0028036392759531736,
0.036875851452350616,
-0.01686021126806736,
0.029592784121632576,
0.02759719081223011,
0.030991407111287117,
0.040969375520944595,
-0.008135884068906307,
-0.0195124763995409,
0.00048504024744033813,
-0.023537777364253998,
0.01591358333826065,
0.007517590653151274,
-0.03385687619447708,
0.010532302781939507,
-0.0017951818881556392,
0.023861847817897797,
-0.03474380448460579,
-0.025226356461644173,
-0.0019401609897613525,
-0.007811812683939934,
0.01576007716357708,
0.012562009505927563,
-0.03615948185324669,
0.05659300088882446,
0.06464360654354095,
0.054068662226200104,
-0.014361455105245113,
-0.03520432859659195,
-0.021030491217970848,
0.08337149024009705,
0.0062255715020000935,
-0.015111935324966908,
0.011692134663462639,
0.013312488794326782,
0.017994459718465805,
-0.021132830530405045,
-0.021508069708943367,
-0.039945993572473526,
-0.013184566050767899,
0.053761646151542664,
0.04608628526329994,
-0.054921478033065796,
0.013713313266634941,
0.08787436783313751,
0.02798948623239994,
-0.030462659895420074,
-0.013355130329728127,
0.01796034723520279,
0.0054921479895710945,
0.016587309539318085,
-0.02735840156674385,
-0.029609840363264084,
0.0072020478546619415,
-0.023418381810188293,
0.000011826186891994439,
0.01489873044192791,
0.010933127254247665,
0.03561367839574814,
0.03419800102710724,
0.02038235031068325,
-0.031571321189403534,
-0.01402885653078556,
0.06628101319074631,
0.03474380448460579
]
|
31,462 | prefect_sqlalchemy.database | _manage_connection | null | def block_initialization(self):
"""
Initializes the engine.
"""
super().block_initialization()
if isinstance(self.connection_info, ConnectionComponents):
self._rendered_url = self.connection_info.create_url()
else:
# make rendered url from string
self._rendered_url = make_url(str(self.connection_info))
drivername = self._rendered_url.drivername
try:
AsyncDriver(drivername)
self._driver_is_async = True
except ValueError:
self._driver_is_async = False
if self._unique_results is None:
self._unique_results = {}
if self._exit_stack is None:
self._start_exit_stack()
| (self, **get_connection_kwargs: Dict[str, Any]) | [
0.04346347600221634,
-0.07293578237295151,
-0.07718764245510101,
0.010929465293884277,
0.008022209629416466,
0.006782082840800285,
-0.03197981417179108,
0.026147132739424706,
-0.0454985536634922,
-0.012955458834767342,
0.04669779911637306,
0.04240959510207176,
-0.016180695965886116,
0.009593944065272808,
-0.00983015913516283,
-0.035850100219249725,
0.0009897162672132254,
0.020205428823828697,
-0.046588774770498276,
-0.0764608308672905,
-0.06316013634204865,
0.06795710325241089,
0.004129211883991957,
0.011665364727377892,
0.010865869000554085,
0.0369403213262558,
-0.050622593611478806,
0.01391848735511303,
0.020805049687623978,
0.028400255367159843,
-0.024239245802164078,
0.013436973094940186,
0.008476467803120613,
0.05538322404026985,
0.05160379409790039,
-0.0038725556805729866,
0.045389533042907715,
0.017134640365839005,
-0.06377792358398438,
-0.00832656305283308,
0.01605350337922573,
-0.052003540098667145,
0.004454006906598806,
0.002750536659732461,
-0.035432182252407074,
-0.014845175668597221,
-0.007567950524389744,
-0.01769792102277279,
0.003418297041207552,
-0.06417767703533173,
0.015235837548971176,
0.07377161830663681,
0.018188519403338432,
0.09325022995471954,
-0.022385871037840843,
0.0326521173119545,
-0.044190291315317154,
0.049423351883888245,
-0.012664733454585075,
0.008612745441496372,
-0.027673441916704178,
0.014636216685175896,
-0.0109567204490304,
0.05291205644607544,
-0.01751621626317501,
-0.03270662948489189,
-0.030362654477357864,
0.04531685262918472,
0.04524416849017143,
0.019987383857369423,
0.02000555396080017,
0.05908997729420662,
0.0032343221828341484,
-0.009039748460054398,
0.012864607386291027,
0.009866499342024326,
-0.06279672682285309,
0.013037226162850857,
0.006718486547470093,
0.037394579499959946,
-0.026928458362817764,
0.05084063857793808,
-0.00923508033156395,
-0.0540749616920948,
0.03728555887937546,
-0.04339079558849335,
0.010393439792096615,
-0.0015444797463715076,
-0.009162398986518383,
-0.01820668950676918,
-0.029744861647486687,
0.013100821524858475,
0.00467886496335268,
0.062396980822086334,
0.0009567824890837073,
0.012192304246127605,
0.03710385411977768,
0.00031088333344087005,
-0.010275332257151604,
-0.03772164508700371,
-0.021622715517878532,
-0.04557123780250549,
0.003924795426428318,
-0.05356619134545326,
-0.003352429484948516,
-0.06886562705039978,
0.02500240132212639,
-0.004515331704169512,
0.019133377820253372,
-0.0035364043433219194,
-0.023894010111689568,
-0.008308392018079758,
-0.004983218386769295,
0.021586375311017036,
-0.02498423121869564,
-0.008608203381299973,
-0.021768078207969666,
-0.00949400756508112,
0.057600006461143494,
-0.034142088145017624,
-0.09579408168792725,
0.022204166278243065,
-0.05004114285111427,
-0.0019510412821546197,
0.022949151694774628,
0.04880555719137192,
0.015372115187346935,
-0.013582335785031319,
-0.006645805202424526,
-0.02818221226334572,
0.0971023440361023,
0.006695773918181658,
-0.021241137757897377,
-0.007608833722770214,
-0.016771232709288597,
-0.0005470978794619441,
-0.023748647421598434,
-0.01709829829633236,
0.020677857100963593,
0.047533635050058365,
-0.03401489555835724,
-0.05214890465140343,
-0.03041716478765011,
-0.013764039613306522,
0.05331180617213249,
0.02800050936639309,
-0.02740088663995266,
-0.04106498882174492,
-0.01498145330697298,
-0.06116139516234398,
0.09906474500894547,
-0.015862714499235153,
-0.00008098581747617573,
-0.01026624720543623,
-0.025529341772198677,
0.0020646059419959784,
-0.0001300315634580329,
0.025656532496213913,
0.03234322369098663,
-0.01480883453041315,
0.018769970163702965,
-0.01880631223320961,
0.005024101585149765,
-0.02000555396080017,
-0.034560006111860275,
0.0021418300457298756,
-0.025492999702692032,
-0.025383979082107544,
0.007849590852856636,
0.018424734473228455,
-0.045389533042907715,
0.01572643779218197,
-0.06421401351690292,
0.01403659489005804,
0.04502612724900246,
0.05004114285111427,
0.01837022416293621,
-0.025474829599261284,
0.005601010285317898,
-0.005133123602718115,
-0.01085678394883871,
-0.03014460951089859,
-0.03728555887937546,
0.04215520992875099,
0.017307257279753685,
-0.0077632819302380085,
0.033015523105859756,
0.007177288178354502,
0.025220444425940514,
0.03167092055082321,
-0.042627640068531036,
0.024548141285777092,
0.01682574301958084,
0.00905791949480772,
0.09288682788610458,
0.011320128105580807,
0.049168966710567474,
0.020477984100580215,
-0.04629804939031601,
0.05018650367856026,
0.013100821524858475,
-0.029127070680260658,
0.003263849066570401,
-0.05709123611450195,
0.03939331695437431,
0.0219134408980608,
0.01993287354707718,
-0.009207824245095253,
0.03450549393892288,
0.015844544395804405,
-0.07097338140010834,
-0.010811357758939266,
-0.02963583916425705,
0.06283307075500488,
-0.02291281148791313,
-0.0006087067304179072,
0.031053127720952034,
0.0236032847315073,
0.01580820418894291,
0.015235837548971176,
0.019387762993574142,
-0.035504862666130066,
0.0015376658411696553,
-0.08002221584320068,
-0.051821835339069366,
0.014563535340130329,
-0.025874577462673187,
-0.03252492472529411,
-0.06588568538427353,
-0.019896533340215683,
-0.019351422786712646,
0.021840760484337807,
0.020932242274284363,
0.001194700482301414,
-0.00063880137167871,
0.005596467759460211,
0.013754954561591148,
0.04964139312505722,
-0.07017388939857483,
-0.018660949543118477,
0.0012514828704297543,
0.027255523949861526,
-0.03194347396492958,
-0.08045830577611923,
-0.08002221584320068,
-0.02293098159134388,
0.004924164619296789,
0.012056026607751846,
-0.013764039613306522,
-0.05189451947808266,
-0.005755458027124405,
-0.06148846074938774,
0.007799622602760792,
-0.04775168001651764,
-0.06574032455682755,
-0.06512252986431122,
0.06479546427726746,
0.032597605139017105,
0.042082529515028,
0.01249211560934782,
0.0015467510093003511,
0.013436973094940186,
-0.09339559823274612,
0.08736304193735123,
0.037067513912916183,
-0.012746499851346016,
-0.028291234746575356,
0.02919975109398365,
-0.039720382541418076,
0.03092593513429165,
0.06406865268945694,
0.00026290223468095064,
-0.006568581331521273,
0.00657312385737896,
-0.019024355337023735,
-0.004024732392281294,
-0.014481768943369389,
-0.056291744112968445,
-0.05447470769286156,
0.010238992050290108,
0.06018019840121269,
-0.013346121646463871,
0.011092998087406158,
-0.004592556040734053,
-0.003931609448045492,
-0.0601075142621994,
-0.01889716275036335,
0.02996290661394596,
-0.0335061252117157,
-0.04775168001651764,
-0.05422032251954079,
0.04408126696944237,
-0.00927596352994442,
-0.0006603786605410278,
-0.008948897011578083,
-0.029254263266921043,
0.004299559164792299,
0.04673413932323456,
0.008649086579680443,
0.0005876972572878003,
-0.034741707146167755,
-0.05392959713935852,
0.025129593908786774,
0.06712126731872559,
-0.0018465617904439569,
-0.04088328778743744,
-0.025692874565720558,
-0.0060552689246833324,
-0.017934134230017662,
-0.022603914141654968,
-0.0045857420191168785,
0.046080004423856735,
0.10168127715587616,
0.026601390913128853,
-0.003082145471125841,
0.00983015913516283,
0.02721918374300003,
-0.024239245802164078,
0.03659508377313614,
0.026074452325701714,
-0.06250600516796112,
0.03228871151804924,
-0.006791167892515659,
0.02240404114127159,
0.012310411781072617,
0.005228518042713404,
0.09375900030136108,
0.016335144639015198,
-0.013209844008088112,
0.011083913035690784,
-0.037830665707588196,
0.035759247839450836,
0.004674322437494993,
-0.0219134408980608,
-0.0016909781843423843,
-0.01675306260585785,
-0.04858751595020294,
-0.06450474262237549,
0.0032615778036415577,
-0.084165059030056,
0.013282525353133678,
-0.037757985293865204,
-0.044771742075681686,
0.007658802438527346,
0.03167092055082321,
-0.017561642453074455,
0.03632253035902977,
-0.05207622051239014,
0.005069527309387922,
-0.06824783235788345,
-0.01572643779218197,
-0.02369413524866104,
-0.036213506013154984,
0.07617010176181793,
0.006941073574125767,
-0.04131937399506569,
-0.018342968076467514,
-0.02173173800110817,
-0.017488962039351463,
-0.024511801078915596,
-0.02954498864710331,
0.034341961145401,
-0.03721287474036217,
0.017643408849835396,
0.0011464355047792196,
-0.0678117424249649,
0.03287016227841377,
0.04328177124261856,
0.016644040122628212,
-0.01922423020005226,
-0.03485073149204254,
-0.023548772558569908,
0.042627640068531036,
0.03183445334434509,
-0.004385868087410927,
-0.039465997368097305,
-0.017461705952882767,
-0.027927827090024948,
0.0015444797463715076,
-0.012074197642505169,
0.006137035321444273,
0.02910890057682991,
0.008390158414840698,
-0.05916265770792961,
-0.0141728725284338,
-0.04989577829837799,
-0.0043358998373150826,
0.05854486674070358,
-0.0015660569770261645,
-0.02627432532608509,
0.027273694053292274,
0.007213628850877285,
-0.04077426344156265,
0.036885809153318405,
0.030944105237722397,
0.00794044230133295,
0.06290575116872787,
0.029581328853964806,
-0.01193792000412941,
0.0022054261062294245,
-0.01304631121456623,
-0.018497414886951447,
0.030635209754109383,
0.0279096569865942,
0.01597173698246479,
-0.02972669154405594,
0.0909971073269844,
-0.0008761515491642058,
0.04077426344156265,
-0.05145842954516411,
-0.0549834780395031,
-0.017307257279753685,
-0.1202150285243988,
-0.044117607176303864,
-0.04012013226747513,
0.010420694947242737,
0.06628543138504028,
0.015390286222100258,
0.028273064643144608,
0.05207622051239014,
0.010538802482187748,
0.027346376329660416,
0.023821327835321426,
0.029127070680260658,
0.049859438091516495,
0.05563760921359062,
0.03939331695437431,
-0.0025824608746916056,
-0.0014717982849106193,
-0.03308820724487305,
-0.0253476370126009,
0.06519521027803421,
-0.03205249458551407,
0.013800380751490593,
0.01176530122756958,
0.02276744693517685,
0.03014460951089859,
0.03108946792781353,
-0.00390889635309577,
-0.0014388645067811012,
-0.027201013639569283,
-0.008385616354644299,
-0.026328835636377335,
0.013645932078361511,
0.05007748305797577,
0.006822966039180756,
-0.015154071152210236,
-0.01391848735511303,
0.0022871927358210087,
0.01489968691021204,
-0.06973779946565628,
0.027945997193455696,
0.04604366421699524,
-0.026237985119223595,
-0.060325559228658676,
0.018061326816678047,
0.04738827049732208,
0.05850852653384209,
0.023766817525029182,
0.0032116093207150698,
-0.011610853485763073,
0.009148770943284035,
0.008998865261673927,
0.004765174351632595,
0.014054764993488789,
0.024766186252236366,
0.03819407522678375,
0.0024166565854102373,
-0.029908394441008568,
-0.013818550854921341,
-0.003263849066570401,
0.022004293277859688,
0.039284296333789825,
0.003788517788052559,
0.008285678923130035,
-0.05076795816421509,
-0.05403861775994301,
-0.004260946996510029,
0.023167194798588753,
-0.05770903080701828,
-0.07002852857112885,
0.01785236783325672,
0.04575293883681297,
0.008203912526369095,
-0.033705998212099075,
-0.05632808431982994,
0.04858751595020294,
-0.05687319487333298,
0.003481893101707101,
-0.03497792407870293,
-0.06901098787784576,
0.03125300258398056,
0.017134640365839005,
0.014163787476718426,
-0.017452619969844818,
0.0016489592380821705,
0.02954498864710331,
0.022222338244318962,
0.03167092055082321,
-0.012246815487742424,
0.034650854766368866,
-0.004774259403347969,
0.03837577626109123,
-0.0219134408980608,
0.011692619882524014,
-0.019115207716822624,
0.0064186761155724525,
0.01993287354707718,
-0.0026869403664022684,
0.07017388939857483,
0.02053249441087246,
-0.010675080120563507,
-0.02576555497944355,
-0.042991045862436295,
0.03881186619400978,
0.0015876343240961432,
-0.0064323036931455135,
-0.032615777105093,
0.004254132974892855,
0.014200127683579922,
0.03844846040010452,
0.028454767540097237,
0.04931432753801346,
-0.06624909490346909,
0.01640782505273819,
-0.0033592432737350464,
0.03230687975883484,
0.007172745652496815,
-0.002249716315418482,
0.02284012921154499,
0.028127700090408325,
-0.021749908104538918,
-0.014027509838342667,
0.017452619969844818,
0.03479621931910515,
0.031034957617521286,
-0.004633439239114523,
0.02696479856967926,
-0.07958613336086273,
-0.046152688562870026,
0.014245553873479366,
0.01873362995684147,
0.03615899384021759,
-0.0816212072968483,
0.024457290768623352,
-0.07762373238801956,
0.0017398109193891287,
0.10633288323879242,
-0.015372115187346935,
-0.04502612724900246,
0.042082529515028,
0.04320909082889557,
0.007863218896090984,
-0.054329343140125275,
-0.03288833424448967,
-0.05680051073431969,
0.020205428823828697,
-0.025492999702692032,
0.00846284069120884,
0.016516847535967827,
0.026728583499789238,
0.005464732646942139,
-0.11541806161403656,
-0.006182461511343718,
0.051821835339069366,
0.017816027626395226,
0.06039824336767197,
0.05832682177424431,
-0.031561896204948425,
-0.012464859522879124,
0.019260570406913757,
0.007177288178354502,
0.029744861647486687,
0.0107386764138937,
0.012074197642505169,
-0.011556342244148254,
-0.007554322946816683,
0.036377038806676865,
0.02378498762845993,
-0.030253631994128227,
0.027673441916704178,
-0.03288833424448967,
-0.0066730608232319355,
-0.010793187655508518,
-0.007408959791064262,
-0.04517148807644844,
0.018079496920108795,
0.06261502206325531,
0.03372417017817497,
-0.03214334696531296,
-0.03281565010547638,
-0.009012493304908276,
-0.008608203381299973,
-0.033033695071935654,
0.0009391799103468657,
0.032761141657829285,
0.01598990708589554,
0.026946628466248512,
0.023912180215120316,
-0.0032615778036415577,
-0.058435842394828796,
0.062396980822086334,
0.01796139031648636,
0.01480883453041315,
0.022603914141654968,
-0.027764294296503067,
-0.0395023413002491,
0.021259309723973274,
-0.024112053215503693,
0.023675965145230293,
0.0133097805082798,
-0.005946246907114983,
0.02465716376900673,
0.012346751987934113,
-0.007318108342587948,
-0.034741707146167755,
-0.04945969209074974,
0.008362903259694576,
0.08125780522823334,
0.06232430040836334,
0.003132113954052329,
0.04815142601728439,
0.013455144129693508,
0.028781833127141,
-0.06504984945058823,
0.021186627447605133,
0.018079496920108795,
-0.05076795816421509,
-0.009375900030136108,
0.04302738606929779,
0.02380315773189068,
-0.022894639521837234,
-0.003418297041207552,
-0.01434549130499363,
0.023821327835321426,
-0.04542587324976921,
0.036068145185709,
0.03312454745173454,
0.04793338105082512,
0.004824227653443813,
0.05447470769286156,
-0.013409717939794064,
0.017643408849835396,
-0.008399244397878647,
0.003041262272745371,
0.0012083282927051187,
-0.006150663364678621,
0.010838613845407963,
0.02309451438486576,
0.0033251738641411066,
-0.005405678879469633,
-0.01778877153992653,
0.04789704084396362,
-0.000829590018838644,
-0.05040454864501953,
0.0020839120261371136,
-0.058617547154426575,
-0.010884039103984833,
0.03712202236056328,
-0.02869098260998726,
-0.03372417017817497,
0.02852744795382023,
-0.010729591362178326,
-0.009975521825253963,
0.061779189854860306,
0.0386665053665638,
0.013237099163234234,
-0.011819812469184399,
-0.048042405396699905,
-0.01967848837375641,
0.017225490882992744,
-0.007268139626830816,
0.03288833424448967,
-0.006282398477196693,
-0.01588997058570385,
0.04026549309492111,
-0.08140316605567932,
-0.03932063654065132,
0.022622084245085716,
0.030526187270879745,
0.012419434264302254,
-0.0030980445444583893,
-0.09048833698034286,
-0.009466752409934998,
-0.03841212019324303,
0.01725274696946144,
-0.035759247839450836,
-0.01656227372586727,
0.07220897078514099,
-0.05254865065217018,
-0.03657691180706024,
0.039647702127695084,
-0.02120479755103588,
0.007277225144207478,
-0.044771742075681686,
-0.05018650367856026,
-0.0038929972797632217,
-0.0970296636223793,
0.025383979082107544,
0.014481768943369389,
0.09935547411441803,
-0.019533125683665276,
-0.047715336084365845,
0.0025733758229762316,
0.008876215666532516,
0.023730475455522537,
-0.002455268520861864,
0.00846284069120884,
0.0075361523777246475,
-0.0029390540439635515,
0.02053249441087246,
-0.0266195610165596,
-0.01588997058570385,
-0.03768530488014221,
-0.01837022416293621,
0.04200984910130501,
-0.06417767703533173,
0.0033410729374736547,
-0.027419056743383408,
0.038775525987148285,
-0.023766817525029182,
-0.009957351721823215,
0.021586375311017036,
-0.007027382496744394,
0.06901098787784576,
0.06483180820941925,
-0.06494083255529404,
0.0029117984231561422,
0.10938550531864166,
0.057163920253515244,
-0.05207622051239014,
-0.05538322404026985,
-0.07944076508283615,
0.07308114320039749,
-0.006173375993967056,
-0.02311268448829651,
0.014445427805185318,
-0.024184735491871834,
-0.018397478386759758,
-0.037503600120544434,
-0.013982083648443222,
-0.06930170953273773,
-0.028400255367159843,
0.0011186121264472604,
0.04993211850523949,
0.011492745950818062,
0.03492341190576553,
0.016934765502810478,
0.027091991156339645,
0.020423471927642822,
-0.01898801513016224,
-0.007499811705201864,
0.013673188164830208,
0.06148846074938774,
-0.030090099200606346,
-0.03021729178726673,
0.007835962809622288,
0.05254865065217018,
-0.03537767007946968,
-0.01906069740653038,
0.02758258953690529,
0.010556972585618496,
0.012137793004512787,
0.0036000004038214684,
-0.00573274539783597,
0.02938145585358143,
0.07293578237295151,
0.01099306158721447
]
|
31,463 | prefect_sqlalchemy.database | _reset_cursor_results |
Closes all the existing cursor results.
| def _reset_cursor_results(self) -> None:
"""
Closes all the existing cursor results.
"""
input_hashes = tuple(self._unique_results.keys())
for input_hash in input_hashes:
try:
cursor_result = self._unique_results.pop(input_hash)
cursor_result.close()
except Exception as exc:
self.logger.warning(
f"Failed to close connection for input hash {input_hash!r}: {exc}"
)
| (self) -> NoneType | [
-0.02525523491203785,
-0.02481979876756668,
-0.08255849033594131,
0.005146842449903488,
-0.0505104698240757,
-0.0021804412826895714,
-0.0687987431883812,
0.015719207003712654,
0.06984378397464752,
-0.029923098161816597,
-0.044553715735673904,
-0.03915432095527649,
-0.007062756922096014,
0.028251027688384056,
-0.009074467234313488,
0.042986150830984116,
-0.026596374809741974,
0.06148343160748482,
-0.015153140760958195,
-0.016990676522254944,
-0.009030923247337341,
0.050998155027627945,
0.018410194665193558,
0.0180966816842556,
-0.024070851504802704,
-0.009257350116968155,
0.016224311664700508,
-0.005329725332558155,
0.03258796036243439,
0.018706291913986206,
-0.03323240578174591,
0.03744741529226303,
0.033058229833841324,
0.027989767491817474,
-0.033580753952264786,
-0.032030604779720306,
0.03213511034846306,
0.042881645262241364,
0.09300893545150757,
0.04305582121014595,
-0.05859214439988136,
0.007628822699189186,
-0.03042820282280445,
-0.044658221304416656,
0.01668587140738964,
0.0017406517872586846,
-0.04361317679286003,
-0.013202391564846039,
0.02050028368830681,
-0.03056754358112812,
-0.010345937684178352,
0.020866049453616142,
-0.019281065091490746,
0.05796511843800545,
0.0336155891418457,
-0.012653743848204613,
-0.03633270412683487,
-0.004221543204039335,
-0.00036685404484160244,
-0.053088244050741196,
-0.03796993941068649,
0.016015302389860153,
-0.037935104221105576,
0.02424502559006214,
0.04880356416106224,
-0.05597953498363495,
0.001345494412817061,
0.0027780758682638407,
0.019455239176750183,
-0.005734680220484734,
-0.01298467442393303,
0.02187625877559185,
-0.008155698888003826,
-0.014961549080908298,
-0.002839036751538515,
0.0020421906374394894,
0.013472361490130424,
-0.0183927770704031,
0.012000590562820435,
-0.021127309650182724,
0.01989067532122135,
0.06057772785425186,
0.00799458846449852,
0.024210190400481224,
-0.012174764648079872,
0.0013607345754280686,
0.04869905859231949,
0.04765401408076286,
-0.0200822651386261,
0.030097272247076035,
0.03967684507369995,
0.024715295061469078,
-0.042150117456912994,
0.007785579189658165,
0.03438195213675499,
0.011721912771463394,
-0.03056754358112812,
0.0053689144551754,
-0.019855840131640434,
-0.05761677026748657,
-0.012392482720315456,
-0.019437821581959724,
0.0395723395049572,
0.021963344886898994,
-0.004467563703656197,
-0.04751467704772949,
0.04486723244190216,
-0.06113508716225624,
0.024036016315221786,
0.058417972177267075,
-0.09454166144132614,
0.009257350116968155,
-0.01724322885274887,
0.023234816268086433,
0.00890900194644928,
-0.023478658869862556,
-0.013202391564846039,
0.013359148055315018,
0.040896061807870865,
0.014421610161662102,
-0.008090383373200893,
0.003548795823007822,
-0.00807296670973301,
0.007032276596873999,
0.027728505432605743,
0.04988344386219978,
0.0005736857419833541,
0.02664862759411335,
-0.008464857935905457,
0.056293047964572906,
0.012261851690709591,
0.006570715457201004,
-0.009457649663090706,
-0.003579276381060481,
0.016572659835219383,
-0.004154050722718239,
-0.014761249534785748,
-0.019733916968107224,
-0.0005110919009894133,
-0.02553391270339489,
0.010615907609462738,
0.04389185458421707,
-0.003396393731236458,
0.043543506413698196,
0.011312603019177914,
0.019838422536849976,
0.012662451714277267,
-0.0046983445063233376,
-0.0346083790063858,
-0.05904499813914299,
-0.0025102831423282623,
-0.016868755221366882,
-0.06942576915025711,
0.05960235372185707,
-0.041174739599227905,
0.03168225660920143,
0.01326335221529007,
-0.022485867142677307,
-0.026056434959173203,
-0.03547925129532814,
0.061796948313713074,
-0.0687987431883812,
0.059950701892375946,
-0.0369945652782917,
-0.046504467725753784,
-0.02509847842156887,
0.00341598829254508,
-0.02063962258398533,
-0.013272061012685299,
-0.017652537673711777,
-0.017852839082479477,
0.025708086788654327,
0.03744741529226303,
-0.04403119534254074,
-0.054899655282497406,
0.04068705439567566,
0.0033005978912115097,
-0.04577293619513512,
0.004312984645366669,
-0.03157775104045868,
-0.02483721636235714,
-0.09934886544942856,
-0.004278149455785751,
0.006379123777151108,
0.04263780266046524,
0.014674162492156029,
0.009213806129992008,
0.008364708162844181,
0.016738124191761017,
-0.0049291253089904785,
-0.05573568865656853,
-0.033859431743621826,
-0.041453421115875244,
-0.005799995269626379,
0.07886600494384766,
-0.01037206407636404,
-0.04518074542284012,
0.043264828622341156,
0.019002387300133705,
-0.017112597823143005,
-0.07008763402700424,
0.02372250333428383,
0.022363945841789246,
-0.05381977558135986,
0.0322221964597702,
-0.03269246593117714,
0.015344732441008091,
-0.04051287844777107,
0.020587369799613953,
0.007541735656559467,
0.012505695223808289,
0.004794140346348286,
0.005307953804731369,
0.00008633860852569342,
0.0245585385710001,
0.001442378736101091,
0.046190954744815826,
-0.04883839935064316,
0.02241619862616062,
0.013315604999661446,
-0.012087677605450153,
-0.06524559110403061,
0.017513198778033257,
-0.046922482550144196,
0.00038862580549903214,
0.027711087837815285,
-0.02159757912158966,
-0.008390833623707294,
0.04681798070669174,
0.006440084893256426,
0.024297278374433517,
0.007541735656559467,
-0.01311530452221632,
-0.03086363896727562,
-0.0071541983634233475,
-0.03995552286505699,
-0.030933307483792305,
-0.009422815404832363,
-0.036681052297353745,
0.001780929509550333,
-0.0449368990957737,
0.025290070101618767,
0.04208044707775116,
-0.005882727913558483,
-0.04754951223731041,
0.031908683478832245,
0.019002387300133705,
0.0294354110956192,
0.032169945538043976,
0.0013912151334807277,
0.07384978979825974,
-0.05444680154323578,
0.049569930881261826,
-0.035705678164958954,
0.10311102867126465,
-0.10408639907836914,
-0.09990622848272324,
-0.017147433012723923,
0.03481739014387131,
-0.011634825728833675,
0.03403360769152641,
0.06973928213119507,
0.022102683782577515,
0.057999953627586365,
0.010537529364228249,
0.0008964519947767258,
-0.004371768329292536,
0.037830598652362823,
-0.009501193650066853,
0.018688874319195747,
0.03523540496826172,
-0.024157937616109848,
-0.02569066919386387,
0.002043279120698571,
-0.02201559767127037,
0.06775369495153427,
0.016259144991636276,
0.0014750363770872355,
-0.08457890897989273,
-0.007006150670349598,
0.09558670967817307,
0.021510493010282516,
0.014282270334661007,
-0.009779872372746468,
0.04950026050209999,
0.015118305571377277,
0.014761249534785748,
-0.010920711793005466,
0.017765751108527184,
-0.005839184392243624,
-0.002514637541025877,
0.006736180745065212,
0.004606903064996004,
0.00967536773532629,
-0.023339319974184036,
0.022346528246998787,
-0.036402374505996704,
-0.009431524202227592,
-0.02999276854097843,
0.055596351623535156,
-0.06597712635993958,
-0.04591227322816849,
0.03215252608060837,
0.046783145517110825,
-0.008229723200201988,
-0.015257645398378372,
0.01895013451576233,
-0.013324313797056675,
-0.020953135564923286,
0.012627617456018925,
0.03608885779976845,
0.03650687634944916,
-0.012183473445475101,
-0.0008926418959163129,
0.005974169354885817,
-0.0197861697524786,
0.045947108417749405,
0.021214397624135017,
-0.02849487215280533,
0.058417972177267075,
-0.07872666418552399,
-0.04598194360733032,
0.0006585955852642655,
-0.0346083790063858,
0.0104417335242033,
-0.004672218579798937,
-0.01893271692097187,
0.011068759486079216,
0.028512289747595787,
-0.01781800389289856,
-0.02680538408458233,
-0.05796511843800545,
-0.029365742579102516,
-0.0072151594795286655,
0.013550739735364914,
-0.05166001617908478,
-0.016311397776007652,
-0.03967684507369995,
0.05991586670279503,
-0.049744103103876114,
-0.0389801487326622,
0.016459446400403976,
0.05413328856229782,
-0.04086122661828995,
-0.020012596622109413,
0.04183660075068474,
0.0020247730426490307,
-0.0027933160308748484,
-0.0072020962834358215,
-0.0835338681936264,
0.05120716616511345,
0.01678166724741459,
0.02171950228512287,
0.0642353817820549,
0.11725395917892456,
0.012314104475080967,
0.004297744017094374,
0.029087062925100327,
0.015858545899391174,
-0.030062437057495117,
-0.0022316048853099346,
-0.026021599769592285,
-0.00518603203818202,
-0.01662491075694561,
0.019246229901909828,
-0.006026421673595905,
-0.06427022069692612,
-0.010102094151079655,
-0.014430318959057331,
-0.00812521856278181,
-0.1035987138748169,
-0.04350867494940758,
0.025324903428554535,
-0.03734291344881058,
0.0014293156564235687,
0.004515461623668671,
-0.0002752766013145447,
0.06994829326868057,
-0.051973532885313034,
0.01234893873333931,
0.05552668124437332,
-0.040896061807870865,
0.0381789468228817,
-0.033058229833841324,
-0.01212251279503107,
-0.04082639142870903,
-0.050127286463975906,
-0.00035188597394153476,
0.03845762461423874,
0.0532972551882267,
0.008025068789720535,
-0.015623411163687706,
0.03967684507369995,
0.0009514256380498409,
0.032466039061546326,
0.044553715735673904,
0.010398189537227154,
-0.030079854652285576,
-0.07266540825366974,
-0.042289454489946365,
-0.017992177978157997,
-0.006209304090589285,
-0.014299687929451466,
0.01696455106139183,
0.028703881427645683,
-0.01865403912961483,
-0.03168225660920143,
-0.027676254510879517,
0.023217398673295975,
-0.0737801194190979,
-0.05712908133864403,
-0.04138375073671341,
0.05064980685710907,
-0.026265444234013557,
-0.00645314808934927,
0.03953750431537628,
-0.01962941326200962,
0.024210190400481224,
0.06886841356754303,
0.07134168595075607,
0.015858545899391174,
0.0008643386536277831,
-0.014047135598957539,
0.04274230822920799,
-0.03058495931327343,
-0.009901793673634529,
0.024036016315221786,
0.018845630809664726,
-0.03312790021300316,
-0.009544736705720425,
-0.026979558169841766,
-0.03671588748693466,
0.000297456601401791,
-0.027275653555989265,
-0.023095477372407913,
0.056745897978544235,
-0.013785874471068382,
0.06357352435588837,
0.013080470263957977,
0.06336451321840286,
0.033145319670438766,
0.044379543513059616,
0.03814411163330078,
-0.03915432095527649,
0.07162036001682281,
0.00806425791233778,
0.013237226754426956,
0.018009595572948456,
-0.04782819002866745,
0.05817412585020065,
-0.017835421487689018,
0.003960282076150179,
-0.018427612259984016,
-0.0723867267370224,
0.03800477460026741,
-0.0032984206918627024,
-0.05751226469874382,
0.04751467704772949,
-0.008360353298485279,
0.014221309684216976,
0.03727324306964874,
0.007998942397534847,
-0.007689783349633217,
0.02931348979473114,
-0.03366784006357193,
-0.03629786893725395,
-0.04058254882693291,
0.026578957214951515,
-0.00968407653272152,
0.003442114219069481,
-0.03845762461423874,
-0.016651038080453873,
-0.019455239176750183,
0.005843538790941238,
-0.038074444979429245,
-0.05709424614906311,
0.005003149155527353,
-0.003555327421054244,
0.01922881230711937,
-0.02596934884786606,
-0.03943300247192383,
-0.05232188105583191,
0.03985101729631424,
-0.032901473343372345,
-0.016433319076895714,
-0.009231223724782467,
0.05834830179810524,
-0.09809481352567673,
-0.04406603053212166,
-0.00413663312792778,
-0.02567325159907341,
-0.025220399722456932,
-0.03324982151389122,
-0.006413958966732025,
0.044275037944316864,
-0.021562745794653893,
0.008242785930633545,
0.023670250549912453,
0.02971409074962139,
-0.0898737981915474,
0.04612128436565399,
-0.00853017345070839,
-0.02776334062218666,
-0.030776550993323326,
0.09482034295797348,
0.017748333513736725,
0.056467220187187195,
0.007563507184386253,
-0.03549666702747345,
-0.06298132985830307,
-0.08179212361574173,
-0.05793028324842453,
0.04894290491938591,
-0.0336155891418457,
-0.017905090004205704,
-0.05754709988832474,
-0.020517701283097267,
-0.06071706861257553,
-0.001203977968543768,
0.04758434742689133,
-0.012958548031747341,
0.07844798266887665,
-0.07092366367578506,
-0.0020726709626615047,
-0.020866049453616142,
-0.02990568056702614,
0.001189826405607164,
0.003975522238761187,
0.014439026825129986,
-0.021214397624135017,
-0.03636753931641579,
0.010964255779981613,
0.0053602056577801704,
-0.04490206390619278,
0.06200595572590828,
0.0021880613639950752,
0.002431904897093773,
-0.057442594319581985,
0.006897291634231806,
0.0051207165233790874,
-0.009448940865695477,
0.0636431947350502,
0.012932421639561653,
-0.03577534481883049,
0.022677458822727203,
0.026613792404532433,
-0.00008953634096542373,
0.04246363043785095,
-0.01648557186126709,
0.02302580699324608,
-0.0048681641928851604,
0.017626412212848663,
0.03044562041759491,
-0.061065416783094406,
-0.0725957378745079,
-0.001957280794158578,
0.02732790634036064,
-0.016537824645638466,
0.06350385397672653,
-0.00797281600534916,
0.04685281589627266,
0.02229427546262741,
-0.04054771363735199,
-0.04908224195241928,
0.023356737568974495,
-0.0010254496010020375,
0.001753714750520885,
0.00981470663100481,
-0.003148195566609502,
0.04688765108585358,
-0.010816207155585289,
-0.009718910790979862,
0.04828104004263878,
-0.026700878515839577,
0.031177151948213577,
-0.048455215990543365,
0.002136897761374712,
-0.05138133838772774,
0.0262480266392231,
-0.04110507294535637,
0.026335114613175392,
0.026700878515839577,
0.006575069855898619,
-0.09886118024587631,
0.032744716852903366,
0.006400895770639181,
0.0029391867574304342,
-0.00659248698502779,
0.04782819002866745,
0.022242024540901184,
-0.016947133466601372,
0.020535118877887726,
-0.033162735402584076,
-0.024906886741518974,
-0.015292479656636715,
0.01395133975893259,
0.005725971423089504,
-0.019437821581959724,
-0.06043839082121849,
0.034712884575128555,
-0.003326724050566554,
0.02340899035334587,
-0.038353122770786285,
0.001967078074812889,
0.019402986392378807,
-0.0058914367109537125,
-0.03544441610574722,
0.032169945538043976,
-0.010772664099931717,
0.07531285285949707,
-0.015309897251427174,
0.016372358426451683,
0.05695490911602974,
0.03476513549685478,
-0.01375104021281004,
-0.008242785930633545,
0.021649831905961037,
0.002884757472202182,
-0.015719207003712654,
0.048733893781900406,
-0.022799380123615265,
0.014334523119032383,
-0.009004797786474228,
0.007890083827078342,
-0.05413328856229782,
0.01851470023393631,
-0.02185884118080139,
0.07809963822364807,
-0.014482570812106133,
0.0712023451924324,
-0.04518074542284012,
-0.04765401408076286,
0.003690312383696437,
0.0674053505063057,
-0.0013128367718309164,
0.02832069806754589,
0.02999276854097843,
-0.02105764113366604,
-0.0013095709728077054,
-0.006527171935886145,
0.04657413810491562,
0.010215306654572487,
0.04629545658826828,
-0.012732122093439102,
-0.018915299326181412,
-0.01549278013408184,
0.0058653103187680244,
0.0019703437574207783,
0.04486723244190216,
0.011303895153105259,
-0.005377623252570629,
0.043961524963378906,
0.027745923027396202,
-0.012845334596931934,
0.013071761466562748,
-0.04371768236160278,
-0.04998794570565224,
-0.012923712842166424,
-0.0036162883043289185,
-0.004889936186373234,
-0.03706423565745354,
0.01825343817472458,
-0.010363355278968811,
-0.017434820532798767,
-0.024715295061469078,
-0.013437526300549507,
-0.010999090038239956,
0.05496932566165924,
-0.062354303896427155,
0.01738256774842739,
0.0063965413719415665,
-0.07155068963766098,
-0.00529924500733614,
-0.0032418142072856426,
-0.02342640794813633,
0.0021935042459517717,
-0.009266058914363384,
0.03436453640460968,
-0.04065221920609474,
0.01710388995707035,
-0.044553715735673904,
0.05639755353331566,
-0.041592758148908615,
0.011913503520190716,
0.00245585385710001,
0.0560840368270874,
-0.020378362387418747,
-0.00012614010483957827,
0.016224311664700508,
-0.020169353112578392,
0.004894290119409561,
0.0035814535804092884,
0.01994292624294758,
-0.004254200961440802,
-0.15745332837104797,
0.008647740818560123,
-0.02596934884786606,
-0.07036630809307098,
0.03502639755606651,
0.00728918332606554,
0.04068705439567566,
0.023339319974184036,
0.03734291344881058,
0.00883933249861002,
0.03086363896727562,
0.024314694106578827,
-0.023914095014333725,
0.012479569762945175,
-0.02792009711265564,
0.03070688247680664,
0.035392165184020996,
-0.019281065091490746,
-0.02732790634036064,
0.05852247402071953,
0.01465674489736557,
0.050545305013656616,
-0.00796410720795393,
-0.025028808042407036,
0.016398485749959946,
-0.005142488516867161,
0.04169726371765137,
0.006357352249324322,
0.009623114950954914,
0.047758519649505615,
0.008604196831583977,
-0.00406696368008852,
-0.04413570091128349,
0.002473271219059825,
0.03706423565745354,
0.06865940243005753,
-0.0538894459605217,
-0.04967443272471428,
-0.037656426429748535,
0.0779602974653244,
0.0009900705190375447,
-0.018479865044355392,
0.09036149084568024,
-0.0025081061758100986,
0.04058254882693291,
0.008290683850646019,
-0.05315791442990303,
-0.05935851112008095,
-0.03608885779976845,
0.033441413193941116,
-0.031647421419620514,
-0.035705678164958954,
0.0676143616437912,
0.029940515756607056,
-0.027449827641248703,
-0.027833011001348495,
0.035287659615278244,
0.020848631858825684,
0.02480238303542137,
0.06183177977800369,
0.004053900483995676,
0.028233610093593597,
0.01696455106139183,
0.039607174694538116,
0.012993383221328259,
0.06388703733682632,
0.05664139613509178,
0.055038996040821075,
-0.030114689841866493,
0.017652537673711777,
-0.0009704759577289224,
-0.003947218880057335,
0.027118897065520287,
-0.019751334562897682
]
|
31,465 | prefect_sqlalchemy.database | _start_exit_stack |
Starts an AsyncExitStack or ExitStack depending on whether driver is async.
| def _start_exit_stack(self):
"""
Starts an AsyncExitStack or ExitStack depending on whether driver is async.
"""
self._exit_stack = AsyncExitStack() if self._driver_is_async else ExitStack()
| (self) | [
0.004434828646481037,
-0.02867928519845009,
-0.057253964245319366,
0.005116942338645458,
0.03110264055430889,
-0.022786520421504974,
-0.01430477388203144,
0.03615856543183327,
-0.018253624439239502,
-0.07273554801940918,
0.05997370183467865,
0.0009539785096421838,
-0.011532734148204327,
-0.0374486967921257,
-0.020275993272662163,
-0.006651153322309256,
0.039784882217645645,
0.0139212217181921,
0.0008286701049655676,
-0.022681914269924164,
-0.014357076957821846,
0.1094171404838562,
0.008194081485271454,
-0.023100337013602257,
-0.02948126010596752,
0.07189870625734329,
-0.05544080585241318,
-0.025767771527171135,
0.023640796542167664,
0.009545233100652695,
-0.03720461577177048,
-0.03467665612697601,
-0.030875995755195618,
-0.00016930258425418288,
0.03289836645126343,
0.0047944094985723495,
-0.0036938744597136974,
0.03202665597200394,
-0.021322045475244522,
-0.00830304529517889,
-0.04808356612920761,
-0.07510660588741302,
0.011489148251712322,
0.0064811697229743,
0.00998108834028244,
-0.0032057163771241903,
0.025506258010864258,
-0.06900462508201599,
0.06865594536066055,
-0.04689804092049599,
0.033264484256505966,
0.03413619473576546,
0.03912238031625748,
0.050245411694049835,
-0.020990796387195587,
0.1103934571146965,
0.016161518171429634,
-0.003105469746515155,
-0.014156583696603775,
-0.04166777431964874,
-0.042365144938230515,
0.06862107664346695,
0.011297372169792652,
0.04020330309867859,
-0.01938684843480587,
-0.028731588274240494,
-0.04135395959019661,
0.005361021496355534,
-0.03042270615696907,
0.0412493534386158,
-0.06788883358240128,
0.017782900482416153,
-0.03176514059305191,
0.0013871098635718226,
0.010809213854372501,
0.010774345137178898,
-0.03657698631286621,
0.01324128732085228,
0.00405781390145421,
0.01668454520404339,
-0.05439475551247597,
0.06164738908410072,
0.0026761521585285664,
0.05680067464709282,
0.048118434846401215,
0.03605395928025246,
0.04480593651533127,
0.02081645466387272,
-0.008237667381763458,
-0.04654935747385025,
-0.041598040610551834,
0.031538497656583786,
0.00829868670552969,
0.0594855435192585,
0.02982994355261326,
0.018567439168691635,
0.036228299140930176,
0.006075824145227671,
-0.08089476078748703,
-0.03859935328364372,
-0.025837508961558342,
-0.03640264272689819,
0.06788883358240128,
-0.025209875777363777,
-0.024826323613524437,
-0.048606593161821365,
0.039401326328516006,
0.04023817181587219,
-0.03682106360793114,
0.00331032183021307,
-0.01795724220573902,
-0.06244936212897301,
0.005230264738202095,
-0.01612664945423603,
-0.04271382838487625,
-0.021374348551034927,
-0.02514014020562172,
0.00109781080391258,
0.03214869275689125,
-0.04728159308433533,
-0.03145132586359978,
0.02765066735446453,
-0.027877312153577805,
0.00011291378905298188,
0.0129536222666502,
0.026430271565914154,
0.04355067014694214,
0.025488823652267456,
-0.040342774242162704,
0.02543652057647705,
0.04473619908094406,
-0.0027066620532423258,
-0.05028028041124344,
-0.019613493233919144,
0.005313077475875616,
0.019317111000418663,
0.003007402177900076,
-0.01209934614598751,
0.04571251571178436,
0.001371854916214943,
-0.03866909071803093,
-0.023100337013602257,
-0.03605395928025246,
-0.0355309322476387,
0.022664479911327362,
0.041214484721422195,
-0.006707814522087574,
-0.020380597561597824,
0.010425660759210587,
-0.006197863724082708,
0.06785396486520767,
-0.059450674802064896,
-0.08396318554878235,
0.04365527629852295,
-0.01842796616256237,
0.03629803657531738,
-0.018933558836579323,
-0.007771301548928022,
0.06349541246891022,
-0.0018262341618537903,
-0.044561855494976044,
-0.042957909405231476,
0.007984871044754982,
-0.04379475116729736,
-0.023536192253232002,
0.03525198623538017,
-0.029603298753499985,
0.017643427476286888,
0.0158215519040823,
0.030753957107663155,
-0.05345330759882927,
0.0719684436917305,
-0.007945643737912178,
-0.021234875544905663,
-0.01891612447798252,
0.024338165298104286,
0.02888849563896656,
0.008935036137700081,
-0.030108891427516937,
0.0068603637628257275,
-0.022402968257665634,
-0.047839488834142685,
-0.0151067478582263,
-0.010216450318694115,
0.014705761335790157,
0.013555102981626987,
0.023379283025860786,
0.021531255915760994,
0.03492073342204094,
0.01660609059035778,
-0.03828553855419159,
0.012604937888681889,
0.023449020460247993,
0.0037657907232642174,
0.05997370183467865,
0.02109540067613125,
0.010957404971122742,
0.03580987825989723,
0.03832040727138519,
-0.02726711332798004,
-0.0071828970685601234,
0.023571059107780457,
0.036995407193899155,
-0.04853685572743416,
0.04634014517068863,
0.06436712294816971,
0.008194081485271454,
-0.010181582532823086,
0.0005720602348446846,
0.011907569132745266,
-0.08500923961400986,
-0.04135395959019661,
-0.050733570009469986,
0.05882304534316063,
0.036507248878479004,
0.0034715882502496243,
0.0403079055249691,
0.02024112455546856,
0.03234047070145607,
0.033351656049489975,
0.015664642676711082,
-0.02439046837389469,
-0.010495398193597794,
-0.010643589310348034,
-0.01698092557489872,
0.021914809942245483,
-0.03193948417901993,
-0.026308231055736542,
0.021043099462985992,
0.00008335734310094267,
-0.04051711782813072,
0.003458512481302023,
0.015516452491283417,
-0.05533619970083237,
-0.03183487802743912,
0.02946382574737072,
0.04135395959019661,
-0.005308718886226416,
-0.04710725322365761,
0.0030226572416722775,
-0.010870234109461308,
0.0311898123472929,
-0.006969328038394451,
-0.05289541184902191,
-0.040656592696905136,
-0.0013217314844951034,
-0.0075620911084115505,
-0.00829868670552969,
0.048885542899370193,
0.008564558811485767,
-0.011820398271083832,
-0.04058685526251793,
0.02341415174305439,
-0.0777566060423851,
-0.07189870625734329,
-0.07245659828186035,
0.08486976474523544,
0.04009869694709778,
0.036332905292510986,
0.017782900482416153,
0.01717270351946354,
-0.024059217423200607,
-0.04665396362543106,
0.04145856574177742,
-0.02245526947081089,
-0.015185202471911907,
0.011916286312043667,
-0.030631916597485542,
0.005692271515727043,
0.04062172397971153,
0.04682830348610878,
0.0037200257647782564,
-0.025401651859283447,
0.01881151832640171,
-0.015664642676711082,
0.005535363685339689,
-0.05505725368857384,
-0.084381602704525,
-0.09414476901292801,
-0.038146063685417175,
0.08619476109743118,
0.023675665259361267,
-0.018497703596949577,
0.04097040742635727,
0.0022239522077143192,
-0.07468818128108978,
0.0216009933501482,
-0.03321218118071556,
-0.011053293012082577,
-0.037169747054576874,
-0.02121744118630886,
0.08291713148355484,
-0.020659545436501503,
-0.04498027637600899,
0.0326542854309082,
-0.019142769277095795,
-0.0278424434363842,
-0.006385281682014465,
0.0009071240783669055,
0.031120074912905693,
0.02477402053773403,
-0.06349541246891022,
-0.0345720499753952,
0.03336909040808678,
0.04288817197084427,
0.06321647018194199,
0.02456481009721756,
0.008865298703312874,
-0.02918487787246704,
-0.012526484206318855,
-0.02358849346637726,
0.06363488733768463,
0.020746717229485512,
-0.018445400521159172,
-0.011506582610309124,
0.01679786667227745,
0.011986023746430874,
-0.0014742808416485786,
0.007126235868781805,
0.01612664945423603,
-0.09721318632364273,
-0.006001729052513838,
0.001681312220171094,
0.016919907182455063,
0.04344606772065163,
0.050245411694049835,
0.023274678736925125,
0.019055597484111786,
-0.022716782987117767,
-0.002442969474941492,
-0.045050013810396194,
-0.04808356612920761,
0.020014479756355286,
0.004628784488886595,
0.02677895501255989,
0.01956119015812874,
-0.04058685526251793,
-0.04072633013129234,
-0.010922536253929138,
-0.07259607315063477,
-0.0023972047492861748,
-0.01870691403746605,
-0.013005925342440605,
0.00815485417842865,
0.06265857070684433,
-0.051012516021728516,
0.08298686891794205,
-0.020694414153695107,
0.0034040305763483047,
0.041493434458971024,
-0.0024364315904676914,
0.03389211744070053,
-0.014418096281588078,
0.06164738908410072,
0.03003915399312973,
-0.010469246655702591,
-0.03241020813584328,
-0.005016695708036423,
0.03818093240261078,
-0.02264704741537571,
-0.009623686783015728,
0.007596959825605154,
-0.0030422706622630358,
0.0075185056775808334,
-0.04023817181587219,
-0.07496713101863861,
-0.004933882970362902,
0.047944094985723495,
-0.0011484789429232478,
0.006725248880684376,
-0.011515299789607525,
-0.03605395928025246,
0.017608558759093285,
0.03758816793560982,
-0.04714211821556091,
0.007906417362391949,
-0.019142769277095795,
-0.032200995832681656,
-0.026255929842591286,
-0.007936926558613777,
-0.0055702319368720055,
0.0021378707606345415,
-0.027615798637270927,
0.004484951961785555,
-0.015612340532243252,
-0.02831316739320755,
0.046409882605075836,
-0.009614970535039902,
-0.007871548645198345,
-0.030457574874162674,
0.018637176603078842,
-0.01142812892794609,
-0.022716782987117767,
-0.0027916538529098034,
0.04825790971517563,
-0.037100013345479965,
-0.0051300181075930595,
0.025680599734187126,
0.00513873528689146,
0.036228299140930176,
0.003149055177345872,
0.0441434346139431,
0.05097764730453491,
-0.029097706079483032,
0.06321647018194199,
-0.02618619240820408,
0.01601332798600197,
-0.07922107726335526,
0.025087837129831314,
-0.00047426516539417207,
-0.04403882846236229,
-0.052058570086956024,
-0.10279213637113571,
-0.039017774164676666,
-0.028382902964949608,
0.016344577074050903,
0.0988171324133873,
0.06502962857484818,
0.03961053863167763,
0.010844082571566105,
0.00993750337511301,
0.013738161884248257,
-0.011027141474187374,
0.024704283103346825,
0.04194672405719757,
-0.0014176196418702602,
0.02458224445581436,
0.010713325813412666,
-0.03347369283437729,
-0.014278623275458813,
-0.004430470056831837,
0.05345330759882927,
-0.029027970507740974,
0.04759540781378746,
0.03197435289621353,
0.027894744649529457,
-0.004489310551434755,
0.0029442033264786005,
0.005016695708036423,
0.03425823524594307,
-0.05920659750699997,
0.02102566510438919,
-0.04250461980700493,
-0.01957862451672554,
0.025680599734187126,
-0.008952469564974308,
0.018672045320272446,
0.007156745530664921,
0.05007106810808182,
0.002143318997696042,
-0.054359886795282364,
-0.005116942338645458,
0.03003915399312973,
0.001980962697416544,
-0.00013286778994370252,
-0.03922698646783829,
-0.012064477428793907,
0.07524607330560684,
-0.01968323066830635,
-0.032096393406391144,
0.0070913671515882015,
-0.004519820678979158,
-0.009283719584345818,
0.007492354139685631,
0.07092238962650299,
0.030544746667146683,
0.05390659719705582,
-0.001629009610041976,
-0.025070402771234512,
-0.007605676539242268,
0.0023557983804494143,
-0.01229112222790718,
0.04184211790561676,
0.013154115527868271,
0.02304803393781185,
-0.060705941170454025,
-0.0012356500374153256,
-0.020415466278791428,
-0.01936941407620907,
-0.01671069674193859,
-0.023536192253232002,
0.005953784566372633,
0.058300018310546875,
0.0738513395190239,
-0.07210791856050491,
-0.06081054359674454,
0.08040660619735718,
-0.06862107664346695,
0.01376431342214346,
-0.01497599110007286,
-0.014330925419926643,
-0.045921724289655685,
0.026552310213446617,
0.02976020611822605,
0.04902501404285431,
-0.023170072585344315,
0.004131908994168043,
0.006006087176501751,
-0.00027036655228585005,
-0.03300297260284424,
0.04867633059620857,
-0.023640796542167664,
0.01574309729039669,
-0.013206418603658676,
0.012979773804545403,
0.003382237860932946,
-0.01247418113052845,
-0.020589809864759445,
-0.02773783728480339,
0.02976020611822605,
0.04979212209582329,
0.054464489221572876,
-0.023100337013602257,
-0.04337633028626442,
0.08905397355556488,
0.03050987794995308,
0.014827800914645195,
-0.013345892541110516,
0.11346187442541122,
0.025453954935073853,
0.021252309903502464,
-0.033264484256505966,
0.06269343942403793,
-0.029533561319112778,
0.02937665395438671,
-0.005374097265303135,
0.04675856605172157,
0.07210791856050491,
0.011027141474187374,
0.057253964245319366,
-0.001035701367072761,
0.030108891427516937,
-0.022036848589777946,
-0.016937341541051865,
0.030370404943823814,
-0.02285625785589218,
-0.02524474449455738,
0.04403882846236229,
-0.00027867505559697747,
-0.06251909583806992,
-0.014653458259999752,
0.001530942041426897,
-0.03908751159906387,
-0.03091086447238922,
-0.006507321260869503,
-0.030370404943823814,
-0.01881151832640171,
0.05366251617670059,
-0.013973523862659931,
-0.03685593232512474,
0.016675828024744987,
0.02724967896938324,
0.049652647227048874,
-0.015690794214606285,
-0.03329935297369957,
-0.026325665414333344,
0.018079282715916634,
0.03954080119729042,
0.030091457068920135,
0.014993425458669662,
0.004859787877649069,
0.03492073342204094,
-0.08019739389419556,
-0.058788176625967026,
0.013642273843288422,
-0.005343587137758732,
-0.011707075871527195,
0.05230264738202095,
0.03160823509097099,
-0.0335782989859581,
-0.04578224942088127,
-0.009553950279951096,
-0.0037200257647782564,
0.011532734148204327,
-0.016292273998260498,
0.014461682178080082,
0.036123696714639664,
0.04445724934339523,
-0.01507188007235527,
0.006747041363269091,
0.03640264272689819,
-0.04770001396536827,
0.006694738753139973,
-0.03232303634285927,
-0.06182172894477844,
0.001830592635087669,
-0.005557156167924404,
0.019543755799531937,
-0.012709543108940125,
-0.0010836455039680004,
-0.0070259892381727695,
0.0268835611641407,
0.005321794655174017,
-0.0633210688829422,
0.024163823574781418,
0.005583307705819607,
0.016152800992131233,
0.06858620792627335,
0.029097706079483032,
-0.030004285275936127,
0.009754443541169167,
0.06227501854300499,
0.0326019823551178,
-0.019543755799531937,
0.10104871541261673,
-0.02714507468044758,
-0.016492769122123718,
-0.05429014936089516,
-0.059346072375774384,
0.027284547686576843,
-0.011288654990494251,
-0.017782900482416153,
0.04885067418217659,
-0.0034977395553141832,
-0.0053828139789402485,
-0.008943752385675907,
-0.032200995832681656,
-0.023449020460247993,
0.019718097522854805,
0.03703027591109276,
0.00721776532009244,
0.03975001350045204,
0.012535201385617256,
-0.03309014067053795,
0.00714802835136652,
0.00729186087846756,
0.012439313344657421,
-0.018393097445368767,
-0.002680510748177767,
-0.00008226771024055779,
0.011672207154333591,
-0.006838571280241013,
0.006363488733768463,
-0.08668292313814163,
0.04267895966768265,
-0.05286054313182831,
0.012003458105027676,
0.02822599560022354,
0.015307242050766945,
-0.03289836645126343,
0.004031662363559008,
-0.05348817631602287,
-0.024704283103346825,
-0.013502799905836582,
0.02215888909995556,
-0.07161975651979446,
-0.012971056625247002,
-0.007191614247858524,
0.012526484206318855,
-0.02648257464170456,
0.02601185068488121,
0.039401326328516006,
-0.04215593263506889,
0.03125954791903496,
-0.06802830845117569,
0.024146389216184616,
-0.03926185518503189,
-0.023675665259361267,
0.0316954031586647,
-0.01575181446969509,
-0.020223690196871758,
0.0354960635304451,
-0.030492443591356277,
0.03300297260284424,
0.059555280953645706,
0.04058685526251793,
-0.0028831835370510817,
-0.02409408614039421,
0.006716531701385975,
-0.031521063297986984,
0.02735428512096405,
-0.005592024885118008,
0.017486518248915672,
-0.009074509143829346,
-0.03664672374725342,
0.02867928519845009,
-0.020415466278791428,
-0.024599678814411163,
0.007784377317875624,
0.030300667509436607,
-0.004580840468406677,
-0.014182734303176403,
-0.03237533941864967,
-0.015891287475824356,
0.02198454551398754,
0.020502638071775436,
0.012883885763585567,
-0.024407902732491493,
0.05871843919157982,
-0.02735428512096405,
0.026430271565914154,
-0.026813823729753494,
-0.011768096126616001,
0.027424022555351257,
-0.07524607330560684,
-0.017294742166996002,
-0.06192633509635925,
-0.11276450753211975,
0.007845397107303143,
-0.03615856543183327,
0.08361449837684631,
-0.013005925342440605,
-0.026517443358898163,
-0.02426842786371708,
0.002221772912889719,
0.021531255915760994,
-0.022141454741358757,
0.028644416481256485,
0.0700158104300499,
-0.021234875544905663,
-0.002682690043002367,
-0.05634738504886627,
-0.00506463972851634,
0.00993750337511301,
-0.023571059107780457,
-0.027999350801110268,
-0.03790198639035225,
-0.018689479678869247,
-0.01031233835965395,
0.04968751594424248,
-0.06666844338178635,
0.0053305113688111305,
0.003798479912802577,
-0.03713487833738327,
0.01377303060144186,
-0.016248689964413643,
-0.06921383738517761,
0.03790198639035225,
0.05655659735202789,
0.06129870191216469,
-0.07789607346057892,
-0.059450674802064896,
-0.022280927747488022,
0.09261055290699005,
-0.0374138280749321,
-0.03849474713206291,
0.013345892541110516,
0.040273040533065796,
-0.004330223426222801,
-0.02024112455546856,
-0.0023034957703202963,
-0.10530266165733337,
0.00796743668615818,
-0.02724967896938324,
0.07336317747831345,
-0.005722781177610159,
0.029986850917339325,
0.03040527179837227,
-0.009161680936813354,
-0.023379283025860786,
0.014278623275458813,
0.006411432754248381,
0.0191950723528862,
0.03082369454205036,
-0.014008392579853535,
0.00640707416459918,
-0.005945067852735519,
0.04498027637600899,
-0.017791617661714554,
-0.009336022660136223,
0.006106334272772074,
-0.005334869958460331,
-0.04588685557246208,
-0.023204941302537918,
0.03898290544748306,
0.029411522671580315,
0.028766456991434097,
0.050245411694049835
]
|
31,467 | prefect_sqlalchemy.database | aclose |
Closes async connections and its cursors.
| @sync_compatible
async def execute_many(
self,
operation: str,
seq_of_parameters: List[Dict[str, Any]],
**execution_options: Dict[str, Any],
) -> None:
"""
Executes many operations on the database. This method is intended to be used
for operations that do not return data, such as INSERT, UPDATE, or DELETE.
Unlike the fetch methods, this method will always execute the operation
upon calling.
Args:
operation: The SQL query or other operation to be executed.
seq_of_parameters: The sequence of parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Examples:
Create a table and insert two rows into it.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
```
""" # noqa
async with self._manage_connection(begin=False) as connection:
await self._async_sync_execute(
connection,
text(operation),
seq_of_parameters,
execution_options=execution_options,
)
self.logger.info(
f"Executed {len(seq_of_parameters)} operations based off {operation!r}."
)
| (self) | [
-0.024076342582702637,
-0.03652384877204895,
-0.10821330547332764,
0.05053427070379257,
-0.010707832872867584,
-0.0025257833767682314,
-0.03697039559483528,
-0.032021164894104004,
-0.018382864072918892,
-0.06285153329372406,
-0.010959015227854252,
0.04164053872227669,
-0.025713684037327766,
-0.028746483847498894,
-0.0008890245808288455,
0.0033653853461146355,
0.038012340664863586,
-0.039110101759433746,
-0.0031886270735412836,
0.003921243827790022,
0.04588273912668228,
0.1019616425037384,
-0.01564776338636875,
-0.009554252028465271,
0.01795492321252823,
-0.004537572152912617,
0.02431822381913662,
-0.008456490002572536,
0.07033120095729828,
0.05343683063983917,
0.050236575305461884,
-0.004488730803132057,
0.010456649586558342,
0.010289194993674755,
0.004470124840736389,
0.007093590218573809,
0.021918030455708504,
0.039482224732637405,
0.016829252243041992,
-0.05209718644618988,
-0.022420397028326988,
-0.03125831112265587,
0.014103452675044537,
-0.018503805622458458,
-0.004207313060760498,
0.013052206486463547,
-0.014857001602649689,
0.01949923299252987,
0.004677118267863989,
-0.0129777817055583,
0.05053427070379257,
-0.011600927449762821,
-0.01766652800142765,
-0.006781937554478645,
-0.002143194666132331,
0.056971997022628784,
-0.026532353833317757,
0.016801342368125916,
0.02934188023209572,
-0.041752174496650696,
0.022271547466516495,
0.015591944567859173,
-0.0056609176099300385,
0.03516560047864914,
0.016047794371843338,
-0.0192201416939497,
-0.027983631938695908,
-0.03624475747346878,
-0.004751542583107948,
0.022811125963926315,
-0.029918670654296875,
0.026941688731312752,
0.017285102978348732,
0.02422519214451313,
-0.04015204682946205,
0.019006170332431793,
-0.0007715733372606337,
0.057046420872211456,
0.009870556183159351,
0.017452558502554893,
-0.03745415806770325,
-0.016503645107150078,
0.01178698893636465,
0.01702461764216423,
-0.011917231604456902,
0.007102893199771643,
-0.04108235239982605,
0.011880019679665565,
-0.02121099829673767,
-0.07256393879652023,
-0.04204987362027168,
0.006153980270028114,
-0.06370741873979568,
0.057158056646585464,
-0.00776341138407588,
-0.0002588869829196483,
-0.03899846598505974,
-0.0389612540602684,
-0.05838606134057045,
0.0116567462682724,
-0.04368721321225166,
0.02095051296055317,
0.08380205184221268,
-0.050869181752204895,
0.020057417452335358,
-0.10345012694597244,
-0.027890602126717567,
-0.03151879832148552,
-0.027537085115909576,
-0.02251342684030533,
-0.037565793842077255,
0.06385626643896103,
0.04789220169186592,
-0.021359847858548164,
-0.01766652800142765,
0.0035467951092869043,
-0.015229124575853348,
-0.0355377234518528,
-0.019089898094534874,
-0.020876087248325348,
0.02029929682612419,
-0.0046259514056146145,
0.03773324936628342,
-0.026383504271507263,
0.024374041706323624,
0.10136624425649643,
0.027834782376885414,
0.005125991068780422,
-0.03200255706906319,
-0.015564034692943096,
0.015601247549057007,
-0.0309792198240757,
0.05083196982741356,
0.050310999155044556,
-0.003991016652435064,
-0.0007000559708103538,
-0.014475575648248196,
-0.02558344043791294,
-0.02604859322309494,
-0.019331777468323708,
0.009805435314774513,
-0.04141726344823837,
0.033379413187503815,
0.05202276259660721,
0.02723938599228859,
0.011647442355751991,
-0.028820909559726715,
-0.056599874049425125,
0.03723088279366493,
-0.003974736202508211,
0.012028868310153484,
0.0013884830987080932,
-0.046217646449804306,
0.012242838740348816,
-0.060879286378622055,
0.030830372124910355,
0.01874568499624729,
-0.04298017919063568,
-0.03404923528432846,
-0.06813567876815796,
-0.01784328743815422,
-0.013731330633163452,
-0.015219821594655514,
0.03639360889792442,
-0.012633567675948143,
-0.0014280211180448532,
-0.03524002805352211,
-0.03384456783533096,
-0.03650524467229843,
-0.024374041706323624,
0.03490511700510979,
0.036375001072883606,
0.08618363738059998,
-0.004235222470015287,
-0.04044974595308304,
0.06374463438987732,
-0.012410294264554977,
-0.008289034478366375,
-0.001054154010489583,
-0.052692584693431854,
-0.065270334482193,
-0.04945511743426323,
0.05328797921538353,
-0.056413810700178146,
-0.00430499529466033,
0.030830372124910355,
-0.020541176199913025,
-0.013154540210962296,
0.06936368346214294,
-0.012121899053454399,
-0.03607730194926262,
-0.0012059103464707732,
0.018261924386024475,
0.01019616425037384,
-0.002350187860429287,
0.0006547035300172865,
-0.00418870709836483,
0.019331777468323708,
0.04469194635748863,
0.03778906911611557,
0.0023478621151298285,
-0.026755627244710922,
0.06951253116130829,
-0.026997506618499756,
0.03177928552031517,
-0.017443254590034485,
-0.015033760108053684,
0.009186781011521816,
0.0005541140562854707,
-0.05090639367699623,
-0.011498593725264072,
-0.03369571641087532,
-0.015591944567859173,
0.07591304183006287,
0.04510128125548363,
0.05831163749098778,
0.0075959558598697186,
-0.014373241923749447,
0.05883261188864708,
-0.0024769422598183155,
0.09913350641727448,
-0.04138005152344704,
-0.0018001438584178686,
-0.026476535946130753,
0.03226304426789284,
0.014587212353944778,
0.01613152213394642,
-0.018271228298544884,
0.027834782376885414,
0.047668926417827606,
-0.06541918218135834,
0.011507896706461906,
0.0011117167305201292,
0.03497954085469246,
-0.008456490002572536,
-0.044766370207071304,
-0.042310360819101334,
-0.028299937024712563,
0.026718415319919586,
-0.0063074808567762375,
-0.02904418297111988,
0.03505396470427513,
-0.029193030670285225,
-0.04201266169548035,
-0.037565793842077255,
-0.029174424707889557,
-0.02487640641629696,
0.016792040318250656,
0.010596196167171001,
-0.01306150946766138,
-0.0031537404283881187,
0.012168414890766144,
0.026941688731312752,
-0.03804955258965492,
-0.010019405744969845,
0.01904338225722313,
0.011293926276266575,
-0.0011384631507098675,
0.02815108746290207,
0.002509502926841378,
0.024932226166129112,
-0.016243159770965576,
-0.03577960282564163,
0.047036319971084595,
-0.022904155775904655,
-0.03443996235728264,
-0.0542927123606205,
0.0038096068892627954,
-0.019871355965733528,
0.01488491054624319,
-0.004688746761530638,
0.009535646066069603,
-0.025732289999723434,
-0.035202812403440475,
-0.023164642974734306,
0.0285976342856884,
0.044580306857824326,
-0.027667328715324402,
-0.0792621523141861,
-0.026904476806521416,
0.06675882637500763,
-0.01574079319834709,
-0.025657864287495613,
-0.07769923657178879,
0.032560743391513824,
0.028262725099921227,
-0.036914579570293427,
-0.023927494883537292,
-0.023908888921141624,
0.000402357749408111,
0.05202276259660721,
0.014149968512356281,
0.04562225192785263,
-0.01712695136666298,
-0.03524002805352211,
0.022104091942310333,
-0.020466752350330353,
0.017545588314533234,
0.031276918947696686,
-0.05953964218497276,
0.012177717871963978,
-0.033025894314050674,
0.047408442944288254,
-0.006428421009331942,
0.018801502883434296,
-0.06348414719104767,
0.06556802988052368,
-0.01619664393365383,
-0.08752327412366867,
-0.00195945892482996,
-0.003125831251963973,
0.052320461720228195,
0.010326406918466091,
0.024634527042508125,
0.057046420872211456,
0.048041049391031265,
-0.0027932466473430395,
0.0026978901587426662,
-0.026253260672092438,
0.002988611115142703,
-0.019443415105342865,
0.02405773662030697,
0.05306470766663551,
-0.025360167026519775,
0.02314603701233864,
-0.04681304469704628,
0.0034630675800144672,
0.01015895139425993,
0.01433602999895811,
0.01811307668685913,
-0.01721998117864132,
-0.029490729793906212,
-0.013489450328052044,
0.024560103192925453,
0.00617258669808507,
0.012317263521254063,
-0.0003174672310706228,
0.003063035663217306,
0.07189411669969559,
-0.00022327365877572447,
0.02294136956334114,
0.033825960010290146,
0.030588490888476372,
0.01721998117864132,
-0.060060616582632065,
0.01766652800142765,
0.043389514088630676,
0.06314923614263535,
-0.003393294522538781,
-0.06716816127300262,
0.012875447981059551,
-0.013377813622355461,
-0.013545269146561623,
0.0235739778727293,
0.025881139561533928,
0.005200415849685669,
-0.025564834475517273,
-0.019443415105342865,
-0.017694437876343727,
-0.05894424766302109,
0.044766370207071304,
-0.06515869498252869,
0.03726809471845627,
0.022904155775904655,
0.03185370936989784,
0.008116927929222584,
-0.013117327354848385,
-0.03270959109067917,
-0.019164321944117546,
-0.007056377828121185,
-0.0027769661974161863,
-0.02777896448969841,
0.06378184258937836,
0.05775345489382744,
0.03723088279366493,
0.02541598491370678,
-0.052506521344184875,
0.04182659834623337,
-0.06166074424982071,
0.010791560634970665,
-0.01361039001494646,
-0.06705652177333832,
0.11282762140035629,
-0.05831163749098778,
0.020745843648910522,
-0.018522411584854126,
0.04573388770222664,
-0.012680083513259888,
-0.0422731451690197,
0.01758280023932457,
-0.01822471246123314,
-0.00878209713846445,
-0.037286702543497086,
0.00846114195883274,
-0.041677750647068024,
-0.01893174648284912,
0.05101803317666054,
0.03767742961645126,
-0.02396470680832863,
-0.06300038844347,
-0.002359490841627121,
-0.049603965133428574,
0.03231886401772499,
0.02076445147395134,
-0.017620014026761055,
-0.04580831155180931,
-0.01630827970802784,
0.009298417717218399,
-0.017089737579226494,
0.014615122228860855,
-0.018801502883434296,
-0.04007762297987938,
0.009637979790568352,
0.01721067726612091,
-0.028076663613319397,
0.02050396427512169,
0.02085748128592968,
0.06281432509422302,
-0.004453844390809536,
0.05976291745901108,
0.06456330418586731,
-0.013731330633163452,
0.022327367216348648,
0.07319655269384384,
-0.00022908808023203164,
-0.02986285276710987,
0.04260805621743202,
-0.008772794157266617,
0.0023490251041948795,
-0.04502685368061066,
-0.04789220169186592,
-0.008177397772669792,
-0.04071022942662239,
0.008526262827217579,
0.023536765947937965,
0.007502925582230091,
0.022178517654538155,
-0.018438683822751045,
0.07185690850019455,
0.009056538343429565,
-0.02057838998734951,
0.0566742978990078,
-0.025025255978107452,
-0.05548350512981415,
0.03306310996413231,
-0.033398017287254333,
-0.008530914783477783,
0.0045305946841835976,
0.037007611244916916,
0.037565793842077255,
0.009889163076877594,
0.05299028381705284,
0.036300577223300934,
-0.017378132790327072,
0.08156931400299072,
-0.05001330003142357,
0.006335390266031027,
-0.01740604266524315,
-0.013126630336046219,
0.00039712476427666843,
0.06437724083662033,
-0.025118287652730942,
-0.005791160743683577,
-0.03778906911611557,
0.0037258793599903584,
-0.055520717054605484,
-0.03643082082271576,
0.046217646449804306,
-0.005637660156935453,
-0.005814418196678162,
-0.026643989607691765,
0.001009964500553906,
-0.0015431466745212674,
0.0008512308122590184,
0.03840307146310806,
-0.02967679128050804,
0.04543618857860565,
-0.01938759721815586,
-0.002567647024989128,
-0.03877519443631172,
0.0030700128991156816,
-0.07963427156209946,
0.04811547324061394,
-0.004437563940882683,
-0.005460901651531458,
-0.02550901658833027,
0.059428006410598755,
-0.0305140670388937,
0.03278401494026184,
-0.034570205956697464,
0.02405773662030697,
-0.05790230259299278,
0.07948542386293411,
0.010307800956070423,
0.043203454464673996,
-0.059428006410598755,
-0.06363299489021301,
0.004995748400688171,
0.008642551489174366,
-0.017601406201720238,
0.027351023629307747,
0.024895014241337776,
0.0499388761818409,
-0.005726038943976164,
0.03836585953831673,
0.007707593031227589,
0.06902877241373062,
-0.04242199659347534,
-0.054962534457445145,
-0.05909309536218643,
-0.055967263877391815,
-0.020076023414731026,
0.0013105699326843023,
-0.04871087148785591,
-0.0065633151680231094,
-0.026848657056689262,
0.03241189196705818,
-0.00776341138407588,
0.03858913108706474,
0.0116567462682724,
0.023741433396935463,
-0.022643670439720154,
-0.0566742978990078,
0.0720057561993599,
-0.015815217047929764,
-0.04450588300824165,
-0.021880818530917168,
-0.04018925875425339,
0.02714635618031025,
0.023164642974734306,
-0.025118287652730942,
0.04387327656149864,
0.010959015227854252,
-0.03330498933792114,
0.01494072936475277,
0.03659827634692192,
-0.0024025177117437124,
0.02723938599228859,
0.04007762297987938,
0.0044422154314816,
0.0037212276365607977,
0.0792621523141861,
-0.03412365913391113,
-0.006726119201630354,
-0.028374360874295235,
-0.013535966165363789,
-0.010038011707365513,
-0.023071611300110817,
0.0466269850730896,
-0.011945140548050404,
-0.018466591835021973,
0.044022124260663986,
-0.01666179671883583,
0.039482224732637405,
-0.05537186935544014,
-0.12004680931568146,
0.040486957877874374,
-0.032560743391513824,
-0.02649514190852642,
0.018001439049839973,
0.022829731926321983,
0.015303549356758595,
-0.06780076771974564,
0.01001010276377201,
0.05853491276502609,
0.04752007871866226,
0.0317048616707325,
-0.003425855189561844,
0.028653454035520554,
0.014075543731451035,
-0.01425230223685503,
0.05730690807104111,
0.025118287652730942,
-0.07070332765579224,
0.01128462329506874,
-0.04286854341626167,
-0.019517838954925537,
-0.04636649787425995,
-0.024169374257326126,
-0.05511138215661049,
0.02251342684030533,
-0.010810166597366333,
0.012717295438051224,
-0.021192392334342003,
0.041677750647068024,
0.09578440338373184,
-0.044208183884620667,
0.07144757360219955,
0.05786509066820145,
0.0016082681249827147,
-0.010475256480276585,
-0.016010582447052002,
0.011963747441768646,
-0.001505934284068644,
0.014354635961353779,
0.044394247233867645,
-0.03808676451444626,
-0.01765722595155239,
-0.05373452976346016,
-0.029807034879922867,
-0.0451757051050663,
0.03579821065068245,
0.0024862452410161495,
0.02934188023209572,
-0.004423609469085932,
-0.007749456912279129,
-0.037119247019290924,
0.012010262347757816,
0.0069168321788311005,
0.06407953798770905,
-0.0023862372618168592,
0.023425128310918808,
0.015294245444238186,
-0.0360586978495121,
0.0037770462222397327,
0.008228564634919167,
-0.08089949190616608,
0.07230345159769058,
0.06988465785980225,
-0.054590411484241486,
-0.012670780532062054,
0.01619664393365383,
-0.02904418297111988,
-0.015108184888958931,
-0.04938069358468056,
0.04000319913029671,
-0.08960716426372528,
-0.005521371494978666,
-0.04182659834623337,
-0.020076023414731026,
-0.017889801412820816,
-0.02612301893532276,
0.05712084472179413,
0.05611611530184746,
0.0768805667757988,
-0.09585882723331451,
0.007423849310725927,
0.0016675752121955156,
-0.01561055053025484,
-0.04383606091141701,
0.047222379595041275,
0.019908567890524864,
-0.005223673302680254,
-0.0571952685713768,
0.007949472405016422,
0.022122697904706,
-0.04692468047142029,
-0.021527301520109177,
0.04789220169186592,
0.05064591020345688,
0.0312955267727375,
0.08060178905725479,
-0.004344533197581768,
0.00879605207592249,
0.030439643189311028,
-0.005893494468182325,
-0.045845527201890945,
-0.06482378393411636,
0.026718415319919586,
0.0069214836694300175,
-0.009591464884579182,
0.020838875323534012,
-0.017554892227053642,
0.025974169373512268,
-0.03023497574031353,
-0.019517838954925537,
-0.01819680444896221,
-0.022420397028326988,
0.006619133986532688,
0.03196534514427185,
0.02104354277253151,
-0.02504386194050312,
0.031667646020650864,
0.06512148678302765,
0.03607730194926262,
0.04071022942662239,
0.008158791810274124,
-0.01015895139425993,
0.01996438577771187,
-0.0015791959594935179,
-0.009042583405971527,
-0.015377973206341267,
-0.0008832101593725383,
-0.031128069385886192,
-0.05444156005978584,
-0.01594546064734459,
0.014763970859348774,
0.04141726344823837,
0.025974169373512268,
-0.04789220169186592,
0.01840147189795971,
-0.022792520001530647,
-0.028653454035520554,
0.004086373373866081,
-0.05328797921538353,
0.0017292080447077751,
-0.009317023679614067,
-0.06266547739505768,
0.04528734087944031,
0.06400511413812637,
0.02504386194050312,
0.027164962142705917,
-0.012484719045460224,
0.00626096548512578,
0.055781204253435135,
0.0389612540602684,
-0.011768382973968983,
-0.02121099829673767,
0.04975281283259392,
-0.0010378736769780517,
0.012670780532062054,
0.02413216233253479,
0.016326885670423508,
-0.01019616425037384,
0.01985275000333786,
0.03503536060452461,
0.04752007871866226,
0.063409723341465,
-0.00019405620696488768,
-0.01557333767414093,
-0.04204987362027168,
-0.012912659905850887,
0.05991176515817642,
-0.07241509109735489,
-0.01938759721815586,
-0.03743555024266243,
0.02850460447371006,
0.04945511743426323,
0.07513158768415451,
0.06884270906448364,
-0.031072251498699188,
-0.012494022026658058,
0.009870556183159351,
-0.02268088236451149,
0.0344027504324913,
-0.05726969614624977,
0.04316624253988266,
-0.020262084901332855,
-0.02303439937531948,
-0.02069002576172352,
-0.02560204640030861,
-0.042794119566679,
0.01767583191394806,
-0.018968958407640457,
-0.022011062130331993,
-0.009554252028465271,
-0.008414626121520996,
-0.02705332636833191,
0.0023536765947937965,
-0.016178037971258163,
-0.000745408411603421,
0.039296165108680725,
-0.03970550000667572,
0.01552682276815176,
0.05019936338067055,
-0.0023641425650566816,
0.054143864661455154,
0.02113657258450985,
-0.036095909774303436,
-0.040561381727457047,
-0.04204987362027168,
0.04811547324061394,
0.002542063593864441,
0.016326885670423508,
-0.015787309035658836,
-0.02405773662030697,
0.06285153329372406,
0.007181969471275806
]
|
31,468 | prefect_sqlalchemy.database | block_initialization |
Initializes the engine.
| def block_initialization(self):
"""
Initializes the engine.
"""
super().block_initialization()
if isinstance(self.connection_info, ConnectionComponents):
self._rendered_url = self.connection_info.create_url()
else:
# make rendered url from string
self._rendered_url = make_url(str(self.connection_info))
drivername = self._rendered_url.drivername
try:
AsyncDriver(drivername)
self._driver_is_async = True
except ValueError:
self._driver_is_async = False
if self._unique_results is None:
self._unique_results = {}
if self._exit_stack is None:
self._start_exit_stack()
| (self) | [
0.04346347600221634,
-0.07293578237295151,
-0.07718764245510101,
0.010929465293884277,
0.008022209629416466,
0.006782082840800285,
-0.03197981417179108,
0.026147132739424706,
-0.0454985536634922,
-0.012955458834767342,
0.04669779911637306,
0.04240959510207176,
-0.016180695965886116,
0.009593944065272808,
-0.00983015913516283,
-0.035850100219249725,
0.0009897162672132254,
0.020205428823828697,
-0.046588774770498276,
-0.0764608308672905,
-0.06316013634204865,
0.06795710325241089,
0.004129211883991957,
0.011665364727377892,
0.010865869000554085,
0.0369403213262558,
-0.050622593611478806,
0.01391848735511303,
0.020805049687623978,
0.028400255367159843,
-0.024239245802164078,
0.013436973094940186,
0.008476467803120613,
0.05538322404026985,
0.05160379409790039,
-0.0038725556805729866,
0.045389533042907715,
0.017134640365839005,
-0.06377792358398438,
-0.00832656305283308,
0.01605350337922573,
-0.052003540098667145,
0.004454006906598806,
0.002750536659732461,
-0.035432182252407074,
-0.014845175668597221,
-0.007567950524389744,
-0.01769792102277279,
0.003418297041207552,
-0.06417767703533173,
0.015235837548971176,
0.07377161830663681,
0.018188519403338432,
0.09325022995471954,
-0.022385871037840843,
0.0326521173119545,
-0.044190291315317154,
0.049423351883888245,
-0.012664733454585075,
0.008612745441496372,
-0.027673441916704178,
0.014636216685175896,
-0.0109567204490304,
0.05291205644607544,
-0.01751621626317501,
-0.03270662948489189,
-0.030362654477357864,
0.04531685262918472,
0.04524416849017143,
0.019987383857369423,
0.02000555396080017,
0.05908997729420662,
0.0032343221828341484,
-0.009039748460054398,
0.012864607386291027,
0.009866499342024326,
-0.06279672682285309,
0.013037226162850857,
0.006718486547470093,
0.037394579499959946,
-0.026928458362817764,
0.05084063857793808,
-0.00923508033156395,
-0.0540749616920948,
0.03728555887937546,
-0.04339079558849335,
0.010393439792096615,
-0.0015444797463715076,
-0.009162398986518383,
-0.01820668950676918,
-0.029744861647486687,
0.013100821524858475,
0.00467886496335268,
0.062396980822086334,
0.0009567824890837073,
0.012192304246127605,
0.03710385411977768,
0.00031088333344087005,
-0.010275332257151604,
-0.03772164508700371,
-0.021622715517878532,
-0.04557123780250549,
0.003924795426428318,
-0.05356619134545326,
-0.003352429484948516,
-0.06886562705039978,
0.02500240132212639,
-0.004515331704169512,
0.019133377820253372,
-0.0035364043433219194,
-0.023894010111689568,
-0.008308392018079758,
-0.004983218386769295,
0.021586375311017036,
-0.02498423121869564,
-0.008608203381299973,
-0.021768078207969666,
-0.00949400756508112,
0.057600006461143494,
-0.034142088145017624,
-0.09579408168792725,
0.022204166278243065,
-0.05004114285111427,
-0.0019510412821546197,
0.022949151694774628,
0.04880555719137192,
0.015372115187346935,
-0.013582335785031319,
-0.006645805202424526,
-0.02818221226334572,
0.0971023440361023,
0.006695773918181658,
-0.021241137757897377,
-0.007608833722770214,
-0.016771232709288597,
-0.0005470978794619441,
-0.023748647421598434,
-0.01709829829633236,
0.020677857100963593,
0.047533635050058365,
-0.03401489555835724,
-0.05214890465140343,
-0.03041716478765011,
-0.013764039613306522,
0.05331180617213249,
0.02800050936639309,
-0.02740088663995266,
-0.04106498882174492,
-0.01498145330697298,
-0.06116139516234398,
0.09906474500894547,
-0.015862714499235153,
-0.00008098581747617573,
-0.01026624720543623,
-0.025529341772198677,
0.0020646059419959784,
-0.0001300315634580329,
0.025656532496213913,
0.03234322369098663,
-0.01480883453041315,
0.018769970163702965,
-0.01880631223320961,
0.005024101585149765,
-0.02000555396080017,
-0.034560006111860275,
0.0021418300457298756,
-0.025492999702692032,
-0.025383979082107544,
0.007849590852856636,
0.018424734473228455,
-0.045389533042907715,
0.01572643779218197,
-0.06421401351690292,
0.01403659489005804,
0.04502612724900246,
0.05004114285111427,
0.01837022416293621,
-0.025474829599261284,
0.005601010285317898,
-0.005133123602718115,
-0.01085678394883871,
-0.03014460951089859,
-0.03728555887937546,
0.04215520992875099,
0.017307257279753685,
-0.0077632819302380085,
0.033015523105859756,
0.007177288178354502,
0.025220444425940514,
0.03167092055082321,
-0.042627640068531036,
0.024548141285777092,
0.01682574301958084,
0.00905791949480772,
0.09288682788610458,
0.011320128105580807,
0.049168966710567474,
0.020477984100580215,
-0.04629804939031601,
0.05018650367856026,
0.013100821524858475,
-0.029127070680260658,
0.003263849066570401,
-0.05709123611450195,
0.03939331695437431,
0.0219134408980608,
0.01993287354707718,
-0.009207824245095253,
0.03450549393892288,
0.015844544395804405,
-0.07097338140010834,
-0.010811357758939266,
-0.02963583916425705,
0.06283307075500488,
-0.02291281148791313,
-0.0006087067304179072,
0.031053127720952034,
0.0236032847315073,
0.01580820418894291,
0.015235837548971176,
0.019387762993574142,
-0.035504862666130066,
0.0015376658411696553,
-0.08002221584320068,
-0.051821835339069366,
0.014563535340130329,
-0.025874577462673187,
-0.03252492472529411,
-0.06588568538427353,
-0.019896533340215683,
-0.019351422786712646,
0.021840760484337807,
0.020932242274284363,
0.001194700482301414,
-0.00063880137167871,
0.005596467759460211,
0.013754954561591148,
0.04964139312505722,
-0.07017388939857483,
-0.018660949543118477,
0.0012514828704297543,
0.027255523949861526,
-0.03194347396492958,
-0.08045830577611923,
-0.08002221584320068,
-0.02293098159134388,
0.004924164619296789,
0.012056026607751846,
-0.013764039613306522,
-0.05189451947808266,
-0.005755458027124405,
-0.06148846074938774,
0.007799622602760792,
-0.04775168001651764,
-0.06574032455682755,
-0.06512252986431122,
0.06479546427726746,
0.032597605139017105,
0.042082529515028,
0.01249211560934782,
0.0015467510093003511,
0.013436973094940186,
-0.09339559823274612,
0.08736304193735123,
0.037067513912916183,
-0.012746499851346016,
-0.028291234746575356,
0.02919975109398365,
-0.039720382541418076,
0.03092593513429165,
0.06406865268945694,
0.00026290223468095064,
-0.006568581331521273,
0.00657312385737896,
-0.019024355337023735,
-0.004024732392281294,
-0.014481768943369389,
-0.056291744112968445,
-0.05447470769286156,
0.010238992050290108,
0.06018019840121269,
-0.013346121646463871,
0.011092998087406158,
-0.004592556040734053,
-0.003931609448045492,
-0.0601075142621994,
-0.01889716275036335,
0.02996290661394596,
-0.0335061252117157,
-0.04775168001651764,
-0.05422032251954079,
0.04408126696944237,
-0.00927596352994442,
-0.0006603786605410278,
-0.008948897011578083,
-0.029254263266921043,
0.004299559164792299,
0.04673413932323456,
0.008649086579680443,
0.0005876972572878003,
-0.034741707146167755,
-0.05392959713935852,
0.025129593908786774,
0.06712126731872559,
-0.0018465617904439569,
-0.04088328778743744,
-0.025692874565720558,
-0.0060552689246833324,
-0.017934134230017662,
-0.022603914141654968,
-0.0045857420191168785,
0.046080004423856735,
0.10168127715587616,
0.026601390913128853,
-0.003082145471125841,
0.00983015913516283,
0.02721918374300003,
-0.024239245802164078,
0.03659508377313614,
0.026074452325701714,
-0.06250600516796112,
0.03228871151804924,
-0.006791167892515659,
0.02240404114127159,
0.012310411781072617,
0.005228518042713404,
0.09375900030136108,
0.016335144639015198,
-0.013209844008088112,
0.011083913035690784,
-0.037830665707588196,
0.035759247839450836,
0.004674322437494993,
-0.0219134408980608,
-0.0016909781843423843,
-0.01675306260585785,
-0.04858751595020294,
-0.06450474262237549,
0.0032615778036415577,
-0.084165059030056,
0.013282525353133678,
-0.037757985293865204,
-0.044771742075681686,
0.007658802438527346,
0.03167092055082321,
-0.017561642453074455,
0.03632253035902977,
-0.05207622051239014,
0.005069527309387922,
-0.06824783235788345,
-0.01572643779218197,
-0.02369413524866104,
-0.036213506013154984,
0.07617010176181793,
0.006941073574125767,
-0.04131937399506569,
-0.018342968076467514,
-0.02173173800110817,
-0.017488962039351463,
-0.024511801078915596,
-0.02954498864710331,
0.034341961145401,
-0.03721287474036217,
0.017643408849835396,
0.0011464355047792196,
-0.0678117424249649,
0.03287016227841377,
0.04328177124261856,
0.016644040122628212,
-0.01922423020005226,
-0.03485073149204254,
-0.023548772558569908,
0.042627640068531036,
0.03183445334434509,
-0.004385868087410927,
-0.039465997368097305,
-0.017461705952882767,
-0.027927827090024948,
0.0015444797463715076,
-0.012074197642505169,
0.006137035321444273,
0.02910890057682991,
0.008390158414840698,
-0.05916265770792961,
-0.0141728725284338,
-0.04989577829837799,
-0.0043358998373150826,
0.05854486674070358,
-0.0015660569770261645,
-0.02627432532608509,
0.027273694053292274,
0.007213628850877285,
-0.04077426344156265,
0.036885809153318405,
0.030944105237722397,
0.00794044230133295,
0.06290575116872787,
0.029581328853964806,
-0.01193792000412941,
0.0022054261062294245,
-0.01304631121456623,
-0.018497414886951447,
0.030635209754109383,
0.0279096569865942,
0.01597173698246479,
-0.02972669154405594,
0.0909971073269844,
-0.0008761515491642058,
0.04077426344156265,
-0.05145842954516411,
-0.0549834780395031,
-0.017307257279753685,
-0.1202150285243988,
-0.044117607176303864,
-0.04012013226747513,
0.010420694947242737,
0.06628543138504028,
0.015390286222100258,
0.028273064643144608,
0.05207622051239014,
0.010538802482187748,
0.027346376329660416,
0.023821327835321426,
0.029127070680260658,
0.049859438091516495,
0.05563760921359062,
0.03939331695437431,
-0.0025824608746916056,
-0.0014717982849106193,
-0.03308820724487305,
-0.0253476370126009,
0.06519521027803421,
-0.03205249458551407,
0.013800380751490593,
0.01176530122756958,
0.02276744693517685,
0.03014460951089859,
0.03108946792781353,
-0.00390889635309577,
-0.0014388645067811012,
-0.027201013639569283,
-0.008385616354644299,
-0.026328835636377335,
0.013645932078361511,
0.05007748305797577,
0.006822966039180756,
-0.015154071152210236,
-0.01391848735511303,
0.0022871927358210087,
0.01489968691021204,
-0.06973779946565628,
0.027945997193455696,
0.04604366421699524,
-0.026237985119223595,
-0.060325559228658676,
0.018061326816678047,
0.04738827049732208,
0.05850852653384209,
0.023766817525029182,
0.0032116093207150698,
-0.011610853485763073,
0.009148770943284035,
0.008998865261673927,
0.004765174351632595,
0.014054764993488789,
0.024766186252236366,
0.03819407522678375,
0.0024166565854102373,
-0.029908394441008568,
-0.013818550854921341,
-0.003263849066570401,
0.022004293277859688,
0.039284296333789825,
0.003788517788052559,
0.008285678923130035,
-0.05076795816421509,
-0.05403861775994301,
-0.004260946996510029,
0.023167194798588753,
-0.05770903080701828,
-0.07002852857112885,
0.01785236783325672,
0.04575293883681297,
0.008203912526369095,
-0.033705998212099075,
-0.05632808431982994,
0.04858751595020294,
-0.05687319487333298,
0.003481893101707101,
-0.03497792407870293,
-0.06901098787784576,
0.03125300258398056,
0.017134640365839005,
0.014163787476718426,
-0.017452619969844818,
0.0016489592380821705,
0.02954498864710331,
0.022222338244318962,
0.03167092055082321,
-0.012246815487742424,
0.034650854766368866,
-0.004774259403347969,
0.03837577626109123,
-0.0219134408980608,
0.011692619882524014,
-0.019115207716822624,
0.0064186761155724525,
0.01993287354707718,
-0.0026869403664022684,
0.07017388939857483,
0.02053249441087246,
-0.010675080120563507,
-0.02576555497944355,
-0.042991045862436295,
0.03881186619400978,
0.0015876343240961432,
-0.0064323036931455135,
-0.032615777105093,
0.004254132974892855,
0.014200127683579922,
0.03844846040010452,
0.028454767540097237,
0.04931432753801346,
-0.06624909490346909,
0.01640782505273819,
-0.0033592432737350464,
0.03230687975883484,
0.007172745652496815,
-0.002249716315418482,
0.02284012921154499,
0.028127700090408325,
-0.021749908104538918,
-0.014027509838342667,
0.017452619969844818,
0.03479621931910515,
0.031034957617521286,
-0.004633439239114523,
0.02696479856967926,
-0.07958613336086273,
-0.046152688562870026,
0.014245553873479366,
0.01873362995684147,
0.03615899384021759,
-0.0816212072968483,
0.024457290768623352,
-0.07762373238801956,
0.0017398109193891287,
0.10633288323879242,
-0.015372115187346935,
-0.04502612724900246,
0.042082529515028,
0.04320909082889557,
0.007863218896090984,
-0.054329343140125275,
-0.03288833424448967,
-0.05680051073431969,
0.020205428823828697,
-0.025492999702692032,
0.00846284069120884,
0.016516847535967827,
0.026728583499789238,
0.005464732646942139,
-0.11541806161403656,
-0.006182461511343718,
0.051821835339069366,
0.017816027626395226,
0.06039824336767197,
0.05832682177424431,
-0.031561896204948425,
-0.012464859522879124,
0.019260570406913757,
0.007177288178354502,
0.029744861647486687,
0.0107386764138937,
0.012074197642505169,
-0.011556342244148254,
-0.007554322946816683,
0.036377038806676865,
0.02378498762845993,
-0.030253631994128227,
0.027673441916704178,
-0.03288833424448967,
-0.0066730608232319355,
-0.010793187655508518,
-0.007408959791064262,
-0.04517148807644844,
0.018079496920108795,
0.06261502206325531,
0.03372417017817497,
-0.03214334696531296,
-0.03281565010547638,
-0.009012493304908276,
-0.008608203381299973,
-0.033033695071935654,
0.0009391799103468657,
0.032761141657829285,
0.01598990708589554,
0.026946628466248512,
0.023912180215120316,
-0.0032615778036415577,
-0.058435842394828796,
0.062396980822086334,
0.01796139031648636,
0.01480883453041315,
0.022603914141654968,
-0.027764294296503067,
-0.0395023413002491,
0.021259309723973274,
-0.024112053215503693,
0.023675965145230293,
0.0133097805082798,
-0.005946246907114983,
0.02465716376900673,
0.012346751987934113,
-0.007318108342587948,
-0.034741707146167755,
-0.04945969209074974,
0.008362903259694576,
0.08125780522823334,
0.06232430040836334,
0.003132113954052329,
0.04815142601728439,
0.013455144129693508,
0.028781833127141,
-0.06504984945058823,
0.021186627447605133,
0.018079496920108795,
-0.05076795816421509,
-0.009375900030136108,
0.04302738606929779,
0.02380315773189068,
-0.022894639521837234,
-0.003418297041207552,
-0.01434549130499363,
0.023821327835321426,
-0.04542587324976921,
0.036068145185709,
0.03312454745173454,
0.04793338105082512,
0.004824227653443813,
0.05447470769286156,
-0.013409717939794064,
0.017643408849835396,
-0.008399244397878647,
0.003041262272745371,
0.0012083282927051187,
-0.006150663364678621,
0.010838613845407963,
0.02309451438486576,
0.0033251738641411066,
-0.005405678879469633,
-0.01778877153992653,
0.04789704084396362,
-0.000829590018838644,
-0.05040454864501953,
0.0020839120261371136,
-0.058617547154426575,
-0.010884039103984833,
0.03712202236056328,
-0.02869098260998726,
-0.03372417017817497,
0.02852744795382023,
-0.010729591362178326,
-0.009975521825253963,
0.061779189854860306,
0.0386665053665638,
0.013237099163234234,
-0.011819812469184399,
-0.048042405396699905,
-0.01967848837375641,
0.017225490882992744,
-0.007268139626830816,
0.03288833424448967,
-0.006282398477196693,
-0.01588997058570385,
0.04026549309492111,
-0.08140316605567932,
-0.03932063654065132,
0.022622084245085716,
0.030526187270879745,
0.012419434264302254,
-0.0030980445444583893,
-0.09048833698034286,
-0.009466752409934998,
-0.03841212019324303,
0.01725274696946144,
-0.035759247839450836,
-0.01656227372586727,
0.07220897078514099,
-0.05254865065217018,
-0.03657691180706024,
0.039647702127695084,
-0.02120479755103588,
0.007277225144207478,
-0.044771742075681686,
-0.05018650367856026,
-0.0038929972797632217,
-0.0970296636223793,
0.025383979082107544,
0.014481768943369389,
0.09935547411441803,
-0.019533125683665276,
-0.047715336084365845,
0.0025733758229762316,
0.008876215666532516,
0.023730475455522537,
-0.002455268520861864,
0.00846284069120884,
0.0075361523777246475,
-0.0029390540439635515,
0.02053249441087246,
-0.0266195610165596,
-0.01588997058570385,
-0.03768530488014221,
-0.01837022416293621,
0.04200984910130501,
-0.06417767703533173,
0.0033410729374736547,
-0.027419056743383408,
0.038775525987148285,
-0.023766817525029182,
-0.009957351721823215,
0.021586375311017036,
-0.007027382496744394,
0.06901098787784576,
0.06483180820941925,
-0.06494083255529404,
0.0029117984231561422,
0.10938550531864166,
0.057163920253515244,
-0.05207622051239014,
-0.05538322404026985,
-0.07944076508283615,
0.07308114320039749,
-0.006173375993967056,
-0.02311268448829651,
0.014445427805185318,
-0.024184735491871834,
-0.018397478386759758,
-0.037503600120544434,
-0.013982083648443222,
-0.06930170953273773,
-0.028400255367159843,
0.0011186121264472604,
0.04993211850523949,
0.011492745950818062,
0.03492341190576553,
0.016934765502810478,
0.027091991156339645,
0.020423471927642822,
-0.01898801513016224,
-0.007499811705201864,
0.013673188164830208,
0.06148846074938774,
-0.030090099200606346,
-0.03021729178726673,
0.007835962809622288,
0.05254865065217018,
-0.03537767007946968,
-0.01906069740653038,
0.02758258953690529,
0.010556972585618496,
0.012137793004512787,
0.0036000004038214684,
-0.00573274539783597,
0.02938145585358143,
0.07293578237295151,
0.01099306158721447
]
|
31,469 | prefect_sqlalchemy.database | close |
Closes sync connections and its cursors.
| def close(self):
"""
Closes sync connections and its cursors.
"""
if self._driver_is_async:
raise RuntimeError(
f"{self._rendered_url.drivername} is not synchronous. "
f"Please use the `aclose` method instead."
)
try:
self.reset_connections()
finally:
if self._engine is not None:
self._engine.dispose()
self._engine = None
self.logger.info("Disposed the engine.")
| (self) | [
-0.010005665011703968,
-0.12623585760593414,
-0.03253554552793503,
0.04314086586236954,
-0.017629845067858696,
-0.03262120857834816,
-0.06308366358280182,
0.04848635569214821,
0.009534507989883423,
-0.023574993014335632,
0.0022358549758791924,
-0.08861181885004044,
0.020473921671509743,
0.04293527081608772,
-0.005452573765069246,
0.012541347183287144,
-0.021981624886393547,
-0.015376857481896877,
0.001752918935380876,
-0.055956341326236725,
-0.03289533779025078,
0.05952000245451927,
0.003319516545161605,
-0.0953964814543724,
-0.0007169084856286645,
0.012070190161466599,
-0.02946873940527439,
0.04012545943260193,
-0.023694923147559166,
0.005992262624204159,
-0.038480691611766815,
0.040947843343019485,
0.0050113992765545845,
0.040091194212436676,
0.03023972548544407,
0.01125637348741293,
0.022701209411025047,
0.0024478756822645664,
0.03882335126399994,
0.021673230454325676,
-0.05006259307265282,
-0.04653319716453552,
-0.0007201209082268178,
-0.01922321319580078,
-0.00431323004886508,
-0.0052341278642416,
-0.04358632117509842,
-0.01244711596518755,
0.04653319716453552,
-0.012935406528413296,
0.02453443966805935,
0.047424111515283585,
-0.04968566820025444,
0.056984320282936096,
-0.007302936166524887,
0.034128911793231964,
-0.03974853456020355,
0.06627039611339569,
-0.010228394530713558,
-0.05575074627995491,
0.01855502650141716,
0.004386045038700104,
-0.030034128576517105,
0.02115924097597599,
0.05396891385316849,
0.0013984801480546594,
-0.010022798553109169,
0.041084907948970795,
0.07819496095180511,
-0.010562486946582794,
-0.01990853250026703,
0.021981624886393547,
0.0016469084657728672,
0.0009540932951495051,
-0.013158135116100311,
-0.022084422409534454,
-0.006998825818300247,
0.007380034774541855,
0.024637237191200256,
-0.009346045553684235,
-0.02600787580013275,
0.05516822263598442,
0.035739414393901825,
0.010048497468233109,
0.04201008751988411,
-0.042661141604185104,
-0.020199794322252274,
0.01954874023795128,
-0.05438010394573212,
-0.005272677168250084,
0.005551088135689497,
-0.0008994818781502545,
-0.007834059186279774,
0.019291745498776436,
0.017578445374965668,
0.005713851656764746,
-0.01814383454620838,
-0.0074828327633440495,
-0.019840000197291374,
-0.05794376879930496,
-0.020919378846883774,
-0.025630950927734375,
-0.024517307057976723,
-0.019822867587208748,
-0.01673036254942417,
-0.06986832618713379,
0.020148394629359245,
-0.02835509553551674,
-0.05746404454112053,
-0.007101623807102442,
-0.08724118024110794,
0.0018610708648338914,
0.009551641531288624,
0.012592746876180172,
0.01900048367679119,
-0.04012545943260193,
-0.010048497468233109,
0.01990853250026703,
0.03669886291027069,
-0.03484850004315376,
-0.07641313225030899,
0.031696029007434845,
-0.061027705669403076,
0.0036493265070021152,
0.02772117592394352,
0.08868034929037094,
0.03714431822299957,
0.0353967547416687,
-0.040947843343019485,
0.02910894714295864,
0.0361163392663002,
0.003578652860596776,
0.017321450635790825,
-0.03253554552793503,
0.03483136370778084,
0.026967324316501617,
-0.009123316034674644,
-0.05619620159268379,
-0.027789706364274025,
0.012472815811634064,
-0.03800096735358238,
0.011539068073034286,
-0.032809674739837646,
0.02825229801237583,
0.07189001888036728,
0.04516255855560303,
-0.06051371619105339,
-0.06311792880296707,
-0.06531095504760742,
-0.0548255629837513,
0.05184442177414894,
-0.00423827301710844,
0.020867979153990746,
-0.017047323286533356,
-0.060582246631383896,
0.000017902633771882392,
-0.009748670272529125,
0.03858349099755287,
0.006399170961230993,
-0.017629845067858696,
0.03639046847820282,
-0.004259689245373011,
-0.005105630494654179,
0.007332919165492058,
-0.04523108899593353,
-0.026213472709059715,
-0.00948310922831297,
-0.015471088699996471,
-0.017801174893975258,
-0.02448303997516632,
-0.043072331696748734,
0.011599033139646053,
-0.0018557168077677488,
0.004002694506198168,
0.002837651176378131,
0.049445804208517075,
0.04882901534438133,
0.01711585558950901,
-0.010416856966912746,
-0.02539108879864216,
0.016850294545292854,
-0.08614466339349747,
-0.032998137176036835,
0.00215661502443254,
0.015916546806693077,
0.005512538831681013,
0.006000829394906759,
0.0006981692858971655,
0.025905078276991844,
-0.02484283410012722,
-0.0036150605883449316,
0.019428808242082596,
0.005311226472258568,
0.011787496507167816,
0.10615599900484085,
-0.013132435269653797,
0.03556808456778526,
0.0353282205760479,
0.008236683905124664,
0.06465990096330643,
-0.018623558804392815,
0.0060436618514359,
0.038206566125154495,
-0.08175861835479736,
0.049891263246536255,
-0.0015740933595225215,
0.05013112351298332,
-0.07442570477724075,
0.015308325178921223,
-0.012661278247833252,
-0.02861209027469158,
0.01944594271481037,
-0.040056925266981125,
0.012335752137005329,
0.05461996793746948,
0.027378516271710396,
0.039645735174417496,
-0.03073658049106598,
0.02484283410012722,
0.05198148638010025,
-0.02730998396873474,
-0.032775405794382095,
0.038617756217718124,
-0.04999405890703201,
-0.026076408103108406,
-0.0007094127940945327,
-0.05571647733449936,
0.015873713418841362,
0.051604561507701874,
-0.03584221005439758,
-0.027464181184768677,
0.07093057036399841,
0.008219551295042038,
0.0081124696880579,
0.02453443966805935,
-0.04074224829673767,
-0.054654233157634735,
0.04091357812285423,
-0.07641313225030899,
-0.00948310922831297,
-0.032638341188430786,
0.017578445374965668,
-0.03628766909241676,
-0.009637306444346905,
-0.06825782358646393,
0.003385906806215644,
0.04766397550702095,
-0.004527392331510782,
0.06654452532529831,
-0.042661141604185104,
0.002375060459598899,
-0.10087903589010239,
0.06472843140363693,
-0.04879475012421608,
-0.02462010458111763,
-0.08676145225763321,
-0.0167817622423172,
0.040639448910951614,
0.015608152374625206,
0.01742425002157688,
0.023712055757641792,
0.039508670568466187,
-0.048589155077934265,
0.07908587157726288,
0.05924587324261665,
-0.000006989556368353078,
0.02866348996758461,
0.025459621101617813,
-0.002893333323299885,
-0.000036340676160762087,
0.011402003467082977,
-0.014888566918671131,
-0.0411534383893013,
-0.03202155604958534,
-0.03238134831190109,
0.015505354851484299,
-0.008575060404837132,
-0.061027705669403076,
-0.056812990456819534,
-0.03885761648416519,
0.0476297065615654,
-0.012721244245767593,
0.004375337157398462,
-0.019308878108859062,
0.027909638360142708,
-0.019240345805883408,
0.006621900014579296,
-0.03954293578863144,
-0.011427703313529491,
0.004036960192024708,
-0.018041037023067474,
-0.024243177846074104,
-0.006313506048172712,
0.0476982407271862,
-0.0060693612322211266,
0.01237858459353447,
-0.00872497446835041,
0.021090708673000336,
0.004306804854422808,
0.011539068073034286,
-0.029485873878002167,
-0.03041105531156063,
0.043689120560884476,
0.079428531229496,
-0.00840373057872057,
-0.0663389340043068,
0.026213472709059715,
-0.001771122682839632,
-0.0072986530140042305,
0.04173595830798149,
0.002010984579101205,
-0.0017925389111042023,
-0.013792055658996105,
0.05181015655398369,
0.011873161420226097,
-0.0071658724918961525,
0.0061550261452794075,
-0.029588671401143074,
0.0060222456231713295,
0.03126770257949829,
-0.06781236827373505,
-0.03347785770893097,
0.04146183282136917,
0.00333022465929389,
-0.00194352341350168,
-0.00488718505948782,
0.019343143329024315,
0.039714265614748,
0.03005126118659973,
-0.015068463049829006,
-0.011127876117825508,
-0.00894341990351677,
-0.003475855104625225,
-0.009183282032608986,
-0.006073644384741783,
-0.07099910080432892,
0.022889671847224236,
-0.06750397384166718,
0.02700158953666687,
-0.04595067352056503,
-0.04495696350932121,
0.007872608490288258,
0.0018707081908360124,
-0.019343143329024315,
-0.05979412794113159,
0.04159889742732048,
-0.011239240877330303,
-0.07476836442947388,
0.018041037023067474,
-0.02165609784424305,
0.03930307552218437,
0.04142756760120392,
-0.013355164788663387,
0.04848635569214821,
-0.032775405794382095,
-0.001502348924987018,
0.040365319699048996,
0.029091814532876015,
0.0068831779062747955,
-0.0751795545220375,
0.017989637330174446,
-0.023609258234500885,
0.0037307082675397396,
-0.007285803556442261,
-0.017021624371409416,
-0.04303806647658348,
-0.03608207404613495,
0.006279240362346172,
0.0037157167680561543,
0.017595579847693443,
-0.07723551243543625,
-0.00984290149062872,
0.0822383463382721,
0.05026818811893463,
-0.013003937900066376,
0.009894301183521748,
0.022495614364743233,
0.03556808456778526,
0.022855406627058983,
-0.006407737731933594,
0.029897063970565796,
0.0036900173872709274,
0.06897740811109543,
-0.04314086586236954,
0.004446010570973158,
-0.05674445629119873,
0.04057091847062111,
-0.003396614920347929,
-0.03854922577738762,
-0.013663558289408684,
0.029708601534366608,
-0.03882335126399994,
-0.020696649327874184,
-0.02151903323829174,
-0.014939965680241585,
0.04142756760120392,
0.04971993342041969,
0.013149568811058998,
-0.0027005872689187527,
-0.01941167563199997,
-0.015736650675535202,
0.009851468726992607,
0.03786390274763107,
0.02304386906325817,
0.03628766909241676,
-0.006690431851893663,
0.045984942466020584,
0.019154680892825127,
0.04334646090865135,
-0.02686452679336071,
-0.10348325222730637,
0.0030004146974533796,
-0.06644172966480255,
-0.006926010362803936,
0.01598507910966873,
0.020833713933825493,
0.0541059784591198,
0.029760001227259636,
0.07326065748929977,
0.0707249790430069,
0.004208290483802557,
0.010185562074184418,
-0.008502245880663395,
0.00011571459617698565,
-0.028183765709400177,
-0.03298100456595421,
0.033049535006284714,
0.011607599444687366,
-0.00997139886021614,
0.020833713933825493,
-0.028337962925434113,
0.004535958636552095,
-0.00834804866462946,
-0.00022741364955436438,
-0.013141002506017685,
0.05023392289876938,
0.010236960835754871,
0.034385908395051956,
0.022495614364743233,
-0.006090777460485697,
0.03483136370778084,
0.030805112794041634,
-0.03800096735358238,
-0.03724711760878563,
0.07744111120700836,
-0.06051371619105339,
0.024003317579627037,
-0.0012196545721963048,
0.004236131440848112,
0.02650473266839981,
-0.061164770275354385,
0.03752124309539795,
0.027104387059807777,
-0.040639448910951614,
-0.018931951373815536,
-0.00698597589507699,
0.04663599282503128,
0.01163329929113388,
0.02902328222990036,
0.007148739416152239,
0.009037651121616364,
0.02426031231880188,
0.045128293335437775,
-0.014366011135280132,
-0.0128240417689085,
0.024808567017316818,
-0.0025356824044138193,
-0.007414300926029682,
0.0020998618565499783,
-0.026401935145258904,
0.0007281519938260317,
-0.007414300926029682,
0.005208428483456373,
0.0010756304254755378,
-0.035431019961833954,
-0.014957099221646786,
-0.0541745088994503,
0.041941557079553604,
0.0555451475083828,
-0.05078217759728432,
-0.05736124515533447,
-0.028560692444443703,
0.031147772446274757,
-0.03046245314180851,
-0.04896607995033264,
0.015205527655780315,
0.08388311415910721,
-0.08730971068143845,
-0.0418730229139328,
-0.05270107090473175,
-0.005512538831681013,
0.014203247614204884,
0.007105906959623098,
-0.02237568236887455,
0.025511018931865692,
0.022769741714000702,
-0.06969700008630753,
-0.05283813551068306,
0.00011852548050228506,
-0.07586487382650375,
0.04087930917739868,
0.0035079794470220804,
-0.01190742664039135,
-0.01800677180290222,
0.0584920234978199,
-0.0346771702170372,
0.055956341326236725,
0.0005238946760073304,
-0.002059170976281166,
-0.00019448618695605546,
-0.05256401002407074,
-0.04197582229971886,
-0.0212963055819273,
-0.015145561657845974,
0.05616193637251854,
-0.018349431455135345,
-0.010296925902366638,
-0.04248981177806854,
0.024637237191200256,
0.015685250982642174,
0.030428187921643257,
0.0018160968320444226,
-0.02641906775534153,
0.004848635755479336,
-0.010896580293774605,
-0.04567654803395271,
0.0016811745008453727,
0.02138197049498558,
0.01684172824025154,
0.018949085846543312,
0.041221968829631805,
0.025716615840792656,
-0.01426321268081665,
-0.02766977623105049,
0.046875856816768646,
-0.041359033435583115,
-0.038275096565485,
-0.010262659750878811,
0.03332366421818733,
0.027292851358652115,
-0.041667427867650986,
0.010905147530138493,
0.034797098487615585,
-0.013021071441471577,
0.0020645251497626305,
-0.044682834297418594,
0.05575074627995491,
0.02575088106095791,
-0.004630190320312977,
0.01855502650141716,
0.03197015821933746,
0.0613703653216362,
0.040091194212436676,
-0.04992552846670151,
-0.039645735174417496,
-0.016027910634875298,
-0.010571054182946682,
0.004296096973121166,
0.0025228324811905622,
-0.02893761731684208,
-0.00027653714641928673,
0.025545286014676094,
-0.01725292019546032,
-0.019651537761092186,
0.055373817682266235,
0.04156462848186493,
0.08216981589794159,
0.010099897161126137,
0.05126190185546875,
0.024157512933015823,
-0.007816925644874573,
-0.041084907948970795,
0.10348325222730637,
0.003578652860596776,
0.04790383577346802,
-0.015462522394955158,
-0.014640138484537601,
-0.010536788031458855,
0.01186459418386221,
-0.04314086586236954,
0.013132435269653797,
-0.017132988199591637,
0.004092642571777105,
-0.04146183282136917,
0.009508808143436909,
0.014049050398170948,
0.048589155077934265,
0.06644172966480255,
0.03697298839688301,
-0.027704041451215744,
-0.0019499482586979866,
-0.007371468469500542,
0.004647322930395603,
-0.049034614115953445,
0.017852574586868286,
0.009945699945092201,
-0.02763551101088524,
0.018503626808524132,
0.0024478756822645664,
0.03512262552976608,
-0.000817564781755209,
0.05599060654640198,
0.029348809272050858,
0.022358549758791924,
-0.002826943062245846,
0.038069501519203186,
-0.03549955040216446,
0.01673036254942417,
-0.011581900529563427,
0.02700158953666687,
-0.006900310982018709,
0.02965720370411873,
0.004433160647749901,
-0.03380338475108147,
-0.032998137176036835,
-0.01096511259675026,
-0.04502549394965172,
0.049582868814468384,
0.007868325337767601,
0.057258445769548416,
0.011145008727908134,
0.026898792013525963,
0.00019729706400539726,
0.008609326556324959,
-0.0642487034201622,
0.06914874166250229,
-0.030805112794041634,
-0.0038656305987387896,
-0.044134579598903656,
0.037761107087135315,
-0.02719005197286606,
-0.048280760645866394,
0.0013717098627239466,
0.036150604486465454,
0.004882901906967163,
-0.047115717083215714,
0.012635579332709312,
-0.004011260811239481,
0.013749223202466965,
0.003850639099255204,
0.053489189594984055,
-0.006112193688750267,
0.0613703653216362,
0.05064511299133301,
-0.015471088699996471,
0.034026116132736206,
-0.011170708574354649,
-0.030119793489575386,
0.024945631623268127,
-0.009337478317320347,
-0.00986003503203392,
0.042112886905670166,
0.06688718497753143,
-0.08299219608306885,
-0.03325513005256653,
-0.002031330019235611,
-0.030839379876852036,
-0.040639448910951614,
0.017244352027773857,
0.013509361073374748,
-0.02924601174890995,
-0.005152746103703976,
-0.007495682220906019,
-0.018846286460757256,
0.023249465972185135,
0.010528221726417542,
-0.008048221468925476,
0.043689120560884476,
-0.029177479445934296,
-0.0241746474057436,
-0.010254093445837498,
0.011744664050638676,
0.006480552721768618,
0.025853680446743965,
-0.017578445374965668,
0.05557941272854805,
-0.016490502282977104,
-0.018537893891334534,
-0.03137050196528435,
0.03758977726101875,
-0.01972007006406784,
0.048006635159254074,
-0.06404311209917068,
-0.015265492722392082,
-0.03298100456595421,
0.018726356327533722,
-0.06651026010513306,
0.022358549758791924,
0.04735558107495308,
-0.07339772582054138,
-0.04444297030568123,
0.06119903549551964,
-0.028646357357501984,
-0.05431157350540161,
-0.07613900303840637,
-0.04139329865574837,
0.03368345648050308,
-0.07819496095180511,
-0.0001940846414072439,
0.016790328547358513,
0.04824649542570114,
-0.025373956188559532,
0.019103283062577248,
-0.001953160623088479,
0.05876614898443222,
0.04293527081608772,
0.022529879584908485,
-0.0024971331004053354,
0.0003091969119850546,
0.005735267885029316,
0.0238491203635931,
-0.02650473266839981,
-0.019702937453985214,
0.0353282205760479,
0.03375198692083359,
0.0350026972591877,
-0.016816027462482452,
-0.018075302243232727,
-0.01684172824025154,
0.04033105447888374,
-0.01994279772043228,
-0.013149568811058998,
0.040776513516902924,
-0.029091814532876015,
0.03854922577738762,
0.02066238410770893,
-0.05674445629119873,
0.08073063939809799,
0.037761107087135315,
0.04255834221839905,
-0.09340905398130417,
-0.07312359660863876,
-0.04831502586603165,
0.09320345520973206,
-0.047732505947351456,
-0.019480207934975624,
0.032638341188430786,
-0.0059237307868897915,
0.0035336788278073072,
-0.01980573497712612,
-0.040193989872932434,
-0.04437443986535072,
-0.05821789428591728,
-0.031473301351070404,
0.04362059012055397,
-0.011941692791879177,
0.02215295471251011,
0.04461430013179779,
0.023746322840452194,
-0.03109637461602688,
0.030445320531725883,
0.01554818730801344,
0.028732022270560265,
0.04492269456386566,
0.014271778985857964,
-0.026127807796001434,
0.012044491246342659,
0.06003399193286896,
-0.03885761648416519,
0.005336925853043795,
0.0642487034201622,
0.06955993175506592,
-0.0032081520184874535,
0.0077141281217336655,
0.003079654648900032,
0.015205527655780315,
0.03923454508185387,
-0.005409741308540106
]
|
31,471 | prefect_sqlalchemy.database | dict |
Convert to a dictionary.
| def dict(self, *args, **kwargs) -> Dict:
"""
Convert to a dictionary.
"""
# Support serialization of the 'URL' type
d = super().dict(*args, **kwargs)
d["_rendered_url"] = SecretStr(
self._rendered_url.render_as_string(hide_password=False)
)
return d
| (self, *args, **kwargs) -> Dict | [
-0.019582627341151237,
-0.058180004358291626,
-0.005083422642201185,
-0.013500838540494442,
-0.01082631666213274,
0.038725607097148895,
-0.023924143984913826,
0.03663728013634682,
0.022293785586953163,
0.0002454411587677896,
0.032039303332567215,
0.05942567065358162,
0.018446872010827065,
0.022110600024461746,
0.009168479591608047,
-0.002463857177644968,
0.005124639719724655,
0.005573446396738291,
-0.0031966029200702906,
-0.04707890748977661,
-0.03392612189054489,
-0.044111285358667374,
0.030482217669487,
0.004662094172090292,
-0.01411451306194067,
0.02187245711684227,
0.00882042571902275,
-0.011989550665020943,
-0.004753687418997288,
0.01950935274362564,
0.018648376688361168,
-0.02088325098156929,
0.07492323964834213,
0.08382610231637955,
0.02916327677667141,
-0.04019109904766083,
-0.04861767217516899,
0.033303290605545044,
-0.12148922681808472,
-0.006938185077160597,
-0.05796017870306969,
0.033303290605545044,
-0.03704029321670532,
-0.03758985176682472,
0.06034160405397415,
0.045796602964401245,
-0.03136151283979416,
0.04696899652481079,
-0.04594315215945244,
-0.0679621547460556,
0.03788295015692711,
-0.01989404298365116,
-0.0020997740793973207,
0.04495394602417946,
-0.021359534934163094,
-0.0028187809512019157,
-0.005257450044155121,
0.04953360557556152,
-0.011943753808736801,
0.05645805224776268,
-0.03200266510248184,
-0.02418060600757599,
0.010093570686876774,
-0.043012168258428574,
-0.00013366882922127843,
0.0017494302010163665,
-0.06711950153112411,
0.024546978995203972,
0.011668974533677101,
0.00712595134973526,
0.061037711799144745,
-0.05349043011665344,
-0.010258438996970654,
0.01661500707268715,
-0.01578150875866413,
-0.029969295486807823,
0.01786983385682106,
-0.015525047667324543,
-0.0012410879135131836,
-0.020150505006313324,
0.022000687196850777,
-0.06484799087047577,
-0.04532031714916229,
-0.02484007738530636,
-0.03200266510248184,
-0.029841065406799316,
-0.008884540759027004,
-0.04041092097759247,
-0.028577079996466637,
0.059608858078718185,
-0.002064281841740012,
0.033028509467840195,
-0.07964944839477539,
0.006177961360663176,
-0.0158914215862751,
-0.016157040372490883,
-0.005362782161682844,
-0.00967224221676588,
0.05455291271209717,
-0.028686990961432457,
0.04762846603989601,
-0.01895979233086109,
-0.040044549852609634,
0.004188099410384893,
-0.015112878754734993,
-0.0967957004904747,
0.013848892413079739,
-0.02440042980015278,
-0.02811911329627037,
0.004014072008430958,
0.003189733251929283,
0.014920532703399658,
-0.029236551374197006,
0.04521040618419647,
0.028210707008838654,
0.022275466471910477,
-0.03469550609588623,
-0.040044549852609634,
0.05513910949230194,
0.003544657025486231,
-0.0468224473297596,
0.05535893142223358,
-0.02619565650820732,
0.03700365498661995,
0.02445538528263569,
0.09298542141914368,
-0.042022962123155594,
-0.016642484813928604,
0.022293785586953163,
-0.01890483684837818,
0.01090875081717968,
0.03053717501461506,
-0.048214662820100784,
0.027386367321014404,
0.013198580592870712,
-0.035318341106176376,
0.020864931866526604,
0.043928101658821106,
0.040154460817575455,
0.12881667912006378,
0.022495290264487267,
0.04198632389307022,
-0.006228337995707989,
0.013555794022977352,
0.00945241842418909,
-0.057813629508018494,
0.031105052679777145,
0.009122682735323906,
-0.027056632563471794,
-0.0354282520711422,
0.08675708621740341,
0.03279036656022072,
0.056274864822626114,
0.027441324666142464,
-0.02767946571111679,
-0.014224424958229065,
0.0008592587546445429,
0.007593076676130295,
-0.0006056600832380354,
0.006530595477670431,
0.030005933716893196,
-0.05360034108161926,
0.053856804966926575,
-0.0302074383944273,
0.005687938071787357,
0.05041290074586868,
0.12090303003787994,
-0.04326862841844559,
0.036252591758966446,
-0.0032401096541434526,
-0.020736701786518097,
-0.05393007770180702,
-0.061367444694042206,
0.025865919888019562,
0.025884239003062248,
0.026012469083070755,
0.024217242375016212,
-0.02214723639190197,
-0.018620898947119713,
-0.019216254353523254,
0.045027218759059906,
-0.05554211884737015,
-0.04282898083329201,
0.06305275857448578,
0.055065833032131195,
-0.04385482519865036,
0.00145289720967412,
0.03868896886706352,
0.011247645132243633,
0.02467520907521248,
-0.02055351436138153,
0.020846612751483917,
-0.05290423333644867,
-0.04216951131820679,
-0.018053021281957626,
-0.03573966771364212,
-0.019967317581176758,
-0.07547280192375183,
-0.04235269874334335,
0.03475046157836914,
-0.03627090901136398,
-0.050559449940919876,
-0.035281702876091,
-0.028485486283898354,
0.02685512788593769,
-0.018712490797042847,
0.0028714470099657774,
-0.020516877993941307,
0.03460391238331795,
-0.009736357256770134,
-0.015754031017422676,
-0.01830948144197464,
-0.008976133540272713,
-0.003785089123994112,
0.013189421035349369,
-0.08177441358566284,
-0.024162286892533302,
0.025517866015434265,
-0.036802150309085846,
-0.00648479862138629,
0.0891018658876419,
0.017897311598062515,
0.005316985305398703,
-0.05770371854305267,
-0.027331411838531494,
-0.039714813232421875,
0.01939943991601467,
-0.04444102197885513,
-0.07287155091762543,
-0.01068892702460289,
-0.020755019038915634,
-0.04916723072528839,
0.005101741291582584,
0.09042081236839294,
0.06495790183544159,
0.017347753047943115,
-0.012300967238843441,
-0.035373296588659286,
0.02044360339641571,
0.020681746304035187,
0.05590848997235298,
0.014728187583386898,
-0.007409890182316303,
0.021194666624069214,
-0.012090303003787994,
0.03460391238331795,
0.01813545450568199,
0.08067529648542404,
-0.02575600892305374,
-0.0817011371254921,
0.04989997670054436,
-0.008568543940782547,
-0.02954796701669693,
0.032039303332567215,
-0.01890483684837818,
0.0017024886328727007,
0.02674521505832672,
-0.0019074284937232733,
0.0131802624091506,
-0.039165254682302475,
0.008737991563975811,
-0.05283096060156822,
-0.02960292249917984,
0.02542627416551113,
0.050302986055612564,
-0.023337949067354202,
-0.0027592452242970467,
0.029914340004324913,
-0.05847310274839401,
0.023887507617473602,
0.11687292903661728,
0.017192045226693153,
0.0063199312426149845,
0.010734723880887032,
-0.0037965383380651474,
-0.004469748120754957,
0.04418456181883812,
-0.019710857421159744,
-0.000022146950868773274,
-0.037241797894239426,
0.0030615029390901327,
-0.060964435338974,
0.03172788396477699,
-0.017659170553088188,
0.06847508251667023,
-0.022183874621987343,
0.023228036239743233,
0.05832655355334282,
0.03568471223115921,
-0.022110600024461746,
0.053966715931892395,
0.00041245564352720976,
-0.039385076612234116,
0.022000687196850777,
-0.021139711141586304,
0.011504106223583221,
-0.03205762058496475,
-0.009388303384184837,
0.014187787659466267,
0.02658034861087799,
-0.032423995435237885,
0.00967224221676588,
0.06909791380167007,
0.035116832703351974,
-0.007881594821810722,
-0.007670930586755276,
0.01537849847227335,
-0.015534207224845886,
-0.0043529667891561985,
0.007767103612422943,
0.021725907921791077,
0.03769976273179054,
0.021506084129214287,
0.08529159426689148,
-0.0817011371254921,
-0.029859384521842003,
-0.0007367528160102665,
-0.022550247609615326,
0.01242003869265318,
0.07287155091762543,
-0.02888849563896656,
-0.008737991563975811,
-0.006562652997672558,
-0.02883354015648365,
0.10800670832395554,
-0.045356955379247665,
0.044587571173906326,
-0.002841679146513343,
0.07448359578847885,
0.05953558161854744,
-0.012630702927708626,
-0.004238475579768419,
0.022073961794376373,
0.003276746952906251,
-0.04290225729346275,
0.008673876523971558,
-0.030390625819563866,
-0.019106341525912285,
-0.05414990335702896,
-0.06327258795499802,
-0.014819780364632607,
-0.038066133856773376,
0.0038423349615186453,
-0.00594897847622633,
-0.08272698521614075,
-0.04194968566298485,
0.0003712387115228921,
-0.00980963185429573,
-0.011733089573681355,
-0.057190798223018646,
-0.03909197822213173,
-0.010633970610797405,
0.06451825052499771,
0.03986136242747307,
0.013738980516791344,
-0.05447963625192642,
-0.027386367321014404,
-0.0484711229801178,
-0.04825130105018616,
-0.030518855899572372,
0.044111285358667374,
0.0023631046060472727,
-0.018978111445903778,
-0.0021730486769229174,
0.04839785024523735,
0.006690883543342352,
0.030335668474435806,
-0.01090875081717968,
0.04927714541554451,
-0.020297054201364517,
-0.0070114596746861935,
0.0006136744632385671,
0.005894022528082132,
-0.01242003869265318,
0.03758985176682472,
-0.01510371919721365,
0.004192678723484278,
-0.0018524725455790758,
-0.03551984578371048,
0.01260322518646717,
0.0030408944003283978,
0.05195166543126106,
0.04008118435740471,
0.049093957990407944,
0.06023168936371803,
-0.01568075641989708,
0.032369039952754974,
0.021579358726739883,
0.016523413360118866,
-0.020370328798890114,
-0.0337795726954937,
-0.018978111445903778,
-0.01309782825410366,
0.07774431258440018,
-0.015634959563612938,
-0.0484711229801178,
0.008962394669651985,
0.041583314538002014,
-0.029456375166773796,
0.022348741069436073,
0.04608970135450363,
-0.03716852143406868,
-0.007570178247988224,
-0.010579015128314495,
0.01176056731492281,
-0.03381621092557907,
0.008756310679018497,
0.027423005551099777,
0.047775015234947205,
-0.029456375166773796,
-0.04220614954829216,
-0.06708285957574844,
-0.04425783455371857,
-0.03715020418167114,
0.06565400958061218,
-0.004293431527912617,
-0.028980089351534843,
0.015552526339888573,
-0.047005631029605865,
0.013161943294107914,
0.05499256029725075,
-0.01077136117964983,
-0.00005910623804084025,
0.010285916738212109,
0.0009199392516165972,
0.005129219498485327,
0.002708869054913521,
-0.023228036239743233,
0.060158416628837585,
0.033248331397771835,
0.02319139987230301,
-0.006828273180872202,
-0.021029800176620483,
-0.03890879452228546,
0.035373296588659286,
0.03125160187482834,
0.032478950917720795,
-0.017036335542798042,
0.013903847895562649,
0.046236250549554825,
-0.012887164019048214,
-0.04616297408938408,
0.0031782842706888914,
0.0762055441737175,
0.09108027815818787,
0.01269481796771288,
-0.08008909970521927,
0.02264183945953846,
0.07517970353364944,
-0.024583615362644196,
0.03799286112189293,
0.005280348006635904,
0.028595399111509323,
-0.07693829387426376,
-0.06671649217605591,
-0.01323521789163351,
0.014178628101944923,
-0.04030101001262665,
0.012630702927708626,
0.037846311926841736,
0.023374585434794426,
-0.02971283532679081,
-0.049313779920339584,
-0.011806364171206951,
-0.028980089351534843,
-0.0013361158780753613,
-0.03520842641592026,
-0.0005902036791667342,
-0.03986136242747307,
0.008389937691390514,
-0.001212464994750917,
0.018208729103207588,
-0.028045838698744774,
-0.01220021490007639,
-0.007803740911185741,
0.07199225574731827,
0.028595399111509323,
-0.01628527231514454,
-0.079356350004673,
-0.052647773176431656,
-0.04165658727288246,
0.0008420849917456508,
-0.02548122964799404,
0.003056923160329461,
-0.023887507617473602,
0.02071838267147541,
-0.010624811984598637,
0.06616692990064621,
0.04660262167453766,
0.07847705483436584,
-0.023722639307379723,
0.021029800176620483,
-0.06979402154684067,
0.023979101330041885,
-0.034127626568078995,
0.03978808596730232,
0.0015570844989269972,
-0.006965663284063339,
-0.005321565084159374,
-0.02330131083726883,
0.013830573298037052,
-0.013583271764218807,
0.048544399440288544,
0.046895720064640045,
-0.018373597413301468,
-0.002663072431460023,
-0.03766312450170517,
0.04968015477061272,
0.014004601165652275,
0.026213975623250008,
-0.0407772958278656,
0.010423306375741959,
0.10426970571279526,
-0.008847903460264206,
0.0236860029399395,
0.003121038433164358,
-0.04638279974460602,
0.02564609795808792,
-0.020205460488796234,
-0.047335367649793625,
0.00676873791962862,
0.07913652807474136,
0.03647241368889809,
-0.028412211686372757,
-0.003388948505744338,
0.005793270189315081,
-0.012264329940080643,
-0.006654246244579554,
0.0021238173358142376,
0.06385878473520279,
0.0004925996763631701,
0.012126940302550793,
-0.008298343978822231,
0.001562808989547193,
-0.01841939240694046,
0.06440833956003189,
-0.017686648294329643,
0.01727447845041752,
-0.042022962123155594,
0.000814607075881213,
0.020077230408787727,
-0.028027519583702087,
-0.0152411088347435,
-0.026378842070698738,
0.006938185077160597,
0.0023379165213555098,
0.030024252831935883,
0.04264579713344574,
-0.022770069539546967,
-0.0396781750023365,
-0.030225757509469986,
-0.01890483684837818,
0.0350801981985569,
-0.02082829363644123,
-0.03409099206328392,
-0.03031735122203827,
0.0023516553919762373,
-0.022128917276859283,
-0.00594897847622633,
0.02850380539894104,
0.004559051711112261,
-0.003434745129197836,
-0.08426574617624283,
-0.017173726111650467,
-0.023484498262405396,
0.03663728013634682,
-0.011888797394931316,
0.05129219591617584,
-0.08302007615566254,
-0.007831218652427197,
0.005715415813028812,
-0.010624811984598637,
0.03240567445755005,
0.024107331410050392,
0.02872362919151783,
0.021799182519316673,
0.043928101658821106,
0.02005891129374504,
0.060268327593803406,
-0.03553816303610802,
0.013134465552866459,
0.07005048543214798,
0.006580971647053957,
-0.014242743141949177,
0.00024272198788821697,
-0.030445581302046776,
0.03372461721301079,
0.027551235631108284,
0.026397161185741425,
-0.046565983444452286,
-0.05686106160283089,
-0.0030660824850201607,
-0.01110109593719244,
-0.002621855353936553,
0.024748483672738075,
-0.040704019367694855,
-0.02520645037293434,
-0.021066436544060707,
-0.027716103941202164,
0.005976456683129072,
-0.010844635777175426,
0.023099806159734726,
-0.01337260752916336,
0.022568564862012863,
0.00904940813779831,
0.007226703688502312,
0.044807396829128265,
0.036435775458812714,
-0.030573811382055283,
-0.06177045777440071,
-0.008568543940782547,
0.008073940873146057,
-0.01252079103142023,
-0.02291661873459816,
0.00409879582002759,
-0.018282003700733185,
-0.051768478006124496,
-0.0040529994294047356,
-0.03141646832227707,
0.03163629397749901,
0.021359534934163094,
0.004822382237762213,
-0.0345306359231472,
0.07517970353364944,
-0.02159767784178257,
-0.04220614954829216,
0.013253537006676197,
0.047115545719861984,
-0.023942463099956512,
-0.02302653156220913,
0.0073869917541742325,
0.027386367321014404,
0.027258137241005898,
0.014453407377004623,
0.01677071489393711,
0.02608574368059635,
0.03780967369675636,
0.022879982367157936,
0.02976779080927372,
0.03486037254333496,
0.04883749783039093,
-0.0008260562317445874,
-0.0565679632127285,
0.05041290074586868,
-0.050632722675800323,
0.06774233281612396,
0.006379466503858566,
-0.05257450044155121,
-0.010203482583165169,
-0.05103573203086853,
0.019472714513540268,
0.012108621187508106,
0.04641943424940109,
-0.039934635162353516,
-0.02817406877875328,
0.02407069317996502,
-0.004378155339509249,
-0.01748514175415039,
-0.00779916113242507,
0.007748784963041544,
-0.004245345015078783,
0.03366966173052788,
-0.05041290074586868,
-0.08316662907600403,
-0.031214963644742966,
0.025957513600587845,
-0.01638602465391159,
0.028815221041440964,
-0.007611395325511694,
-0.033907804638147354,
0.0086326589807868,
-0.010945388115942478,
-0.039275165647268295,
-0.019142979755997658,
-0.01912466064095497,
0.009278391487896442,
-0.044038012623786926,
-0.03876224532723427,
0.024968307465314865,
-0.013253537006676197,
-0.0631626695394516,
-0.002285250462591648,
-0.057190798223018646,
0.05942567065358162,
-0.05733734369277954,
0.042499247938394547,
-0.0203886479139328,
-0.0011987260077148676,
-0.024748483672738075,
-0.027532916516065598,
0.013281014747917652,
-0.0859510600566864,
-0.05349043011665344,
-0.06558073312044144,
0.0018410234479233623,
-0.03183779865503311,
0.03339488059282303,
-0.03715020418167114,
0.045137129724025726,
0.017659170553088188,
-0.004325489047914743,
-0.015689915046095848,
0.04521040618419647,
-0.006631347816437483,
0.009026510640978813,
-0.037846311926841736,
0.01758589595556259,
-0.014764824882149696,
0.020150505006313324,
-0.004859019536525011,
-0.001694474252872169,
-0.002841679146513343,
0.011000343598425388,
-0.032918598502874374,
-0.024528659880161285,
0.0074877445586025715,
-0.0033523112069815397,
0.01732027530670166,
-0.0054268972016870975,
-0.029859384521842003,
-0.001429998897947371,
0.010423306375741959,
0.0007127096178010106,
0.017943108454346657,
0.04030101001262665,
0.01782403700053692,
-0.03271709382534027,
-0.0131802624091506,
0.03161797299981117,
-0.032149214297533035,
-0.018373597413301468,
0.022568564862012863,
-0.048654310405254364,
-0.0075152222998440266,
-0.030848590657114983,
-0.02401573769748211,
0.00676873791962862,
-0.03901870548725128,
-0.014297699555754662,
0.028357256203889847,
0.020425284281373024,
0.07737793773412704,
0.0009313884074799716,
0.012667340226471424,
0.022385379299521446,
0.01283220760524273,
0.026598665863275528,
-0.016184519976377487,
0.036930378526449203,
0.008348720148205757,
0.03956826403737068,
0.07265172898769379,
-0.04455093294382095,
0.031269919127225876,
0.038835518062114716,
-0.03788295015692711,
-0.006722941063344479,
0.02220219187438488,
-0.0013842022744938731,
-0.011559062637388706,
-0.03824932128190994,
-0.010020296089351177,
-0.0024501183070242405,
-0.021964050829410553,
-0.011714770458638668,
0.06272302567958832,
0.016926424577832222,
-0.03887215629220009
]
|
31,472 | prefect_sqlalchemy.database | execute |
Executes an operation on the database. This method is intended to be used
for operations that do not return data, such as INSERT, UPDATE, or DELETE.
Unlike the fetch methods, this method will always execute the operation
upon calling.
Args:
operation: The SQL query or other operation to be executed.
parameters: The parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Examples:
Create a table and insert one row into it.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
parameters={"name": "Marvin", "address": "Highway 42"},
)
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self, operation: str, parameters: Optional[Dict[str, Any]] = None, **execution_options: Dict[str, Any]) -> NoneType | [
-0.0023505259305238724,
-0.07810258120298386,
-0.030506478622555733,
0.02353570982813835,
0.04137488082051277,
-0.01794223114848137,
-0.03312988579273224,
-0.00439889170229435,
-0.02559695951640606,
-0.04021308571100235,
-0.00989399291574955,
-0.007500133942812681,
-0.021905450150370598,
0.03627797216176987,
0.01253613829612732,
0.02801424078643322,
0.04969482868909836,
0.020781133323907852,
0.040063176304101944,
-0.008483911864459515,
0.03965092450380325,
0.050069600343704224,
0.02053753100335598,
-0.021549416705965996,
-0.010690384544432163,
0.012676678597927094,
-0.015009636990725994,
-0.0016220620600506663,
0.007069145329296589,
0.026271549984812737,
0.05797730013728142,
-0.057789914309978485,
0.02823910489678383,
0.046171966940164566,
-0.027939286082983017,
0.03170574828982353,
0.03003801219165325,
0.008502650074660778,
0.01673359051346779,
-0.038226790726184845,
-0.00638518575578928,
0.012414337135851383,
0.05310525745153427,
0.02093104086816311,
-0.053704891353845596,
-0.018916640430688858,
-0.01253613829612732,
-0.09931469708681107,
0.043586038053035736,
0.031668271869421005,
0.04223685711622238,
0.05636577680706978,
0.019066547974944115,
0.040587857365608215,
0.04111253842711449,
-0.0686957910656929,
-0.041449833661317825,
0.03479762375354767,
0.00885868351906538,
0.032698895782232285,
-0.010521736927330494,
-0.010493628680706024,
-0.003923399373888969,
0.021305814385414124,
0.024641288444399834,
-0.019638076424598694,
0.008483911864459515,
-0.014915944077074528,
-0.03852660953998566,
-0.04598458111286163,
-0.025896776467561722,
0.04669664800167084,
0.004394207149744034,
0.03785201907157898,
-0.046284399926662445,
-0.038170576095581055,
-0.028107933700084686,
0.026365242898464203,
0.03275511413812637,
-0.026421457529067993,
0.000757743080612272,
-0.02979440987110138,
-0.03618428111076355,
0.012648570351302624,
-0.004117812495678663,
-0.0072799548506736755,
0.003323763143271208,
0.0421244241297245,
-0.021324552595615387,
-0.00612752977758646,
-0.0018469254719093442,
0.011833440512418747,
-0.05471677705645561,
0.1335688978433609,
0.027021093294024467,
0.007467341143637896,
0.01115885004401207,
0.0244539026170969,
-0.03657779097557068,
0.10028910636901855,
-0.019525645300745964,
0.042011991143226624,
0.057265229523181915,
0.010371827520430088,
-0.0030286298133432865,
-0.046734124422073364,
0.014653602614998817,
-0.050931576639413834,
0.06933290511369705,
-0.023367062211036682,
-0.06472320109605789,
0.02359192632138729,
0.013360638171434402,
-0.0432487428188324,
-0.018569976091384888,
-0.023310847580432892,
0.02968197874724865,
-0.030506478622555733,
-0.013098297640681267,
-0.022336438298225403,
0.03474140539765358,
0.007781213149428368,
0.04797087609767914,
0.01277037151157856,
0.06581003963947296,
0.11228182911872864,
-0.006656895857304335,
-0.0551290288567543,
0.008151301182806492,
0.03768337145447731,
0.05793981999158859,
-0.023273369297385216,
-0.002562506590038538,
-0.011261912062764168,
-0.0076594119891524315,
0.08057607710361481,
0.05400471016764641,
-0.0029841256327927113,
0.02962576225399971,
0.03290501981973648,
-0.013641717843711376,
-0.001453414442948997,
-0.035059962421655655,
-0.0055278935469686985,
0.023554448038339615,
-0.010390566661953926,
-0.048533033579587936,
-0.039838310331106186,
0.014447478577494621,
-0.0176705215126276,
0.04482278600335121,
-0.04917014762759209,
-0.02237391471862793,
-0.008985169231891632,
-0.03893885761499405,
0.04182460531592369,
-0.025578219443559647,
-0.0691080391407013,
0.04186208173632622,
-0.017052147537469864,
0.003223043167963624,
-0.028501445427536964,
-0.0315183624625206,
0.05235571041703224,
-0.04770853370428085,
-0.004558170214295387,
-0.010146964341402054,
-0.004441053606569767,
-0.05958881974220276,
-0.007490764372050762,
0.014297569170594215,
-0.01024065725505352,
0.002986467909067869,
-0.018673038110136986,
-0.07266838103532791,
0.005293660797178745,
0.03549095243215561,
-0.002433678600937128,
0.019862940534949303,
-0.05224328115582466,
-0.0364653617143631,
-0.08140058070421219,
-0.011430559679865837,
0.01279847975820303,
0.06569761037826538,
-0.03266141936182976,
-0.03284880518913269,
0.04808330535888672,
0.10928364843130112,
0.01853249780833721,
-0.06517293304204941,
-0.002543768147006631,
0.0029607024043798447,
-0.023104721680283546,
-0.00903201662003994,
-0.05460434779524803,
-0.0071019381284713745,
0.04504764825105667,
-0.06258700042963028,
-0.012686047703027725,
-0.0024734982289373875,
0.012948388233780861,
0.016377557069063187,
-0.016255754977464676,
0.03474140539765358,
-0.030750079080462456,
0.006525725591927767,
0.0038601562846451998,
-0.02243013121187687,
-0.08349930495023727,
-0.06970767676830292,
-0.024004176259040833,
-0.051681119948625565,
0.00708788400515914,
0.015693597495555878,
-0.005560686346143484,
0.012414337135851383,
0.012732894159853458,
0.10696005821228027,
0.05835207179188728,
0.05449191480875015,
-0.08477353304624557,
0.018607452511787415,
-0.06108791008591652,
0.08469857275485992,
-0.05021950975060463,
-0.0012191816931590438,
-0.033973123878240585,
-0.006834912579506636,
-0.033860690891742706,
-0.017960969358682632,
-0.01472855731844902,
0.05820216238498688,
-0.008202832192182541,
0.014288200065493584,
-0.006029151845723391,
-0.04486026242375374,
0.02087482623755932,
-0.06217474862933159,
-0.00012546093785203993,
-0.004471503663808107,
0.07315558195114136,
-0.01435378473252058,
-0.021474462002515793,
-0.05482921004295349,
-0.032642681151628494,
0.04838312417268753,
-0.011411821469664574,
-0.04227433353662491,
0.01204893458634615,
-0.07847735285758972,
-0.050931576639413834,
0.02996305748820305,
0.008310578763484955,
-0.0016782778548076749,
-0.04613449051976204,
-0.02173680253326893,
0.001376117579638958,
0.011983348987996578,
-0.023723095655441284,
-0.03329853340983391,
-0.004895464982837439,
-0.067833811044693,
0.052655529230833054,
0.020799871534109116,
-0.02123085968196392,
-0.07030731439590454,
-0.01703340746462345,
0.0038601562846451998,
-0.04969482868909836,
0.10028910636901855,
0.06284934282302856,
-0.00022881614859215915,
-0.02376057393848896,
-0.0030731342267245054,
-0.05835207179188728,
-0.011496145278215408,
0.013145144097507,
-0.08972052484750748,
-0.027826854959130287,
-0.006029151845723391,
-0.02565317414700985,
-0.020350145176053047,
-0.014597387053072453,
-0.004410603549331427,
0.012695416808128357,
-0.0004418215830810368,
-0.08110076189041138,
-0.01869177632033825,
-0.006001044064760208,
0.025990469381213188,
-0.023217152804136276,
0.010887139476835728,
-0.04605953395366669,
-0.02709604799747467,
0.027583252638578415,
-0.018045293167233467,
-0.008259047754108906,
-0.012339383363723755,
-0.04276153817772865,
0.04624691978096962,
-0.03181818127632141,
0.05190598592162132,
0.048870328813791275,
-0.013173251412808895,
-0.00540609285235405,
-0.005509154871106148,
0.01806403324007988,
-0.09294357150793076,
-0.059851162135601044,
-0.009884623810648918,
0.022298961877822876,
-0.011608576402068138,
0.018504390493035316,
0.007083199452608824,
-0.033729519695043564,
-0.0351911336183548,
-0.008198147639632225,
0.04321126267313957,
0.012826587073504925,
-0.05235571041703224,
0.02231770008802414,
-0.0005589379579760134,
-0.0439608097076416,
-0.010634168051183224,
-0.03802066668868065,
-0.035528428852558136,
0.03837670013308525,
0.024753721430897713,
0.03363582864403725,
-0.026590105146169662,
0.04598458111286163,
0.02387300506234169,
0.025690652430057526,
0.0017661151941865683,
0.024416426196694374,
-0.0177735835313797,
-0.0017110705375671387,
0.05452939122915268,
-0.0012449471978470683,
0.0445229671895504,
-0.06419852375984192,
0.05662811920046806,
0.01760493591427803,
-0.0007782384054735303,
-0.007603195961564779,
-0.015731073915958405,
-0.018326373770833015,
0.05572866275906563,
-0.05895170569419861,
0.003162142587825656,
-0.0050360048189759254,
-0.007490764372050762,
0.055241458117961884,
0.00755166495218873,
0.019600600004196167,
-0.03378573805093765,
0.03446032851934433,
-0.05539136752486229,
-0.01696782372891903,
0.05606595799326897,
-0.02359192632138729,
0.006319600623100996,
0.026327764615416527,
-0.045647285878658295,
0.008591658435761929,
0.011730377562344074,
-0.019544383510947227,
0.011636684648692608,
0.02945711463689804,
-0.05228075757622719,
-0.03785201907157898,
0.039313629269599915,
0.048458077013492584,
-0.028726309537887573,
-0.005612217355519533,
-0.051868509501218796,
-0.014850358478724957,
-0.019488167017698288,
0.06963272392749786,
0.0015260266372933984,
0.010596691630780697,
0.04740871489048004,
0.003283943748101592,
0.0047174482606351376,
-0.02940090000629425,
-0.04204947128891945,
0.0022708869073539972,
-0.033392224460840225,
-0.010399935767054558,
-0.021549416705965996,
-0.014494325034320354,
0.009434896521270275,
0.007186261937022209,
-0.0018141329055652022,
-0.021305814385414124,
0.015955938026309013,
0.008287156000733376,
-0.03071260266005993,
-0.023798050358891487,
-0.006605364382266998,
-0.05958881974220276,
0.03652157634496689,
-0.01828889548778534,
-0.028257843106985092,
-0.040362995117902756,
0.05362993851304054,
-0.03573455289006233,
-0.00011360290227457881,
-0.010184441693127155,
0.0018434120574966073,
-0.030056750401854515,
-0.07341792434453964,
0.024491380900144577,
-0.0026749384123831987,
-0.023666881024837494,
0.028164150193333626,
0.0031059267930686474,
0.007579772733151913,
0.09069493412971497,
0.030731340870261192,
-0.01239559892565012,
0.03082503378391266,
0.009130394086241722,
0.006891128607094288,
0.03133097663521767,
0.027714423835277557,
0.03923867642879486,
-0.009242826141417027,
0.0015213419683277607,
-0.019225826486945152,
-0.03421672433614731,
-0.012292536906898022,
-0.0019816092681139708,
0.026496412232518196,
0.04309883341193199,
0.020856088027358055,
-0.0025742182042449713,
0.04879537224769592,
-0.013032712042331696,
0.066297248005867,
0.015178284607827663,
0.003319078590720892,
-0.03803940489888191,
0.002862324705347419,
-0.03410429507493973,
-0.025559481233358383,
0.016649266704916954,
0.030974943190813065,
0.00909291673451662,
0.021755540743470192,
0.015197022818028927,
0.021305814385414124,
0.003272231901064515,
0.01841069757938385,
0.0006757616065442562,
-0.014278830960392952,
0.014428739435970783,
-0.010484259575605392,
0.025390833616256714,
0.01945069059729576,
-0.013875950127840042,
-0.01995663344860077,
-0.02209283597767353,
0.07487953454256058,
-0.07697825878858566,
-0.0433986522257328,
0.028557661920785904,
-0.027002355083823204,
-0.018129616975784302,
-0.04227433353662491,
-0.009186609648168087,
-0.02514723129570484,
0.008296525105834007,
0.0556911863386631,
-0.015318823978304863,
-0.017520612105727196,
0.0009503994951955974,
0.029475852847099304,
0.018841685727238655,
-0.0005422488902695477,
0.004246640484780073,
0.03284880518913269,
0.0312372837215662,
-0.0011658937437459826,
0.009790929965674877,
0.08567298203706741,
-0.018279526382684708,
0.018916640430688858,
-0.05883927643299103,
-0.019019702449440956,
0.027545776218175888,
0.08200021088123322,
0.002461786614730954,
0.0060338363982737064,
-0.04647178575396538,
0.015955938026309013,
0.045759715139865875,
0.060825567692518234,
-0.007251847069710493,
-0.004797087516635656,
0.04778348654508591,
-0.004473846405744553,
-0.022973552346229553,
0.022074097767472267,
-0.030412783846259117,
0.07300567626953125,
-0.022505085915327072,
-0.004581593442708254,
0.02267373353242874,
-0.0018703488167375326,
0.03412303328514099,
-0.02990684285759926,
-0.04838312417268753,
-0.021867971867322922,
-0.01207704283297062,
0.019975371658802032,
0.02123085968196392,
-0.005373300053179264,
-0.013042081147432327,
0.028726309537887573,
0.001311703585088253,
-0.049957167357206345,
-0.0012367491144686937,
-0.020106542855501175,
-0.019881678745150566,
0.00975345354527235,
-0.016546204686164856,
0.04129992425441742,
0.004492584615945816,
-0.019300781190395355,
0.005574740469455719,
0.008643189445137978,
-0.041674695909023285,
0.017127100378274918,
-0.021212121471762657,
-0.07000749558210373,
0.016424402594566345,
-0.03674643859267235,
-0.03363582864403725,
0.04838312417268753,
0.07206874340772629,
-0.020087802782654762,
-0.015328193083405495,
-0.031031159684062004,
-0.040063176304101944,
-0.007003560196608305,
0.010737231001257896,
-0.01644314080476761,
0.0015119726303964853,
-0.024697504937648773,
-0.016836652532219887,
0.004712763708084822,
-0.0290448646992445,
-0.054154619574546814,
0.003103584283962846,
0.008910215459764004,
-0.005504470318555832,
-0.006179060786962509,
0.016986561939120293,
0.031031159684062004,
0.0005469335592351854,
-0.012264428660273552,
0.05104400962591171,
0.013791626319289207,
-0.016546204686164856,
0.049507442861795425,
-0.012882803566753864,
0.009762822650372982,
0.006024467293173075,
0.03594067692756653,
-0.020799871534109116,
0.06352393329143524,
0.06498554348945618,
0.003349528880789876,
-0.06569761037826538,
-0.02434147149324417,
-0.01115885004401207,
0.04025056213140488,
-0.03848912939429283,
0.02451011911034584,
-0.028107933700084686,
-0.02831405960023403,
-0.04354855790734291,
-0.04309883341193199,
0.0599261149764061,
-0.0457971952855587,
0.053817324340343475,
0.022692471742630005,
0.007903014309704304,
-0.014812881126999855,
-0.03354213386774063,
-0.009819038212299347,
0.04032551497220993,
0.036334190517663956,
-0.015150176361203194,
-0.04422314837574959,
-0.0026936770882457495,
-0.007781213149428368,
0.00736427865922451,
-0.08972052484750748,
0.048345647752285004,
0.010980833321809769,
-0.052093371748924255,
0.0027241273783147335,
-0.018279526382684708,
-0.04152478650212288,
-0.029756933450698853,
-0.062437091022729874,
0.025034800171852112,
-0.005883927457034588,
0.012011457234621048,
-0.03196809068322182,
0.08267480134963989,
-0.01435378473252058,
-0.013875950127840042,
-0.08889602869749069,
0.008188778534531593,
0.03528482839465141,
-0.0019816092681139708,
-0.020968519151210785,
0.059101615101099014,
0.015309454873204231,
0.015731073915958405,
-0.012283166870474815,
0.018035924062132835,
0.0351911336183548,
-0.07334297150373459,
-0.020237712189555168,
-0.01788601465523243,
-0.04860798642039299,
0.007804636377841234,
0.02220526710152626,
0.018429435789585114,
0.04830817133188248,
-0.08859620988368988,
0.01939447410404682,
-0.010793446563184261,
-0.024585073813796043,
-0.08012635260820389,
-0.026477674022316933,
0.07817753404378891,
0.00808571558445692,
-0.011973979882895947,
0.06382375210523605,
0.007865536957979202,
-0.07218117266893387,
-0.036896347999572754,
0.0723685622215271,
-0.0013058477779850364,
0.016199538484215736,
0.0216993261128664,
0.044373057782649994,
0.06217474862933159,
0.015000267885625362,
0.03376699984073639,
-0.06562265753746033,
-0.022617517039179802,
0.00414123572409153,
0.01909465715289116,
0.01110263355076313,
0.010493628680706024,
-0.0021080949809402227,
0.04186208173632622,
-0.005827711895108223,
-0.007945176213979721,
-0.018045293167233467,
-0.017127100378274918,
-0.015290715731680393,
0.004886095877736807,
0.017567459493875504,
0.033392224460840225,
0.04309883341193199,
0.0007085541728883982,
0.05482921004295349,
-0.03818931430578232,
0.020912302657961845,
-0.020050326362252235,
0.031368453055620193,
-0.018260788172483444,
-0.008348056115210056,
-0.015234500169754028,
0.055653709918260574,
0.010933985933661461,
-0.007561034522950649,
0.004159974399954081,
-0.03476014360785484,
0.004265379160642624,
0.04797087609767914,
-0.045759715139865875,
-0.037533462047576904,
-0.021305814385414124,
-0.035978157073259354,
0.05419209599494934,
-0.04830817133188248,
-0.02831405960023403,
-0.013051451183855534,
-0.059626296162605286,
-0.007448602467775345,
0.09061998128890991,
0.008802467957139015,
0.001486207009293139,
0.007818690501153469,
0.0419745147228241,
0.008624451234936714,
0.014578648842871189,
0.06078809127211571,
-0.03476014360785484,
-0.019113395363092422,
-0.022823642939329147,
-0.03118106909096241,
0.0007559863151982427,
0.005195283330976963,
0.050931576639413834,
0.05734018608927727,
0.03393564745783806,
-0.050369419157505035,
0.07075703889131546,
-0.046284399926662445,
-0.017520612105727196,
-0.03084377385675907,
-0.019066547974944115,
0.0072190542705357075,
-0.036559052765369415,
0.008615082129836082,
-0.01909465715289116,
-0.03890138119459152,
-0.023310847580432892,
0.06775885820388794,
0.08417389541864395,
-0.00690049771219492,
-0.019750507548451424,
-0.024172823876142502,
0.051231395453214645,
0.05771495774388313,
-0.002307192888110876,
-0.003808625042438507,
-0.012545508332550526,
-0.008244994096457958,
-0.01783916912972927,
-0.026496412232518196,
0.029250990599393845,
-0.02387300506234169,
-0.035584643483161926,
0.04624691978096962,
0.00003454933539615013,
0.03009422868490219,
-0.038451652973890305,
-0.008586973883211613,
0.02106221206486225,
0.0318743959069252,
0.06802120059728622,
0.010699753649532795,
0.05291787162423134,
0.047258805483579636,
0.0023458413779735565,
0.05614091455936432,
0.03451654314994812,
-0.021024735644459724,
-0.024716243147850037,
-0.02623407170176506,
0.0890459343791008,
-0.0111307417973876,
-0.009397419169545174,
0.020668700337409973,
-0.07487953454256058,
0.05126887187361717,
0.034891314804553986
]
|
31,473 | prefect_sqlalchemy.database | execute_many |
Executes many operations on the database. This method is intended to be used
for operations that do not return data, such as INSERT, UPDATE, or DELETE.
Unlike the fetch methods, this method will always execute the operation
upon calling.
Args:
operation: The SQL query or other operation to be executed.
seq_of_parameters: The sequence of parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Examples:
Create a table and insert two rows into it.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self, operation: str, seq_of_parameters: List[Dict[str, Any]], **execution_options: Dict[str, Any]) -> NoneType | [
-0.0023248351644724607,
-0.07810509204864502,
-0.030507460236549377,
0.023498989641666412,
0.04141369089484215,
-0.017970917746424675,
-0.0331309512257576,
-0.004394348710775375,
-0.025560304522514343,
-0.04025185853242874,
-0.009894311428070068,
-0.00753785390406847,
-0.02192489430308342,
0.036279141902923584,
0.012499064207077026,
0.028015144169330597,
0.04965895041823387,
0.02080054208636284,
0.04010194540023804,
-0.008456075564026833,
0.03957724571228027,
0.050108689814805984,
0.02050071395933628,
-0.02155010960996151,
-0.010728207416832447,
0.01264897733926773,
-0.015019489452242851,
-0.0015799510292708874,
0.007092797197401524,
0.026253655552864075,
0.05797916650772095,
-0.05782925337553024,
0.028314970433712006,
0.046135976910591125,
-0.027996404096484184,
0.03170677274465561,
0.030132675543427467,
0.008545087650418282,
0.016715390607714653,
-0.03826550021767616,
-0.006366651970893145,
0.012414737604558468,
0.05318192392587662,
0.020912976935505867,
-0.05363166704773903,
-0.018917249515652657,
-0.012527172453701496,
-0.09931790083646774,
0.043512482196092606,
0.031669292598962784,
0.04231317341327667,
0.05636759102344513,
0.019039053469896317,
0.04055168479681015,
0.041151341050863266,
-0.06862304359674454,
-0.04141369089484215,
0.034854959696531296,
0.00893392600119114,
0.03269995003938675,
-0.010512705892324448,
-0.010512705892324448,
-0.00393992243334651,
0.02130649983882904,
0.024585865437984467,
-0.019713666290044785,
0.00856382679194212,
-0.014888315461575985,
-0.038527850061655045,
-0.04591110348701477,
-0.025897610932588577,
0.046698153018951416,
0.004394348710775375,
0.03783449903130531,
-0.04628589004278183,
-0.03817180544137955,
-0.02809010073542595,
0.026366092264652252,
0.032662469893693924,
-0.026441048830747604,
0.0007519114296883345,
-0.02977663092315197,
-0.036222923547029495,
0.012667717412114143,
-0.004099205601960421,
-0.007312983274459839,
0.00334729440510273,
0.042088303714990616,
-0.021343978121876717,
-0.006029346026480198,
-0.0019149146974086761,
0.011815082281827927,
-0.054718539118766785,
0.13357320427894592,
0.026947006583213806,
0.0074441577307879925,
0.011187317781150341,
0.02447342872619629,
-0.03656022995710373,
0.10036729276180267,
-0.019470056518912315,
0.04197586700320244,
0.05730455368757248,
0.010465857572853565,
-0.0030544938053935766,
-0.04677310958504677,
0.014607226476073265,
-0.050858259201049805,
0.06933514028787613,
-0.023405293002724648,
-0.06472528725862503,
0.023648902773857117,
0.013361068442463875,
-0.04328761249780655,
-0.018579943105578423,
-0.023349076509475708,
0.029626715928316116,
-0.030507460236549377,
-0.013136197812855244,
-0.022393375635147095,
0.03470504656434059,
0.007748669944703579,
0.04789746180176735,
0.01277078315615654,
0.06577468663454056,
0.11221048980951309,
-0.006629001349210739,
-0.055168282240629196,
0.008114084601402283,
0.03764710575342178,
0.05797916650772095,
-0.02323663979768753,
-0.0025789861101657152,
-0.011281014420092106,
-0.0076221805065870285,
0.08057866990566254,
0.05396897345781326,
-0.003012330736964941,
0.029607977718114853,
0.03290608152747154,
-0.013651526533067226,
-0.001385531504638493,
-0.035154789686203,
-0.0055655501782894135,
0.023461511358618736,
-0.010437749326229095,
-0.048497118055820465,
-0.03980211541056633,
0.014447943307459354,
-0.01769919879734516,
0.04471179470419884,
-0.04913425073027611,
-0.02235589735209942,
-0.009008883498609066,
-0.03897758945822716,
0.04186343029141426,
-0.025616522878408432,
-0.06903530657291412,
0.041825953871011734,
-0.01706206612288952,
0.003220804501324892,
-0.028446145355701447,
-0.03157559782266617,
0.05231992155313492,
-0.047747548669576645,
-0.004584083333611488,
-0.010212878696620464,
-0.004406060557812452,
-0.05966569483280182,
-0.0074816360138356686,
0.014288660138845444,
-0.010231617838144302,
0.003012330736964941,
-0.018654899671673775,
-0.07267072051763535,
0.005368788260966539,
0.03545461595058441,
-0.0024431266356259584,
0.019826101139187813,
-0.05228244140744209,
-0.0363728366792202,
-0.08147815614938736,
-0.011365341022610664,
0.012808261439204216,
0.06569972634315491,
-0.032737430185079575,
-0.03288734331727028,
0.04808485507965088,
0.10921221226453781,
0.018486246466636658,
-0.06517502665519714,
-0.002564931521192193,
0.002995933871716261,
-0.023142945021390915,
-0.009069785475730896,
-0.054606106132268906,
-0.00716306921094656,
0.045011620968580246,
-0.0626639723777771,
-0.01277078315615654,
-0.002464208286255598,
0.012995653785765171,
0.016349975019693375,
-0.016293756663799286,
0.03470504656434059,
-0.030676113441586494,
0.00658683804795146,
0.003813432529568672,
-0.022449593991041183,
-0.08350199460983276,
-0.06963496655225754,
-0.023967470973730087,
-0.05164530873298645,
0.007069373037666082,
0.015684733167290688,
-0.005528071895241737,
0.01233041100203991,
0.01273330394178629,
0.106888547539711,
0.05831647291779518,
0.05456862598657608,
-0.08477625995874405,
0.018645530566573143,
-0.06097744405269623,
0.08462634682655334,
-0.05014616996049881,
-0.0012707537971436977,
-0.03393673896789551,
-0.006844502408057451,
-0.033861782401800156,
-0.01794280856847763,
-0.014747771434485912,
0.05824151635169983,
-0.00824994407594204,
0.0142605509608984,
-0.006024661473929882,
-0.04486170783638954,
0.020912976935505867,
-0.062139272689819336,
-0.00013995860354043543,
-0.00446696300059557,
0.07323289662599564,
-0.014382355846464634,
-0.021475153043866158,
-0.05483097583055496,
-0.03258751332759857,
0.04838468134403229,
-0.011374710127711296,
-0.04223821684718132,
0.012049322947859764,
-0.07847987860441208,
-0.05097069591283798,
0.03002024069428444,
0.008306162431836128,
-0.0017052695620805025,
-0.04617345333099365,
-0.021718762814998627,
0.001412469195201993,
0.01202121376991272,
-0.023723861202597618,
-0.03333708271384239,
-0.004834720399230719,
-0.06783600151538849,
0.052732184529304504,
0.02080054208636284,
-0.02123154327273369,
-0.070309579372406,
-0.017108913511037827,
0.003834514180198312,
-0.04965895041823387,
0.10036729276180267,
0.06292632222175598,
-0.00027684279484674335,
-0.023780077695846558,
-0.00303809717297554,
-0.05835394933819771,
-0.011524624191224575,
0.013154936954379082,
-0.08972341567277908,
-0.027827750891447067,
-0.006066824309527874,
-0.025710217654705048,
-0.020294582471251488,
-0.014569748193025589,
-0.0044107455760240555,
0.01264897733926773,
-0.0004415430303197354,
-0.0811033695936203,
-0.018701747059822083,
-0.006001237314194441,
0.026028785854578018,
-0.023217901587486267,
0.01089685969054699,
-0.046061016619205475,
-0.027134399861097336,
0.027546662837266922,
-0.018036505207419395,
-0.0082827378064394,
-0.012321040965616703,
-0.042762912809848785,
0.04628589004278183,
-0.031856685876846313,
0.05190765857696533,
0.048871900886297226,
-0.013201785273849964,
-0.005368788260966539,
-0.00546716945245862,
0.018017766997218132,
-0.09302151948213577,
-0.05981561169028282,
-0.009903681464493275,
0.022337157279253006,
-0.011655799113214016,
0.018430029973387718,
0.007083427626639605,
-0.033730607479810715,
-0.035154789686203,
-0.008226520381867886,
0.04317517578601837,
0.012845739722251892,
-0.052357397973537445,
0.022318419069051743,
-0.0005528071778826416,
-0.043999701738357544,
-0.010681359097361565,
-0.03794693201780319,
-0.03554831072688103,
0.03837793692946434,
0.024679560214281082,
0.0336369127035141,
-0.02659096196293831,
0.045948583632707596,
0.023817555978894234,
0.02567273937165737,
0.0017568024341017008,
0.024510908871889114,
-0.017774155363440514,
-0.0017333783907815814,
0.05456862598657608,
-0.0012707537971436977,
0.04459935799241066,
-0.06423807144165039,
0.05662994086742401,
0.017652351409196854,
-0.000801101909019053,
-0.007584701757878065,
-0.015591036528348923,
-0.01837381161749363,
0.05569298192858696,
-0.05887864902615547,
0.0031528747640550137,
-0.0050080581568181515,
-0.007467581890523434,
0.05524323880672455,
0.00757064763456583,
0.019601231440901756,
-0.03382430225610733,
0.0344989150762558,
-0.05539315193891525,
-0.016987109556794167,
0.05599280819296837,
-0.02353646792471409,
0.006366651970893145,
0.026272395625710487,
-0.045686233788728714,
0.008554456755518913,
0.011740125715732574,
-0.019545013085007668,
0.011674538254737854,
0.02940184623003006,
-0.05228244140744209,
-0.03779701888561249,
0.03931489586830139,
0.048497118055820465,
-0.028689755126833916,
-0.005631137639284134,
-0.05187017843127251,
-0.014907054603099823,
-0.01950753480195999,
0.06970991939306259,
0.0015237333718687296,
0.010615771636366844,
0.04748519882559776,
0.003302788594737649,
0.004694176372140646,
-0.029439324513077736,
-0.04212578013539314,
0.0023037537466734648,
-0.033430781215429306,
-0.010372161865234375,
-0.02149389311671257,
-0.01448542159050703,
0.009421146474778652,
0.007252080366015434,
-0.0018376153893768787,
-0.021343978121876717,
0.01600329950451851,
0.008245259523391724,
-0.030732331797480583,
-0.02379881776869297,
-0.006610262207686901,
-0.05955326184630394,
0.0365227535367012,
-0.018214527517557144,
-0.02827749215066433,
-0.04036429524421692,
0.05363166704773903,
-0.035791922360658646,
-0.00011184976028744131,
-0.010137921199202538,
0.0018048217752948403,
-0.030076459050178528,
-0.07342028617858887,
0.024454690515995026,
-0.002719530137255788,
-0.023705121129751205,
0.028202535584568977,
0.0031622443348169327,
0.007608125917613506,
0.09069785475730896,
0.030732331797480583,
-0.012349150143563747,
0.03084476664662361,
0.009116633795201778,
0.0069054048508405685,
0.03129450976848602,
0.027752794325351715,
0.03923993930220604,
-0.009266547858715057,
0.0015143636846914887,
-0.019226446747779846,
-0.03425530716776848,
-0.012227345257997513,
-0.0019922140054404736,
0.02642230875790119,
0.04310021921992302,
0.020856758579611778,
-0.0026024100370705128,
0.04875946789979935,
-0.013014392927289009,
0.0662619024515152,
0.015178773552179337,
0.0033074733801186085,
-0.03807810693979263,
0.0027827750891447067,
-0.03406791388988495,
-0.02548534795641899,
0.016668541356921196,
0.030975941568613052,
0.009069785475730896,
0.021756241098046303,
0.015150664374232292,
0.02130649983882904,
0.003335582325235009,
0.018336333334445953,
0.000616637640632689,
-0.014251181855797768,
0.014429204165935516,
-0.010531445033848286,
0.025429129600524902,
0.019395099952816963,
-0.01385765802115202,
-0.019957276061177254,
-0.0221872441470623,
0.07480698823928833,
-0.07690578699111938,
-0.04328761249780655,
0.028558580204844475,
-0.02698448672890663,
-0.0181864183396101,
-0.042200736701488495,
-0.00919159036129713,
-0.02511056326329708,
0.008357695303857327,
0.055655501782894135,
-0.015291208401322365,
-0.01750243827700615,
0.0009703405667096376,
0.02945806458592415,
0.01882355287671089,
-0.000490147911477834,
0.004211640916764736,
0.03288734331727028,
0.031182073056697845,
-0.0011413360480219126,
0.009763136506080627,
0.08575069904327393,
-0.01832696422934532,
0.0189453586935997,
-0.058766212314367294,
-0.019048424437642097,
0.02760288119316101,
0.08200285583734512,
0.0023962785489857197,
0.006066824309527874,
-0.046510759741067886,
0.01601266860961914,
0.04579867050051689,
0.060827527195215225,
-0.007214602082967758,
-0.004811296239495277,
0.04778502881526947,
-0.004502099007368088,
-0.023011770099401474,
0.021999850869178772,
-0.0304699819535017,
0.07293307036161423,
-0.02243085391819477,
-0.004614534322172403,
0.02261824533343315,
-0.0018868058687075973,
0.03412413224577904,
-0.029870327562093735,
-0.04838468134403229,
-0.021849937736988068,
-0.01215238869190216,
0.01993853598833084,
0.02130649983882904,
-0.00535941869020462,
-0.013042501173913479,
0.028689755126833916,
0.0013773331884294748,
-0.04992130026221275,
-0.0011981392744928598,
-0.020088450983166695,
-0.0198823194950819,
0.009753767400979996,
-0.016527997329831123,
0.041338734328746796,
0.004546604584902525,
-0.019282663241028786,
0.005626452621072531,
0.008643467910587788,
-0.041713517159223557,
0.01706206612288952,
-0.02123154327273369,
-0.0700097531080246,
0.01645304076373577,
-0.03674762323498726,
-0.0336369127035141,
0.04838468134403229,
0.07214602082967758,
-0.020032232627272606,
-0.015375535003840923,
-0.030994679778814316,
-0.04010194540023804,
-0.007022525183856487,
0.010775054804980755,
-0.016406193375587463,
0.0015061653684824705,
-0.024679560214281082,
-0.01680908538401127,
0.004743366502225399,
-0.028989583253860474,
-0.054231319576501846,
0.003096657106652856,
0.008882393129169941,
-0.005476539023220539,
-0.006197999231517315,
0.016987109556794167,
0.031069636344909668,
0.0006306921131908894,
-0.012236714363098145,
0.05108313262462616,
0.013913875445723534,
-0.01645304076373577,
0.04950903728604317,
-0.01293006632477045,
0.00980998482555151,
0.006019976455718279,
0.03592309728264809,
-0.020838020369410515,
0.0635259747505188,
0.06498763710260391,
0.003319185459986329,
-0.06558728963136673,
-0.024342255666851997,
-0.011140470393002033,
0.040214378386735916,
-0.03849036991596222,
0.024585865437984467,
-0.028127579018473625,
-0.02835244871675968,
-0.04354996234178543,
-0.04310021921992302,
0.059890568256378174,
-0.04579867050051689,
0.05381905660033226,
0.022636985406279564,
0.007964171469211578,
-0.014803988859057426,
-0.033543214201927185,
-0.009903681464493275,
0.040326815098524094,
0.03633536025881767,
-0.015178773552179337,
-0.0442245751619339,
-0.0026398885529488325,
-0.007758039515465498,
0.007378570269793272,
-0.08972341567277908,
0.04823476821184158,
0.010981186293065548,
-0.05220748484134674,
0.0027312422171235085,
-0.01832696422934532,
-0.04152612388134003,
-0.02977663092315197,
-0.06243910267949104,
0.025054344907402992,
-0.00590285612270236,
0.011964996345341206,
-0.03200659900903702,
0.08267746865749359,
-0.014354247599840164,
-0.013848287984728813,
-0.08882392942905426,
0.008123454637825489,
0.03539839759469032,
-0.0019734748639166355,
-0.020912976935505867,
0.05910351872444153,
0.01538490504026413,
0.01569410227239132,
-0.012274193577468395,
0.01806461438536644,
0.035154789686203,
-0.07334533333778381,
-0.0202383641153574,
-0.017849113792181015,
-0.04857207462191582,
0.007809572387486696,
0.022262200713157654,
0.018430029973387718,
0.04827224835753441,
-0.0885990634560585,
0.01937635987997055,
-0.010784424841403961,
-0.02460460364818573,
-0.08020389080047607,
-0.026441048830747604,
0.07818005234003067,
0.008062551729381084,
-0.012011843733489513,
0.0638258084654808,
0.007926693186163902,
-0.07218349725008011,
-0.036860059946775436,
0.07237089425325394,
-0.001305889803916216,
0.01620006188750267,
0.021718762814998627,
0.044262051582336426,
0.06217675283551216,
0.015056968666613102,
0.0337868258357048,
-0.06569972634315491,
-0.02267446368932724,
0.004183532204478979,
0.019170228391885757,
0.011121731251478195,
0.010428379289805889,
-0.0021105054765939713,
0.041900910437107086,
-0.005888801999390125,
-0.008001649752259254,
-0.018045874312520027,
-0.017211979255080223,
-0.015328686684370041,
0.004904992412775755,
0.017549285665154457,
0.03339330106973648,
0.04310021921992302,
0.000595848832745105,
0.05486845597624779,
-0.03819054365158081,
0.020912976935505867,
-0.020032232627272606,
0.03129450976848602,
-0.018280114978551865,
-0.00828742329031229,
-0.015216251835227013,
0.055655501782894135,
0.01096244715154171,
-0.007509744726121426,
0.004160108044743538,
-0.034798745065927505,
0.004314706660807133,
0.04800989851355553,
-0.04572371393442154,
-0.03744097426533699,
-0.021269021555781364,
-0.03594183549284935,
0.054156363010406494,
-0.04827224835753441,
-0.028258753940463066,
-0.01307998038828373,
-0.05966569483280182,
-0.0074441577307879925,
0.09069785475730896,
0.008844914846122265,
0.001528418157249689,
0.00780488783493638,
0.04197586700320244,
0.008587250486016273,
0.01454163994640112,
0.0607900507748127,
-0.03476126492023468,
-0.01906716264784336,
-0.02280563861131668,
-0.031182073056697845,
0.0007583530386909842,
0.0052048200741410255,
0.05093321576714516,
0.05730455368757248,
0.03393673896789551,
-0.05044599622488022,
0.07075931876897812,
-0.046248409897089005,
-0.017474329099059105,
-0.030807288363575935,
-0.01913275010883808,
0.007223971653729677,
-0.03656022995710373,
0.008605989627540112,
-0.019095271825790405,
-0.038902632892131805,
-0.023255379870533943,
0.06776104122400284,
0.08425156027078629,
-0.006872611120343208,
-0.01980736292898655,
-0.024154862388968468,
0.051233045756816864,
0.057716816663742065,
-0.002330691320821643,
-0.0038555958308279514,
-0.012574020773172379,
-0.00818904209882021,
-0.017839742824435234,
-0.026572223752737045,
0.02921445295214653,
-0.023873774334788322,
-0.03554831072688103,
0.046248409897089005,
0.00006082928666728549,
0.030057718977332115,
-0.03837793692946434,
-0.00856382679194212,
0.021137846633791924,
0.031856685876846313,
0.06802339106798172,
0.010728207416832447,
0.052919574081897736,
0.04726032912731171,
0.002400963334366679,
0.05614272132515907,
0.0344989150762558,
-0.021044151857495308,
-0.024717040359973907,
-0.026178698986768723,
0.08904880285263062,
-0.011149839498102665,
-0.009458624757826328,
0.020669367164373398,
-0.07491942495107651,
0.05127052217721939,
0.03489243984222412
]
|
31,474 | prefect_sqlalchemy.database | fetch_all |
Fetch all results from the database.
Repeated calls using the same inputs to *any* of the fetch methods of this
block will skip executing the operation again, and instead,
return the next set of results from the previous execution,
until the reset_cursors method is called.
Args:
operation: The SQL query or other operation to be executed.
parameters: The parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Returns:
A list of tuples containing the data returned by the database,
where each row is a tuple and each column is a value in the tuple.
Examples:
Create a table, insert three rows into it, and fetch all where name is 'Me'.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
results = database.fetch_all("SELECT * FROM customers WHERE name = :name", parameters={"name": "Me"})
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self, operation: str, parameters: Optional[Dict[str, Any]] = None, **execution_options: Dict[str, Any]) -> List[Tuple[Any]] | [
-0.0023248351644724607,
-0.07810509204864502,
-0.030507460236549377,
0.023498989641666412,
0.04141369089484215,
-0.017970917746424675,
-0.0331309512257576,
-0.004394348710775375,
-0.025560304522514343,
-0.04025185853242874,
-0.009894311428070068,
-0.00753785390406847,
-0.02192489430308342,
0.036279141902923584,
0.012499064207077026,
0.028015144169330597,
0.04965895041823387,
0.02080054208636284,
0.04010194540023804,
-0.008456075564026833,
0.03957724571228027,
0.050108689814805984,
0.02050071395933628,
-0.02155010960996151,
-0.010728207416832447,
0.01264897733926773,
-0.015019489452242851,
-0.0015799510292708874,
0.007092797197401524,
0.026253655552864075,
0.05797916650772095,
-0.05782925337553024,
0.028314970433712006,
0.046135976910591125,
-0.027996404096484184,
0.03170677274465561,
0.030132675543427467,
0.008545087650418282,
0.016715390607714653,
-0.03826550021767616,
-0.006366651970893145,
0.012414737604558468,
0.05318192392587662,
0.020912976935505867,
-0.05363166704773903,
-0.018917249515652657,
-0.012527172453701496,
-0.09931790083646774,
0.043512482196092606,
0.031669292598962784,
0.04231317341327667,
0.05636759102344513,
0.019039053469896317,
0.04055168479681015,
0.041151341050863266,
-0.06862304359674454,
-0.04141369089484215,
0.034854959696531296,
0.00893392600119114,
0.03269995003938675,
-0.010512705892324448,
-0.010512705892324448,
-0.00393992243334651,
0.02130649983882904,
0.024585865437984467,
-0.019713666290044785,
0.00856382679194212,
-0.014888315461575985,
-0.038527850061655045,
-0.04591110348701477,
-0.025897610932588577,
0.046698153018951416,
0.004394348710775375,
0.03783449903130531,
-0.04628589004278183,
-0.03817180544137955,
-0.02809010073542595,
0.026366092264652252,
0.032662469893693924,
-0.026441048830747604,
0.0007519114296883345,
-0.02977663092315197,
-0.036222923547029495,
0.012667717412114143,
-0.004099205601960421,
-0.007312983274459839,
0.00334729440510273,
0.042088303714990616,
-0.021343978121876717,
-0.006029346026480198,
-0.0019149146974086761,
0.011815082281827927,
-0.054718539118766785,
0.13357320427894592,
0.026947006583213806,
0.0074441577307879925,
0.011187317781150341,
0.02447342872619629,
-0.03656022995710373,
0.10036729276180267,
-0.019470056518912315,
0.04197586700320244,
0.05730455368757248,
0.010465857572853565,
-0.0030544938053935766,
-0.04677310958504677,
0.014607226476073265,
-0.050858259201049805,
0.06933514028787613,
-0.023405293002724648,
-0.06472528725862503,
0.023648902773857117,
0.013361068442463875,
-0.04328761249780655,
-0.018579943105578423,
-0.023349076509475708,
0.029626715928316116,
-0.030507460236549377,
-0.013136197812855244,
-0.022393375635147095,
0.03470504656434059,
0.007748669944703579,
0.04789746180176735,
0.01277078315615654,
0.06577468663454056,
0.11221048980951309,
-0.006629001349210739,
-0.055168282240629196,
0.008114084601402283,
0.03764710575342178,
0.05797916650772095,
-0.02323663979768753,
-0.0025789861101657152,
-0.011281014420092106,
-0.0076221805065870285,
0.08057866990566254,
0.05396897345781326,
-0.003012330736964941,
0.029607977718114853,
0.03290608152747154,
-0.013651526533067226,
-0.001385531504638493,
-0.035154789686203,
-0.0055655501782894135,
0.023461511358618736,
-0.010437749326229095,
-0.048497118055820465,
-0.03980211541056633,
0.014447943307459354,
-0.01769919879734516,
0.04471179470419884,
-0.04913425073027611,
-0.02235589735209942,
-0.009008883498609066,
-0.03897758945822716,
0.04186343029141426,
-0.025616522878408432,
-0.06903530657291412,
0.041825953871011734,
-0.01706206612288952,
0.003220804501324892,
-0.028446145355701447,
-0.03157559782266617,
0.05231992155313492,
-0.047747548669576645,
-0.004584083333611488,
-0.010212878696620464,
-0.004406060557812452,
-0.05966569483280182,
-0.0074816360138356686,
0.014288660138845444,
-0.010231617838144302,
0.003012330736964941,
-0.018654899671673775,
-0.07267072051763535,
0.005368788260966539,
0.03545461595058441,
-0.0024431266356259584,
0.019826101139187813,
-0.05228244140744209,
-0.0363728366792202,
-0.08147815614938736,
-0.011365341022610664,
0.012808261439204216,
0.06569972634315491,
-0.032737430185079575,
-0.03288734331727028,
0.04808485507965088,
0.10921221226453781,
0.018486246466636658,
-0.06517502665519714,
-0.002564931521192193,
0.002995933871716261,
-0.023142945021390915,
-0.009069785475730896,
-0.054606106132268906,
-0.00716306921094656,
0.045011620968580246,
-0.0626639723777771,
-0.01277078315615654,
-0.002464208286255598,
0.012995653785765171,
0.016349975019693375,
-0.016293756663799286,
0.03470504656434059,
-0.030676113441586494,
0.00658683804795146,
0.003813432529568672,
-0.022449593991041183,
-0.08350199460983276,
-0.06963496655225754,
-0.023967470973730087,
-0.05164530873298645,
0.007069373037666082,
0.015684733167290688,
-0.005528071895241737,
0.01233041100203991,
0.01273330394178629,
0.106888547539711,
0.05831647291779518,
0.05456862598657608,
-0.08477625995874405,
0.018645530566573143,
-0.06097744405269623,
0.08462634682655334,
-0.05014616996049881,
-0.0012707537971436977,
-0.03393673896789551,
-0.006844502408057451,
-0.033861782401800156,
-0.01794280856847763,
-0.014747771434485912,
0.05824151635169983,
-0.00824994407594204,
0.0142605509608984,
-0.006024661473929882,
-0.04486170783638954,
0.020912976935505867,
-0.062139272689819336,
-0.00013995860354043543,
-0.00446696300059557,
0.07323289662599564,
-0.014382355846464634,
-0.021475153043866158,
-0.05483097583055496,
-0.03258751332759857,
0.04838468134403229,
-0.011374710127711296,
-0.04223821684718132,
0.012049322947859764,
-0.07847987860441208,
-0.05097069591283798,
0.03002024069428444,
0.008306162431836128,
-0.0017052695620805025,
-0.04617345333099365,
-0.021718762814998627,
0.001412469195201993,
0.01202121376991272,
-0.023723861202597618,
-0.03333708271384239,
-0.004834720399230719,
-0.06783600151538849,
0.052732184529304504,
0.02080054208636284,
-0.02123154327273369,
-0.070309579372406,
-0.017108913511037827,
0.003834514180198312,
-0.04965895041823387,
0.10036729276180267,
0.06292632222175598,
-0.00027684279484674335,
-0.023780077695846558,
-0.00303809717297554,
-0.05835394933819771,
-0.011524624191224575,
0.013154936954379082,
-0.08972341567277908,
-0.027827750891447067,
-0.006066824309527874,
-0.025710217654705048,
-0.020294582471251488,
-0.014569748193025589,
-0.0044107455760240555,
0.01264897733926773,
-0.0004415430303197354,
-0.0811033695936203,
-0.018701747059822083,
-0.006001237314194441,
0.026028785854578018,
-0.023217901587486267,
0.01089685969054699,
-0.046061016619205475,
-0.027134399861097336,
0.027546662837266922,
-0.018036505207419395,
-0.0082827378064394,
-0.012321040965616703,
-0.042762912809848785,
0.04628589004278183,
-0.031856685876846313,
0.05190765857696533,
0.048871900886297226,
-0.013201785273849964,
-0.005368788260966539,
-0.00546716945245862,
0.018017766997218132,
-0.09302151948213577,
-0.05981561169028282,
-0.009903681464493275,
0.022337157279253006,
-0.011655799113214016,
0.018430029973387718,
0.007083427626639605,
-0.033730607479810715,
-0.035154789686203,
-0.008226520381867886,
0.04317517578601837,
0.012845739722251892,
-0.052357397973537445,
0.022318419069051743,
-0.0005528071778826416,
-0.043999701738357544,
-0.010681359097361565,
-0.03794693201780319,
-0.03554831072688103,
0.03837793692946434,
0.024679560214281082,
0.0336369127035141,
-0.02659096196293831,
0.045948583632707596,
0.023817555978894234,
0.02567273937165737,
0.0017568024341017008,
0.024510908871889114,
-0.017774155363440514,
-0.0017333783907815814,
0.05456862598657608,
-0.0012707537971436977,
0.04459935799241066,
-0.06423807144165039,
0.05662994086742401,
0.017652351409196854,
-0.000801101909019053,
-0.007584701757878065,
-0.015591036528348923,
-0.01837381161749363,
0.05569298192858696,
-0.05887864902615547,
0.0031528747640550137,
-0.0050080581568181515,
-0.007467581890523434,
0.05524323880672455,
0.00757064763456583,
0.019601231440901756,
-0.03382430225610733,
0.0344989150762558,
-0.05539315193891525,
-0.016987109556794167,
0.05599280819296837,
-0.02353646792471409,
0.006366651970893145,
0.026272395625710487,
-0.045686233788728714,
0.008554456755518913,
0.011740125715732574,
-0.019545013085007668,
0.011674538254737854,
0.02940184623003006,
-0.05228244140744209,
-0.03779701888561249,
0.03931489586830139,
0.048497118055820465,
-0.028689755126833916,
-0.005631137639284134,
-0.05187017843127251,
-0.014907054603099823,
-0.01950753480195999,
0.06970991939306259,
0.0015237333718687296,
0.010615771636366844,
0.04748519882559776,
0.003302788594737649,
0.004694176372140646,
-0.029439324513077736,
-0.04212578013539314,
0.0023037537466734648,
-0.033430781215429306,
-0.010372161865234375,
-0.02149389311671257,
-0.01448542159050703,
0.009421146474778652,
0.007252080366015434,
-0.0018376153893768787,
-0.021343978121876717,
0.01600329950451851,
0.008245259523391724,
-0.030732331797480583,
-0.02379881776869297,
-0.006610262207686901,
-0.05955326184630394,
0.0365227535367012,
-0.018214527517557144,
-0.02827749215066433,
-0.04036429524421692,
0.05363166704773903,
-0.035791922360658646,
-0.00011184976028744131,
-0.010137921199202538,
0.0018048217752948403,
-0.030076459050178528,
-0.07342028617858887,
0.024454690515995026,
-0.002719530137255788,
-0.023705121129751205,
0.028202535584568977,
0.0031622443348169327,
0.007608125917613506,
0.09069785475730896,
0.030732331797480583,
-0.012349150143563747,
0.03084476664662361,
0.009116633795201778,
0.0069054048508405685,
0.03129450976848602,
0.027752794325351715,
0.03923993930220604,
-0.009266547858715057,
0.0015143636846914887,
-0.019226446747779846,
-0.03425530716776848,
-0.012227345257997513,
-0.0019922140054404736,
0.02642230875790119,
0.04310021921992302,
0.020856758579611778,
-0.0026024100370705128,
0.04875946789979935,
-0.013014392927289009,
0.0662619024515152,
0.015178773552179337,
0.0033074733801186085,
-0.03807810693979263,
0.0027827750891447067,
-0.03406791388988495,
-0.02548534795641899,
0.016668541356921196,
0.030975941568613052,
0.009069785475730896,
0.021756241098046303,
0.015150664374232292,
0.02130649983882904,
0.003335582325235009,
0.018336333334445953,
0.000616637640632689,
-0.014251181855797768,
0.014429204165935516,
-0.010531445033848286,
0.025429129600524902,
0.019395099952816963,
-0.01385765802115202,
-0.019957276061177254,
-0.0221872441470623,
0.07480698823928833,
-0.07690578699111938,
-0.04328761249780655,
0.028558580204844475,
-0.02698448672890663,
-0.0181864183396101,
-0.042200736701488495,
-0.00919159036129713,
-0.02511056326329708,
0.008357695303857327,
0.055655501782894135,
-0.015291208401322365,
-0.01750243827700615,
0.0009703405667096376,
0.02945806458592415,
0.01882355287671089,
-0.000490147911477834,
0.004211640916764736,
0.03288734331727028,
0.031182073056697845,
-0.0011413360480219126,
0.009763136506080627,
0.08575069904327393,
-0.01832696422934532,
0.0189453586935997,
-0.058766212314367294,
-0.019048424437642097,
0.02760288119316101,
0.08200285583734512,
0.0023962785489857197,
0.006066824309527874,
-0.046510759741067886,
0.01601266860961914,
0.04579867050051689,
0.060827527195215225,
-0.007214602082967758,
-0.004811296239495277,
0.04778502881526947,
-0.004502099007368088,
-0.023011770099401474,
0.021999850869178772,
-0.0304699819535017,
0.07293307036161423,
-0.02243085391819477,
-0.004614534322172403,
0.02261824533343315,
-0.0018868058687075973,
0.03412413224577904,
-0.029870327562093735,
-0.04838468134403229,
-0.021849937736988068,
-0.01215238869190216,
0.01993853598833084,
0.02130649983882904,
-0.00535941869020462,
-0.013042501173913479,
0.028689755126833916,
0.0013773331884294748,
-0.04992130026221275,
-0.0011981392744928598,
-0.020088450983166695,
-0.0198823194950819,
0.009753767400979996,
-0.016527997329831123,
0.041338734328746796,
0.004546604584902525,
-0.019282663241028786,
0.005626452621072531,
0.008643467910587788,
-0.041713517159223557,
0.01706206612288952,
-0.02123154327273369,
-0.0700097531080246,
0.01645304076373577,
-0.03674762323498726,
-0.0336369127035141,
0.04838468134403229,
0.07214602082967758,
-0.020032232627272606,
-0.015375535003840923,
-0.030994679778814316,
-0.04010194540023804,
-0.007022525183856487,
0.010775054804980755,
-0.016406193375587463,
0.0015061653684824705,
-0.024679560214281082,
-0.01680908538401127,
0.004743366502225399,
-0.028989583253860474,
-0.054231319576501846,
0.003096657106652856,
0.008882393129169941,
-0.005476539023220539,
-0.006197999231517315,
0.016987109556794167,
0.031069636344909668,
0.0006306921131908894,
-0.012236714363098145,
0.05108313262462616,
0.013913875445723534,
-0.01645304076373577,
0.04950903728604317,
-0.01293006632477045,
0.00980998482555151,
0.006019976455718279,
0.03592309728264809,
-0.020838020369410515,
0.0635259747505188,
0.06498763710260391,
0.003319185459986329,
-0.06558728963136673,
-0.024342255666851997,
-0.011140470393002033,
0.040214378386735916,
-0.03849036991596222,
0.024585865437984467,
-0.028127579018473625,
-0.02835244871675968,
-0.04354996234178543,
-0.04310021921992302,
0.059890568256378174,
-0.04579867050051689,
0.05381905660033226,
0.022636985406279564,
0.007964171469211578,
-0.014803988859057426,
-0.033543214201927185,
-0.009903681464493275,
0.040326815098524094,
0.03633536025881767,
-0.015178773552179337,
-0.0442245751619339,
-0.0026398885529488325,
-0.007758039515465498,
0.007378570269793272,
-0.08972341567277908,
0.04823476821184158,
0.010981186293065548,
-0.05220748484134674,
0.0027312422171235085,
-0.01832696422934532,
-0.04152612388134003,
-0.02977663092315197,
-0.06243910267949104,
0.025054344907402992,
-0.00590285612270236,
0.011964996345341206,
-0.03200659900903702,
0.08267746865749359,
-0.014354247599840164,
-0.013848287984728813,
-0.08882392942905426,
0.008123454637825489,
0.03539839759469032,
-0.0019734748639166355,
-0.020912976935505867,
0.05910351872444153,
0.01538490504026413,
0.01569410227239132,
-0.012274193577468395,
0.01806461438536644,
0.035154789686203,
-0.07334533333778381,
-0.0202383641153574,
-0.017849113792181015,
-0.04857207462191582,
0.007809572387486696,
0.022262200713157654,
0.018430029973387718,
0.04827224835753441,
-0.0885990634560585,
0.01937635987997055,
-0.010784424841403961,
-0.02460460364818573,
-0.08020389080047607,
-0.026441048830747604,
0.07818005234003067,
0.008062551729381084,
-0.012011843733489513,
0.0638258084654808,
0.007926693186163902,
-0.07218349725008011,
-0.036860059946775436,
0.07237089425325394,
-0.001305889803916216,
0.01620006188750267,
0.021718762814998627,
0.044262051582336426,
0.06217675283551216,
0.015056968666613102,
0.0337868258357048,
-0.06569972634315491,
-0.02267446368932724,
0.004183532204478979,
0.019170228391885757,
0.011121731251478195,
0.010428379289805889,
-0.0021105054765939713,
0.041900910437107086,
-0.005888801999390125,
-0.008001649752259254,
-0.018045874312520027,
-0.017211979255080223,
-0.015328686684370041,
0.004904992412775755,
0.017549285665154457,
0.03339330106973648,
0.04310021921992302,
0.000595848832745105,
0.05486845597624779,
-0.03819054365158081,
0.020912976935505867,
-0.020032232627272606,
0.03129450976848602,
-0.018280114978551865,
-0.00828742329031229,
-0.015216251835227013,
0.055655501782894135,
0.01096244715154171,
-0.007509744726121426,
0.004160108044743538,
-0.034798745065927505,
0.004314706660807133,
0.04800989851355553,
-0.04572371393442154,
-0.03744097426533699,
-0.021269021555781364,
-0.03594183549284935,
0.054156363010406494,
-0.04827224835753441,
-0.028258753940463066,
-0.01307998038828373,
-0.05966569483280182,
-0.0074441577307879925,
0.09069785475730896,
0.008844914846122265,
0.001528418157249689,
0.00780488783493638,
0.04197586700320244,
0.008587250486016273,
0.01454163994640112,
0.0607900507748127,
-0.03476126492023468,
-0.01906716264784336,
-0.02280563861131668,
-0.031182073056697845,
0.0007583530386909842,
0.0052048200741410255,
0.05093321576714516,
0.05730455368757248,
0.03393673896789551,
-0.05044599622488022,
0.07075931876897812,
-0.046248409897089005,
-0.017474329099059105,
-0.030807288363575935,
-0.01913275010883808,
0.007223971653729677,
-0.03656022995710373,
0.008605989627540112,
-0.019095271825790405,
-0.038902632892131805,
-0.023255379870533943,
0.06776104122400284,
0.08425156027078629,
-0.006872611120343208,
-0.01980736292898655,
-0.024154862388968468,
0.051233045756816864,
0.057716816663742065,
-0.002330691320821643,
-0.0038555958308279514,
-0.012574020773172379,
-0.00818904209882021,
-0.017839742824435234,
-0.026572223752737045,
0.02921445295214653,
-0.023873774334788322,
-0.03554831072688103,
0.046248409897089005,
0.00006082928666728549,
0.030057718977332115,
-0.03837793692946434,
-0.00856382679194212,
0.021137846633791924,
0.031856685876846313,
0.06802339106798172,
0.010728207416832447,
0.052919574081897736,
0.04726032912731171,
0.002400963334366679,
0.05614272132515907,
0.0344989150762558,
-0.021044151857495308,
-0.024717040359973907,
-0.026178698986768723,
0.08904880285263062,
-0.011149839498102665,
-0.009458624757826328,
0.020669367164373398,
-0.07491942495107651,
0.05127052217721939,
0.03489243984222412
]
|
31,475 | prefect_sqlalchemy.database | fetch_many |
Fetch a limited number of results from the database.
Repeated calls using the same inputs to *any* of the fetch methods of this
block will skip executing the operation again, and instead,
return the next set of results from the previous execution,
until the reset_cursors method is called.
Args:
operation: The SQL query or other operation to be executed.
parameters: The parameters for the operation.
size: The number of results to return; if None or 0, uses the value of
`fetch_size` configured on the block.
**execution_options: Options to pass to `Connection.execution_options`.
Returns:
A list of tuples containing the data returned by the database,
where each row is a tuple and each column is a value in the tuple.
Examples:
Create a table, insert three rows into it, and fetch two rows repeatedly.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
results = database.fetch_many("SELECT * FROM customers", size=2)
print(results)
results = database.fetch_many("SELECT * FROM customers", size=2)
print(results)
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self, operation: str, parameters: Optional[Dict[str, Any]] = None, size: Optional[int] = None, **execution_options: Dict[str, Any]) -> List[Tuple[Any]] | [
-0.0023248351644724607,
-0.07810509204864502,
-0.030507460236549377,
0.023498989641666412,
0.04141369089484215,
-0.017970917746424675,
-0.0331309512257576,
-0.004394348710775375,
-0.025560304522514343,
-0.04025185853242874,
-0.009894311428070068,
-0.00753785390406847,
-0.02192489430308342,
0.036279141902923584,
0.012499064207077026,
0.028015144169330597,
0.04965895041823387,
0.02080054208636284,
0.04010194540023804,
-0.008456075564026833,
0.03957724571228027,
0.050108689814805984,
0.02050071395933628,
-0.02155010960996151,
-0.010728207416832447,
0.01264897733926773,
-0.015019489452242851,
-0.0015799510292708874,
0.007092797197401524,
0.026253655552864075,
0.05797916650772095,
-0.05782925337553024,
0.028314970433712006,
0.046135976910591125,
-0.027996404096484184,
0.03170677274465561,
0.030132675543427467,
0.008545087650418282,
0.016715390607714653,
-0.03826550021767616,
-0.006366651970893145,
0.012414737604558468,
0.05318192392587662,
0.020912976935505867,
-0.05363166704773903,
-0.018917249515652657,
-0.012527172453701496,
-0.09931790083646774,
0.043512482196092606,
0.031669292598962784,
0.04231317341327667,
0.05636759102344513,
0.019039053469896317,
0.04055168479681015,
0.041151341050863266,
-0.06862304359674454,
-0.04141369089484215,
0.034854959696531296,
0.00893392600119114,
0.03269995003938675,
-0.010512705892324448,
-0.010512705892324448,
-0.00393992243334651,
0.02130649983882904,
0.024585865437984467,
-0.019713666290044785,
0.00856382679194212,
-0.014888315461575985,
-0.038527850061655045,
-0.04591110348701477,
-0.025897610932588577,
0.046698153018951416,
0.004394348710775375,
0.03783449903130531,
-0.04628589004278183,
-0.03817180544137955,
-0.02809010073542595,
0.026366092264652252,
0.032662469893693924,
-0.026441048830747604,
0.0007519114296883345,
-0.02977663092315197,
-0.036222923547029495,
0.012667717412114143,
-0.004099205601960421,
-0.007312983274459839,
0.00334729440510273,
0.042088303714990616,
-0.021343978121876717,
-0.006029346026480198,
-0.0019149146974086761,
0.011815082281827927,
-0.054718539118766785,
0.13357320427894592,
0.026947006583213806,
0.0074441577307879925,
0.011187317781150341,
0.02447342872619629,
-0.03656022995710373,
0.10036729276180267,
-0.019470056518912315,
0.04197586700320244,
0.05730455368757248,
0.010465857572853565,
-0.0030544938053935766,
-0.04677310958504677,
0.014607226476073265,
-0.050858259201049805,
0.06933514028787613,
-0.023405293002724648,
-0.06472528725862503,
0.023648902773857117,
0.013361068442463875,
-0.04328761249780655,
-0.018579943105578423,
-0.023349076509475708,
0.029626715928316116,
-0.030507460236549377,
-0.013136197812855244,
-0.022393375635147095,
0.03470504656434059,
0.007748669944703579,
0.04789746180176735,
0.01277078315615654,
0.06577468663454056,
0.11221048980951309,
-0.006629001349210739,
-0.055168282240629196,
0.008114084601402283,
0.03764710575342178,
0.05797916650772095,
-0.02323663979768753,
-0.0025789861101657152,
-0.011281014420092106,
-0.0076221805065870285,
0.08057866990566254,
0.05396897345781326,
-0.003012330736964941,
0.029607977718114853,
0.03290608152747154,
-0.013651526533067226,
-0.001385531504638493,
-0.035154789686203,
-0.0055655501782894135,
0.023461511358618736,
-0.010437749326229095,
-0.048497118055820465,
-0.03980211541056633,
0.014447943307459354,
-0.01769919879734516,
0.04471179470419884,
-0.04913425073027611,
-0.02235589735209942,
-0.009008883498609066,
-0.03897758945822716,
0.04186343029141426,
-0.025616522878408432,
-0.06903530657291412,
0.041825953871011734,
-0.01706206612288952,
0.003220804501324892,
-0.028446145355701447,
-0.03157559782266617,
0.05231992155313492,
-0.047747548669576645,
-0.004584083333611488,
-0.010212878696620464,
-0.004406060557812452,
-0.05966569483280182,
-0.0074816360138356686,
0.014288660138845444,
-0.010231617838144302,
0.003012330736964941,
-0.018654899671673775,
-0.07267072051763535,
0.005368788260966539,
0.03545461595058441,
-0.0024431266356259584,
0.019826101139187813,
-0.05228244140744209,
-0.0363728366792202,
-0.08147815614938736,
-0.011365341022610664,
0.012808261439204216,
0.06569972634315491,
-0.032737430185079575,
-0.03288734331727028,
0.04808485507965088,
0.10921221226453781,
0.018486246466636658,
-0.06517502665519714,
-0.002564931521192193,
0.002995933871716261,
-0.023142945021390915,
-0.009069785475730896,
-0.054606106132268906,
-0.00716306921094656,
0.045011620968580246,
-0.0626639723777771,
-0.01277078315615654,
-0.002464208286255598,
0.012995653785765171,
0.016349975019693375,
-0.016293756663799286,
0.03470504656434059,
-0.030676113441586494,
0.00658683804795146,
0.003813432529568672,
-0.022449593991041183,
-0.08350199460983276,
-0.06963496655225754,
-0.023967470973730087,
-0.05164530873298645,
0.007069373037666082,
0.015684733167290688,
-0.005528071895241737,
0.01233041100203991,
0.01273330394178629,
0.106888547539711,
0.05831647291779518,
0.05456862598657608,
-0.08477625995874405,
0.018645530566573143,
-0.06097744405269623,
0.08462634682655334,
-0.05014616996049881,
-0.0012707537971436977,
-0.03393673896789551,
-0.006844502408057451,
-0.033861782401800156,
-0.01794280856847763,
-0.014747771434485912,
0.05824151635169983,
-0.00824994407594204,
0.0142605509608984,
-0.006024661473929882,
-0.04486170783638954,
0.020912976935505867,
-0.062139272689819336,
-0.00013995860354043543,
-0.00446696300059557,
0.07323289662599564,
-0.014382355846464634,
-0.021475153043866158,
-0.05483097583055496,
-0.03258751332759857,
0.04838468134403229,
-0.011374710127711296,
-0.04223821684718132,
0.012049322947859764,
-0.07847987860441208,
-0.05097069591283798,
0.03002024069428444,
0.008306162431836128,
-0.0017052695620805025,
-0.04617345333099365,
-0.021718762814998627,
0.001412469195201993,
0.01202121376991272,
-0.023723861202597618,
-0.03333708271384239,
-0.004834720399230719,
-0.06783600151538849,
0.052732184529304504,
0.02080054208636284,
-0.02123154327273369,
-0.070309579372406,
-0.017108913511037827,
0.003834514180198312,
-0.04965895041823387,
0.10036729276180267,
0.06292632222175598,
-0.00027684279484674335,
-0.023780077695846558,
-0.00303809717297554,
-0.05835394933819771,
-0.011524624191224575,
0.013154936954379082,
-0.08972341567277908,
-0.027827750891447067,
-0.006066824309527874,
-0.025710217654705048,
-0.020294582471251488,
-0.014569748193025589,
-0.0044107455760240555,
0.01264897733926773,
-0.0004415430303197354,
-0.0811033695936203,
-0.018701747059822083,
-0.006001237314194441,
0.026028785854578018,
-0.023217901587486267,
0.01089685969054699,
-0.046061016619205475,
-0.027134399861097336,
0.027546662837266922,
-0.018036505207419395,
-0.0082827378064394,
-0.012321040965616703,
-0.042762912809848785,
0.04628589004278183,
-0.031856685876846313,
0.05190765857696533,
0.048871900886297226,
-0.013201785273849964,
-0.005368788260966539,
-0.00546716945245862,
0.018017766997218132,
-0.09302151948213577,
-0.05981561169028282,
-0.009903681464493275,
0.022337157279253006,
-0.011655799113214016,
0.018430029973387718,
0.007083427626639605,
-0.033730607479810715,
-0.035154789686203,
-0.008226520381867886,
0.04317517578601837,
0.012845739722251892,
-0.052357397973537445,
0.022318419069051743,
-0.0005528071778826416,
-0.043999701738357544,
-0.010681359097361565,
-0.03794693201780319,
-0.03554831072688103,
0.03837793692946434,
0.024679560214281082,
0.0336369127035141,
-0.02659096196293831,
0.045948583632707596,
0.023817555978894234,
0.02567273937165737,
0.0017568024341017008,
0.024510908871889114,
-0.017774155363440514,
-0.0017333783907815814,
0.05456862598657608,
-0.0012707537971436977,
0.04459935799241066,
-0.06423807144165039,
0.05662994086742401,
0.017652351409196854,
-0.000801101909019053,
-0.007584701757878065,
-0.015591036528348923,
-0.01837381161749363,
0.05569298192858696,
-0.05887864902615547,
0.0031528747640550137,
-0.0050080581568181515,
-0.007467581890523434,
0.05524323880672455,
0.00757064763456583,
0.019601231440901756,
-0.03382430225610733,
0.0344989150762558,
-0.05539315193891525,
-0.016987109556794167,
0.05599280819296837,
-0.02353646792471409,
0.006366651970893145,
0.026272395625710487,
-0.045686233788728714,
0.008554456755518913,
0.011740125715732574,
-0.019545013085007668,
0.011674538254737854,
0.02940184623003006,
-0.05228244140744209,
-0.03779701888561249,
0.03931489586830139,
0.048497118055820465,
-0.028689755126833916,
-0.005631137639284134,
-0.05187017843127251,
-0.014907054603099823,
-0.01950753480195999,
0.06970991939306259,
0.0015237333718687296,
0.010615771636366844,
0.04748519882559776,
0.003302788594737649,
0.004694176372140646,
-0.029439324513077736,
-0.04212578013539314,
0.0023037537466734648,
-0.033430781215429306,
-0.010372161865234375,
-0.02149389311671257,
-0.01448542159050703,
0.009421146474778652,
0.007252080366015434,
-0.0018376153893768787,
-0.021343978121876717,
0.01600329950451851,
0.008245259523391724,
-0.030732331797480583,
-0.02379881776869297,
-0.006610262207686901,
-0.05955326184630394,
0.0365227535367012,
-0.018214527517557144,
-0.02827749215066433,
-0.04036429524421692,
0.05363166704773903,
-0.035791922360658646,
-0.00011184976028744131,
-0.010137921199202538,
0.0018048217752948403,
-0.030076459050178528,
-0.07342028617858887,
0.024454690515995026,
-0.002719530137255788,
-0.023705121129751205,
0.028202535584568977,
0.0031622443348169327,
0.007608125917613506,
0.09069785475730896,
0.030732331797480583,
-0.012349150143563747,
0.03084476664662361,
0.009116633795201778,
0.0069054048508405685,
0.03129450976848602,
0.027752794325351715,
0.03923993930220604,
-0.009266547858715057,
0.0015143636846914887,
-0.019226446747779846,
-0.03425530716776848,
-0.012227345257997513,
-0.0019922140054404736,
0.02642230875790119,
0.04310021921992302,
0.020856758579611778,
-0.0026024100370705128,
0.04875946789979935,
-0.013014392927289009,
0.0662619024515152,
0.015178773552179337,
0.0033074733801186085,
-0.03807810693979263,
0.0027827750891447067,
-0.03406791388988495,
-0.02548534795641899,
0.016668541356921196,
0.030975941568613052,
0.009069785475730896,
0.021756241098046303,
0.015150664374232292,
0.02130649983882904,
0.003335582325235009,
0.018336333334445953,
0.000616637640632689,
-0.014251181855797768,
0.014429204165935516,
-0.010531445033848286,
0.025429129600524902,
0.019395099952816963,
-0.01385765802115202,
-0.019957276061177254,
-0.0221872441470623,
0.07480698823928833,
-0.07690578699111938,
-0.04328761249780655,
0.028558580204844475,
-0.02698448672890663,
-0.0181864183396101,
-0.042200736701488495,
-0.00919159036129713,
-0.02511056326329708,
0.008357695303857327,
0.055655501782894135,
-0.015291208401322365,
-0.01750243827700615,
0.0009703405667096376,
0.02945806458592415,
0.01882355287671089,
-0.000490147911477834,
0.004211640916764736,
0.03288734331727028,
0.031182073056697845,
-0.0011413360480219126,
0.009763136506080627,
0.08575069904327393,
-0.01832696422934532,
0.0189453586935997,
-0.058766212314367294,
-0.019048424437642097,
0.02760288119316101,
0.08200285583734512,
0.0023962785489857197,
0.006066824309527874,
-0.046510759741067886,
0.01601266860961914,
0.04579867050051689,
0.060827527195215225,
-0.007214602082967758,
-0.004811296239495277,
0.04778502881526947,
-0.004502099007368088,
-0.023011770099401474,
0.021999850869178772,
-0.0304699819535017,
0.07293307036161423,
-0.02243085391819477,
-0.004614534322172403,
0.02261824533343315,
-0.0018868058687075973,
0.03412413224577904,
-0.029870327562093735,
-0.04838468134403229,
-0.021849937736988068,
-0.01215238869190216,
0.01993853598833084,
0.02130649983882904,
-0.00535941869020462,
-0.013042501173913479,
0.028689755126833916,
0.0013773331884294748,
-0.04992130026221275,
-0.0011981392744928598,
-0.020088450983166695,
-0.0198823194950819,
0.009753767400979996,
-0.016527997329831123,
0.041338734328746796,
0.004546604584902525,
-0.019282663241028786,
0.005626452621072531,
0.008643467910587788,
-0.041713517159223557,
0.01706206612288952,
-0.02123154327273369,
-0.0700097531080246,
0.01645304076373577,
-0.03674762323498726,
-0.0336369127035141,
0.04838468134403229,
0.07214602082967758,
-0.020032232627272606,
-0.015375535003840923,
-0.030994679778814316,
-0.04010194540023804,
-0.007022525183856487,
0.010775054804980755,
-0.016406193375587463,
0.0015061653684824705,
-0.024679560214281082,
-0.01680908538401127,
0.004743366502225399,
-0.028989583253860474,
-0.054231319576501846,
0.003096657106652856,
0.008882393129169941,
-0.005476539023220539,
-0.006197999231517315,
0.016987109556794167,
0.031069636344909668,
0.0006306921131908894,
-0.012236714363098145,
0.05108313262462616,
0.013913875445723534,
-0.01645304076373577,
0.04950903728604317,
-0.01293006632477045,
0.00980998482555151,
0.006019976455718279,
0.03592309728264809,
-0.020838020369410515,
0.0635259747505188,
0.06498763710260391,
0.003319185459986329,
-0.06558728963136673,
-0.024342255666851997,
-0.011140470393002033,
0.040214378386735916,
-0.03849036991596222,
0.024585865437984467,
-0.028127579018473625,
-0.02835244871675968,
-0.04354996234178543,
-0.04310021921992302,
0.059890568256378174,
-0.04579867050051689,
0.05381905660033226,
0.022636985406279564,
0.007964171469211578,
-0.014803988859057426,
-0.033543214201927185,
-0.009903681464493275,
0.040326815098524094,
0.03633536025881767,
-0.015178773552179337,
-0.0442245751619339,
-0.0026398885529488325,
-0.007758039515465498,
0.007378570269793272,
-0.08972341567277908,
0.04823476821184158,
0.010981186293065548,
-0.05220748484134674,
0.0027312422171235085,
-0.01832696422934532,
-0.04152612388134003,
-0.02977663092315197,
-0.06243910267949104,
0.025054344907402992,
-0.00590285612270236,
0.011964996345341206,
-0.03200659900903702,
0.08267746865749359,
-0.014354247599840164,
-0.013848287984728813,
-0.08882392942905426,
0.008123454637825489,
0.03539839759469032,
-0.0019734748639166355,
-0.020912976935505867,
0.05910351872444153,
0.01538490504026413,
0.01569410227239132,
-0.012274193577468395,
0.01806461438536644,
0.035154789686203,
-0.07334533333778381,
-0.0202383641153574,
-0.017849113792181015,
-0.04857207462191582,
0.007809572387486696,
0.022262200713157654,
0.018430029973387718,
0.04827224835753441,
-0.0885990634560585,
0.01937635987997055,
-0.010784424841403961,
-0.02460460364818573,
-0.08020389080047607,
-0.026441048830747604,
0.07818005234003067,
0.008062551729381084,
-0.012011843733489513,
0.0638258084654808,
0.007926693186163902,
-0.07218349725008011,
-0.036860059946775436,
0.07237089425325394,
-0.001305889803916216,
0.01620006188750267,
0.021718762814998627,
0.044262051582336426,
0.06217675283551216,
0.015056968666613102,
0.0337868258357048,
-0.06569972634315491,
-0.02267446368932724,
0.004183532204478979,
0.019170228391885757,
0.011121731251478195,
0.010428379289805889,
-0.0021105054765939713,
0.041900910437107086,
-0.005888801999390125,
-0.008001649752259254,
-0.018045874312520027,
-0.017211979255080223,
-0.015328686684370041,
0.004904992412775755,
0.017549285665154457,
0.03339330106973648,
0.04310021921992302,
0.000595848832745105,
0.05486845597624779,
-0.03819054365158081,
0.020912976935505867,
-0.020032232627272606,
0.03129450976848602,
-0.018280114978551865,
-0.00828742329031229,
-0.015216251835227013,
0.055655501782894135,
0.01096244715154171,
-0.007509744726121426,
0.004160108044743538,
-0.034798745065927505,
0.004314706660807133,
0.04800989851355553,
-0.04572371393442154,
-0.03744097426533699,
-0.021269021555781364,
-0.03594183549284935,
0.054156363010406494,
-0.04827224835753441,
-0.028258753940463066,
-0.01307998038828373,
-0.05966569483280182,
-0.0074441577307879925,
0.09069785475730896,
0.008844914846122265,
0.001528418157249689,
0.00780488783493638,
0.04197586700320244,
0.008587250486016273,
0.01454163994640112,
0.0607900507748127,
-0.03476126492023468,
-0.01906716264784336,
-0.02280563861131668,
-0.031182073056697845,
0.0007583530386909842,
0.0052048200741410255,
0.05093321576714516,
0.05730455368757248,
0.03393673896789551,
-0.05044599622488022,
0.07075931876897812,
-0.046248409897089005,
-0.017474329099059105,
-0.030807288363575935,
-0.01913275010883808,
0.007223971653729677,
-0.03656022995710373,
0.008605989627540112,
-0.019095271825790405,
-0.038902632892131805,
-0.023255379870533943,
0.06776104122400284,
0.08425156027078629,
-0.006872611120343208,
-0.01980736292898655,
-0.024154862388968468,
0.051233045756816864,
0.057716816663742065,
-0.002330691320821643,
-0.0038555958308279514,
-0.012574020773172379,
-0.00818904209882021,
-0.017839742824435234,
-0.026572223752737045,
0.02921445295214653,
-0.023873774334788322,
-0.03554831072688103,
0.046248409897089005,
0.00006082928666728549,
0.030057718977332115,
-0.03837793692946434,
-0.00856382679194212,
0.021137846633791924,
0.031856685876846313,
0.06802339106798172,
0.010728207416832447,
0.052919574081897736,
0.04726032912731171,
0.002400963334366679,
0.05614272132515907,
0.0344989150762558,
-0.021044151857495308,
-0.024717040359973907,
-0.026178698986768723,
0.08904880285263062,
-0.011149839498102665,
-0.009458624757826328,
0.020669367164373398,
-0.07491942495107651,
0.05127052217721939,
0.03489243984222412
]
|
31,476 | prefect_sqlalchemy.database | fetch_one |
Fetch a single result from the database.
Repeated calls using the same inputs to *any* of the fetch methods of this
block will skip executing the operation again, and instead,
return the next set of results from the previous execution,
until the reset_cursors method is called.
Args:
operation: The SQL query or other operation to be executed.
parameters: The parameters for the operation.
**execution_options: Options to pass to `Connection.execution_options`.
Returns:
A list of tuples containing the data returned by the database,
where each row is a tuple and each column is a value in the tuple.
Examples:
Create a table, insert three rows into it, and fetch a row repeatedly.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
database.execute("CREATE TABLE IF NOT EXISTS customers (name varchar, address varchar);")
database.execute_many(
"INSERT INTO customers (name, address) VALUES (:name, :address);",
seq_of_parameters=[
{"name": "Ford", "address": "Highway 42"},
{"name": "Unknown", "address": "Space"},
{"name": "Me", "address": "Myway 88"},
],
)
results = True
while results:
results = database.fetch_one("SELECT * FROM customers")
print(results)
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self, operation: str, parameters: Optional[Dict[str, Any]] = None, **execution_options: Dict[str, Any]) -> Tuple[Any] | [
-0.0023248351644724607,
-0.07810509204864502,
-0.030507460236549377,
0.023498989641666412,
0.04141369089484215,
-0.017970917746424675,
-0.0331309512257576,
-0.004394348710775375,
-0.025560304522514343,
-0.04025185853242874,
-0.009894311428070068,
-0.00753785390406847,
-0.02192489430308342,
0.036279141902923584,
0.012499064207077026,
0.028015144169330597,
0.04965895041823387,
0.02080054208636284,
0.04010194540023804,
-0.008456075564026833,
0.03957724571228027,
0.050108689814805984,
0.02050071395933628,
-0.02155010960996151,
-0.010728207416832447,
0.01264897733926773,
-0.015019489452242851,
-0.0015799510292708874,
0.007092797197401524,
0.026253655552864075,
0.05797916650772095,
-0.05782925337553024,
0.028314970433712006,
0.046135976910591125,
-0.027996404096484184,
0.03170677274465561,
0.030132675543427467,
0.008545087650418282,
0.016715390607714653,
-0.03826550021767616,
-0.006366651970893145,
0.012414737604558468,
0.05318192392587662,
0.020912976935505867,
-0.05363166704773903,
-0.018917249515652657,
-0.012527172453701496,
-0.09931790083646774,
0.043512482196092606,
0.031669292598962784,
0.04231317341327667,
0.05636759102344513,
0.019039053469896317,
0.04055168479681015,
0.041151341050863266,
-0.06862304359674454,
-0.04141369089484215,
0.034854959696531296,
0.00893392600119114,
0.03269995003938675,
-0.010512705892324448,
-0.010512705892324448,
-0.00393992243334651,
0.02130649983882904,
0.024585865437984467,
-0.019713666290044785,
0.00856382679194212,
-0.014888315461575985,
-0.038527850061655045,
-0.04591110348701477,
-0.025897610932588577,
0.046698153018951416,
0.004394348710775375,
0.03783449903130531,
-0.04628589004278183,
-0.03817180544137955,
-0.02809010073542595,
0.026366092264652252,
0.032662469893693924,
-0.026441048830747604,
0.0007519114296883345,
-0.02977663092315197,
-0.036222923547029495,
0.012667717412114143,
-0.004099205601960421,
-0.007312983274459839,
0.00334729440510273,
0.042088303714990616,
-0.021343978121876717,
-0.006029346026480198,
-0.0019149146974086761,
0.011815082281827927,
-0.054718539118766785,
0.13357320427894592,
0.026947006583213806,
0.0074441577307879925,
0.011187317781150341,
0.02447342872619629,
-0.03656022995710373,
0.10036729276180267,
-0.019470056518912315,
0.04197586700320244,
0.05730455368757248,
0.010465857572853565,
-0.0030544938053935766,
-0.04677310958504677,
0.014607226476073265,
-0.050858259201049805,
0.06933514028787613,
-0.023405293002724648,
-0.06472528725862503,
0.023648902773857117,
0.013361068442463875,
-0.04328761249780655,
-0.018579943105578423,
-0.023349076509475708,
0.029626715928316116,
-0.030507460236549377,
-0.013136197812855244,
-0.022393375635147095,
0.03470504656434059,
0.007748669944703579,
0.04789746180176735,
0.01277078315615654,
0.06577468663454056,
0.11221048980951309,
-0.006629001349210739,
-0.055168282240629196,
0.008114084601402283,
0.03764710575342178,
0.05797916650772095,
-0.02323663979768753,
-0.0025789861101657152,
-0.011281014420092106,
-0.0076221805065870285,
0.08057866990566254,
0.05396897345781326,
-0.003012330736964941,
0.029607977718114853,
0.03290608152747154,
-0.013651526533067226,
-0.001385531504638493,
-0.035154789686203,
-0.0055655501782894135,
0.023461511358618736,
-0.010437749326229095,
-0.048497118055820465,
-0.03980211541056633,
0.014447943307459354,
-0.01769919879734516,
0.04471179470419884,
-0.04913425073027611,
-0.02235589735209942,
-0.009008883498609066,
-0.03897758945822716,
0.04186343029141426,
-0.025616522878408432,
-0.06903530657291412,
0.041825953871011734,
-0.01706206612288952,
0.003220804501324892,
-0.028446145355701447,
-0.03157559782266617,
0.05231992155313492,
-0.047747548669576645,
-0.004584083333611488,
-0.010212878696620464,
-0.004406060557812452,
-0.05966569483280182,
-0.0074816360138356686,
0.014288660138845444,
-0.010231617838144302,
0.003012330736964941,
-0.018654899671673775,
-0.07267072051763535,
0.005368788260966539,
0.03545461595058441,
-0.0024431266356259584,
0.019826101139187813,
-0.05228244140744209,
-0.0363728366792202,
-0.08147815614938736,
-0.011365341022610664,
0.012808261439204216,
0.06569972634315491,
-0.032737430185079575,
-0.03288734331727028,
0.04808485507965088,
0.10921221226453781,
0.018486246466636658,
-0.06517502665519714,
-0.002564931521192193,
0.002995933871716261,
-0.023142945021390915,
-0.009069785475730896,
-0.054606106132268906,
-0.00716306921094656,
0.045011620968580246,
-0.0626639723777771,
-0.01277078315615654,
-0.002464208286255598,
0.012995653785765171,
0.016349975019693375,
-0.016293756663799286,
0.03470504656434059,
-0.030676113441586494,
0.00658683804795146,
0.003813432529568672,
-0.022449593991041183,
-0.08350199460983276,
-0.06963496655225754,
-0.023967470973730087,
-0.05164530873298645,
0.007069373037666082,
0.015684733167290688,
-0.005528071895241737,
0.01233041100203991,
0.01273330394178629,
0.106888547539711,
0.05831647291779518,
0.05456862598657608,
-0.08477625995874405,
0.018645530566573143,
-0.06097744405269623,
0.08462634682655334,
-0.05014616996049881,
-0.0012707537971436977,
-0.03393673896789551,
-0.006844502408057451,
-0.033861782401800156,
-0.01794280856847763,
-0.014747771434485912,
0.05824151635169983,
-0.00824994407594204,
0.0142605509608984,
-0.006024661473929882,
-0.04486170783638954,
0.020912976935505867,
-0.062139272689819336,
-0.00013995860354043543,
-0.00446696300059557,
0.07323289662599564,
-0.014382355846464634,
-0.021475153043866158,
-0.05483097583055496,
-0.03258751332759857,
0.04838468134403229,
-0.011374710127711296,
-0.04223821684718132,
0.012049322947859764,
-0.07847987860441208,
-0.05097069591283798,
0.03002024069428444,
0.008306162431836128,
-0.0017052695620805025,
-0.04617345333099365,
-0.021718762814998627,
0.001412469195201993,
0.01202121376991272,
-0.023723861202597618,
-0.03333708271384239,
-0.004834720399230719,
-0.06783600151538849,
0.052732184529304504,
0.02080054208636284,
-0.02123154327273369,
-0.070309579372406,
-0.017108913511037827,
0.003834514180198312,
-0.04965895041823387,
0.10036729276180267,
0.06292632222175598,
-0.00027684279484674335,
-0.023780077695846558,
-0.00303809717297554,
-0.05835394933819771,
-0.011524624191224575,
0.013154936954379082,
-0.08972341567277908,
-0.027827750891447067,
-0.006066824309527874,
-0.025710217654705048,
-0.020294582471251488,
-0.014569748193025589,
-0.0044107455760240555,
0.01264897733926773,
-0.0004415430303197354,
-0.0811033695936203,
-0.018701747059822083,
-0.006001237314194441,
0.026028785854578018,
-0.023217901587486267,
0.01089685969054699,
-0.046061016619205475,
-0.027134399861097336,
0.027546662837266922,
-0.018036505207419395,
-0.0082827378064394,
-0.012321040965616703,
-0.042762912809848785,
0.04628589004278183,
-0.031856685876846313,
0.05190765857696533,
0.048871900886297226,
-0.013201785273849964,
-0.005368788260966539,
-0.00546716945245862,
0.018017766997218132,
-0.09302151948213577,
-0.05981561169028282,
-0.009903681464493275,
0.022337157279253006,
-0.011655799113214016,
0.018430029973387718,
0.007083427626639605,
-0.033730607479810715,
-0.035154789686203,
-0.008226520381867886,
0.04317517578601837,
0.012845739722251892,
-0.052357397973537445,
0.022318419069051743,
-0.0005528071778826416,
-0.043999701738357544,
-0.010681359097361565,
-0.03794693201780319,
-0.03554831072688103,
0.03837793692946434,
0.024679560214281082,
0.0336369127035141,
-0.02659096196293831,
0.045948583632707596,
0.023817555978894234,
0.02567273937165737,
0.0017568024341017008,
0.024510908871889114,
-0.017774155363440514,
-0.0017333783907815814,
0.05456862598657608,
-0.0012707537971436977,
0.04459935799241066,
-0.06423807144165039,
0.05662994086742401,
0.017652351409196854,
-0.000801101909019053,
-0.007584701757878065,
-0.015591036528348923,
-0.01837381161749363,
0.05569298192858696,
-0.05887864902615547,
0.0031528747640550137,
-0.0050080581568181515,
-0.007467581890523434,
0.05524323880672455,
0.00757064763456583,
0.019601231440901756,
-0.03382430225610733,
0.0344989150762558,
-0.05539315193891525,
-0.016987109556794167,
0.05599280819296837,
-0.02353646792471409,
0.006366651970893145,
0.026272395625710487,
-0.045686233788728714,
0.008554456755518913,
0.011740125715732574,
-0.019545013085007668,
0.011674538254737854,
0.02940184623003006,
-0.05228244140744209,
-0.03779701888561249,
0.03931489586830139,
0.048497118055820465,
-0.028689755126833916,
-0.005631137639284134,
-0.05187017843127251,
-0.014907054603099823,
-0.01950753480195999,
0.06970991939306259,
0.0015237333718687296,
0.010615771636366844,
0.04748519882559776,
0.003302788594737649,
0.004694176372140646,
-0.029439324513077736,
-0.04212578013539314,
0.0023037537466734648,
-0.033430781215429306,
-0.010372161865234375,
-0.02149389311671257,
-0.01448542159050703,
0.009421146474778652,
0.007252080366015434,
-0.0018376153893768787,
-0.021343978121876717,
0.01600329950451851,
0.008245259523391724,
-0.030732331797480583,
-0.02379881776869297,
-0.006610262207686901,
-0.05955326184630394,
0.0365227535367012,
-0.018214527517557144,
-0.02827749215066433,
-0.04036429524421692,
0.05363166704773903,
-0.035791922360658646,
-0.00011184976028744131,
-0.010137921199202538,
0.0018048217752948403,
-0.030076459050178528,
-0.07342028617858887,
0.024454690515995026,
-0.002719530137255788,
-0.023705121129751205,
0.028202535584568977,
0.0031622443348169327,
0.007608125917613506,
0.09069785475730896,
0.030732331797480583,
-0.012349150143563747,
0.03084476664662361,
0.009116633795201778,
0.0069054048508405685,
0.03129450976848602,
0.027752794325351715,
0.03923993930220604,
-0.009266547858715057,
0.0015143636846914887,
-0.019226446747779846,
-0.03425530716776848,
-0.012227345257997513,
-0.0019922140054404736,
0.02642230875790119,
0.04310021921992302,
0.020856758579611778,
-0.0026024100370705128,
0.04875946789979935,
-0.013014392927289009,
0.0662619024515152,
0.015178773552179337,
0.0033074733801186085,
-0.03807810693979263,
0.0027827750891447067,
-0.03406791388988495,
-0.02548534795641899,
0.016668541356921196,
0.030975941568613052,
0.009069785475730896,
0.021756241098046303,
0.015150664374232292,
0.02130649983882904,
0.003335582325235009,
0.018336333334445953,
0.000616637640632689,
-0.014251181855797768,
0.014429204165935516,
-0.010531445033848286,
0.025429129600524902,
0.019395099952816963,
-0.01385765802115202,
-0.019957276061177254,
-0.0221872441470623,
0.07480698823928833,
-0.07690578699111938,
-0.04328761249780655,
0.028558580204844475,
-0.02698448672890663,
-0.0181864183396101,
-0.042200736701488495,
-0.00919159036129713,
-0.02511056326329708,
0.008357695303857327,
0.055655501782894135,
-0.015291208401322365,
-0.01750243827700615,
0.0009703405667096376,
0.02945806458592415,
0.01882355287671089,
-0.000490147911477834,
0.004211640916764736,
0.03288734331727028,
0.031182073056697845,
-0.0011413360480219126,
0.009763136506080627,
0.08575069904327393,
-0.01832696422934532,
0.0189453586935997,
-0.058766212314367294,
-0.019048424437642097,
0.02760288119316101,
0.08200285583734512,
0.0023962785489857197,
0.006066824309527874,
-0.046510759741067886,
0.01601266860961914,
0.04579867050051689,
0.060827527195215225,
-0.007214602082967758,
-0.004811296239495277,
0.04778502881526947,
-0.004502099007368088,
-0.023011770099401474,
0.021999850869178772,
-0.0304699819535017,
0.07293307036161423,
-0.02243085391819477,
-0.004614534322172403,
0.02261824533343315,
-0.0018868058687075973,
0.03412413224577904,
-0.029870327562093735,
-0.04838468134403229,
-0.021849937736988068,
-0.01215238869190216,
0.01993853598833084,
0.02130649983882904,
-0.00535941869020462,
-0.013042501173913479,
0.028689755126833916,
0.0013773331884294748,
-0.04992130026221275,
-0.0011981392744928598,
-0.020088450983166695,
-0.0198823194950819,
0.009753767400979996,
-0.016527997329831123,
0.041338734328746796,
0.004546604584902525,
-0.019282663241028786,
0.005626452621072531,
0.008643467910587788,
-0.041713517159223557,
0.01706206612288952,
-0.02123154327273369,
-0.0700097531080246,
0.01645304076373577,
-0.03674762323498726,
-0.0336369127035141,
0.04838468134403229,
0.07214602082967758,
-0.020032232627272606,
-0.015375535003840923,
-0.030994679778814316,
-0.04010194540023804,
-0.007022525183856487,
0.010775054804980755,
-0.016406193375587463,
0.0015061653684824705,
-0.024679560214281082,
-0.01680908538401127,
0.004743366502225399,
-0.028989583253860474,
-0.054231319576501846,
0.003096657106652856,
0.008882393129169941,
-0.005476539023220539,
-0.006197999231517315,
0.016987109556794167,
0.031069636344909668,
0.0006306921131908894,
-0.012236714363098145,
0.05108313262462616,
0.013913875445723534,
-0.01645304076373577,
0.04950903728604317,
-0.01293006632477045,
0.00980998482555151,
0.006019976455718279,
0.03592309728264809,
-0.020838020369410515,
0.0635259747505188,
0.06498763710260391,
0.003319185459986329,
-0.06558728963136673,
-0.024342255666851997,
-0.011140470393002033,
0.040214378386735916,
-0.03849036991596222,
0.024585865437984467,
-0.028127579018473625,
-0.02835244871675968,
-0.04354996234178543,
-0.04310021921992302,
0.059890568256378174,
-0.04579867050051689,
0.05381905660033226,
0.022636985406279564,
0.007964171469211578,
-0.014803988859057426,
-0.033543214201927185,
-0.009903681464493275,
0.040326815098524094,
0.03633536025881767,
-0.015178773552179337,
-0.0442245751619339,
-0.0026398885529488325,
-0.007758039515465498,
0.007378570269793272,
-0.08972341567277908,
0.04823476821184158,
0.010981186293065548,
-0.05220748484134674,
0.0027312422171235085,
-0.01832696422934532,
-0.04152612388134003,
-0.02977663092315197,
-0.06243910267949104,
0.025054344907402992,
-0.00590285612270236,
0.011964996345341206,
-0.03200659900903702,
0.08267746865749359,
-0.014354247599840164,
-0.013848287984728813,
-0.08882392942905426,
0.008123454637825489,
0.03539839759469032,
-0.0019734748639166355,
-0.020912976935505867,
0.05910351872444153,
0.01538490504026413,
0.01569410227239132,
-0.012274193577468395,
0.01806461438536644,
0.035154789686203,
-0.07334533333778381,
-0.0202383641153574,
-0.017849113792181015,
-0.04857207462191582,
0.007809572387486696,
0.022262200713157654,
0.018430029973387718,
0.04827224835753441,
-0.0885990634560585,
0.01937635987997055,
-0.010784424841403961,
-0.02460460364818573,
-0.08020389080047607,
-0.026441048830747604,
0.07818005234003067,
0.008062551729381084,
-0.012011843733489513,
0.0638258084654808,
0.007926693186163902,
-0.07218349725008011,
-0.036860059946775436,
0.07237089425325394,
-0.001305889803916216,
0.01620006188750267,
0.021718762814998627,
0.044262051582336426,
0.06217675283551216,
0.015056968666613102,
0.0337868258357048,
-0.06569972634315491,
-0.02267446368932724,
0.004183532204478979,
0.019170228391885757,
0.011121731251478195,
0.010428379289805889,
-0.0021105054765939713,
0.041900910437107086,
-0.005888801999390125,
-0.008001649752259254,
-0.018045874312520027,
-0.017211979255080223,
-0.015328686684370041,
0.004904992412775755,
0.017549285665154457,
0.03339330106973648,
0.04310021921992302,
0.000595848832745105,
0.05486845597624779,
-0.03819054365158081,
0.020912976935505867,
-0.020032232627272606,
0.03129450976848602,
-0.018280114978551865,
-0.00828742329031229,
-0.015216251835227013,
0.055655501782894135,
0.01096244715154171,
-0.007509744726121426,
0.004160108044743538,
-0.034798745065927505,
0.004314706660807133,
0.04800989851355553,
-0.04572371393442154,
-0.03744097426533699,
-0.021269021555781364,
-0.03594183549284935,
0.054156363010406494,
-0.04827224835753441,
-0.028258753940463066,
-0.01307998038828373,
-0.05966569483280182,
-0.0074441577307879925,
0.09069785475730896,
0.008844914846122265,
0.001528418157249689,
0.00780488783493638,
0.04197586700320244,
0.008587250486016273,
0.01454163994640112,
0.0607900507748127,
-0.03476126492023468,
-0.01906716264784336,
-0.02280563861131668,
-0.031182073056697845,
0.0007583530386909842,
0.0052048200741410255,
0.05093321576714516,
0.05730455368757248,
0.03393673896789551,
-0.05044599622488022,
0.07075931876897812,
-0.046248409897089005,
-0.017474329099059105,
-0.030807288363575935,
-0.01913275010883808,
0.007223971653729677,
-0.03656022995710373,
0.008605989627540112,
-0.019095271825790405,
-0.038902632892131805,
-0.023255379870533943,
0.06776104122400284,
0.08425156027078629,
-0.006872611120343208,
-0.01980736292898655,
-0.024154862388968468,
0.051233045756816864,
0.057716816663742065,
-0.002330691320821643,
-0.0038555958308279514,
-0.012574020773172379,
-0.00818904209882021,
-0.017839742824435234,
-0.026572223752737045,
0.02921445295214653,
-0.023873774334788322,
-0.03554831072688103,
0.046248409897089005,
0.00006082928666728549,
0.030057718977332115,
-0.03837793692946434,
-0.00856382679194212,
0.021137846633791924,
0.031856685876846313,
0.06802339106798172,
0.010728207416832447,
0.052919574081897736,
0.04726032912731171,
0.002400963334366679,
0.05614272132515907,
0.0344989150762558,
-0.021044151857495308,
-0.024717040359973907,
-0.026178698986768723,
0.08904880285263062,
-0.011149839498102665,
-0.009458624757826328,
0.020669367164373398,
-0.07491942495107651,
0.05127052217721939,
0.03489243984222412
]
|
31,478 | prefect_sqlalchemy.database | get_client |
Returns either an engine or connection that can be used to query from databases.
Args:
client_type: Select from either 'engine' or 'connection'.
**get_client_kwargs: Additional keyword arguments to pass to
either `get_engine` or `get_connection`.
Returns:
The authenticated SQLAlchemy engine or connection.
Examples:
Create an engine.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
engine = sqlalchemy_connector.get_client(client_type="engine")
```
Create a context managed connection.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
with sqlalchemy_connector.get_client(client_type="connection") as conn:
...
```
| def get_client(
self,
client_type: Literal["engine", "connection"],
**get_client_kwargs: Dict[str, Any],
) -> Union[Engine, AsyncEngine, Connection, AsyncConnection]:
"""
Returns either an engine or connection that can be used to query from databases.
Args:
client_type: Select from either 'engine' or 'connection'.
**get_client_kwargs: Additional keyword arguments to pass to
either `get_engine` or `get_connection`.
Returns:
The authenticated SQLAlchemy engine or connection.
Examples:
Create an engine.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
engine = sqlalchemy_connector.get_client(client_type="engine")
```
Create a context managed connection.
```python
from prefect_sqlalchemy import SqlalchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
with sqlalchemy_connector.get_client(client_type="connection") as conn:
...
```
""" # noqa: E501
if client_type == "engine":
client = self.get_engine(**get_client_kwargs)
elif client_type == "connection":
client = self.get_connection(**get_client_kwargs)
else:
raise ValueError(
f"{client_type!r} is not supported; choose from engine or connection."
)
return client
| (self, client_type: Literal['engine', 'connection'], **get_client_kwargs: Dict[str, Any]) -> Union[sqlalchemy.engine.base.Engine, sqlalchemy.ext.asyncio.engine.AsyncEngine, sqlalchemy.engine.base.Connection, sqlalchemy.ext.asyncio.engine.AsyncConnection] | [
0.02293139137327671,
-0.09721993654966354,
0.029398730024695396,
0.008627887815237045,
0.023236634209752083,
0.008775739930570126,
0.04563384875655174,
-0.029723050072789192,
-0.010740743018686771,
-0.036877185106277466,
0.011618317104876041,
-0.03315703570842743,
-0.05673706904053688,
0.014146111905574799,
-0.007464148569852114,
-0.016072958707809448,
-0.04094073548913002,
-0.023408332839608192,
0.044069476425647736,
-0.06547465175390244,
-0.005332216154783964,
0.036934420466423035,
0.013583319261670113,
-0.04971647635102272,
0.03777384012937546,
0.0592934787273407,
-0.033653054386377335,
0.0044212560169398785,
0.08958885818719864,
-0.013573780655860901,
0.0692138820886612,
-0.0012805903097614646,
0.010540426708757877,
-0.005947471596300602,
0.02625091001391411,
0.025220714509487152,
0.030696013942360878,
0.07726466655731201,
0.04563384875655174,
-0.022969545796513557,
-0.04071180522441864,
-0.007049208972603083,
0.05303599685430527,
0.021042698994278908,
-0.052082110196352005,
-0.006748734973371029,
-0.0033934451639652252,
-0.060094743967056274,
-0.0033457509707659483,
-0.025106247514486313,
0.05616473779082298,
-0.026632463559508324,
0.006324256304651499,
0.0057614641264081,
-0.028025135397911072,
-0.04929676651954651,
-0.05433327704668045,
0.00932422373443842,
-0.04677851125597954,
0.06677193939685822,
-0.030219070613384247,
-0.03773568198084831,
-0.03241300582885742,
0.023789886385202408,
-0.014003029093146324,
-0.04193277657032013,
-0.0354272834956646,
-0.004771808627992868,
0.02052760124206543,
-0.0003788711328525096,
-0.0032503625843673944,
0.048457346856594086,
0.0016418742015957832,
-0.008685121312737465,
0.04006316140294075,
-0.05170055851340294,
0.01327807642519474,
0.04891521483659744,
0.024343140423297882,
0.015214462764561176,
-0.008923592045903206,
0.004087396431714296,
-0.019764494150877,
-0.040330249816179276,
0.04860996827483177,
-0.02913164161145687,
-0.07318204641342163,
0.030696013942360878,
0.0038250780198723078,
-0.03493126109242439,
-0.005499145947396755,
-0.05563056096434593,
0.019220778718590736,
0.0560121163725853,
-0.0515860915184021,
-0.029856594279408455,
-0.010874287225306034,
-0.012677129358053207,
0.03914743289351463,
0.029799360781908035,
0.026594309136271477,
0.048991523683071136,
0.008227256126701832,
-0.010788436979055405,
-0.011933098547160625,
-0.05528716370463371,
0.012295574881136417,
-0.0219393502920866,
0.0033576744608581066,
0.029608584940433502,
-0.015777254477143288,
-0.020432213321328163,
0.05280706286430359,
-0.011542006395757198,
0.0003952660190407187,
0.00882820412516594,
-0.03718243166804314,
0.016931455582380295,
0.0058282362297177315,
-0.0013092069420963526,
-0.07608184963464737,
0.03930005431175232,
0.03779291734099388,
0.0364956334233284,
0.045061517506837845,
0.0405973382294178,
-0.010626276955008507,
-0.05555425211787224,
0.012390963733196259,
-0.022740613669157028,
0.061620958149433136,
0.00180522701703012,
-0.011532467789947987,
0.02111900970339775,
-0.026766007766127586,
0.09287022799253464,
-0.06658115983009338,
0.008160484954714775,
-0.013192227110266685,
0.02590751089155674,
-0.018762914463877678,
0.03914743289351463,
-0.02239721454679966,
-0.0017849568976089358,
-0.036171313375234604,
0.014432277530431747,
-0.01749424822628498,
-0.058759305626153946,
-0.013211304321885109,
-0.024228673428297043,
0.0428103506565094,
-0.008170023560523987,
0.04311559349298477,
-0.023599110543727875,
-0.06211698055267334,
-0.03844155743718147,
-0.06066707521677017,
-0.016072958707809448,
-0.037354130297899246,
-0.011418000794947147,
-0.0037058424204587936,
0.028387611731886864,
0.033767521381378174,
-0.019669104367494583,
0.02146240882575512,
0.014804292470216751,
-0.028750088065862656,
-0.09065721184015274,
0.025411492213606834,
-0.000568753806874156,
-0.06387212872505188,
0.030982179567217827,
-0.03548451513051987,
0.004266249947249889,
-0.007769391871988773,
0.029093487188220024,
0.032966259866952896,
-0.012801134027540684,
0.023084012791514397,
0.017122233286499977,
0.059102702885866165,
-0.033424124121665955,
-0.0615064911544323,
0.04975463077425957,
0.016444973647594452,
0.0070539782755076885,
0.057652797549963,
-0.03941452130675316,
0.06039998680353165,
-0.025697655975818634,
-0.08707060664892197,
0.06169727072119713,
0.01295375544577837,
-0.02409513108432293,
0.01755147986114025,
-0.04838103801012039,
0.023084012791514397,
0.028521155938506126,
-0.08653642982244492,
0.06791660189628601,
-0.011494312435388565,
0.03844155743718147,
-0.008790048770606518,
0.02491547167301178,
0.0422380194067955,
-0.030276304110884666,
0.04662588983774185,
-0.04082626849412918,
-0.043497148901224136,
-0.004325867630541325,
-0.05971318855881691,
-0.03012368269264698,
-0.031325578689575195,
0.006047629751265049,
0.02794882468879223,
-0.010807515121996403,
-0.017475169152021408,
0.007316296454519033,
0.016387740150094032,
0.06997699290513992,
0.003202668158337474,
0.023141246289014816,
0.03285179287195206,
-0.030810479074716568,
0.024724693968892097,
-0.07070194184780121,
-0.03111572191119194,
0.014995069243013859,
-0.009443460032343864,
-0.022091971710324287,
-0.027090327814221382,
0.004974509123712778,
0.07829486578702927,
0.018991846591234207,
-0.01654990203678608,
-0.02508717030286789,
-0.021481486037373543,
0.06677193939685822,
-0.002713802270591259,
0.03504572808742523,
0.03388198837637901,
0.03306164592504501,
0.009204988367855549,
-0.01493783574551344,
-0.10149334371089935,
0.034893106669187546,
0.055477939546108246,
-0.023351099342107773,
0.002971351146697998,
0.012381425127387047,
-0.0405973382294178,
-0.04639695584774017,
0.030486159026622772,
0.013745480217039585,
-0.01438458263874054,
0.019917115569114685,
-0.010893364436924458,
-0.027738969773054123,
-0.03607592359185219,
-0.02409513108432293,
-0.05391357094049454,
0.0483047254383564,
-0.030219070613384247,
0.029036253690719604,
-0.019611870869994164,
-0.03241300582885742,
0.0007523766253143549,
0.024877315387129784,
-0.01602526567876339,
-0.008022171445190907,
0.11026908457279205,
0.09950926154851913,
0.05063220486044884,
0.02649891935288906,
-0.0029928137082606554,
-0.05502007529139519,
-0.04258141666650772,
-0.004204247146844864,
-0.025182558223605156,
-0.013745480217039585,
-0.07043485343456268,
0.05059405043721199,
0.023599110543727875,
-0.060972318053245544,
-0.036705486476421356,
-0.06860339641571045,
-0.033653054386377335,
-0.06513125449419022,
0.021653184667229652,
0.029436884447932243,
0.0009389803744852543,
-0.06417737156152725,
-0.003777383826673031,
-0.013707324862480164,
-0.00964854471385479,
0.01272482331842184,
0.04819026216864586,
-0.016645289957523346,
-0.027471883222460747,
-0.04456549882888794,
-0.023789886385202408,
-0.021252553910017014,
0.015300312079489231,
0.04216170683503151,
0.0615064911544323,
-0.035999611020088196,
0.031611744314432144,
-0.04364977031946182,
-0.004254326224327087,
0.021309787407517433,
-0.06474970281124115,
-0.016101576387882233,
-0.007168444339185953,
0.010301955975592136,
-0.036705486476421356,
0.01353562530130148,
0.009920402429997921,
-0.011761399917304516,
0.032203152775764465,
0.030657857656478882,
-0.07612001150846481,
0.03645747900009155,
0.039109278470277786,
0.013478392735123634,
-0.053493861109018326,
0.05238735303282738,
-0.060438141226768494,
0.046702198684215546,
0.017408397048711777,
0.07928690314292908,
-0.06062891706824303,
0.047694239765405655,
-0.00441410206258297,
0.015328928828239441,
-0.022664302960038185,
-0.014928297139704227,
0.0691375732421875,
-0.011503851041197777,
0.025697655975818634,
0.003379137022420764,
0.03607592359185219,
-0.03702980652451515,
0.02239721454679966,
-0.015376622788608074,
0.008456189185380936,
0.008212948217988014,
0.015529245138168335,
-0.015987109392881393,
0.031726207584142685,
0.012381425127387047,
-0.031554508954286575,
-0.014518126845359802,
-0.02754819393157959,
-0.022893235087394714,
-0.019764494150877,
-0.023370178416371346,
-0.009085753001272678,
0.01882968656718731,
-0.013869484886527061,
0.00005257544762571342,
0.010578582994639874,
-0.0050269728526473045,
0.03369121253490448,
0.034416165202856064,
-0.10614830255508423,
0.03762121871113777,
-0.0028163448441773653,
-0.025640424340963364,
0.042314331978559494,
0.009433920495212078,
-0.012266959063708782,
0.00508897565305233,
0.02024143561720848,
0.02678508497774601,
-0.01531939022243023,
-0.011990332044661045,
-0.06936649978160858,
-0.06028551980853081,
0.02006973698735237,
0.043077439069747925,
0.003138280939310789,
0.014899680390954018,
0.03199329599738121,
0.0307150911539793,
-0.018057039007544518,
-0.01760871335864067,
-0.013173148967325687,
0.0014391737058758736,
-0.0389566570520401,
0.01883922517299652,
-0.007187522016465664,
-0.0346069410443306,
0.021920273080468178,
-0.03767845034599304,
0.02216828241944313,
-0.012801134027540684,
-0.03332873433828354,
0.01006348431110382,
-0.0038632333744317293,
-0.003517450299113989,
-0.008065096102654934,
0.0288263987749815,
0.08073680847883224,
0.008537269197404385,
-0.04796132817864418,
0.04616802558302879,
0.03821262717247009,
0.00961992796510458,
0.03105849027633667,
-0.06329979747533798,
-0.04574831575155258,
0.002176049631088972,
-0.030963100492954254,
0.0067964293994009495,
0.00275672716088593,
-0.007836163975298405,
0.05906454846262932,
0.06215513497591019,
0.030963100492954254,
0.07016776502132416,
0.014756597578525543,
-0.00002476001827744767,
0.003891850123181939,
0.017360704019665718,
0.03691534325480461,
0.050746671855449677,
0.003078663256019354,
0.02420959621667862,
-0.015720020979642868,
0.0364956334233284,
0.050326962023973465,
-0.03720150887966156,
0.006820276379585266,
0.005179594736546278,
0.013583319261670113,
0.052196577191352844,
0.010368728078901768,
0.04586278274655342,
0.02117624320089817,
-0.046358801424503326,
-0.008289258927106857,
-0.00453333742916584,
-0.05673706904053688,
-0.0002457743976265192,
0.02485823817551136,
-0.07608184963464737,
-0.04185646399855614,
0.009729624725878239,
0.013239921070635319,
0.004573877900838852,
-0.04113151133060455,
0.05925532430410385,
-0.004468950442969799,
0.04677851125597954,
-0.006724887993186712,
0.008704198524355888,
0.00016424704517703503,
0.00804124865680933,
0.03580883517861366,
0.030848635360598564,
0.06169727072119713,
-0.016340047121047974,
0.02338925562798977,
-0.03273732587695122,
0.029570428654551506,
0.020565755665302277,
-0.004426025319844484,
0.014003029093146324,
0.012810672633349895,
0.004695497918874025,
0.0020103121642023325,
-0.031077567487955093,
-0.023427410051226616,
0.0041613224893808365,
0.014832909218966961,
0.0038441556971520185,
0.03058154694736004,
-0.009414843283593655,
-0.026365377008914948,
-0.05990396440029144,
-0.06440630555152893,
0.06005658954381943,
-0.021481486037373543,
-0.010712126269936562,
-0.03847971186041832,
-0.0219393502920866,
0.003064354881644249,
-0.008332183584570885,
-0.001819535274989903,
-0.023656344041228294,
-0.017732718959450722,
0.1086665540933609,
0.044718120247125626,
0.005933163687586784,
-0.005069897975772619,
-0.002385904313996434,
-0.010483194142580032,
-0.0019351937808096409,
0.017637331038713455,
0.04674035683274269,
0.04151306673884392,
-0.006376720033586025,
0.009462537243962288,
-0.02800605818629265,
0.04929676651954651,
-0.07829486578702927,
-0.024190519005060196,
-0.003972930368036032,
0.001675260253250599,
-0.006910895463079214,
-0.007960168644785881,
0.04433656483888626,
0.013115916401147842,
-0.034893106669187546,
-0.02356095425784588,
0.007836163975298405,
0.008575424551963806,
-0.009147755801677704,
-0.004180400166660547,
-0.01506184134632349,
0.00618594279512763,
0.036934420466423035,
-0.04761793091893196,
0.0060762460343539715,
-0.012562663294374943,
-0.0050412812270224094,
0.04433656483888626,
-0.02293139137327671,
0.012772517278790474,
-0.004442718345671892,
0.02117624320089817,
-0.0069538201205432415,
-0.07875272631645203,
0.025583190843462944,
0.013850407674908638,
-0.057805418968200684,
-0.11324520409107208,
0.0202986691147089,
0.05105191469192505,
-0.03023814782500267,
0.02129070833325386,
0.013640552759170532,
-0.05292152985930443,
-0.03344320133328438,
0.013755018822848797,
-0.03176436573266983,
0.06513125449419022,
-0.003932390362024307,
-0.06726795434951782,
-0.01790441758930683,
0.046816665679216385,
0.01889645867049694,
0.03332873433828354,
-0.0038894652388989925,
-0.046587735414505005,
0.019802648574113846,
0.006672424264252186,
-0.039910539984703064,
0.010502271354198456,
-0.02625091001391411,
0.026174599304795265,
-0.05566871911287308,
-0.0587211474776268,
0.05444774404168129,
0.023789886385202408,
-0.031134800985455513,
0.06677193939685822,
0.05776726454496384,
-0.015157229267060757,
-0.03584698960185051,
-0.02134794183075428,
-0.030848635360598564,
0.05246366560459137,
0.006023782771080732,
0.016874222084879875,
0.04139859974384308,
-0.04052102565765381,
-0.006600882858037949,
0.011360768228769302,
-0.006476877722889185,
-0.010511810891330242,
-0.03235577419400215,
-0.00241929036565125,
-0.027681738138198853,
0.01222880370914936,
0.03241300582885742,
-0.0074164546094834805,
0.014603976160287857,
-0.006147787440568209,
-0.0015154845314100385,
0.019630949944257736,
0.0244003739207983,
-0.019506944343447685,
0.0006748735322616994,
0.04151306673884392,
-0.01479475386440754,
0.0225116815418005,
0.021367019042372704,
0.010635815560817719,
0.0031859753653407097,
-0.05326492711901665,
0.0326419398188591,
0.008007862605154514,
-0.014136573299765587,
-0.011723244562745094,
-0.014603976160287857,
-0.06677193939685822,
-0.020203281193971634,
0.02726202830672264,
-0.04826657101511955,
-0.016816988587379456,
0.0466640442609787,
-0.05311230570077896,
-0.038517870008945465,
0.0015739098889753222,
0.009295607917010784,
-0.045824624598026276,
-0.0031859753653407097,
-0.00003616192043409683,
-0.0021629338152706623,
0.0013628628803417087,
0.030924946069717407,
0.06696271151304245,
-0.029780283570289612,
-0.03937636315822601,
0.049449387937784195,
-0.010111179202795029,
-0.06314717233181,
0.012038026005029678,
0.015824949368834496,
0.027109406888484955,
0.010883825831115246,
0.016444973647594452,
-0.02163410745561123,
0.04178015515208244,
-0.024114208295941353,
0.06303270906209946,
-0.0005750136915594339,
0.025411492213606834,
-0.0005368582787923515,
-0.011885404586791992,
0.020165124908089638,
0.053951725363731384,
-0.013344848528504372,
-0.0023787503596395254,
-0.008236795663833618,
0.011398923583328724,
-0.039681609719991684,
0.007383068557828665,
0.0060094743967056274,
0.0015154845314100385,
0.02794882468879223,
0.030696013942360878,
-0.014117495156824589,
-0.024190519005060196,
-0.0009073829278349876,
0.0006301601533778012,
-0.017732718959450722,
0.030810479074716568,
0.011093680746853352,
0.015405239537358284,
0.061392027884721756,
0.03199329599738121,
0.050212495028972626,
-0.0428103506565094,
0.002544487826526165,
-0.029207952320575714,
-0.023026779294013977,
0.07936321943998337,
-0.02403789758682251,
0.03397737815976143,
0.009204988367855549,
-0.011084141209721565,
0.02035590261220932,
-0.02081376686692238,
0.021424252539873123,
-0.0038298475556075573,
-0.015376622788608074,
0.02380896545946598,
-0.020565755665302277,
0.0014296348672360182,
0.031916987150907516,
-0.056050270795822144,
0.04731268808245659,
-0.047579772770404816,
-0.059980276972055435,
-0.00045339338248595595,
0.037525828927755356,
0.029036253690719604,
-0.11225316673517227,
-0.012619895860552788,
0.010044407099485397,
-0.02544964663684368,
0.025583190843462944,
0.009071444161236286,
-0.02527794800698757,
0.0152335399761796,
-0.06673378497362137,
-0.07535690069198608,
0.10416422039270401,
0.05597396194934845,
-0.019840804859995842,
-0.0537991039454937,
0.046931132674217224,
0.004750346299260855,
0.01626373641192913,
0.04101704806089401,
-0.02293139137327671,
0.019840804859995842,
-0.003064354881644249,
0.01636866293847561,
-0.013478392735123634,
0.07543320953845978,
0.00441410206258297,
0.033958300948143005,
-0.0007571460446342826,
-0.03573252633213997,
0.0609341599047184,
-0.06432998925447464,
0.0027519576251506805,
-0.050975605845451355,
-0.029742129147052765,
0.019630949944257736,
-0.060209210962057114,
0.08607856184244156,
0.03063878044486046,
-0.04864812642335892,
-0.00789339654147625,
0.0003577067982405424,
0.05799619480967522,
-0.0025707194581627846,
-0.08378924429416656,
-0.013258999213576317,
-0.0033934451639652252,
0.0444510318338871,
-0.026231832802295685,
0.008790048770606518,
-0.02842576801776886,
0.00010045599628938362,
-0.034301698207855225,
-0.07169397920370102,
0.035598982125520706,
-0.08722322434186935,
0.0032122069969773293,
0.004118397831916809,
-0.05143347010016441,
0.04006316140294075,
0.006972897797822952,
0.02964673936367035,
0.009553156793117523,
-0.039796072989702225,
0.021481486037373543,
0.028635622933506966,
0.04590093716979027,
-0.015300312079489231,
-0.04368792474269867,
0.016645289957523346,
0.0010295994579792023,
0.016769295558333397,
0.0318215973675251,
0.05948425829410553,
0.04601540416479111,
0.023007702082395554,
-0.04761793091893196,
-0.03199329599738121,
-0.09729625284671783,
-0.016635751351714134,
-0.020775610581040382
]
|
31,479 | prefect_sqlalchemy.database | get_connection |
Returns a connection that can be used to query from databases.
Args:
begin: Whether to begin a transaction on the connection; if True, if
any operations fail, the entire transaction will be rolled back.
**connect_kwargs: Additional keyword arguments to pass to either
`engine.begin` or engine.connect`.
Returns:
The SQLAlchemy Connection / AsyncConnection.
Examples:
Create an synchronous connection as a context-managed transaction.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
with sqlalchemy_connector.get_connection(begin=False) as connection:
connection.execute("SELECT * FROM table LIMIT 1;")
```
Create an asynchronous connection as a context-managed transacation.
```python
import asyncio
from prefect_sqlalchemy import SqlAlchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
async with sqlalchemy_connector.get_connection(begin=False) as connection:
asyncio.run(connection.execute("SELECT * FROM table LIMIT 1;"))
```
| def get_connection(
self, begin: bool = True, **connect_kwargs: Dict[str, Any]
) -> Union[Connection, AsyncConnection]:
"""
Returns a connection that can be used to query from databases.
Args:
begin: Whether to begin a transaction on the connection; if True, if
any operations fail, the entire transaction will be rolled back.
**connect_kwargs: Additional keyword arguments to pass to either
`engine.begin` or engine.connect`.
Returns:
The SQLAlchemy Connection / AsyncConnection.
Examples:
Create an synchronous connection as a context-managed transaction.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
with sqlalchemy_connector.get_connection(begin=False) as connection:
connection.execute("SELECT * FROM table LIMIT 1;")
```
Create an asynchronous connection as a context-managed transacation.
```python
import asyncio
from prefect_sqlalchemy import SqlAlchemyConnector
sqlalchemy_connector = SqlAlchemyConnector.load("BLOCK_NAME")
async with sqlalchemy_connector.get_connection(begin=False) as connection:
asyncio.run(connection.execute("SELECT * FROM table LIMIT 1;"))
```
""" # noqa: E501
engine = self.get_engine()
if begin:
connection = engine.begin(**connect_kwargs)
else:
connection = engine.connect(**connect_kwargs)
self.logger.info("Created a new connection.")
return connection
| (self, begin: bool = True, **connect_kwargs: Dict[str, Any]) -> Union[sqlalchemy.engine.base.Connection, sqlalchemy.ext.asyncio.engine.AsyncConnection] | [
0.011119375005364418,
-0.10685217380523682,
0.011526990681886673,
-0.011896688491106033,
0.006749356631189585,
-0.009602665901184082,
-0.0194897148758173,
-0.018086759373545647,
-0.0025310085620731115,
-0.11367736011743546,
0.01362194586545229,
-0.02724389173090458,
-0.032267991453409195,
0.0602133609354496,
-0.029348324984312057,
-0.009446254931390285,
-0.05410860478878021,
-0.033329688012599945,
0.003971882630139589,
0.00583459110930562,
0.006886808201670647,
0.10078533738851547,
-0.024286307394504547,
-0.059758346527814865,
0.002817761618643999,
0.0693894475698471,
-0.053956933319568634,
-0.01447509415447712,
0.10078533738851547,
0.013432356528937817,
0.06707646697759628,
0.025063620880246162,
0.04235410690307617,
0.025575511157512665,
0.0492551364004612,
0.053160659968853,
0.04489459469914436,
0.0654839277267456,
0.018759798258543015,
-0.06271593272686005,
-0.03399324789643288,
-0.03399324789643288,
0.03514973819255829,
0.04349163919687271,
-0.003012089990079403,
-0.0019053660798817873,
-0.027433479204773903,
-0.035453081130981445,
0.011242607608437538,
0.011982003226876259,
0.119061678647995,
0.026409700512886047,
-0.024172553792595863,
0.0035358285531401634,
-0.04273328557610512,
-0.021556230261921883,
-0.07848970592021942,
0.017527472227811813,
-0.0644601434469223,
0.06537017226219177,
-0.010920306667685509,
-0.022333543747663498,
0.020608287304639816,
0.013811534270644188,
-0.0341828353703022,
-0.046638812869787216,
-0.03130108863115311,
-0.0556253157556057,
0.018788237124681473,
0.03588913381099701,
0.020835794508457184,
0.0739775002002716,
0.03003084473311901,
-0.008943845517933369,
0.007967463694512844,
-0.017081938683986664,
-0.014911148697137833,
0.03624935448169708,
-0.023793376982212067,
0.02113913558423519,
-0.03835378587245941,
0.028210792690515518,
0.016977664083242416,
-0.018702922388911247,
0.07970307767391205,
-0.007564587518572807,
-0.08402569591999054,
0.05524613708257675,
-0.05505654960870743,
-0.08630076050758362,
0.00854570884257555,
-0.023395240306854248,
0.03746271878480911,
0.04667672887444496,
0.04379498213529587,
-0.025310086086392403,
-0.032912593334913254,
0.027528274804353714,
-0.0004298330459278077,
0.017025062814354897,
-0.03532036766409874,
0.02276959829032421,
-0.04007904231548309,
-0.04299870878458023,
-0.01835218258202076,
-0.05801413208246231,
-0.004085635766386986,
-0.0065218498930335045,
-0.005706619005650282,
-0.009014940820634365,
-0.002419625408947468,
-0.024134637787938118,
0.08106811344623566,
0.029992926865816116,
0.02057036943733692,
-0.020608287304639816,
-0.0054743727669119835,
-0.06328469514846802,
0.04625963419675827,
-0.005602344870567322,
-0.10124034434556961,
0.029651667922735214,
0.0345240943133831,
-0.02692159079015255,
0.07466001808643341,
0.05573906749486923,
0.03492223098874092,
-0.02390713058412075,
0.039131101220846176,
-0.014057999476790428,
0.052895236760377884,
-0.008654722943902016,
0.003289363346993923,
0.004424525424838066,
-0.011166771873831749,
0.08197813481092453,
-0.007801573723554611,
0.009128694422543049,
-0.03215423598885536,
0.008844311349093914,
0.016636405140161514,
-0.0009390563354827464,
-0.044174157083034515,
0.050696007907390594,
-0.05221271887421608,
0.000192254752619192,
-0.04258161410689354,
-0.05482904240489006,
0.006507630925625563,
-0.022617926821112633,
0.0393206886947155,
-0.03467576578259468,
0.0258598942309618,
0.023850254714488983,
-0.04512210190296173,
-0.04493251442909241,
-0.012787755578756332,
-0.018143635243177414,
-0.03164234757423401,
0.019679304212331772,
-0.011602826416492462,
0.017176732420921326,
-0.011280525475740433,
0.035206615924835205,
-0.00695790397003293,
0.015441996976733208,
-0.02864684723317623,
-0.04660089313983917,
0.0017039281083270907,
-0.05619408190250397,
-0.039282772690057755,
0.04201284795999527,
0.0067019592970609665,
0.02568926475942135,
0.036021847277879715,
0.02546175755560398,
0.05194729566574097,
-0.0058535500429570675,
-0.014702601358294487,
-0.008256586268544197,
0.039206936955451965,
-0.015157613903284073,
-0.019868891686201096,
0.005171030759811401,
0.015024901367723942,
0.0192148108035326,
0.016882870346307755,
0.017811855301260948,
0.09858610481023788,
-0.03795564919710159,
-0.04277120158076286,
0.0474730022251606,
0.0150533402338624,
-0.0188735518604517,
0.010759157128632069,
-0.028514135628938675,
0.049899738281965256,
0.06916194409132004,
-0.022561050951480865,
0.07833803445100784,
0.021632065996527672,
0.00812387466430664,
0.02904498390853405,
0.019868891686201096,
0.08758996427059174,
-0.07378790527582169,
-0.014882709830999374,
-0.03988945484161377,
-0.03494119271636009,
-0.026713043451309204,
-0.1027570590376854,
-0.050392668694257736,
-0.023755459114909172,
0.0021565710194408894,
0.03769022598862648,
0.037159379571676254,
0.0207220409065485,
0.01713881455361843,
-0.00020203042367938906,
0.05080976337194443,
0.06157839670777321,
-0.026940548792481422,
0.043946653604507446,
-0.0432262159883976,
0.038126278668642044,
-0.03412596136331558,
-0.026561371982097626,
-0.02912081964313984,
-0.007564587518572807,
-0.012427536770701408,
-0.027433479204773903,
0.019755138084292412,
0.033500317484140396,
-0.010749677196145058,
0.014370820485055447,
0.0009621624485589564,
-0.024684444069862366,
0.035206615924835205,
-0.01590648852288723,
0.008716339245438576,
0.0237365011125803,
0.0732949748635292,
0.006469713058322668,
0.024001924321055412,
-0.09957196563482285,
-0.01892094872891903,
0.051757704466581345,
-0.02618219517171383,
-0.0010605115676298738,
0.007450834382325411,
-0.10563880205154419,
-0.02929144911468029,
0.03192673251032829,
-0.032836757600307465,
-0.03130108863115311,
0.019319085404276848,
-0.0067019592970609665,
0.010389458388090134,
-0.027092220261693,
0.01056008879095316,
0.0018804825376719236,
0.0265803299844265,
-0.04201284795999527,
0.06810025125741959,
0.004287073854357004,
-0.020589329302310944,
-0.017840294167399406,
-0.023641707375645638,
-0.07412916421890259,
0.008171271532773972,
0.08410152792930603,
0.03215423598885536,
0.05702827125787735,
0.005858289543539286,
-0.011602826416492462,
-0.059758346527814865,
-0.019148455932736397,
-0.047510918229818344,
-0.05300899222493172,
-0.05278148502111435,
-0.08956168591976166,
-0.008029079996049404,
-0.005517030134797096,
-0.07488752156496048,
-0.026732001453638077,
-0.07469793409109116,
-0.019404400140047073,
-0.06169215217232704,
0.003678020089864731,
-0.01003871951252222,
-0.02904498390853405,
-0.08774163573980331,
-0.045577116310596466,
-0.01587805151939392,
0.06248842552304268,
0.022068120539188385,
-0.017517993226647377,
0.03003084473311901,
-0.01273087877780199,
-0.0563078336417675,
0.0027822137344628572,
-0.0067019592970609665,
-0.029348324984312057,
0.11322235316038132,
0.0524023063480854,
-0.02788849174976349,
0.019717220216989517,
-0.007957983762025833,
-0.05786246061325073,
0.025821976363658905,
-0.04978598281741142,
-0.004178060218691826,
0.0683656707406044,
0.007005301304161549,
-0.05008932575583458,
-0.017224129289388657,
0.018342703580856323,
0.0036329927388578653,
0.0015818803803995252,
0.042467862367630005,
-0.04299870878458023,
0.010218828916549683,
0.01191564742475748,
-0.018503854051232338,
-0.00608105631545186,
0.003746745875105262,
-0.044667087495326996,
0.06271593272686005,
0.03289363160729408,
0.06684896349906921,
-0.06643186509609222,
0.058279555290937424,
-0.013565069064497948,
0.0120388800278306,
-0.052743565291166306,
-0.012474934570491314,
0.019546590745449066,
-0.012010442093014717,
0.0025215293280780315,
-0.033898454159498215,
0.01733788289129734,
0.003997950814664364,
0.015470434911549091,
-0.012512851506471634,
0.006602425128221512,
-0.01310057658702135,
-0.003997950814664364,
-0.011716579087078571,
0.013953725807368755,
0.0063512204214930534,
0.010389458388090134,
0.019717220216989517,
-0.04819343984127045,
-0.01048425305634737,
-0.06328469514846802,
-0.010142993181943893,
-0.0022643995471298695,
0.01820051111280918,
-0.02682679519057274,
-0.017394760623574257,
0.011242607608437538,
0.037159379571676254,
0.02946207858622074,
0.008341901004314423,
-0.05752120167016983,
0.043453723192214966,
-0.04250577837228775,
0.0009461659356020391,
-0.03412596136331558,
0.0007322861929424107,
-0.012512851506471634,
0.006265905220061541,
0.033159058541059494,
0.0198309738188982,
-0.02472236193716526,
-0.03670436516404152,
-0.07909639179706573,
-0.023508993908762932,
0.044249992817640305,
0.0389794297516346,
-0.007943765260279179,
-0.020267028361558914,
0.03916901722550392,
-0.012389618903398514,
-0.025025703012943268,
-0.06476348638534546,
-0.013138494454324245,
-0.022314585745334625,
-0.034808479249477386,
0.03573746234178543,
-0.03623039275407791,
-0.041899096220731735,
-0.026864713057875633,
-0.040344469249248505,
-0.022580010816454887,
-0.011944086290895939,
0.035604752600193024,
0.020342864096164703,
-0.008488832041621208,
-0.006408096756786108,
-0.007365519646555185,
0.025101538747549057,
0.07147492468357086,
0.0008241182076744735,
-0.001712222583591938,
0.024248389527201653,
0.07917222380638123,
-0.006687740329653025,
0.025101538747549057,
-0.03042898140847683,
-0.06544600427150726,
-0.026883672922849655,
-0.04838302731513977,
0.05778662487864494,
-0.02349003590643406,
-0.03532036766409874,
0.04716965928673744,
0.011034060269594193,
0.03302634507417679,
0.061464644968509674,
-0.03882775828242302,
-0.00891540665179491,
0.014294985681772232,
-0.01693974807858467,
0.009593185968697071,
0.013470274396240711,
0.03497910872101784,
0.00683467136695981,
-0.008024340495467186,
0.033007387071847916,
0.04258161410689354,
-0.009199789725244045,
-0.00001834788781707175,
0.011953565292060375,
0.042316190898418427,
0.01459832675755024,
0.019887851551175117,
0.023452118039131165,
0.0513785295188427,
-0.030391063541173935,
0.0411028228700161,
-0.009531569667160511,
-0.024855073541402817,
-0.01459832675755024,
-0.005194729194045067,
-0.048496779054403305,
-0.004047717899084091,
-0.02692159079015255,
-0.004407936241477728,
0.0552840530872345,
-0.0014882710529491305,
0.07469793409109116,
0.023471076041460037,
0.025632387027144432,
0.00897702295333147,
-0.01966034434735775,
0.022257709875702858,
-0.02766098640859127,
0.007739957422018051,
0.0018082018941640854,
0.07177826762199402,
-0.010465294122695923,
-0.003327280981466174,
-0.0320594422519207,
0.011982003226876259,
-0.02845725789666176,
0.0068536303006112576,
0.004630703013390303,
-0.030656486749649048,
-0.03181297704577446,
-0.005284783896058798,
-0.00793902575969696,
-0.03824003413319588,
-0.03755751624703407,
0.007408177014440298,
-0.01837114244699478,
-0.018807195127010345,
-0.02383129484951496,
0.03467576578259468,
-0.02895018830895424,
-0.0417853407561779,
0.027850573882460594,
0.024930909276008606,
0.028021205216646194,
0.002174345077946782,
0.0050951954908668995,
0.07985474914312363,
-0.026542412117123604,
0.02129080705344677,
-0.01909157820045948,
-0.01362194586545229,
0.0835706815123558,
0.02724389173090458,
0.03302634507417679,
-0.014351861551404,
-0.03605976328253746,
-0.008540969341993332,
-0.0009153577848337591,
-0.009801734238862991,
0.010910827666521072,
0.024039842188358307,
-0.009645323269069195,
0.059189580380916595,
0.0013271206989884377,
0.00791532639414072,
-0.012702440842986107,
-0.02138560079038143,
0.004460073541849852,
0.008469874039292336,
-0.007972203195095062,
-0.014200191013514996,
0.045804619789123535,
-0.04982390254735947,
-0.037405844777822495,
-0.044667087495326996,
-0.008801653981208801,
-0.004782374016940594,
-0.0022371462546288967,
0.03880880028009415,
-0.0648014023900032,
0.03405012562870979,
0.03780398145318031,
-0.015100737102329731,
-0.008251846767961979,
-0.030656486749649048,
-0.0027229671832174063,
0.04447750002145767,
-0.037576474249362946,
-0.003106884192675352,
-0.0030571171082556248,
-0.027471397072076797,
-0.04023071378469467,
-0.04379498213529587,
-0.02440006099641323,
-0.005967303179204464,
-0.052174799144268036,
-0.07386374473571777,
0.020115356892347336,
-0.0029054463375359774,
-0.01048425305634737,
0.028760600835084915,
0.03617351874709129,
-0.036021847277879715,
-0.03359511122107506,
0.0021257628686726093,
-0.002514419611543417,
0.03712145984172821,
0.037159379571676254,
-0.031945690512657166,
0.00019551330478861928,
0.0326092503964901,
0.01562210638076067,
-0.010721239261329174,
0.013783096335828304,
-0.010645403526723385,
-0.02112017758190632,
0.0324007011950016,
-0.014095917344093323,
0.021840613335371017,
0.0016683802241459489,
0.008863270282745361,
-0.002708747982978821,
-0.08485988527536392,
0.021347682923078537,
-0.004422155674546957,
-0.010626444593071938,
0.0793238952755928,
0.049141380935907364,
-0.005948344245553017,
0.03962403163313866,
0.03981361910700798,
0.006829931866377592,
0.0014515381772071123,
0.001553442096337676,
0.03395532816648483,
0.012759316712617874,
-0.027205973863601685,
0.014408738352358341,
0.03175610303878784,
-0.010863430798053741,
0.024570690467953682,
-0.02889331243932247,
0.010692800395190716,
-0.019319085404276848,
0.01211471576243639,
0.029424160718917847,
-0.06927569955587387,
0.05471528694033623,
0.01904418133199215,
-0.09760024398565292,
-0.0008744777296669781,
0.043681226670742035,
-0.0035950751043856144,
-0.04455333575606346,
0.04625963419675827,
-0.0219543669372797,
-0.024570690467953682,
0.02316773496568203,
0.0368560366332531,
-0.014588847756385803,
-0.028931230306625366,
0.005782454274594784,
0.005872508976608515,
-0.007943765260279179,
-0.03550995513796806,
0.03704562410712242,
-0.057483281940221786,
-0.035946011543273926,
0.0009035084513016045,
-0.037405844777822495,
-0.0009532754775136709,
0.024570690467953682,
-0.022390421479940414,
-0.022561050951480865,
-0.052516061812639236,
-0.02561342902481556,
-0.09464266151189804,
0.031206294894218445,
-0.007294423878192902,
0.02203020267188549,
0.027357643470168114,
0.010702280327677727,
0.02707326039671898,
-0.014418218284845352,
-0.024362143129110336,
0.07189202308654785,
-0.007787354290485382,
-0.08675577491521835,
-0.001863893587142229,
0.012948906049132347,
0.04379498213529587,
0.00449562119320035,
0.039206936955451965,
-0.009493652731180191,
0.026087399572134018,
-0.05410860478878021,
0.02976541966199875,
0.018608126789331436,
0.003971882630139589,
0.0014622025191783905,
0.0007506526308134198,
0.036021847277879715,
0.05884832143783569,
-0.011574387550354004,
0.027376603335142136,
-0.02758515067398548,
0.006972122937440872,
-0.057407446205616,
0.011185730807483196,
-0.008389298804104328,
0.007028999738395214,
0.011346881277859211,
0.09100256115198135,
-0.027300767600536346,
-0.020665165036916733,
-0.014617285691201687,
-0.003199308644980192,
-0.013489233329892159,
0.0556253157556057,
0.02766098640859127,
-0.009763816371560097,
0.03143380209803581,
-0.030087720602750778,
0.02815391682088375,
0.038467541337013245,
0.01353663019835949,
-0.013119535520672798,
-0.03200256824493408,
0.02390713058412075,
-0.03875192254781723,
0.03939652442932129,
0.037728145718574524,
-0.03433450683951378,
0.04379498213529587,
0.014086437411606312,
0.009408337064087391,
0.004429265391081572,
-0.03444825857877731,
0.05115102231502533,
-0.01431394461542368,
0.049937654286623,
0.02112017758190632,
-0.02603052370250225,
0.053881097584962845,
-0.028040163218975067,
-0.01852281205356121,
-0.040003206580877304,
-0.011195210739970207,
0.03769022598862648,
-0.02479819767177105,
-0.0016126885311678052,
0.018608126789331436,
-0.04030654951930046,
0.03556683287024498,
-0.006118974182754755,
0.015887530520558357,
-0.008702119812369347,
-0.04599421098828316,
-0.024741319939494133,
0.03767126798629761,
0.07412916421890259,
-0.01097718346863985,
-0.013043699786067009,
0.003936334513127804,
0.027300767600536346,
0.015972845256328583,
0.038638170808553696,
-0.013261727057397366,
0.0006262350361794233,
0.04072364419698715,
-0.002727706916630268,
-0.0009597926400601864,
0.024494854733347893,
-0.0001749251678120345,
0.023698583245277405,
-0.0037538555916398764,
-0.006014700513333082,
0.004057197365909815,
-0.038296911865472794,
-0.009962884709239006,
-0.03939652442932129,
-0.015792734920978546,
-0.02479819767177105,
-0.020778916776180267,
0.06142672896385193,
0.021669983863830566,
-0.022617926821112633,
0.030789198353886604,
0.006289604119956493,
0.04804176837205887,
-0.01174501795321703,
-0.00855992827564478,
-0.009972363710403442,
0.010664362460374832,
0.01755591109395027,
0.0007885703234933317,
0.01889250986278057,
-0.028988106176257133,
-0.027130138128995895,
-0.011138333939015865,
-0.021802697330713272,
0.025746140629053116,
-0.05903790891170502,
0.04398456960916519,
0.019072620198130608,
-0.10290873050689697,
0.038296911865472794,
0.03550995513796806,
0.05505654960870743,
0.005768235307186842,
-0.014768957160413265,
0.03848649933934212,
0.008555188775062561,
0.03996529057621956,
0.021233931183815002,
-0.05475320667028427,
0.009043379686772823,
-0.012218989431858063,
-0.005189989693462849,
-0.024532772600650787,
0.029253531247377396,
0.014939586631953716,
0.04982390254735947,
0.024172553792595863,
-0.07625255733728409,
-0.02381233684718609,
0.024248389527201653,
0.013735698536038399
]
|
31,480 | prefect_sqlalchemy.database | get_engine |
Returns an authenticated engine that can be
used to query from databases.
If an existing engine exists, return that one.
Returns:
The authenticated SQLAlchemy Engine / AsyncEngine.
Examples:
Create an asynchronous engine to PostgreSQL using URL params.
```python
from prefect import flow
from prefect_sqlalchemy import (
SqlAlchemyConnector, ConnectionComponents, AsyncDriver
)
@flow
def sqlalchemy_credentials_flow():
sqlalchemy_credentials = SqlAlchemyConnector(
connection_info=ConnectionComponents(
driver=AsyncDriver.POSTGRESQL_ASYNCPG,
username="prefect",
password="prefect_password",
database="postgres"
)
)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
Create a synchronous engine to Snowflake using the `url` kwarg.
```python
from prefect import flow
from prefect_sqlalchemy import SqlAlchemyConnector, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
url = (
"snowflake://<user_login_name>:<password>"
"@<account_identifier>/<database_name>"
"?warehouse=<warehouse_name>"
)
sqlalchemy_credentials = SqlAlchemyConnector(url=url)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
| def get_engine(
self, **create_engine_kwargs: Dict[str, Any]
) -> Union[Engine, AsyncEngine]:
"""
Returns an authenticated engine that can be
used to query from databases.
If an existing engine exists, return that one.
Returns:
The authenticated SQLAlchemy Engine / AsyncEngine.
Examples:
Create an asynchronous engine to PostgreSQL using URL params.
```python
from prefect import flow
from prefect_sqlalchemy import (
SqlAlchemyConnector, ConnectionComponents, AsyncDriver
)
@flow
def sqlalchemy_credentials_flow():
sqlalchemy_credentials = SqlAlchemyConnector(
connection_info=ConnectionComponents(
driver=AsyncDriver.POSTGRESQL_ASYNCPG,
username="prefect",
password="prefect_password",
database="postgres"
)
)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
Create a synchronous engine to Snowflake using the `url` kwarg.
```python
from prefect import flow
from prefect_sqlalchemy import SqlAlchemyConnector, AsyncDriver
@flow
def sqlalchemy_credentials_flow():
url = (
"snowflake://<user_login_name>:<password>"
"@<account_identifier>/<database_name>"
"?warehouse=<warehouse_name>"
)
sqlalchemy_credentials = SqlAlchemyConnector(url=url)
print(sqlalchemy_credentials.get_engine())
sqlalchemy_credentials_flow()
```
"""
if self._engine is not None:
self.logger.debug("Reusing existing engine.")
return self._engine
engine_kwargs = dict(
url=self._rendered_url,
connect_args=self.connect_args or {},
**create_engine_kwargs,
)
if self._driver_is_async:
# no need to await here
engine = create_async_engine(**engine_kwargs)
else:
engine = create_engine(**engine_kwargs)
self.logger.info("Created a new engine.")
if self._engine is None:
self._engine = engine
return engine
| (self, **create_engine_kwargs: Dict[str, Any]) -> Union[sqlalchemy.engine.base.Engine, sqlalchemy.ext.asyncio.engine.AsyncEngine] | [
0.03231857717037201,
-0.1498132199048996,
-0.026919562369585037,
0.01811312697827816,
0.021463915705680847,
0.003938354551792145,
0.012827379629015923,
0.018226394429802895,
-0.02931702695786953,
-0.010052361525595188,
0.02059554122388363,
-0.04998807981610298,
-0.04171966016292572,
0.018934305757284164,
0.02444658800959587,
0.00991077907383442,
-0.0029543559066951275,
-0.014177133329212666,
0.005304626189172268,
-0.08547810465097427,
0.021803712472319603,
0.032922662794589996,
-0.017509043216705322,
-0.07041372358798981,
0.03590533509850502,
0.060974884778261185,
-0.016036583110690117,
0.02544710412621498,
0.026523131877183914,
0.005257431883364916,
0.07921072095632553,
0.011628647334873676,
0.04104006290435791,
0.06240958720445633,
0.042512521147727966,
0.01488504558801651,
0.015498570166528225,
0.058294255286455154,
0.005592511035501957,
-0.053650349378585815,
-0.023918012157082558,
0.004870439879596233,
0.0726412907242775,
0.03405532240867615,
-0.053159527480602264,
0.005734093487262726,
0.011770229786634445,
-0.06777084618806839,
0.03490481898188591,
-0.012638602405786514,
0.044891107827425,
0.04111557453870773,
0.004776051267981529,
0.04300333932042122,
0.006276826374232769,
-0.015621274709701538,
-0.07437803596258163,
0.0209919735789299,
-0.06127692759037018,
0.036245133727788925,
0.014214888215065002,
-0.002293637255206704,
0.021841468289494514,
0.04296558350324631,
-0.028694063425064087,
-0.029694581404328346,
-0.033791035413742065,
0.015413620509207249,
0.020520031452178955,
-0.022011367604136467,
-0.0011822143569588661,
-0.000969250570051372,
0.008938578888773918,
-0.02750477008521557,
0.01272355206310749,
-0.0022334647364914417,
0.0031549311242997646,
0.0568217970430851,
0.03086499683558941,
0.002150875050574541,
-0.032752763479948044,
-0.005955906119197607,
-0.022162389010190964,
-0.03545227274298668,
0.06048406660556793,
-0.01233655959367752,
-0.0755484476685524,
0.03128030523657799,
-0.03413083404302597,
-0.0933312177658081,
0.004313548561185598,
-0.017641186714172363,
0.02076544053852558,
0.07479334622621536,
-0.015168210491538048,
-0.041832923889160156,
0.014479176141321659,
-0.015177649445831776,
0.0014441420789808035,
-0.0007291501387953758,
-0.006602466572076082,
0.04549519345164299,
-0.0010058260522782803,
-0.014299837872385979,
-0.033885423094034195,
-0.05372586101293564,
-0.032073166221380234,
-0.01640469767153263,
0.001543249818496406,
0.013082227669656277,
-0.02082207426428795,
0.014243205077946186,
0.04911970719695091,
0.006994178052991629,
-0.022521065548062325,
-0.0468166321516037,
-0.02944917045533657,
0.008358090184628963,
0.005403734277933836,
-0.019481759518384933,
-0.058973852545022964,
0.037887491285800934,
0.03949209302663803,
0.01665954664349556,
0.05417892336845398,
0.0513472706079483,
0.03471604362130165,
-0.041342105716466904,
-0.0033295496832579374,
-0.03607523441314697,
0.07373619079589844,
0.03675483167171478,
0.02399352379143238,
0.00846191681921482,
-0.006484481040388346,
0.08668627589941025,
0.019915945827960968,
-0.0013072788715362549,
-0.016668986529111862,
-0.00021458604896906763,
-0.009448275901377201,
-0.0008140996797010303,
-0.04375844821333885,
-0.012072272598743439,
-0.03141244873404503,
0.024238932877779007,
-0.06384429335594177,
-0.06558103859424591,
0.0031148160342127085,
-0.04545743763446808,
0.07517089694738388,
-0.03762320429086685,
0.02744813822209835,
-0.009854145348072052,
-0.0632779598236084,
-0.017159804701805115,
-0.007310379296541214,
0.006659099366515875,
0.014639635570347309,
0.015413620509207249,
0.0062626684084534645,
-0.0009037686395458877,
-0.004922353196889162,
-0.030468564480543137,
-0.002885924419388175,
0.016121532768011093,
0.00577184883877635,
-0.06218305602669716,
-0.005734093487262726,
0.007206551730632782,
-0.018452925607562065,
0.05614219978451729,
-0.013780701905488968,
0.05108298361301422,
-0.03184663504362106,
0.008877226151525974,
0.0358298234641552,
-0.022124633193016052,
0.027787934988737106,
0.0019915946759283543,
0.02699507400393486,
-0.048326846212148666,
-0.07373619079589844,
-0.0031808880157768726,
0.05417892336845398,
0.03158234804868698,
-0.016348065808415413,
0.04881766438484192,
0.048742152750492096,
-0.020387887954711914,
-0.029373660683631897,
0.027712425217032433,
0.048289090394973755,
-0.007890868000686169,
0.0004922943189740181,
-0.024069033563137054,
-0.004823245573788881,
0.03413083404302597,
-0.09378428012132645,
0.05085645243525505,
-0.0056538633070886135,
0.009117916226387024,
0.028165489435195923,
0.022521065548062325,
0.047420717775821686,
-0.031790003180503845,
0.03828392177820206,
-0.056104447692632675,
-0.04753398150205612,
-0.019802680239081383,
-0.05931365117430687,
-0.05599118024110794,
-0.046250298619270325,
0.05013909935951233,
0.018802162259817123,
0.05108298361301422,
0.035792067646980286,
0.021973611786961555,
0.04659009724855423,
0.06191876903176308,
0.010779151692986488,
0.00881587341427803,
0.027353748679161072,
-0.04126659408211708,
0.040700264275074005,
-0.06539226323366165,
-0.03786861151456833,
-0.011034000664949417,
-0.01892486773431301,
-0.05685955286026001,
-0.020840952172875404,
-0.004103534389287233,
0.05066767707467079,
0.029883356764912605,
0.0468166321516037,
0.015895001590251923,
-0.0169521514326334,
0.02544710412621498,
-0.026070067659020424,
0.0074236453510820866,
0.04945950582623482,
0.04911970719695091,
-0.0002747586404439062,
0.012515897862613201,
-0.06509021669626236,
0.0071923937648534775,
0.02722160518169403,
-0.009066002443432808,
-0.004426814615726471,
-0.029279271140694618,
-0.06157897040247917,
-0.010467669926583767,
0.00763601902872324,
0.0014736383454874158,
-0.04821357876062393,
-0.07056474685668945,
0.027599159628152847,
0.032431844621896744,
0.013809017837047577,
-0.007782320957630873,
-0.017188122496008873,
0.027297116816043854,
-0.04440028965473175,
0.04062475264072418,
0.04209721088409424,
-0.03473491966724396,
-0.01917971670627594,
-0.0025414067786186934,
-0.03532012552022934,
-0.01470570731908083,
0.046023767441511154,
0.03575431555509567,
-0.0033814632333815098,
0.021520547568798065,
-0.005219676531851292,
-0.027523647993803024,
-0.05127176269888878,
-0.021596059203147888,
-0.035339005291461945,
-0.0167916901409626,
-0.020123600959777832,
-0.017301388084888458,
0.003046384546905756,
-0.036207377910614014,
0.01206283364444971,
0.006961142178624868,
-0.05180033668875694,
-0.11122725158929825,
0.05935140699148178,
0.0013013796415179968,
-0.02059554122388363,
-0.06410858035087585,
-0.026711909100413322,
-0.0397186242043972,
0.0015526886563748121,
0.029147127643227577,
-0.009844706393778324,
-0.03813290223479271,
0.014507492072880268,
-0.08963119238615036,
-0.009160391055047512,
-0.012015638872981071,
0.02450321987271309,
0.08147604018449783,
0.05040339007973671,
-0.04794929176568985,
0.005988941993564367,
-0.0010376821737736464,
-0.027240483090281487,
-0.04719418287277222,
-0.03386654704809189,
-0.010599813424050808,
0.029392538592219353,
0.036112990230321884,
-0.03968086838722229,
-0.001328516285866499,
-0.0031242549885064363,
-0.018868234008550644,
0.023615969344973564,
0.016036583110690117,
-0.06996066123247147,
0.03218643367290497,
0.007395328488200903,
-0.0629759207367897,
0.022747596725821495,
-0.008079644292593002,
-0.04111557453870773,
0.02272871881723404,
0.02977009117603302,
0.06720452010631561,
-0.08517606556415558,
0.026239966973662376,
0.04485335201025009,
0.05663302168250084,
-0.02918488346040249,
-0.02750477008521557,
0.009127355180680752,
0.0017261272296309471,
0.030619585886597633,
-0.01940624788403511,
0.025050673633813858,
-0.05289524048566818,
-0.00544148962944746,
0.012270487844944,
0.018462365493178368,
0.010892417281866074,
0.04394722357392311,
-0.053839124739170074,
0.05323503911495209,
-0.027618035674095154,
-0.00305110402405262,
-0.03975638002157211,
-0.0380951464176178,
-0.019802680239081383,
-0.02231341041624546,
-0.012345998547971249,
-0.01908532716333866,
0.030109889805316925,
-0.04054924473166466,
-0.06913004070520401,
-0.0071876742877066135,
-0.002487133489921689,
0.004035102669149637,
0.009632333181798458,
-0.09182100743055344,
0.01533810980618,
-0.01731082610785961,
0.00027608597883954644,
0.00652223639190197,
0.0068148402497172356,
-0.0416441485285759,
-0.0005052727065049112,
0.06527899205684662,
0.04141761735081673,
-0.021596059203147888,
-0.01863226294517517,
-0.08238216489553452,
-0.028977228328585625,
0.006574149709194899,
0.003836887190118432,
0.013035033829510212,
0.021747080609202385,
0.0024281407240778208,
-0.009570980444550514,
0.01795266754925251,
-0.035339005291461945,
-0.03522573783993721,
-0.019000379368662834,
0.007890868000686169,
0.04194619134068489,
-0.056972820311784744,
-0.006125804968178272,
0.019198594614863396,
-0.0313180610537529,
0.03735891729593277,
0.04466457664966583,
-0.031204793602228165,
0.05769016966223717,
-0.0115436976775527,
0.022483309730887413,
0.007933341898024082,
-0.024163423106074333,
0.11923138797283173,
0.003952512983232737,
-0.02304963953793049,
0.018188638612627983,
0.07728519290685654,
-0.0011798546183854342,
0.034111957997083664,
-0.000378733326215297,
-0.06550552695989609,
-0.022709840908646584,
-0.07494436204433441,
-0.001916083856485784,
-0.029694581404328346,
0.011269970797002316,
0.0390767827630043,
0.009891901165246964,
0.021010851487517357,
0.055198319256305695,
-0.010920734144747257,
-0.0022322849836200476,
-0.04753398150205612,
0.004629749339073896,
0.017291948199272156,
0.08630872517824173,
0.01672561839222908,
0.03154459223151207,
-0.0046462672762572765,
0.02418229915201664,
0.030789485201239586,
-0.002513090381398797,
0.0070036170072853565,
0.04443804547190666,
0.016036583110690117,
0.04949726164340973,
0.0468166321516037,
0.02650425396859646,
-0.01122277695685625,
-0.034376244992017746,
0.03968086838722229,
-0.008225946687161922,
-0.042663540691137314,
0.03968086838722229,
0.049195218831300735,
-0.03577319160103798,
-0.036056358367204666,
-0.011723035015165806,
0.05127176269888878,
0.033564504235982895,
-0.0033248302061110735,
0.0703759640455246,
-0.01611209474503994,
0.04413600265979767,
-0.031185917556285858,
0.010222259908914566,
0.020576665177941322,
-0.010118433274328709,
0.0029779530595988035,
0.03135581687092781,
0.04594825580716133,
-0.015121016651391983,
0.017122050747275352,
-0.01715036667883396,
0.03441400080919266,
-0.02253994159400463,
-0.0051016914658248425,
-0.03700023889541626,
-0.031922146677970886,
-0.019132522866129875,
0.03562216833233833,
-0.029713457450270653,
-0.013620241545140743,
-0.008230665698647499,
-0.024597609415650368,
0.006385372951626778,
0.028712941333651543,
-0.007631299551576376,
0.02699507400393486,
-0.017584552988409996,
-0.030978262424468994,
0.06675145030021667,
0.005894553381949663,
0.010241137817502022,
-0.004573116544634104,
-0.0043088290840387344,
0.056330978870391846,
-0.03296041861176491,
-0.00009660059731686488,
-0.007178235333412886,
0.01656515896320343,
0.03139357268810272,
0.06369327008724213,
0.00954266358166933,
-0.03137469291687012,
-0.04005842283368111,
0.023899134248495102,
0.007588824722915888,
-0.009198146872222424,
0.0077445656061172485,
0.04458906501531601,
-0.017376897856593132,
0.03968086838722229,
-0.046741120517253876,
0.01659347489476204,
-0.08124950528144836,
-0.016508525237441063,
-0.0280899778008461,
-0.009457714855670929,
0.06346673518419266,
-0.006682696286588907,
0.004438613075762987,
-0.044249266386032104,
-0.05414116755127907,
0.020803196355700493,
0.04413600265979767,
-0.0056585827842354774,
-0.014328154735267162,
-0.03975638002157211,
-0.014866167679429054,
-0.011704158037900925,
0.023880256339907646,
-0.006640221923589706,
-0.006668538320809603,
-0.0339043028652668,
0.014337592758238316,
0.038736987859010696,
-0.004400857724249363,
0.03377215936779976,
-0.018641702830791473,
0.0042828721925616264,
-0.028561919927597046,
-0.0707157626748085,
-0.01345034223049879,
0.013931723311543465,
-0.04545743763446808,
-0.12179875373840332,
0.04730745032429695,
0.006758206989616156,
-0.014847290702164173,
0.0003203305241186172,
0.018188638612627983,
-0.06822391599416733,
-0.05089420825242996,
-0.026164455339312553,
-0.08864955604076385,
0.02835426665842533,
-0.00826842151582241,
-0.037377793341875076,
-0.014214888215065002,
0.021237382665276527,
0.02886396273970604,
0.08547810465097427,
-0.011921251192688942,
-0.050063591450452805,
-0.018773846328258514,
0.04462682083249092,
-0.012940645217895508,
-0.02690068446099758,
0.013072788715362549,
0.018235832452774048,
-0.008041889406740665,
-0.012317681685090065,
0.02444658800959587,
0.004941231105476618,
-0.017829962074756622,
0.058332011103630066,
0.05814323574304581,
-0.02412566728889942,
0.0015810051700100303,
-0.03528237342834473,
0.0046509867534041405,
0.06191876903176308,
0.004410296678543091,
-0.0033531468361616135,
-0.010014605708420277,
-0.00001605708348506596,
0.0007415385916829109,
0.04296558350324631,
-0.036924730986356735,
-0.012704674154520035,
-0.06486368924379349,
-0.0169521514326334,
-0.05172482505440712,
-0.0020836233161389828,
0.021973611786961555,
0.0065835886634886265,
0.06988514959812164,
-0.0143659096211195,
-0.014620758593082428,
-0.03949209302663803,
0.0455329492688179,
0.021294016391038895,
-0.01856619119644165,
0.041606392711400986,
-0.016867201775312424,
-0.032073166221380234,
-0.005559474695473909,
0.04866664111614227,
-0.01365799643099308,
-0.06860146671533585,
0.052064623683691025,
-0.017395775765180588,
-0.042474765330553055,
0.01429039891809225,
-0.01617816649377346,
-0.05999324843287468,
-0.04440028965473175,
0.011874056421220303,
-0.034376244992017746,
-0.016357503831386566,
0.030430810526013374,
-0.003192686475813389,
-0.010099555365741253,
0.034244101494550705,
0.022370044142007828,
-0.040700264275074005,
0.04545743763446808,
0.02189810201525688,
0.04187067970633507,
-0.0008937398670241237,
0.06218305602669716,
0.03496145084500313,
-0.025145061314105988,
-0.02963794767856598,
0.061692237854003906,
0.028429776430130005,
-0.05217789113521576,
-0.02567363530397415,
0.007404767442494631,
-0.008164593949913979,
0.02699507400393486,
0.031167039647698402,
-0.012912328355014324,
0.010892417281866074,
-0.039831891655921936,
0.010326087474822998,
-0.007017774973064661,
0.03022315539419651,
-0.029166005551815033,
-0.018773846328258514,
0.03216755762696266,
0.048968683928251266,
0.014903923496603966,
0.03516910597681999,
0.009537944570183754,
-0.004391418769955635,
-0.056104447692632675,
0.022709840908646584,
0.008811154402792454,
0.014658513478934765,
-0.017358021810650826,
0.04934623837471008,
-0.04368293657898903,
-0.03180887922644615,
0.028278755024075508,
-0.058332011103630066,
-0.023144027218222618,
0.06203203648328781,
-0.0011792646255344152,
0.02176595851778984,
0.02754252590239048,
-0.018292466178536415,
0.028920596465468407,
0.005488683469593525,
0.04621254652738571,
-0.035471148788928986,
0.01259140856564045,
0.04081353172659874,
0.030468564480543137,
0.005356539972126484,
-0.0010152648901566863,
0.021256260573863983,
0.01304447278380394,
0.013167177326977253,
0.032469600439071655,
-0.006833717692643404,
-0.021124117076396942,
0.031204793602228165,
-0.004490526393055916,
-0.020671052858233452,
0.007886148057878017,
-0.024691997095942497,
0.08019235730171204,
-0.06946983933448792,
0.007357573136687279,
-0.019462881609797478,
0.01575341820716858,
0.05950242653489113,
-0.09091487526893616,
-0.019387369975447655,
0.009731440804898739,
-0.05017685517668724,
-0.006404250860214233,
-0.009363326244056225,
-0.06244734302163124,
0.04111557453870773,
-0.04757173731923103,
-0.02263433113694191,
0.046929895877838135,
0.024748630821704865,
-0.012430948205292225,
-0.04440028965473175,
-0.009537944570183754,
0.01499831210821867,
0.02153942547738552,
0.046703364700078964,
0.006593027617782354,
-0.0021685727406293154,
-0.013148299418389797,
-0.04387171193957329,
-0.011949567124247551,
0.06946983933448792,
0.006748768500983715,
0.027032827958464622,
0.02544710412621498,
-0.014375348575413227,
0.023030761629343033,
-0.026070067659020424,
-0.0009267757995985448,
-0.039567604660987854,
0.013724069111049175,
0.015989389270544052,
-0.0626361221075058,
0.029373660683631897,
-0.018254710361361504,
-0.047798268496990204,
0.027712425217032433,
0.049572769552469254,
0.07086678594350815,
-0.030166521668434143,
-0.020520031452178955,
-0.050101347267627716,
0.04341864958405495,
0.0000025394526801392203,
-0.0050497776828706264,
0.02472975291311741,
-0.045381926000118256,
-0.06939432770013809,
-0.00016680193948559463,
-0.018679458647966385,
0.042248234152793884,
-0.08374135941267014,
0.011666402220726013,
0.10858438163995743,
-0.025107305496931076,
0.037472181022167206,
0.0015090340748429298,
0.036245133727788925,
-0.000571049633435905,
-0.008674290962517262,
0.08351482450962067,
0.013063349761068821,
0.08275972306728363,
-0.02440883219242096,
-0.04885542020201683,
0.04689214006066322,
-0.0073245372623205185,
-0.007617141120135784,
0.00892913993448019,
0.004261634778231382,
0.0023514502681791782,
0.00004693608934758231,
-0.008046608418226242,
-0.023427192121744156,
-0.054934028536081314,
0.04104006290435791,
0.001154487719759345
]
|
31,483 | prefect_sqlalchemy.database | reset_async_connections |
Tries to close all opened connections and their results.
Examples:
Resets connections so `fetch_*` methods return new results.
```python
import asyncio
from prefect_sqlalchemy import SqlAlchemyConnector
async def example_run():
async with SqlAlchemyConnector.load("MY_BLOCK") as database:
results = await database.fetch_one("SELECT * FROM customers")
await database.reset_async_connections()
results = await database.fetch_one("SELECT * FROM customers")
asyncio.run(example_run())
```
| @sync_compatible
async def reset_connections(self) -> None:
"""
Tries to close all opened connections and their results.
Examples:
Resets connections so `fetch_*` methods return new results.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
results = database.fetch_one("SELECT * FROM customers")
database.reset_connections()
results = database.fetch_one("SELECT * FROM customers")
```
"""
if self._driver_is_async:
raise RuntimeError(
f"{self._rendered_url.drivername} has no synchronous connections. "
f"Please use the `reset_async_connections` method instead."
)
if self._exit_stack is None:
self.logger.info("There were no connections to reset.")
return
self._reset_cursor_results()
self._exit_stack.close()
self.logger.info("Reset opened connections and their results.")
| (self) -> NoneType | [
-0.01887618936598301,
-0.09445354342460632,
-0.024920199066400528,
0.020582305267453194,
-0.025573605671525,
-0.01509187649935484,
-0.07688417285680771,
0.002122436882928014,
0.04330633208155632,
-0.06014970317482948,
-0.031835418194532394,
-0.08958929777145386,
-0.00952884554862976,
0.06817208230495453,
-0.0016811605310067534,
0.006161986850202084,
-0.024883899837732315,
-0.03435829281806946,
0.03466684743762016,
-0.003117293817922473,
-0.006956057157367468,
0.09133171290159225,
0.039494793862104416,
-0.032724779099226,
-0.03669966757297516,
-0.009891849011182785,
-0.04214472323656082,
0.002457080874592066,
0.059859298169612885,
0.02495650015771389,
-0.018712837249040604,
0.04846098646521568,
0.0037638938520103693,
0.03149056434631348,
0.019711097702383995,
-0.028332432731986046,
0.036427415907382965,
0.041309814900159836,
0.01721544750034809,
-0.020055951550602913,
-0.048206884413957596,
-0.03985779732465744,
-0.004678209312260151,
-0.012260448187589645,
0.026172561571002007,
-0.00627542519941926,
-0.0201648510992527,
-0.03381378948688507,
0.022197673097252846,
-0.010989935137331486,
0.03152686730027199,
0.06073050945997238,
-0.060040801763534546,
0.07485134899616241,
0.022070620208978653,
0.014892224222421646,
-0.045629557222127914,
0.030165601521730423,
-0.002153065288439393,
-0.03060120716691017,
-0.012133396230638027,
0.006906144320964813,
-0.033559687435626984,
0.007972467690706253,
0.0414913147687912,
-0.045484356582164764,
-0.025138001888990402,
0.01867653615772724,
0.04152761399745941,
-0.005136501509696245,
-0.035048000514507294,
0.033214833587408066,
-0.00885275099426508,
0.02688041888177395,
-0.00941086933016777,
-0.010518030263483524,
-0.00996444933116436,
0.02174391783773899,
-0.02203432098031044,
0.0035960047971457243,
-0.00918852910399437,
0.06131131201982498,
0.019801847636699677,
0.02539210394024849,
0.04043860360980034,
-0.020128551870584488,
0.012078945524990559,
0.04650076478719711,
-0.0534704364836216,
-0.020582305267453194,
0.018213707953691483,
0.03880508989095688,
0.005966872442513704,
0.029330693185329437,
0.026662616059184074,
0.031163861975073814,
-0.027243422344326973,
-0.01501927524805069,
-0.029439594596624374,
-0.060766808688640594,
-0.032216571271419525,
-0.02542840503156185,
-0.001784389722160995,
-0.0012160622281953692,
-0.026898568496108055,
-0.08639486134052277,
0.045956261456012726,
-0.036427415907382965,
-0.019130291417241096,
-0.009855548851191998,
-0.06657486408948898,
-0.002425318118184805,
0.006016785278916359,
-0.02130831405520439,
0.03684486821293831,
-0.013712462037801743,
-0.020346352830529213,
-0.015055575408041477,
0.058661386370658875,
-0.03103681094944477,
-0.06131131201982498,
0.032797377556562424,
0.000057215613196603954,
-0.01297738030552864,
0.04392344132065773,
0.11928299069404602,
0.022978130728006363,
0.04896919056773186,
-0.021144961938261986,
0.016126437112689018,
0.007368973921984434,
-0.015445804223418236,
-0.009655896574258804,
0.012768653221428394,
0.03296073153614998,
0.022923680022358894,
-0.007618538569658995,
-0.03793387860059738,
0.014148066751658916,
-0.01472887210547924,
-0.04214472323656082,
-0.0015246152179315686,
-0.02729787304997444,
0.05891548842191696,
0.022687727585434914,
0.030546756461262703,
0.0008638352155685425,
-0.020146701484918594,
-0.03163576498627663,
-0.049549996852874756,
0.05121981352567673,
-0.002016938989982009,
-0.012868478894233704,
0.01896693930029869,
-0.07768277823925018,
0.07009600102901459,
-0.014247892424464226,
0.016670942306518555,
0.021762067452073097,
-0.03381378948688507,
-0.027914978563785553,
0.0007980408263392746,
0.02130831405520439,
-0.021399063989520073,
-0.03895029053092003,
-0.032506976276636124,
-0.01089918427169323,
-0.06007710099220276,
-0.030691957101225853,
-0.040983110666275024,
-0.043524134904146194,
0.020146701484918594,
0.016725393012166023,
-0.034902799874544144,
0.06650226563215256,
0.06058530509471893,
0.028477635234594345,
0.0030855308286845684,
-0.032252874225378036,
-0.02366783656179905,
0.015944935381412506,
-0.07310893386602402,
0.0050230626948177814,
-0.013621711172163486,
0.021816518157720566,
-0.0011604772880673409,
-0.012832178734242916,
0.0012863940792158246,
0.05543065443634987,
-0.006466002203524113,
0.008358159102499485,
0.01574528217315674,
0.029094740748405457,
0.0013011411065235734,
0.07191102206707001,
-0.02927624247968197,
0.008262869901955128,
0.03141796588897705,
0.04751717671751976,
-0.031399812549352646,
-0.0011196393752470613,
0.018395209684967995,
0.06131131201982498,
-0.054341644048690796,
0.09009750187397003,
-0.050602708011865616,
0.0012274060864001513,
-0.07681156694889069,
-0.015046500600874424,
0.015073725953698158,
-0.03956739604473114,
-0.0062845004722476006,
0.0039862338453531265,
0.005481354892253876,
0.04784387722611427,
0.017569376155734062,
0.07637596130371094,
0.004265292547643185,
0.017687352374196053,
0.02261512726545334,
0.011743167415261269,
-0.07027750462293625,
0.011244037188589573,
-0.02855023555457592,
-0.015772508457303047,
0.024085290729999542,
-0.0835634395480156,
-0.029965950176119804,
0.0528896301984787,
-0.013630786910653114,
-0.0006250469014048576,
0.026408514007925987,
-0.01691596955060959,
-0.045193951576948166,
0.014982975088059902,
-0.05190952122211456,
-0.029475895687937737,
0.010100576095283031,
-0.021163111552596092,
-0.005635631270706654,
-0.04798908159136772,
0.02428494393825531,
0.025138001888990402,
-0.019910749047994614,
-0.05797167867422104,
0.018449660390615463,
0.01940254494547844,
-0.03208952024579048,
0.04258032515645027,
0.006688341964036226,
-0.015073725953698158,
-0.09365493804216385,
0.055394355207681656,
-0.036627065390348434,
0.0101550268009305,
-0.09546995908021927,
-0.03971259668469429,
0.05023970454931259,
0.004612415097653866,
0.02653556503355503,
0.03314223140478134,
0.02232472412288189,
-0.07514175027608871,
0.05092940852046013,
0.015872333198785782,
0.005690081976354122,
-0.02194356918334961,
0.02054600603878498,
-0.007899866439402103,
0.006366176065057516,
-0.0013453821884468198,
-0.01992889866232872,
0.028042031452059746,
-0.002529681660234928,
-0.03276107832789421,
0.02831428311765194,
-0.005803520791232586,
-0.03094605915248394,
-0.07205621898174286,
-0.04454054683446884,
0.03699006885290146,
-0.031690217554569244,
0.004371924791485071,
-0.03688116744160652,
0.026281462982296944,
-0.054196443408727646,
-0.004042952787131071,
-0.04896919056773186,
-0.002094077179208398,
0.005263552535325289,
0.01905769109725952,
-0.00864856131374836,
0.0007940704235807061,
-0.0024275868199765682,
-0.011198662221431732,
0.008902664296329021,
-0.04976779967546463,
0.017079321667551994,
-0.015854183584451675,
0.009047865867614746,
-0.00918852910399437,
-0.048025380820035934,
0.004621489904820919,
0.09249332547187805,
0.07594036310911179,
-0.0467548668384552,
0.03314223140478134,
-0.008603186346590519,
-0.03270662575960159,
0.04276182875037193,
-0.026118110865354538,
0.03532025218009949,
0.011607041582465172,
-0.01331315841525793,
0.0400393009185791,
-0.027025621384382248,
0.015273378230631351,
0.01820463314652443,
0.000020897523427265696,
0.03606441244482994,
-0.0634167343378067,
-0.016108285635709763,
0.037244174629449844,
0.03865988552570343,
0.03691747039556503,
0.028441334143280983,
0.019910749047994614,
0.0453028529882431,
0.010409128852188587,
0.010118726640939713,
-0.019275492057204247,
-0.03702637180685997,
-0.030982360243797302,
-0.010282077826559544,
-0.01817740686237812,
-0.02299628034234047,
-0.002529681660234928,
-0.028368733823299408,
0.014837773516774178,
-0.051328714936971664,
0.01589955948293209,
-0.0011360879288986325,
0.025791408494114876,
-0.056737467646598816,
-0.01319518219679594,
0.07579515874385834,
0.02927624247968197,
-0.016779843717813492,
0.005181876942515373,
-0.01509187649935484,
0.028913239017128944,
0.061819519847631454,
0.0166527908295393,
0.08000600337982178,
-0.0022347411140799522,
0.00023042222892399877,
0.012142471969127655,
0.032978881150484085,
0.002717989729717374,
-0.058697689324617386,
-0.00863494910299778,
0.002434393158182502,
0.029639245942234993,
-0.02366783656179905,
0.01882173866033554,
-0.03630036488175392,
-0.05691897124052048,
0.008580498397350311,
0.0009035387192852795,
-0.01307720597833395,
-0.06479614973068237,
-0.03319668397307396,
0.026045510545372963,
0.002956210868433118,
-0.029439594596624374,
0.006774555426090956,
-0.05858878791332245,
0.025991059839725494,
0.010064275935292244,
0.07053160667419434,
0.022016169503331184,
-0.027751628309488297,
0.10810248553752899,
-0.018358908593654633,
-0.01642591506242752,
-0.05586626008152962,
0.008662174455821514,
-0.02317778207361698,
-0.007142096292227507,
0.025991059839725494,
0.031200163066387177,
-0.033995289355516434,
-0.022197673097252846,
0.010064275935292244,
-0.026190713047981262,
-0.0007577700889669359,
0.06334413588047028,
0.009801098145544529,
0.004458138253539801,
-0.07543215155601501,
0.00561748119071126,
0.009311043657362461,
0.06396123766899109,
-0.012024495750665665,
0.017369724810123444,
0.015454879961907864,
0.01726989820599556,
-0.021144961938261986,
0.026844119653105736,
-0.018540410324931145,
-0.0523088239133358,
-0.012351199053227901,
-0.015100951306521893,
-0.00032301651663146913,
0.039022888988256454,
-0.005404216703027487,
0.03742567449808121,
0.04628296196460724,
0.11209551990032196,
0.08428944647312164,
0.028659136965870857,
-0.01113513670861721,
0.010599706321954727,
0.024012690410017967,
-0.010599706321954727,
-0.037389375269412994,
0.03161761537194252,
-0.0016868325183168054,
-0.05205472186207771,
0.024303093552589417,
0.034757599234580994,
-0.031309064477682114,
0.02902214042842388,
-0.011325713247060776,
-0.005345228593796492,
0.019221043214201927,
0.024557195603847504,
0.0257188081741333,
0.013167956843972206,
-0.005109276156872511,
0.036245912313461304,
0.05129241198301315,
-0.018431508913636208,
-0.08465244621038437,
0.06555845588445663,
-0.04381453990936279,
0.021108660846948624,
-0.007368973921984434,
-0.03314223140478134,
0.06624816358089447,
-0.09721237421035767,
0.014656271785497665,
0.013948414474725723,
-0.029530346393585205,
-0.033505234867334366,
0.002638582605868578,
0.004632833879441023,
0.029094740748405457,
-0.012396574020385742,
0.016380539163947105,
0.03640926629304886,
-0.0267352182418108,
-0.002602282213047147,
0.016062911599874496,
0.04395974054932594,
-0.00984647311270237,
0.004589727148413658,
0.01547302957624197,
-0.0417817197740078,
-0.02758827619254589,
-0.018358908593654633,
-0.034321993589401245,
-0.00868032407015562,
-0.005513117648661137,
-0.0287861879914999,
-0.03199877217411995,
-0.08537845313549042,
-0.00582167087122798,
0.017278973013162613,
-0.04116461053490639,
-0.10113281011581421,
-0.029475895687937737,
0.07964299619197845,
0.017787178978323936,
-0.03927699476480484,
-0.04388713836669922,
0.09242072701454163,
-0.058842889964580536,
-0.022215822711586952,
-0.05394234135746956,
-0.034231241792440414,
0.003139981534332037,
-0.010744907893240452,
-0.006647503934800625,
0.021489815786480904,
-0.0041790795512497425,
-0.06007710099220276,
-0.013549110852181911,
0.016398688778281212,
-0.055067650973796844,
0.039785198867321014,
-0.008471596986055374,
-0.015772508457303047,
-0.0006000903667882085,
0.06508655101060867,
0.03836948424577713,
0.018023129552602768,
-0.010654157027602196,
0.00302881165407598,
-0.027860529720783234,
-0.0412009134888649,
-0.006520452909171581,
-0.018458735197782516,
-0.0239582397043705,
-0.004117822274565697,
0.0026930333115160465,
0.005576643161475658,
-0.02092715911567211,
0.06933369487524033,
-0.012133396230638027,
0.01209709607064724,
0.006384326610714197,
-0.015454879961907864,
0.06465094536542892,
-0.01501927524805069,
-0.023250382393598557,
0.0593147948384285,
0.0099372249096632,
-0.00038257180131040514,
0.00834454596042633,
0.022524375468492508,
0.04439534619450569,
-0.008494284935295582,
-0.0051864143460989,
0.04036600515246391,
-0.05278072878718376,
-0.032252874225378036,
-0.0523088239133358,
0.018286308273673058,
0.0019250536570325494,
-0.027896828949451447,
0.050747908651828766,
-0.004140510223805904,
0.0015949471853673458,
-0.02831428311765194,
-0.029294393956661224,
0.015881409868597984,
0.061093512922525406,
-0.015110026113688946,
-0.013140731491148472,
-0.007781890220940113,
0.036863017827272415,
0.023540785536170006,
-0.06599406152963638,
-0.04686376824975014,
-0.0525992251932621,
-0.005440516863018274,
-0.0023958240635693073,
0.03281552717089653,
0.0010373963741585612,
0.0009483469766564667,
0.03757087513804436,
-0.04664596542716026,
-0.030256353318691254,
0.06221882253885269,
0.03635481372475624,
0.03136351332068443,
0.03778867796063423,
0.02050970494747162,
0.03924069181084633,
0.02433939278125763,
-0.014756097458302975,
0.08116761595010757,
0.009161303751170635,
0.017542149871587753,
0.011988194659352303,
0.0013578605139628053,
-0.021326463669538498,
0.0030537680722773075,
-0.030310804024338722,
0.02715267241001129,
-0.029584795236587524,
-0.02609996125102043,
-0.04813428223133087,
-0.002175753004848957,
0.010000750422477722,
-0.028132781386375427,
0.060766808688640594,
0.03132721409201622,
-0.01284125354140997,
-0.04417754337191582,
0.028005730360746384,
0.011543515138328075,
-0.05691897124052048,
0.005218177102506161,
0.013521885499358177,
-0.02384933829307556,
0.010400054045021534,
0.026953019201755524,
0.03051045536994934,
-0.016171811148524284,
0.027914978563785553,
0.01456552091985941,
-0.022669576108455658,
-0.011035310104489326,
0.02495650015771389,
-0.025373954325914383,
-0.002005595015361905,
0.007600388489663601,
0.047589775174856186,
-0.04493984952569008,
0.03319668397307396,
0.03836948424577713,
-0.01940254494547844,
-0.02462979592382908,
-0.041455015540122986,
-0.06334413588047028,
0.03263402730226517,
0.004036146681755781,
0.013567260466516018,
0.0077455900609493256,
0.012932004407048225,
-0.02778792753815651,
-0.017977755516767502,
-0.05205472186207771,
0.08167582005262375,
-0.047444574534893036,
-0.005513117648661137,
-0.050130803138017654,
0.04541175439953804,
-0.004678209312260151,
-0.06770017743110657,
0.013131656683981419,
0.02677151747047901,
0.07005970180034637,
-0.08617706596851349,
0.008979802019894123,
0.01648036576807499,
-0.003981695976108313,
-0.01715192198753357,
0.07125761359930038,
-0.017660126090049744,
0.023195931687951088,
-0.016489440575242043,
-0.04268922656774521,
-0.02317778207361698,
-0.020055951550602913,
-0.034467194229364395,
0.05528545379638672,
0.011126060970127583,
-0.017850704491138458,
0.04650076478719711,
0.06367083638906479,
-0.014456619508564472,
-0.032833680510520935,
0.001166149158962071,
-0.054196443408727646,
-0.021870968863368034,
0.014674422331154346,
-0.023413734510540962,
-0.037389375269412994,
0.00582167087122798,
-0.0006857365369796753,
0.057027872651815414,
0.04138241335749626,
0.0056673940271139145,
-0.00866671185940504,
0.02720712311565876,
-0.016398688778281212,
0.003920439165085554,
0.024502744898200035,
0.029584795236587524,
-0.0025818634312599897,
0.005980484653264284,
-0.02404899150133133,
0.008104056119918823,
-0.02913104183971882,
0.003400890389457345,
-0.0397488996386528,
0.05633816495537758,
-0.01706117019057274,
0.03702637180685997,
-0.07031380385160446,
0.013285933062434196,
-0.01864023692905903,
0.005812595598399639,
-0.037824977189302444,
-0.027424924075603485,
0.0514376163482666,
-0.015055575408041477,
-0.002198440721258521,
0.032216571271419525,
0.01803220622241497,
-0.0008490881882607937,
-0.13249632716178894,
0.014756097458302975,
-0.014828698709607124,
-0.0911865159869194,
0.01243287418037653,
0.00008018693915801123,
0.08755647391080856,
0.016126437112689018,
-0.0039930399507284164,
0.015073725953698158,
0.04297963157296181,
0.0400393009185791,
0.005966872442513704,
0.02711637131869793,
-0.015336903743445873,
0.049840398132801056,
0.023776737973093987,
0.0018683343660086393,
-0.0022982668597251177,
0.017324348911643028,
0.027533825486898422,
0.019366243854165077,
-0.02270587719976902,
-0.0464644655585289,
-0.0029766298830509186,
0.04918699339032173,
-0.03691747039556503,
0.01353096030652523,
-0.006865306291729212,
-0.015854183584451675,
0.03571955859661102,
0.024702398106455803,
-0.03684486821293831,
0.0794977992773056,
0.045484356582164764,
0.04900548979640007,
-0.03602810949087143,
-0.057027872651815414,
-0.00390909519046545,
0.08349083364009857,
0.020201152190566063,
-0.031127560883760452,
0.04827948287129402,
0.002729333471506834,
0.03668151795864105,
-0.034412745386362076,
-0.028895089402794838,
-0.10164101421833038,
-0.029040290042757988,
0.013585411012172699,
0.021017910912632942,
-0.054632045328617096,
0.04363303631544113,
0.07314523309469223,
-0.000017494365238235332,
-0.012605301104485989,
0.025319503620266914,
0.008498822338879108,
-0.010027975775301456,
0.008494284935295582,
0.006738254800438881,
-0.013013680465519428,
0.014674422331154346,
0.013857663609087467,
-0.03152686730027199,
0.015563780441880226,
0.07140281796455383,
0.06686527281999588,
-0.03179911896586418,
0.024121591821312904,
-0.015527480281889439,
-0.009047865867614746,
0.04856988787651062,
0.0029947799630463123
]
|
31,484 | prefect_sqlalchemy.database | reset_connections |
Tries to close all opened connections and their results.
Examples:
Resets connections so `fetch_*` methods return new results.
```python
from prefect_sqlalchemy import SqlAlchemyConnector
with SqlAlchemyConnector.load("MY_BLOCK") as database:
results = database.fetch_one("SELECT * FROM customers")
database.reset_connections()
results = database.fetch_one("SELECT * FROM customers")
```
| @flow
def sqlalchemy_query_flow():
sqlalchemy_credentials = DatabaseCredentials(
driver=AsyncDriver.SQLITE_AIOSQLITE,
database="prefect.db",
)
result = sqlalchemy_query(
"SELECT * FROM customers WHERE name = :name;",
sqlalchemy_credentials,
params={"name": "Marvin"},
)
return result
| (self) -> NoneType | [
-0.0023248351644724607,
-0.07810509204864502,
-0.030507460236549377,
0.023498989641666412,
0.04141369089484215,
-0.017970917746424675,
-0.0331309512257576,
-0.004394348710775375,
-0.025560304522514343,
-0.04025185853242874,
-0.009894311428070068,
-0.00753785390406847,
-0.02192489430308342,
0.036279141902923584,
0.012499064207077026,
0.028015144169330597,
0.04965895041823387,
0.02080054208636284,
0.04010194540023804,
-0.008456075564026833,
0.03957724571228027,
0.050108689814805984,
0.02050071395933628,
-0.02155010960996151,
-0.010728207416832447,
0.01264897733926773,
-0.015019489452242851,
-0.0015799510292708874,
0.007092797197401524,
0.026253655552864075,
0.05797916650772095,
-0.05782925337553024,
0.028314970433712006,
0.046135976910591125,
-0.027996404096484184,
0.03170677274465561,
0.030132675543427467,
0.008545087650418282,
0.016715390607714653,
-0.03826550021767616,
-0.006366651970893145,
0.012414737604558468,
0.05318192392587662,
0.020912976935505867,
-0.05363166704773903,
-0.018917249515652657,
-0.012527172453701496,
-0.09931790083646774,
0.043512482196092606,
0.031669292598962784,
0.04231317341327667,
0.05636759102344513,
0.019039053469896317,
0.04055168479681015,
0.041151341050863266,
-0.06862304359674454,
-0.04141369089484215,
0.034854959696531296,
0.00893392600119114,
0.03269995003938675,
-0.010512705892324448,
-0.010512705892324448,
-0.00393992243334651,
0.02130649983882904,
0.024585865437984467,
-0.019713666290044785,
0.00856382679194212,
-0.014888315461575985,
-0.038527850061655045,
-0.04591110348701477,
-0.025897610932588577,
0.046698153018951416,
0.004394348710775375,
0.03783449903130531,
-0.04628589004278183,
-0.03817180544137955,
-0.02809010073542595,
0.026366092264652252,
0.032662469893693924,
-0.026441048830747604,
0.0007519114296883345,
-0.02977663092315197,
-0.036222923547029495,
0.012667717412114143,
-0.004099205601960421,
-0.007312983274459839,
0.00334729440510273,
0.042088303714990616,
-0.021343978121876717,
-0.006029346026480198,
-0.0019149146974086761,
0.011815082281827927,
-0.054718539118766785,
0.13357320427894592,
0.026947006583213806,
0.0074441577307879925,
0.011187317781150341,
0.02447342872619629,
-0.03656022995710373,
0.10036729276180267,
-0.019470056518912315,
0.04197586700320244,
0.05730455368757248,
0.010465857572853565,
-0.0030544938053935766,
-0.04677310958504677,
0.014607226476073265,
-0.050858259201049805,
0.06933514028787613,
-0.023405293002724648,
-0.06472528725862503,
0.023648902773857117,
0.013361068442463875,
-0.04328761249780655,
-0.018579943105578423,
-0.023349076509475708,
0.029626715928316116,
-0.030507460236549377,
-0.013136197812855244,
-0.022393375635147095,
0.03470504656434059,
0.007748669944703579,
0.04789746180176735,
0.01277078315615654,
0.06577468663454056,
0.11221048980951309,
-0.006629001349210739,
-0.055168282240629196,
0.008114084601402283,
0.03764710575342178,
0.05797916650772095,
-0.02323663979768753,
-0.0025789861101657152,
-0.011281014420092106,
-0.0076221805065870285,
0.08057866990566254,
0.05396897345781326,
-0.003012330736964941,
0.029607977718114853,
0.03290608152747154,
-0.013651526533067226,
-0.001385531504638493,
-0.035154789686203,
-0.0055655501782894135,
0.023461511358618736,
-0.010437749326229095,
-0.048497118055820465,
-0.03980211541056633,
0.014447943307459354,
-0.01769919879734516,
0.04471179470419884,
-0.04913425073027611,
-0.02235589735209942,
-0.009008883498609066,
-0.03897758945822716,
0.04186343029141426,
-0.025616522878408432,
-0.06903530657291412,
0.041825953871011734,
-0.01706206612288952,
0.003220804501324892,
-0.028446145355701447,
-0.03157559782266617,
0.05231992155313492,
-0.047747548669576645,
-0.004584083333611488,
-0.010212878696620464,
-0.004406060557812452,
-0.05966569483280182,
-0.0074816360138356686,
0.014288660138845444,
-0.010231617838144302,
0.003012330736964941,
-0.018654899671673775,
-0.07267072051763535,
0.005368788260966539,
0.03545461595058441,
-0.0024431266356259584,
0.019826101139187813,
-0.05228244140744209,
-0.0363728366792202,
-0.08147815614938736,
-0.011365341022610664,
0.012808261439204216,
0.06569972634315491,
-0.032737430185079575,
-0.03288734331727028,
0.04808485507965088,
0.10921221226453781,
0.018486246466636658,
-0.06517502665519714,
-0.002564931521192193,
0.002995933871716261,
-0.023142945021390915,
-0.009069785475730896,
-0.054606106132268906,
-0.00716306921094656,
0.045011620968580246,
-0.0626639723777771,
-0.01277078315615654,
-0.002464208286255598,
0.012995653785765171,
0.016349975019693375,
-0.016293756663799286,
0.03470504656434059,
-0.030676113441586494,
0.00658683804795146,
0.003813432529568672,
-0.022449593991041183,
-0.08350199460983276,
-0.06963496655225754,
-0.023967470973730087,
-0.05164530873298645,
0.007069373037666082,
0.015684733167290688,
-0.005528071895241737,
0.01233041100203991,
0.01273330394178629,
0.106888547539711,
0.05831647291779518,
0.05456862598657608,
-0.08477625995874405,
0.018645530566573143,
-0.06097744405269623,
0.08462634682655334,
-0.05014616996049881,
-0.0012707537971436977,
-0.03393673896789551,
-0.006844502408057451,
-0.033861782401800156,
-0.01794280856847763,
-0.014747771434485912,
0.05824151635169983,
-0.00824994407594204,
0.0142605509608984,
-0.006024661473929882,
-0.04486170783638954,
0.020912976935505867,
-0.062139272689819336,
-0.00013995860354043543,
-0.00446696300059557,
0.07323289662599564,
-0.014382355846464634,
-0.021475153043866158,
-0.05483097583055496,
-0.03258751332759857,
0.04838468134403229,
-0.011374710127711296,
-0.04223821684718132,
0.012049322947859764,
-0.07847987860441208,
-0.05097069591283798,
0.03002024069428444,
0.008306162431836128,
-0.0017052695620805025,
-0.04617345333099365,
-0.021718762814998627,
0.001412469195201993,
0.01202121376991272,
-0.023723861202597618,
-0.03333708271384239,
-0.004834720399230719,
-0.06783600151538849,
0.052732184529304504,
0.02080054208636284,
-0.02123154327273369,
-0.070309579372406,
-0.017108913511037827,
0.003834514180198312,
-0.04965895041823387,
0.10036729276180267,
0.06292632222175598,
-0.00027684279484674335,
-0.023780077695846558,
-0.00303809717297554,
-0.05835394933819771,
-0.011524624191224575,
0.013154936954379082,
-0.08972341567277908,
-0.027827750891447067,
-0.006066824309527874,
-0.025710217654705048,
-0.020294582471251488,
-0.014569748193025589,
-0.0044107455760240555,
0.01264897733926773,
-0.0004415430303197354,
-0.0811033695936203,
-0.018701747059822083,
-0.006001237314194441,
0.026028785854578018,
-0.023217901587486267,
0.01089685969054699,
-0.046061016619205475,
-0.027134399861097336,
0.027546662837266922,
-0.018036505207419395,
-0.0082827378064394,
-0.012321040965616703,
-0.042762912809848785,
0.04628589004278183,
-0.031856685876846313,
0.05190765857696533,
0.048871900886297226,
-0.013201785273849964,
-0.005368788260966539,
-0.00546716945245862,
0.018017766997218132,
-0.09302151948213577,
-0.05981561169028282,
-0.009903681464493275,
0.022337157279253006,
-0.011655799113214016,
0.018430029973387718,
0.007083427626639605,
-0.033730607479810715,
-0.035154789686203,
-0.008226520381867886,
0.04317517578601837,
0.012845739722251892,
-0.052357397973537445,
0.022318419069051743,
-0.0005528071778826416,
-0.043999701738357544,
-0.010681359097361565,
-0.03794693201780319,
-0.03554831072688103,
0.03837793692946434,
0.024679560214281082,
0.0336369127035141,
-0.02659096196293831,
0.045948583632707596,
0.023817555978894234,
0.02567273937165737,
0.0017568024341017008,
0.024510908871889114,
-0.017774155363440514,
-0.0017333783907815814,
0.05456862598657608,
-0.0012707537971436977,
0.04459935799241066,
-0.06423807144165039,
0.05662994086742401,
0.017652351409196854,
-0.000801101909019053,
-0.007584701757878065,
-0.015591036528348923,
-0.01837381161749363,
0.05569298192858696,
-0.05887864902615547,
0.0031528747640550137,
-0.0050080581568181515,
-0.007467581890523434,
0.05524323880672455,
0.00757064763456583,
0.019601231440901756,
-0.03382430225610733,
0.0344989150762558,
-0.05539315193891525,
-0.016987109556794167,
0.05599280819296837,
-0.02353646792471409,
0.006366651970893145,
0.026272395625710487,
-0.045686233788728714,
0.008554456755518913,
0.011740125715732574,
-0.019545013085007668,
0.011674538254737854,
0.02940184623003006,
-0.05228244140744209,
-0.03779701888561249,
0.03931489586830139,
0.048497118055820465,
-0.028689755126833916,
-0.005631137639284134,
-0.05187017843127251,
-0.014907054603099823,
-0.01950753480195999,
0.06970991939306259,
0.0015237333718687296,
0.010615771636366844,
0.04748519882559776,
0.003302788594737649,
0.004694176372140646,
-0.029439324513077736,
-0.04212578013539314,
0.0023037537466734648,
-0.033430781215429306,
-0.010372161865234375,
-0.02149389311671257,
-0.01448542159050703,
0.009421146474778652,
0.007252080366015434,
-0.0018376153893768787,
-0.021343978121876717,
0.01600329950451851,
0.008245259523391724,
-0.030732331797480583,
-0.02379881776869297,
-0.006610262207686901,
-0.05955326184630394,
0.0365227535367012,
-0.018214527517557144,
-0.02827749215066433,
-0.04036429524421692,
0.05363166704773903,
-0.035791922360658646,
-0.00011184976028744131,
-0.010137921199202538,
0.0018048217752948403,
-0.030076459050178528,
-0.07342028617858887,
0.024454690515995026,
-0.002719530137255788,
-0.023705121129751205,
0.028202535584568977,
0.0031622443348169327,
0.007608125917613506,
0.09069785475730896,
0.030732331797480583,
-0.012349150143563747,
0.03084476664662361,
0.009116633795201778,
0.0069054048508405685,
0.03129450976848602,
0.027752794325351715,
0.03923993930220604,
-0.009266547858715057,
0.0015143636846914887,
-0.019226446747779846,
-0.03425530716776848,
-0.012227345257997513,
-0.0019922140054404736,
0.02642230875790119,
0.04310021921992302,
0.020856758579611778,
-0.0026024100370705128,
0.04875946789979935,
-0.013014392927289009,
0.0662619024515152,
0.015178773552179337,
0.0033074733801186085,
-0.03807810693979263,
0.0027827750891447067,
-0.03406791388988495,
-0.02548534795641899,
0.016668541356921196,
0.030975941568613052,
0.009069785475730896,
0.021756241098046303,
0.015150664374232292,
0.02130649983882904,
0.003335582325235009,
0.018336333334445953,
0.000616637640632689,
-0.014251181855797768,
0.014429204165935516,
-0.010531445033848286,
0.025429129600524902,
0.019395099952816963,
-0.01385765802115202,
-0.019957276061177254,
-0.0221872441470623,
0.07480698823928833,
-0.07690578699111938,
-0.04328761249780655,
0.028558580204844475,
-0.02698448672890663,
-0.0181864183396101,
-0.042200736701488495,
-0.00919159036129713,
-0.02511056326329708,
0.008357695303857327,
0.055655501782894135,
-0.015291208401322365,
-0.01750243827700615,
0.0009703405667096376,
0.02945806458592415,
0.01882355287671089,
-0.000490147911477834,
0.004211640916764736,
0.03288734331727028,
0.031182073056697845,
-0.0011413360480219126,
0.009763136506080627,
0.08575069904327393,
-0.01832696422934532,
0.0189453586935997,
-0.058766212314367294,
-0.019048424437642097,
0.02760288119316101,
0.08200285583734512,
0.0023962785489857197,
0.006066824309527874,
-0.046510759741067886,
0.01601266860961914,
0.04579867050051689,
0.060827527195215225,
-0.007214602082967758,
-0.004811296239495277,
0.04778502881526947,
-0.004502099007368088,
-0.023011770099401474,
0.021999850869178772,
-0.0304699819535017,
0.07293307036161423,
-0.02243085391819477,
-0.004614534322172403,
0.02261824533343315,
-0.0018868058687075973,
0.03412413224577904,
-0.029870327562093735,
-0.04838468134403229,
-0.021849937736988068,
-0.01215238869190216,
0.01993853598833084,
0.02130649983882904,
-0.00535941869020462,
-0.013042501173913479,
0.028689755126833916,
0.0013773331884294748,
-0.04992130026221275,
-0.0011981392744928598,
-0.020088450983166695,
-0.0198823194950819,
0.009753767400979996,
-0.016527997329831123,
0.041338734328746796,
0.004546604584902525,
-0.019282663241028786,
0.005626452621072531,
0.008643467910587788,
-0.041713517159223557,
0.01706206612288952,
-0.02123154327273369,
-0.0700097531080246,
0.01645304076373577,
-0.03674762323498726,
-0.0336369127035141,
0.04838468134403229,
0.07214602082967758,
-0.020032232627272606,
-0.015375535003840923,
-0.030994679778814316,
-0.04010194540023804,
-0.007022525183856487,
0.010775054804980755,
-0.016406193375587463,
0.0015061653684824705,
-0.024679560214281082,
-0.01680908538401127,
0.004743366502225399,
-0.028989583253860474,
-0.054231319576501846,
0.003096657106652856,
0.008882393129169941,
-0.005476539023220539,
-0.006197999231517315,
0.016987109556794167,
0.031069636344909668,
0.0006306921131908894,
-0.012236714363098145,
0.05108313262462616,
0.013913875445723534,
-0.01645304076373577,
0.04950903728604317,
-0.01293006632477045,
0.00980998482555151,
0.006019976455718279,
0.03592309728264809,
-0.020838020369410515,
0.0635259747505188,
0.06498763710260391,
0.003319185459986329,
-0.06558728963136673,
-0.024342255666851997,
-0.011140470393002033,
0.040214378386735916,
-0.03849036991596222,
0.024585865437984467,
-0.028127579018473625,
-0.02835244871675968,
-0.04354996234178543,
-0.04310021921992302,
0.059890568256378174,
-0.04579867050051689,
0.05381905660033226,
0.022636985406279564,
0.007964171469211578,
-0.014803988859057426,
-0.033543214201927185,
-0.009903681464493275,
0.040326815098524094,
0.03633536025881767,
-0.015178773552179337,
-0.0442245751619339,
-0.0026398885529488325,
-0.007758039515465498,
0.007378570269793272,
-0.08972341567277908,
0.04823476821184158,
0.010981186293065548,
-0.05220748484134674,
0.0027312422171235085,
-0.01832696422934532,
-0.04152612388134003,
-0.02977663092315197,
-0.06243910267949104,
0.025054344907402992,
-0.00590285612270236,
0.011964996345341206,
-0.03200659900903702,
0.08267746865749359,
-0.014354247599840164,
-0.013848287984728813,
-0.08882392942905426,
0.008123454637825489,
0.03539839759469032,
-0.0019734748639166355,
-0.020912976935505867,
0.05910351872444153,
0.01538490504026413,
0.01569410227239132,
-0.012274193577468395,
0.01806461438536644,
0.035154789686203,
-0.07334533333778381,
-0.0202383641153574,
-0.017849113792181015,
-0.04857207462191582,
0.007809572387486696,
0.022262200713157654,
0.018430029973387718,
0.04827224835753441,
-0.0885990634560585,
0.01937635987997055,
-0.010784424841403961,
-0.02460460364818573,
-0.08020389080047607,
-0.026441048830747604,
0.07818005234003067,
0.008062551729381084,
-0.012011843733489513,
0.0638258084654808,
0.007926693186163902,
-0.07218349725008011,
-0.036860059946775436,
0.07237089425325394,
-0.001305889803916216,
0.01620006188750267,
0.021718762814998627,
0.044262051582336426,
0.06217675283551216,
0.015056968666613102,
0.0337868258357048,
-0.06569972634315491,
-0.02267446368932724,
0.004183532204478979,
0.019170228391885757,
0.011121731251478195,
0.010428379289805889,
-0.0021105054765939713,
0.041900910437107086,
-0.005888801999390125,
-0.008001649752259254,
-0.018045874312520027,
-0.017211979255080223,
-0.015328686684370041,
0.004904992412775755,
0.017549285665154457,
0.03339330106973648,
0.04310021921992302,
0.000595848832745105,
0.05486845597624779,
-0.03819054365158081,
0.020912976935505867,
-0.020032232627272606,
0.03129450976848602,
-0.018280114978551865,
-0.00828742329031229,
-0.015216251835227013,
0.055655501782894135,
0.01096244715154171,
-0.007509744726121426,
0.004160108044743538,
-0.034798745065927505,
0.004314706660807133,
0.04800989851355553,
-0.04572371393442154,
-0.03744097426533699,
-0.021269021555781364,
-0.03594183549284935,
0.054156363010406494,
-0.04827224835753441,
-0.028258753940463066,
-0.01307998038828373,
-0.05966569483280182,
-0.0074441577307879925,
0.09069785475730896,
0.008844914846122265,
0.001528418157249689,
0.00780488783493638,
0.04197586700320244,
0.008587250486016273,
0.01454163994640112,
0.0607900507748127,
-0.03476126492023468,
-0.01906716264784336,
-0.02280563861131668,
-0.031182073056697845,
0.0007583530386909842,
0.0052048200741410255,
0.05093321576714516,
0.05730455368757248,
0.03393673896789551,
-0.05044599622488022,
0.07075931876897812,
-0.046248409897089005,
-0.017474329099059105,
-0.030807288363575935,
-0.01913275010883808,
0.007223971653729677,
-0.03656022995710373,
0.008605989627540112,
-0.019095271825790405,
-0.038902632892131805,
-0.023255379870533943,
0.06776104122400284,
0.08425156027078629,
-0.006872611120343208,
-0.01980736292898655,
-0.024154862388968468,
0.051233045756816864,
0.057716816663742065,
-0.002330691320821643,
-0.0038555958308279514,
-0.012574020773172379,
-0.00818904209882021,
-0.017839742824435234,
-0.026572223752737045,
0.02921445295214653,
-0.023873774334788322,
-0.03554831072688103,
0.046248409897089005,
0.00006082928666728549,
0.030057718977332115,
-0.03837793692946434,
-0.00856382679194212,
0.021137846633791924,
0.031856685876846313,
0.06802339106798172,
0.010728207416832447,
0.052919574081897736,
0.04726032912731171,
0.002400963334366679,
0.05614272132515907,
0.0344989150762558,
-0.021044151857495308,
-0.024717040359973907,
-0.026178698986768723,
0.08904880285263062,
-0.011149839498102665,
-0.009458624757826328,
0.020669367164373398,
-0.07491942495107651,
0.05127052217721939,
0.03489243984222412
]
|
31,486 | prefect_sqlalchemy.credentials | SyncDriver |
Known dialects with their corresponding sync drivers.
Attributes:
POSTGRESQL_PSYCOPG2 (Enum): [postgresql+psycopg2](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2)
POSTGRESQL_PG8000 (Enum): [postgresql+pg8000](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pg8000)
POSTGRESQL_PSYCOPG2CFFI (Enum): [postgresql+psycopg2cffi](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2cffi)
POSTGRESQL_PYPOSTGRESQL (Enum): [postgresql+pypostgresql](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pypostgresql)
POSTGRESQL_PYGRESQL (Enum): [postgresql+pygresql](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pygresql)
MYSQL_MYSQLDB (Enum): [mysql+mysqldb](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.mysqldb)
MYSQL_PYMYSQL (Enum): [mysql+pymysql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.pymysql)
MYSQL_MYSQLCONNECTOR (Enum): [mysql+mysqlconnector](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.mysqlconnector)
MYSQL_CYMYSQL (Enum): [mysql+cymysql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.cymysql)
MYSQL_OURSQL (Enum): [mysql+oursql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.oursql)
MYSQL_PYODBC (Enum): [mysql+pyodbc](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.pyodbc)
SQLITE_PYSQLITE (Enum): [sqlite+pysqlite](https://docs.sqlalchemy.org/en/14/dialects/sqlite.html#module-sqlalchemy.dialects.sqlite.pysqlite)
SQLITE_PYSQLCIPHER (Enum): [sqlite+pysqlcipher](https://docs.sqlalchemy.org/en/14/dialects/sqlite.html#module-sqlalchemy.dialects.sqlite.pysqlcipher)
ORACLE_CX_ORACLE (Enum): [oracle+cx_oracle](https://docs.sqlalchemy.org/en/14/dialects/oracle.html#module-sqlalchemy.dialects.oracle.cx_oracle)
MSSQL_PYODBC (Enum): [mssql+pyodbc](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pyodbc)
MSSQL_MXODBC (Enum): [mssql+mxodbc](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.mxodbc)
MSSQL_PYMSSQL (Enum): [mssql+pymssql](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pymssql)
| class SyncDriver(Enum):
"""
Known dialects with their corresponding sync drivers.
Attributes:
POSTGRESQL_PSYCOPG2 (Enum): [postgresql+psycopg2](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2)
POSTGRESQL_PG8000 (Enum): [postgresql+pg8000](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pg8000)
POSTGRESQL_PSYCOPG2CFFI (Enum): [postgresql+psycopg2cffi](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2cffi)
POSTGRESQL_PYPOSTGRESQL (Enum): [postgresql+pypostgresql](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pypostgresql)
POSTGRESQL_PYGRESQL (Enum): [postgresql+pygresql](https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.pygresql)
MYSQL_MYSQLDB (Enum): [mysql+mysqldb](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.mysqldb)
MYSQL_PYMYSQL (Enum): [mysql+pymysql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.pymysql)
MYSQL_MYSQLCONNECTOR (Enum): [mysql+mysqlconnector](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.mysqlconnector)
MYSQL_CYMYSQL (Enum): [mysql+cymysql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.cymysql)
MYSQL_OURSQL (Enum): [mysql+oursql](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.oursql)
MYSQL_PYODBC (Enum): [mysql+pyodbc](https://docs.sqlalchemy.org/en/14/dialects/mysql.html#module-sqlalchemy.dialects.mysql.pyodbc)
SQLITE_PYSQLITE (Enum): [sqlite+pysqlite](https://docs.sqlalchemy.org/en/14/dialects/sqlite.html#module-sqlalchemy.dialects.sqlite.pysqlite)
SQLITE_PYSQLCIPHER (Enum): [sqlite+pysqlcipher](https://docs.sqlalchemy.org/en/14/dialects/sqlite.html#module-sqlalchemy.dialects.sqlite.pysqlcipher)
ORACLE_CX_ORACLE (Enum): [oracle+cx_oracle](https://docs.sqlalchemy.org/en/14/dialects/oracle.html#module-sqlalchemy.dialects.oracle.cx_oracle)
MSSQL_PYODBC (Enum): [mssql+pyodbc](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pyodbc)
MSSQL_MXODBC (Enum): [mssql+mxodbc](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.mxodbc)
MSSQL_PYMSSQL (Enum): [mssql+pymssql](https://docs.sqlalchemy.org/en/14/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pymssql)
""" # noqa
POSTGRESQL_PSYCOPG2 = "postgresql+psycopg2"
POSTGRESQL_PG8000 = "postgresql+pg8000"
POSTGRESQL_PSYCOPG2CFFI = "postgresql+psycopg2cffi"
POSTGRESQL_PYPOSTGRESQL = "postgresql+pypostgresql"
POSTGRESQL_PYGRESQL = "postgresql+pygresql"
MYSQL_MYSQLDB = "mysql+mysqldb"
MYSQL_PYMYSQL = "mysql+pymysql"
MYSQL_MYSQLCONNECTOR = "mysql+mysqlconnector"
MYSQL_CYMYSQL = "mysql+cymysql"
MYSQL_OURSQL = "mysql+oursql"
MYSQL_PYODBC = "mysql+pyodbc"
SQLITE_PYSQLITE = "sqlite+pysqlite"
SQLITE_PYSQLCIPHER = "sqlite+pysqlcipher"
ORACLE_CX_ORACLE = "oracle+cx_oracle"
MSSQL_PYODBC = "mssql+pyodbc"
MSSQL_MXODBC = "mssql+mxodbc"
MSSQL_PYMSSQL = "mssql+pymssql"
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.045222207903862,
-0.10973820835351944,
-0.012563842348754406,
0.03241052106022835,
0.050979841500520706,
-0.06318144500255585,
-0.029321987181901932,
-0.013936523348093033,
-0.048463258892297745,
-0.05105610191822052,
-0.02640504017472267,
0.004659012425690889,
0.013192988000810146,
0.08083564788103104,
0.021943828091025352,
0.001450132462196052,
-0.03771059215068817,
-0.008083565160632133,
0.05300073325634003,
-0.04587041959166527,
0.023049598559737206,
0.07824280858039856,
-0.04888268932700157,
-0.011763112619519234,
0.0048758769407868385,
0.07870037108659744,
-0.03290620818734169,
0.004947370383888483,
0.011076771654188633,
-0.038435064256191254,
-0.005605113226920366,
-0.03992213308811188,
0.02911227196455002,
-0.0058291275054216385,
-0.021181227639317513,
-0.029531702399253845,
0.020170781761407852,
0.03927392512559891,
0.0044278488494455814,
-0.03851132467389107,
-0.041104163974523544,
0.018674178048968315,
-0.0030575513374060392,
-0.043125055730342865,
-0.05059853941202164,
0.013564756140112877,
-0.0246510598808527,
-0.008355241268873215,
0.018016435205936432,
0.022039152681827545,
0.05730942636728287,
0.017311030998826027,
0.006272388622164726,
0.06787144392728806,
-0.01398418564349413,
-0.006653688848018646,
-0.06386779248714447,
0.06661315262317657,
-0.004980734083801508,
0.06531672924757004,
0.013641015626490116,
0.028273412957787514,
-0.021619722247123718,
0.008460098877549171,
0.02783491648733616,
-0.03073279932141304,
-0.016653288155794144,
-0.040608473122119904,
-0.01352662593126297,
-0.0038797298911958933,
-0.037558071315288544,
-0.000040848277421901,
-0.010562016628682613,
0.019503507763147354,
-0.005185683257877827,
-0.05143740028142929,
0.000951463240198791,
0.05357268080115318,
0.03035149909555912,
-0.028616582974791527,
0.011724982410669327,
-0.027262967079877853,
0.013879328034818172,
0.03197202458977699,
0.08594506978988647,
-0.017463549971580505,
-0.03429795429110527,
0.06356275081634521,
-0.017778122797608376,
-0.07328590750694275,
-0.045641638338565826,
-0.0344504751265049,
0.01200142502784729,
0.10912812501192093,
-0.0011397302150726318,
-0.017577940598130226,
-0.01666281931102276,
0.012592440471053123,
-0.006677520461380482,
-0.03481271117925644,
-0.03858758509159088,
-0.006234258878976107,
-0.02121935784816742,
-0.019398650154471397,
-0.020018262788653374,
-0.05521227419376373,
-0.03668108209967613,
-0.028521256521344185,
-0.03162885457277298,
-0.07198948413133621,
-0.06939664483070374,
-0.004129958339035511,
0.052543170750141144,
-0.06718510389328003,
0.031457267701625824,
-0.04365887492895126,
-0.00331731210462749,
-0.027796786278486252,
0.032200805842876434,
-0.009160738438367844,
-0.028521256521344185,
0.049492768943309784,
0.018960153684020042,
0.06272388994693756,
0.057195033878088,
0.06626997888088226,
0.06070299819111824,
0.003469832008704543,
-0.05345829203724861,
0.040722865611314774,
0.05387772247195244,
0.011906099505722523,
0.003100447589531541,
0.010190248489379883,
0.03353535383939743,
0.022515779361128807,
-0.026748212054371834,
0.01628151908516884,
-0.0008078798418864608,
0.03021804429590702,
-0.0632195770740509,
-0.006143699865788221,
-0.038130022585392,
-0.022935209795832634,
0.02678634040057659,
0.027987437322735786,
-0.05117049068212509,
-0.03622352331876755,
-0.06367713958024979,
-0.04354448616504669,
0.03570876643061638,
-0.05616552382707596,
-0.04827260971069336,
0.015919284895062447,
-0.07675573974847794,
0.028483128175139427,
-0.039197664707899094,
-0.022649234160780907,
-0.0085792550817132,
-0.017597006633877754,
-0.023964719846844673,
-0.01398418564349413,
-0.03332563862204552,
-0.022649234160780907,
0.0009568252717144787,
0.012411322444677353,
-0.0347173847258091,
-0.10508634150028229,
-0.0032982470002025366,
-0.009327556937932968,
-0.003505578963086009,
0.016090869903564453,
0.07999678701162338,
0.01085752435028553,
-0.033745069056749344,
0.0724470466375351,
0.05856771394610405,
-0.002802556613460183,
0.028025567531585693,
-0.030828123912215233,
0.0449552983045578,
-0.04686179757118225,
-0.036032870411872864,
0.00355562474578619,
0.015976479277014732,
0.0031504931394010782,
-0.028101827949285507,
-0.01250664796680212,
0.09059693664312363,
-0.007735628634691238,
0.02144813723862171,
0.0049664354883134365,
0.03496523201465607,
-0.00017411717271897942,
-0.01193469762802124,
-0.009923338890075684,
0.02449853904545307,
0.012802155688405037,
-0.018607450649142265,
0.0279302429407835,
0.008560189977288246,
0.017825786024332047,
-0.005876789800822735,
0.018340541049838066,
-0.020799927413463593,
-0.058872755616903305,
0.006439207587391138,
-0.03647136688232422,
0.018636049702763557,
-0.0860975906252861,
-0.05208561196923256,
-0.052314393222332,
-0.03551811724901199,
0.027472682297229767,
0.010457159020006657,
-0.028368737548589706,
-0.0005457359366118908,
0.032944340258836746,
0.009036815725266933,
0.032353322952985764,
0.0449552983045578,
-0.032315194606781006,
0.0007077885675244033,
-0.0569281242787838,
0.06314332038164139,
-0.04583228752017021,
-0.01391745824366808,
-0.004423082806169987,
0.03113316372036934,
-0.007387692108750343,
-0.02577589638531208,
-0.026976991444826126,
0.03488897159695625,
0.01911267451941967,
0.053267642855644226,
0.020666472613811493,
-0.010819394141435623,
0.03851132467389107,
0.037024252116680145,
-0.0008150292560458183,
-0.006229492370039225,
0.05521227419376373,
-0.006596494000405073,
0.027644267305731773,
-0.01758747361600399,
-0.03776778653264046,
0.03546092286705971,
-0.014470343478024006,
-0.011991892009973526,
-0.04163798689842224,
-0.058110155165195465,
-0.06382966041564941,
0.021676918491721153,
-0.016138533130288124,
-0.041599854826927185,
-0.03084718808531761,
-0.033992916345596313,
0.025051426142454147,
0.029036013409495354,
-0.06173250824213028,
-0.037558071315288544,
0.019207999110221863,
-0.05982600525021553,
0.04015091434121132,
0.03466019034385681,
-0.04911147058010101,
0.0224776491522789,
-0.005781464744359255,
-0.023907525464892387,
-0.01468005869537592,
0.06485916674137115,
0.04179050400853157,
-0.10554390400648117,
0.006815741769969463,
-0.002609523478895426,
-0.018674178048968315,
-0.02272549457848072,
-0.043125055730342865,
-0.016205260530114174,
-0.07999678701162338,
-0.010590613819658756,
-0.008898594416677952,
-0.002298525534570217,
0.03368787467479706,
0.023907525464892387,
0.027262967079877853,
-0.0806068703532219,
-0.07584061473608017,
0.007320964243263006,
0.032696496695280075,
0.00009227167902281508,
0.0034436178393661976,
0.04701431840658188,
0.00832187756896019,
0.03475551679730415,
0.06306705623865128,
0.033745069056749344,
0.03260117024183273,
0.021695982664823532,
-0.08014930784702301,
0.033878523856401443,
0.024708254262804985,
0.09845171868801117,
0.06707070767879486,
-0.03275369107723236,
-0.0004119829973205924,
0.03008458763360977,
-0.0444214753806591,
-0.02895975299179554,
-0.0011230483651161194,
0.0033316107001155615,
0.014565669000148773,
0.024708254262804985,
0.04316318780183792,
0.025318335741758347,
-0.013955588452517986,
-0.027911176905035973,
-0.01302140299230814,
0.014575201086699963,
0.05883462727069855,
-0.03302060067653656,
0.07301899790763855,
0.01142947468906641,
0.015156684443354607,
0.03801563382148743,
-0.04812008887529373,
0.0034078708849847317,
0.0042038350366055965,
0.011019576340913773,
-0.030065523460507393,
-0.04941650852560997,
-0.048844560980796814,
0.02617626078426838,
0.0634864866733551,
0.029760483652353287,
0.04179050400853157,
-0.0016777210403233767,
-0.025985611602663994,
0.016634222120046616,
0.004942604340612888,
0.05624178424477577,
-0.03521307557821274,
0.016863003373146057,
-0.004558920860290527,
-0.008593553677201271,
-0.04594667628407478,
0.020380496978759766,
0.021886633709073067,
0.0034745982848107815,
0.041866764426231384,
0.002210349775850773,
-0.026271585375070572,
-0.017577940598130226,
0.0377296581864357,
-0.008545891381800175,
-0.04987407103180885,
-0.04049408435821533,
0.02186756767332554,
0.036642953753471375,
0.034869905561208725,
0.09013937413692474,
-0.017177576199173927,
0.039807744324207306,
0.013803068548440933,
-0.0019374818075448275,
0.008350474759936333,
-0.008555424399673939,
-0.013097663410007954,
0.048958949744701385,
-0.01258290745317936,
-0.006081738509237766,
0.005876789800822735,
0.033096861094236374,
0.03700518608093262,
-0.01576676405966282,
-0.042095545679330826,
-0.011724982410669327,
-0.01226833462715149,
-0.04689992964267731,
0.0004423678619787097,
0.0133455079048872,
0.021657852455973625,
0.05551731213927269,
0.08975807577371597,
-0.01029510609805584,
-0.0348508395254612,
0.06009291484951973,
-0.036642953753471375,
-0.019436778500676155,
-0.011010044254362583,
-0.06626997888088226,
0.024231629446148872,
-0.0012523329351097345,
0.047052450478076935,
-0.03976961597800255,
-0.011257889680564404,
-0.023469028994441032,
0.02005639299750328,
0.011782176792621613,
-0.02135281264781952,
-0.01628151908516884,
-0.06436347961425781,
0.056851863861083984,
-0.018264280632138252,
-0.016853470355272293,
0.02032330259680748,
0.06489729881286621,
0.03923579305410385,
-0.008374306373298168,
0.02716764062643051,
-0.06093177571892738,
0.014212965965270996,
-0.06302893161773682,
-0.005152319557964802,
-0.036890797317028046,
-0.013517092913389206,
0.06596493721008301,
0.03191483020782471,
0.03748181462287903,
0.05422089248895645,
0.01099097914993763,
-0.03212454542517662,
-0.0036938460543751717,
0.04861577972769737,
-0.011829840019345284,
0.06337209790945053,
0.021410008892416954,
0.006181830074638128,
-0.06470664590597153,
0.04789130762219429,
0.04068473353981972,
-0.03618539124727249,
0.0028192386962473392,
-0.05040789023041725,
0.0670325830578804,
-0.023316510021686554,
0.009365687146782875,
-0.040455956012010574,
-0.02325931377708912,
-0.05460219457745552,
-0.01029510609805584,
0.024841710925102234,
-0.024365084245800972,
0.015728633850812912,
0.02259203791618347,
-0.05220000073313713,
-0.040341563522815704,
0.020151717588305473,
0.057118773460388184,
0.031037839129567146,
-0.07694638520479202,
0.006806209217756987,
0.01315485779196024,
0.028025567531585693,
0.007363860961049795,
-0.01765420101583004,
0.01231599785387516,
0.011963294818997383,
-0.03008458763360977,
0.0027262966614216566,
0.05349642410874367,
-0.03273462504148483,
-0.0022830350790172815,
-0.01079079695045948,
0.04678553715348244,
0.0280636977404356,
0.020018262788653374,
-0.03965522348880768,
-0.04011278599500656,
0.0533820316195488,
-0.0018433482619002461,
0.060664866119623184,
0.040722865611314774,
-0.012277867645025253,
-0.032067351043224335,
-0.007092184387147427,
-0.0152520090341568,
-0.004187153186649084,
-0.041104163974523544,
-0.03647136688232422,
0.018359607085585594,
0.00876037310808897,
0.02857845276594162,
0.010018663480877876,
-0.009222699329257011,
-0.04571789875626564,
0.06897721439599991,
-0.039312053471803665,
-0.011848905123770237,
-0.01150573417544365,
0.00314572686329484,
0.03788217902183533,
0.06424909085035324,
-0.012039555236697197,
0.05071293190121651,
-0.0014012783067300916,
-0.0230114683508873,
-0.007421055808663368,
0.020685536786913872,
-0.03519401326775551,
0.028101827949285507,
0.007278067991137505,
-0.02133374847471714,
-0.0113055519759655,
0.050217241048812866,
-0.04651862755417824,
0.02005639299750328,
-0.023716874420642853,
-0.03223893418908119,
-0.011467604897916317,
-0.003534176619723439,
-0.0026262053288519382,
0.006725182756781578,
-0.061160556972026825,
0.01131508406251669,
-0.006725182756781578,
0.054830972105264664,
-0.007835719734430313,
0.007764225825667381,
0.0023271229583770037,
-0.024994229897856712,
-0.019656026735901833,
-0.005709970835596323,
0.031686048954725266,
-0.004751954227685928,
0.012992805801331997,
0.0012892714003100991,
0.0029026479460299015,
0.022534843534231186,
0.007969174534082413,
0.04625171795487404,
0.0333828367292881,
-0.03568970039486885,
0.013574288226664066,
0.028425931930541992,
-0.02047582156956196,
-0.045222207903862,
0.017349161207675934,
0.036261651664972305,
0.0054049305617809296,
0.007735628634691238,
0.01244945265352726,
-0.08670767396688461,
0.0007018307223916054,
-0.053038861602544785,
-0.06287641078233719,
0.022058218717575073,
-0.009251296520233154,
-0.024079110473394394,
-0.02348809503018856,
-0.01772092841565609,
0.045412857085466385,
0.007802356034517288,
-0.053648941218853,
-0.025070490315556526,
-0.031304750591516495,
0.009370453655719757,
0.026862600818276405,
-0.005900620948523283,
0.015509386546909809,
-0.02949357219040394,
-0.01956070214509964,
-0.01365054864436388,
0.012363660149276257,
-0.0013571905437856913,
-0.009894740767776966,
0.035251207649707794,
0.025203945115208626,
-0.004253880586475134,
0.044879037886857986,
0.005524087231606245,
0.012363660149276257,
0.0446883887052536,
0.0172919649630785,
-0.013679145835340023,
-0.047815050929784775,
-0.014823046512901783,
0.022458583116531372,
-0.006029309704899788,
-0.029627028852701187,
-0.0012380342232063413,
-0.012592440471053123,
-0.05410650372505188,
-0.02348809503018856,
0.003922625910490751,
0.04533659666776657,
0.026633821427822113,
0.09555383771657944,
-0.006820507813245058,
-0.01969415694475174,
-0.01904594711959362,
0.050865452736616135,
0.010314171202480793,
-0.034869905561208725,
0.020170781761407852,
-0.010085390880703926,
-0.038930755108594894,
-0.011724982410669327,
0.032582104206085205,
0.020533017814159393,
-0.04018904268741608,
0.05502162501215935,
0.012239737436175346,
-0.07709890604019165,
0.03647136688232422,
-0.011648721992969513,
-0.002719147363677621,
-0.026385976001620293,
-0.03389758989214897,
0.010333236306905746,
-0.04892082139849663,
0.039197664707899094,
-0.029283856973052025,
-0.014470343478024006,
0.04892082139849663,
-0.05547918379306793,
-0.06707070767879486,
0.0528482124209404,
0.05944470688700676,
-0.04689992964267731,
-0.060893647372722626,
0.08731774985790253,
0.020132651552557945,
-0.016853470355272293,
-0.026900731027126312,
0.06325770914554596,
-0.032829951494932175,
-0.035765960812568665,
-0.010180716402828693,
-0.029932068660855293,
0.02693886123597622,
0.012497114948928356,
0.030961578711867332,
-0.021657852455973625,
0.047166839241981506,
-0.08457238972187042,
-0.012630569748580456,
-0.035136815160512924,
0.0032029219437390566,
-0.004103743936866522,
0.03061840869486332,
0.019751351326704025,
0.04358261823654175,
0.021638788282871246,
0.022077282890677452,
0.048692040145397186,
-0.02144813723862171,
-0.04682366922497749,
0.03149539977312088,
-0.023716874420642853,
0.007278067991137505,
0.0629526674747467,
0.010323704220354557,
-0.027987437322735786,
-0.02834967151284218,
0.049492768943309784,
-0.08525872975587845,
0.008679346181452274,
0.06177063658833504,
-0.005076059140264988,
0.012287399731576443,
0.01385073084384203,
0.011334149166941643,
0.07362907379865646,
-0.01435595378279686,
0.024212565273046494,
0.01067640632390976,
0.01250664796680212,
0.07054053992033005,
0.027625201269984245,
0.041332945227622986,
0.012811687774956226,
0.01366008073091507,
-0.01980854757130146,
-0.01499463152140379,
0.00856972299516201,
0.028273412957787514,
0.03315405547618866,
0.0174254197627306,
-0.00021567294606938958,
0.03227706626057625,
0.021276552230119705,
-0.0265575610101223,
0.01651030033826828,
-0.008846165612339973,
-0.001664613839238882,
-0.006896767765283585,
0.022286998108029366,
0.021162163466215134,
-0.07012110948562622,
-0.006777611561119556,
-0.01447987649589777,
-0.04506968706846237,
0.0449552983045578,
-0.0302371084690094,
-0.07641256600618362,
0.022935209795832634,
-0.0528482124209404,
-0.016224324703216553,
0.012525713071227074,
0.045222207903862,
-0.03241052106022835,
-0.05387772247195244,
0.03597567602992058,
0.055441055446863174,
0.021257488057017326,
0.03784404695034027,
-0.06558363884687424,
0.08220832794904709,
0.006258090026676655,
-0.008817567490041256,
0.02160065807402134,
-0.0211049672216177,
-0.020018262788653374,
0.05910153687000275,
-0.005757633596658707,
-0.0006184212979860604,
0.036395106464624405,
-0.04606106877326965,
-0.008259916678071022,
-0.031457267701625824,
-0.014136706478893757,
0.05566983297467232,
-0.025451790541410446,
-0.00765460217371583,
-0.005943517200648785,
0.011410409584641457,
0.04053221642971039,
0.016986925154924393,
0.04907333850860596,
-0.012973740696907043,
-0.006525000091642141,
-0.031152229756116867,
0.035632506012916565,
0.019065011292696,
-0.025051426142454147,
0.008545891381800175,
-0.018159423023462296,
-0.07279021292924881,
-0.0070159244351089,
-0.06524047255516052,
0.010333236306905746,
-0.05197122320532799,
-0.007535445969551802,
0.02158159390091896,
0.0008543508592993021,
0.016681885346770287,
-0.01517574954777956,
0.021009642630815506,
0.016338715329766273,
0.02373593859374523,
0.0249179694801569,
-0.034221697598695755,
-0.01937958411872387,
0.007983474060893059,
-0.02364061400294304,
0.02072366699576378,
0.03160978853702545,
-0.033859461545944214,
-0.025985611602663994,
-0.02949357219040394,
0.04453586786985397,
0.027892112731933594,
-0.04308692738413811,
0.05883462727069855,
-0.061541859060525894,
-0.008312345482409,
-0.007354328408837318
]
|
31,490 | laspy.copc | Bounds | Bounds(mins: numpy.ndarray, maxs: numpy.ndarray) | class Bounds:
mins: np.ndarray
maxs: np.ndarray
def overlaps(self, other: "Bounds") -> bool:
return bool(np.all((self.mins <= other.maxs) & (self.maxs >= other.mins)))
def ensure_3d(self, mins: np.ndarray, maxs: np.ndarray) -> "Bounds":
new_mins = np.zeros(3, dtype=np.float64)
new_maxs = np.zeros(3, dtype=np.float64)
new_mins[: len(self.mins)] = self.mins[:]
new_mins[len(self.mins) :] = mins[len(self.mins) :]
new_maxs[: len(self.maxs)] = self.maxs[:]
new_maxs[len(self.maxs) :] = maxs[len(self.maxs) :]
return Bounds(new_mins, new_maxs)
| (mins: numpy.ndarray, maxs: numpy.ndarray) -> None | [
0.007091582752764225,
-0.007711758837103844,
-0.05403624102473259,
0.006453429814428091,
-0.06528929620981216,
0.02575979195535183,
-0.039152007550001144,
-0.030721202492713928,
-0.04947030544281006,
-0.00808026921004057,
0.01404834445565939,
0.03622189909219742,
-0.032716553658246994,
-0.02360265702009201,
0.0073028020560741425,
0.00844878051429987,
-0.007042148150503635,
-0.03366928920149803,
0.029355017468333244,
0.000675228307954967,
-0.02518455497920513,
-0.02994822897017002,
0.02930108830332756,
0.023279085755348206,
0.027287762612104416,
0.023189205676317215,
-0.04048224166035652,
0.0045906538143754005,
0.0352511890232563,
0.0014122495194897056,
-0.08074876666069031,
0.027934903278946877,
0.02520253136754036,
0.027036096900701523,
0.026766454800963402,
-0.08894588053226471,
0.07298307865858078,
0.0016156045021489263,
-0.06859690696001053,
0.04145295172929764,
-0.03228512778878212,
-0.06741048395633698,
-0.006651167292147875,
0.0008695952128618956,
0.08398447185754776,
0.013958463445305824,
0.053137436509132385,
-0.00826452486217022,
-0.04292699322104454,
0.0025660921819508076,
0.023692537099123,
-0.05425195395946503,
0.05644504353404045,
-0.010929485782980919,
-0.07043047249317169,
0.06507358700037003,
0.015315661206841469,
0.08513494580984116,
-0.01534262578934431,
-0.06298835575580597,
-0.01734696328639984,
-0.0034716397058218718,
0.048032213002443314,
-0.0719045102596283,
-0.054180048406124115,
-0.00038732937537133694,
-0.08563827723264694,
-0.005419802851974964,
0.009176813066005707,
0.030577393248677254,
-0.015522386878728867,
0.0582067035138607,
0.045767221599817276,
-0.02595752850174904,
0.0505848228931427,
0.016394229605793953,
0.015612266957759857,
0.047816500067710876,
0.02520253136754036,
-0.03965533897280693,
0.013850606977939606,
-0.027108000591397285,
0.0016290865605697036,
0.012439480982720852,
0.04098557308316231,
-0.00910490844398737,
-0.052310533821582794,
0.05011744424700737,
0.05817075073719025,
-0.07700973004102707,
-0.002429024316370487,
0.04461675137281418,
-0.0018032303778454661,
0.03478380665183067,
0.009293658658862114,
0.043646037578582764,
0.0118462685495615,
-0.07406164705753326,
-0.038397010415792465,
-0.018263746052980423,
0.02137361653149128,
-0.0323031023144722,
-0.034568093717098236,
0.030775131657719612,
-0.007882531732320786,
0.006781494244933128,
0.012619242072105408,
-0.04087771475315094,
-0.07823210954666138,
0.02173313871026039,
0.028851686045527458,
0.028204545378684998,
-0.011747399345040321,
0.05364076793193817,
-0.005284981802105904,
-0.006260186433792114,
-0.024123964831233025,
0.025867648422718048,
0.021858971565961838,
-0.007608396001160145,
-0.008012859150767326,
-0.01838957890868187,
0.03724653646349907,
0.02604741044342518,
0.03408274054527283,
0.009082438424229622,
-0.01773345097899437,
0.02976846881210804,
-0.05018934980034828,
-0.06018407642841339,
0.017391903325915337,
-0.021391592919826508,
-0.04824792966246605,
0.01110025867819786,
0.020097311586141586,
0.002548116259276867,
0.006794976536184549,
0.010749724693596363,
0.014722448773682117,
0.006138847675174475,
0.00541081465780735,
0.052849818021059036,
0.009877881966531277,
0.01595381461083889,
-0.04281913861632347,
0.009895858354866505,
0.056049566715955734,
-0.012052994221448898,
0.001947039389051497,
0.02565193548798561,
-0.02313527651131153,
-0.026263123378157616,
0.05299362540245056,
0.02714395336806774,
-0.02398015558719635,
-0.03796558082103729,
0.009158837608993053,
-0.1181391105055809,
0.06011217087507248,
0.03692296892404556,
-0.08326542377471924,
0.012538349255919456,
-0.05601361393928528,
0.003460404695942998,
0.001305516343563795,
0.00459290063008666,
0.025454197078943253,
-0.09318824857473373,
-0.022362302988767624,
0.016951488330960274,
-0.007338754367083311,
0.024052059277892113,
-0.032518815249204636,
0.006471406202763319,
-0.009590264409780502,
-0.036527492105960846,
-0.012807991355657578,
-0.03395690768957138,
-0.013913523405790329,
-0.02987632527947426,
0.05338910222053528,
-0.009823953732848167,
0.03703082352876663,
0.007419646717607975,
-0.04321461170911789,
0.04458079859614372,
-0.02520253136754036,
0.01381465420126915,
0.013994415290653706,
0.007073606364428997,
-0.029750492423772812,
-0.010974425822496414,
-0.01260126568377018,
-0.015306673012673855,
0.011271032504737377,
-0.017868271097540855,
-0.0029413439333438873,
0.029894301667809486,
-0.015522386878728867,
0.001977374078705907,
-0.05720004066824913,
0.00010511821892578155,
0.016115598380565643,
0.011360912583768368,
0.043717943131923676,
-0.0019256927771493793,
0.019737789407372475,
-0.04468865320086479,
0.017562678083777428,
0.02604741044342518,
-0.028528114780783653,
-0.029085375368595123,
-0.02818656899034977,
-0.02827644906938076,
0.035700589418411255,
0.018030056729912758,
-0.021517425775527954,
-0.008035329170525074,
-0.026766454800963402,
0.012484421022236347,
0.025148604065179825,
-0.03785772621631622,
-0.013589953072369099,
0.02099611796438694,
-0.024789080023765564,
0.04019462317228317,
0.003080658847466111,
0.040554143488407135,
0.011585614643990993,
-0.017140237614512444,
0.06410287320613861,
0.0012515878770500422,
-0.029606683179736137,
-0.052418388426303864,
-0.025723839178681374,
-0.008435297757387161,
0.003939019050449133,
-0.040913667529821396,
0.06543310731649399,
-0.009248717688024044,
0.017805354669690132,
0.005172630771994591,
-0.022434208542108536,
0.028114665299654007,
0.02362063154578209,
-0.01643018051981926,
-0.012583289295434952,
0.015576315112411976,
0.06759024411439896,
0.04871530830860138,
-0.08175542950630188,
0.01690654829144478,
-0.07283926755189896,
0.022901587188243866,
0.024968842044472694,
-0.0030087544582784176,
-0.009437466971576214,
-0.03688701614737511,
0.04163271188735962,
-0.0027525946497917175,
0.002646984765306115,
0.002498681889846921,
0.07053832709789276,
0.01986362226307392,
-0.013158525340259075,
0.02473515272140503,
0.014425843022763729,
-0.0025413751136511564,
-0.03023584745824337,
0.016259407624602318,
0.028330378234386444,
0.05507885664701462,
0.04404151439666748,
-0.0737021267414093,
0.020384930074214935,
0.03825319930911064,
0.06446239352226257,
-0.035700589418411255,
0.058098845183849335,
0.0025615983176976442,
0.04310675337910652,
-0.03535904362797737,
-0.0658285841345787,
0.006727566011250019,
0.07916686683893204,
-0.032626673579216,
-0.03154810518026352,
-0.03890034183859825,
0.04422127455472946,
-0.01688857190310955,
-0.03428047522902489,
-0.041381046175956726,
-0.00023930720635689795,
-0.04907482862472534,
0.011540674604475498,
-0.02549014985561371,
0.01867719739675522,
0.002399813150987029,
0.0195939801633358,
-0.02389027364552021,
-0.003864867612719536,
-0.019360290840268135,
0.07859162986278534,
0.028420258313417435,
0.024753129109740257,
-0.007424140814691782,
-0.044185321778059006,
-0.027413595467805862,
0.036635350435972214,
-0.000150409628986381,
-0.008709434419870377,
-0.03814534470438957,
-0.05554623529314995,
-0.040266528725624084,
0.05274195969104767,
0.08664494007825851,
0.02398015558719635,
-0.008304971270263195,
-0.002957073040306568,
0.018533388152718544,
0.01260126568377018,
-0.03543094918131828,
-0.04235175624489784,
0.02743157185614109,
-0.0016504332888871431,
-0.04094962030649185,
0.02910335175693035,
0.008821784518659115,
0.0006235469481907785,
0.04375389590859413,
-0.04684578999876976,
0.00508724432438612,
0.03043358400464058,
0.0257418155670166,
0.019054695963859558,
0.0075679500587284565,
0.063455730676651,
0.01616053842008114,
0.06751833856105804,
-0.031206557527184486,
0.00527599360793829,
0.00478164991363883,
-0.0069432794116437435,
0.0030581888277083635,
-0.00909592118114233,
-0.02985834889113903,
-0.024896938353776932,
-0.01438090205192566,
-0.011082283221185207,
0.023171229287981987,
-0.024699199944734573,
0.009716097265481949,
0.033255837857723236,
-0.02872585318982601,
-0.055474329739809036,
-0.009131873026490211,
0.0485355444252491,
-0.07025071233510971,
0.04461675137281418,
0.00923972949385643,
0.07866353541612625,
-0.015558338724076748,
-0.007702771108597517,
-0.037642013281583786,
-0.00470974575728178,
0.04094962030649185,
0.026568718254566193,
-0.0315660797059536,
-0.025615982711315155,
-0.012816979549825191,
-0.01894683949649334,
-0.05267005413770676,
-0.026155266910791397,
0.05047696828842163,
0.0004960288060829043,
0.020025406032800674,
-0.04314270615577698,
0.0038536323700100183,
-0.06047169491648674,
-0.034406308084726334,
-0.0022256693337112665,
-0.005496201105415821,
-0.004258095286786556,
-0.024483487010002136,
0.00029632524820044637,
-0.010048655793070793,
-0.023566704243421555,
0.027197882533073425,
0.00104991823900491,
0.05896170064806938,
0.08103638887405396,
-0.03517928346991539,
0.0283663310110569,
-0.01772446185350418,
-0.08491922914981842,
0.030559418722987175,
-0.015189828351140022,
0.051735296845436096,
0.0567326620221138,
0.046414364129304886,
-0.0427112802863121,
-0.04141699895262718,
0.032896313816308975,
-0.000480580551084131,
-0.001483030617237091,
0.012151862494647503,
0.04677388444542885,
0.030469536781311035,
0.04076986014842987,
0.035520829260349274,
-0.009329610504209995,
0.02509467490017414,
0.029265137389302254,
-0.00630063284188509,
-0.004127768334001303,
-0.05065672844648361,
-0.04939839988946915,
0.0007982524111866951,
-0.010489070788025856,
0.020690523087978363,
0.04163271188735962,
-0.03807343915104866,
0.021805044263601303,
0.007639854680746794,
-0.005626528058201075,
-0.09232539683580399,
-0.03481975942850113,
-0.02063659578561783,
0.02725180983543396,
-0.0043344940058887005,
0.008952111937105656,
0.02322515845298767,
-0.0195939801633358,
-0.05133982375264168,
-0.02910335175693035,
0.009024016559123993,
-0.02473515272140503,
0.040086764842271805,
0.033076073974370956,
-0.007248873822391033,
0.05507885664701462,
0.0225061122328043,
-0.007271343842148781,
-0.01367084588855505,
-0.04663007706403732,
-0.034945592284202576,
-0.016169527545571327,
-0.034100715070962906,
-0.008053305558860302,
-0.0171761903911829,
0.036994870752096176,
0.02424979768693447,
0.004795132204890251,
-0.0009701491799205542,
0.054647430777549744,
-0.029283111914992332,
-0.06514548510313034,
-0.032626673579216,
-0.04281913861632347,
-0.0161515511572361,
-0.042136043310165405,
-0.013266382738947868,
-0.0028649454470723867,
-0.024878961965441704,
-0.07938258349895477,
-0.01106430683284998,
0.017095297574996948,
-0.035143330693244934,
-0.022362302988767624,
-0.023476824164390564,
0.020384930074214935,
-0.03329179063439369,
-0.007154499180614948,
-0.015621255151927471,
0.024375630542635918,
0.02845621109008789,
-0.00037974570295773447,
0.023027420043945312,
0.00700170174241066,
-0.0032064919359982014,
-0.015432505868375301,
0.03593428060412407,
-0.018587317317724228,
0.016780715435743332,
-0.02901347167789936,
0.019665883854031563,
-0.06244906783103943,
0.02015123888850212,
-0.04389770328998566,
0.0010330656077712774,
-0.018030056729912758,
-0.027683237567543983,
-0.01867719739675522,
0.057164087891578674,
-0.010417166166007519,
0.023207182064652443,
0.03223119676113129,
-0.03269857540726662,
-0.014929174445569515,
0.01362590491771698,
0.008642023429274559,
-0.015657206997275352,
-0.03136834502220154,
-0.0024874466471374035,
0.0075454795733094215,
-0.011558650061488152,
-0.023854322731494904,
-0.030649298802018166,
0.03106275014579296,
0.015306673012673855,
0.010093595832586288,
-0.03282440826296806,
0.04497627168893814,
0.028294425457715988,
0.0317278653383255,
-0.0025368810165673494,
-0.050261255353689194,
-0.019468147307634354,
-0.012628230266273022,
-0.0023391437716782093,
-0.008655505254864693,
0.01930636167526245,
-0.008785832673311234,
-0.0075679500587284565,
-0.00415023835375905,
-0.017607618123292923,
0.09095920622348785,
-0.039978910237550735,
-0.004597394727170467,
-0.02565193548798561,
-0.007994882762432098,
-0.001592010841704905,
0.022362302988767624,
0.05871003493666649,
-0.030936917290091515,
0.08074876666069031,
-0.004678287543356419,
0.017787378281354904,
-0.03433440625667572,
0.004370446316897869,
0.04292699322104454,
0.07887925207614899,
0.06320406496524811,
-0.01986362226307392,
0.042028188705444336,
0.031044773757457733,
-0.0060804253444075584,
-0.029337041079998016,
0.006138847675174475,
0.04080580919981003,
0.011271032504737377,
0.02453741431236267,
0.07104165852069855,
-0.007976907305419445,
0.038684628903865814,
0.006471406202763319,
0.000020732233679154888,
-0.07621878385543823,
0.013068645261228085,
0.04778054729104042,
0.0026896782219409943,
-0.00155830557923764,
0.04227985441684723,
0.032806433737277985,
-0.14582234621047974,
-0.016735775396227837,
0.03135036677122116,
0.06428263336420059,
-0.009028510190546513,
0.06302430480718613,
-0.0386127233505249,
0.05177124962210655,
0.00527599360793829,
-0.012933824211359024,
0.017751427367329597,
-0.010758712887763977,
-0.020582666620612144,
-0.006421971600502729,
-0.04972197115421295,
-0.053532909601926804,
-0.006282656919211149,
-0.0011909184977412224,
-0.020600643008947372,
-0.0666554793715477,
0.02248813584446907,
0.0526341013610363,
-0.0982215628027916,
0.035700589418411255,
-0.008093751966953278,
0.011091271415352821,
0.02957073040306568,
0.039331767708063126,
-0.0036806121934205294,
0.02520253136754036,
0.014012391678988934,
0.042136043310165405,
-0.04814007133245468,
0.011019366793334484,
-0.009653180837631226,
-0.02566991187632084,
0.02297349087893963,
0.041560810059309006,
-0.07327070087194443,
0.036545466631650925,
0.0016504332888871431,
-0.023728489875793457,
0.02753942832350731,
-0.05698432773351669,
-0.054000288248062134,
-0.056588850915431976,
-0.00381543324328959,
0.02081635594367981,
-0.005397332366555929,
-0.045875079929828644,
-0.0010454242583364248,
-0.025058722123503685,
-0.0987967997789383,
0.06503763049840927,
0.05896170064806938,
0.014794353395700455,
-0.006660155486315489,
-0.013275370933115482,
0.022344326600432396,
-0.01125305611640215,
0.04303485155105591,
-0.04051819443702698,
0.034298453480005264,
-0.013149538077414036,
-0.000483108451589942,
0.007033159956336021,
0.07007094472646713,
0.005069267936050892,
0.038217246532440186,
-0.05928527191281319,
-0.034298453480005264,
-0.01558530330657959,
0.03329179063439369,
0.018587317317724228,
0.036167968064546585,
0.031224533915519714,
-0.026820383965969086,
-0.042028188705444336,
0.012529361061751842,
0.022937539964914322,
0.009635204449295998,
-0.019558027386665344,
-0.0004870407283306122,
0.0023863310925662518,
0.016843631863594055,
-0.05978860333561897,
-0.0006241087103262544,
0.01625042036175728,
-0.02322515845298767,
-0.02202075719833374,
-0.0020425375550985336,
-0.013383227400481701,
0.0005322619108483195,
-0.06611619889736176,
0.030865011736750603,
-0.039152007550001144,
-0.028204545378684998,
0.02259599231183529,
-0.02259599231183529,
-0.04012271761894226,
0.05267005413770676,
-0.007540985941886902,
0.03571856766939163,
-0.009257705882191658,
0.004633347038179636,
0.09951584786176682,
0.015576315112411976,
-0.04174057021737099,
-0.02230837568640709,
0.03983509913086891,
-0.00808026921004057,
-0.02538229338824749,
0.03201548382639885,
-0.00048198492731899023,
-0.03406476229429245,
-0.034478213638067245,
0.07643449306488037,
0.011396865360438824,
-0.06341978162527084,
0.004361458122730255,
0.07377403229475021,
-0.009500383399426937,
-0.006543310824781656,
-0.006134353578090668,
0.046809837222099304,
0.07035856693983078,
0.035233210772275925,
0.011127223260700703,
0.04109342768788338,
-0.005406320560723543,
-0.03591630235314369,
-0.010426154360175133,
0.007594914175570011,
0.03677915781736374,
0.007464587222784758,
0.010839605703949928,
0.012061982415616512,
-0.011190139688551426,
-0.09196586906909943,
0.04824792966246605,
-0.03472987934947014,
0.03517928346991539,
0.005082750227302313,
0.007150005083531141,
0.07729735225439072,
-0.02024112083017826,
-0.00839485228061676,
0.03395690768957138,
0.06852500140666962,
-0.0514836311340332,
-0.01670881174504757,
-0.023998131975531578,
0.041848424822092056,
0.022631945088505745,
0.04598293453454971,
-0.01110025867819786,
-0.0026537259109318256,
0.08822683990001678,
-0.0293909702450037,
-0.06536120176315308,
-0.04041033610701561,
0.031116677448153496,
0.004727721679955721,
-0.06489381939172745,
-0.03359738364815712,
-0.016448156908154488,
-0.0009605993400327861,
0.059321220964193344,
0.009145354852080345,
0.05662480369210243,
-0.02976846881210804,
0.020384930074214935,
-0.032986193895339966,
-0.04655817151069641,
-0.019737789407372475,
0.07801639288663864,
0.0011420458322390914,
-0.02407003566622734,
0.05906955525279045,
-0.07686592638492584,
-0.022254446521401405,
0.0029638141859322786,
-0.02910335175693035,
0.01176537573337555,
-0.02435765415430069,
-0.03604213520884514,
0.045299842953681946,
0.07240784168243408,
0.028887638822197914,
-0.042495567351579666,
0.034010834991931915,
-0.017526725307106972,
-0.011756387539207935,
-0.05267005413770676,
0.021121950820088387,
-0.038109391927719116,
-0.06658358126878738,
0.014201140962541103,
-0.0004069907881785184,
0.04684578999876976,
-0.05036910995841026,
0.040266528725624084,
-0.005833253730088472,
0.03911605477333069
]
|
31,491 | laspy.copc | __eq__ | null | import io
import multiprocessing
import os
import struct
from concurrent.futures import ThreadPoolExecutor
from dataclasses import dataclass
from math import ceil, log2
from operator import attrgetter
from queue import Queue, SimpleQueue
from threading import Thread
from typing import Dict, Iterator, List, Optional, Tuple, Union
try:
import requests
except ModuleNotFoundError:
requests = None
else:
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
try:
import lazrs
except ModuleNotFoundError:
lazrs = None
import numpy as np
from .compression import DecompressionSelection
from .errors import LaspyException, LazError
from .header import LasHeader
from .point.record import PackedPointRecord, ScaleAwarePointRecord
from .vlrs.known import BaseKnownVLR
DEFAULT_HTTP_WORKERS_NUM = multiprocessing.cpu_count() * 5
def requests_retry_session(
retries=3,
backoff_factor=0.3,
status_forcelist=(500, 502, 504),
session=None,
):
session = session or requests.Session()
retry = Retry(
total=retries,
read=retries,
connect=retries,
backoff_factor=backoff_factor,
status_forcelist=status_forcelist,
)
adapter = HTTPAdapter(max_retries=retry)
session.mount("http://", adapter)
session.mount("https://", adapter)
return session
| (self, other) | [
0.01773313246667385,
-0.04245086759328842,
-0.134492427110672,
0.10407059639692307,
-0.018703216686844826,
0.01409531757235527,
-0.07675303518772125,
-0.023126797750592232,
-0.044235821813344955,
-0.04986231029033661,
0.006582018919289112,
0.01712197996675968,
-0.03329327702522278,
0.04831017553806305,
-0.01310583297163248,
0.019944922998547554,
0.004418731667101383,
0.017577918246388435,
-0.029626360163092613,
-0.022893978282809258,
-0.00862889550626278,
0.05572161450982094,
0.007566653657704592,
0.07900362461805344,
-0.007168919313699007,
0.07015646249055862,
0.015472836792469025,
-0.021826885640621185,
-0.021943295374512672,
-0.0034146951511502266,
0.0305770430713892,
0.026929527521133423,
-0.055488795042037964,
0.00837667379528284,
0.002386406296864152,
0.0007366574136540294,
0.02011953853070736,
-0.000045700042392127216,
-0.09250719100236893,
-0.041170358657836914,
-0.05141444131731987,
-0.03564088046550751,
-0.02972336858510971,
-0.053859055042266846,
-0.011999936774373055,
0.009773594327270985,
-0.04299411550164223,
0.02436850592494011,
0.06018400192260742,
-0.02551320381462574,
-0.005611935164779425,
0.007508448790758848,
0.02702653594315052,
-0.01848979853093624,
0.02240893617272377,
0.05129803344607353,
-0.016743646934628487,
0.06495681405067444,
-0.01253348309546709,
-0.026483288034796715,
-0.015637751668691635,
-0.0014417871134355664,
0.009429214522242546,
0.06755663454532623,
-0.029606958851218224,
-0.020779196172952652,
-0.03372011333703995,
-0.008182656951248646,
-0.022699961438775063,
0.005413067527115345,
0.06231818348169327,
-0.018645010888576508,
-0.025746025145053864,
-0.0021220583003014326,
0.019391976296901703,
0.05742896348237991,
-0.01332895178347826,
-0.049629487097263336,
-0.02436850592494011,
-0.0035311051178723574,
0.02514457330107689,
-0.031062083318829536,
0.016113093122839928,
-0.02277756854891777,
0.051918886601924896,
-0.046098385006189346,
0.08032294362783432,
-0.014910188503563404,
-0.044585052877664566,
0.020682187750935555,
-0.06421954929828644,
0.04970709607005119,
-0.011185066774487495,
0.009899705648422241,
0.030751656740903854,
-0.023301413282752037,
-0.021477656438946724,
-0.015676554292440414,
-0.06546125560998917,
-0.055411189794540405,
0.002419146476313472,
0.003274032846093178,
-0.03622293099761009,
-0.012484978884458542,
-0.02044936642050743,
-0.019294967874884605,
-0.010864938609302044,
0.015133307315409184,
-0.004758261144161224,
-0.019683001562952995,
-0.03403054177761078,
0.02157466486096382,
-0.04761171340942383,
0.032614219933748245,
-0.029994992539286613,
0.011679809540510178,
-0.014444548636674881,
-0.015249717980623245,
-0.04904743656516075,
0.005025034304708242,
0.000354383751982823,
0.0070719108916819096,
-0.00540336687117815,
0.01736450009047985,
-0.032711226493120193,
0.013784890994429588,
0.045865561813116074,
0.026813117787241936,
-0.0013314400566741824,
-0.05766178295016289,
-0.013416259549558163,
0.037348225712776184,
0.003317686729133129,
0.05075478553771973,
0.002643478335812688,
0.002750187646597624,
-0.030324820429086685,
0.02630867250263691,
-0.055023156106472015,
-0.01255288440734148,
0.02159406617283821,
-0.03682438284158707,
-0.000803350645583123,
-0.011835022829473019,
0.03373951464891434,
-0.032653022557497025,
0.0011804708046838641,
-0.05009512975811958,
-0.019518086686730385,
-0.023398421704769135,
0.02623106725513935,
-0.02359243854880333,
-0.005558580160140991,
0.01975090615451336,
-0.020371761173009872,
-0.011689510196447372,
0.014192325994372368,
-0.016151895746588707,
-0.00351897906512022,
-0.026813117787241936,
-0.06992363929748535,
-0.016268305480480194,
-0.03368131071329117,
-0.07617098093032837,
-0.03397233411669731,
-0.006751783657819033,
-0.01119476743042469,
-0.018092064186930656,
-0.01253348309546709,
0.03783326968550682,
0.02704593725502491,
0.07706345617771149,
-0.01101045124232769,
0.025338590145111084,
-0.010641819797456264,
0.030053196474909782,
-0.012989422306418419,
0.02048817090690136,
0.01546313613653183,
-0.04070471599698067,
-0.03988984599709511,
-0.009438915178179741,
-0.045011889189481735,
-0.016598133370280266,
0.008924771100282669,
0.03981224074959755,
0.024581924080848694,
-0.01310583297163248,
0.02167167328298092,
0.0109910499304533,
-0.06662535667419434,
0.021497057750821114,
0.05106521397829056,
-0.00862889550626278,
0.006043622270226479,
-0.00010170722816837952,
-0.007207722868770361,
0.007464794907718897,
0.006242489442229271,
0.030984478071331978,
-0.02626986987888813,
0.06379271298646927,
0.03988984599709511,
-0.04105394706130028,
-0.07042808830738068,
-0.025008760392665863,
-0.03835711628198624,
-0.01103955414146185,
-0.038007885217666626,
0.05576041713356972,
-0.016336211934685707,
0.021788083016872406,
0.004685504827648401,
0.05901990085840225,
0.04357616603374481,
-0.03389472886919975,
-0.040006257593631744,
0.05071598291397095,
0.06266741454601288,
-0.03567968308925629,
0.06173613294959068,
-0.017461508512496948,
-0.025590810924768448,
0.00991910696029663,
-0.00025100918719545007,
0.013678181916475296,
0.07159218937158585,
0.00917214248329401,
-0.0077897729352116585,
-0.01799505576491356,
0.03835711628198624,
-0.0220791082829237,
0.04148078337311745,
-0.0029005506075918674,
0.04299411550164223,
-0.03930779546499252,
-0.015492239035665989,
0.03628113493323326,
0.006785736419260502,
-0.0008657998405396938,
0.016229502856731415,
-0.018615908920764923,
0.02547440119087696,
-0.01623920351266861,
-0.026153460144996643,
0.019809111952781677,
0.033079858869314194,
0.022544747218489647,
0.013542369939386845,
-0.008114751428365707,
0.029199523851275444,
-0.030712854117155075,
-0.03913317993283272,
-0.026056451722979546,
0.005616785492748022,
-0.10740768164396286,
0.03579609468579292,
-0.023767054080963135,
0.049629487097263336,
-0.012426774017512798,
0.002400957513600588,
-0.0028253691270947456,
-0.04881461709737778,
0.012611090205609798,
-0.04353736340999603,
0.017839841544628143,
-0.000716043112333864,
-0.026425084099173546,
0.013406558893620968,
0.031062083318829536,
0.0942145437002182,
0.030693452805280685,
-0.03086806647479534,
0.009254599921405315,
-0.017490610480308533,
0.009443766437470913,
-0.04167480021715164,
0.009351608343422413,
0.005519777070730925,
-0.019246462732553482,
0.03430216386914253,
-0.011951432563364506,
-0.0013290148926898837,
-0.009666885249316692,
-0.02747277356684208,
-0.030693452805280685,
-0.044274624437093735,
0.01950838603079319,
-0.0028277942910790443,
-0.02582363225519657,
-0.04753410816192627,
0.015414631925523281,
0.02859807200729847,
-0.053859055042266846,
0.03218737989664078,
0.022176116704940796,
-0.033448491245508194,
-0.03597070649266243,
0.037231817841529846,
0.0005568887572735548,
-0.02318500354886055,
-0.031935159116983414,
0.10391537845134735,
0.03930779546499252,
0.006577168125659227,
-0.06914757192134857,
0.0029757320880889893,
-0.025260983034968376,
-0.060921262949705124,
-0.004935301374644041,
0.013775190338492393,
0.046486418694257736,
0.021904492750763893,
-0.05009512975811958,
0.011679809540510178,
0.036882586777210236,
-0.01950838603079319,
0.03820190206170082,
0.00418833689764142,
0.02357303723692894,
-0.05180247500538826,
0.037716858088970184,
0.02941294200718403,
-0.004459960386157036,
-0.00119865988381207,
-0.02900550700724125,
0.07450243830680847,
-0.010758229531347752,
-0.0067808860912919044,
0.027899611741304398,
-0.042722493410110474,
0.003950666170567274,
-0.04051069915294647,
0.03618412837386131,
-0.040355488657951355,
0.04959068447351456,
-0.03290524333715439,
-0.016122793778777122,
0.048775814473629,
-0.03641694784164429,
0.04054950550198555,
-0.012640192173421383,
-0.03273062780499458,
0.025260983034968376,
-0.01432813797146082,
-0.025028163567185402,
0.04276129603385925,
0.039191387593746185,
0.012048440985381603,
0.0072465259581804276,
-0.0012047229101881385,
-0.013610276393592358,
-0.021438851952552795,
0.12494679540395737,
0.03641694784164429,
0.014250531792640686,
0.02087620459496975,
-0.054208286106586456,
0.03156652674078941,
-0.034981220960617065,
-0.018906934186816216,
-0.019353171810507774,
-0.02279696986079216,
0.02353423275053501,
0.04066591337323189,
-0.05261734500527382,
0.04974589869379997,
-0.024872949346899986,
0.055488795042037964,
0.0007657599053345621,
-0.0378720723092556,
-0.046486418694257736,
-0.03538865968585014,
0.02508636750280857,
-0.0034971521236002445,
0.010535110719501972,
-0.01605488732457161,
-0.018742019310593605,
-0.05087119713425636,
0.045477528125047684,
0.032653022557497025,
-0.022738764062523842,
0.028830891475081444,
-0.04148078337311745,
0.019459880888462067,
-0.018984541296958923,
0.0007512086885981262,
0.02042996510863304,
0.06402553617954254,
0.04144198074936867,
0.030809862539172173,
0.014192325994372368,
0.04869820922613144,
-0.011097759008407593,
-0.0081293024122715,
-0.0016321660950779915,
-0.006625672336667776,
0.05416947975754738,
-0.005835054442286491,
-0.07151457667350769,
-0.024620726704597473,
0.021031416952610016,
-0.040394291281700134,
0.044585052877664566,
-0.01160220243036747,
0.005519777070730925,
0.08171986043453217,
-0.05323820188641548,
0.01078733243048191,
0.03205157071352005,
-0.0036450899206101894,
-0.028384651988744736,
0.008478532545268536,
-0.08117661625146866,
-0.0667029619216919,
0.01368788257241249,
-0.025028163567185402,
0.006092126481235027,
0.05362623557448387,
0.02900550700724125,
0.060921262949705124,
0.01965389773249626,
-0.003038787515833974,
0.05944673717021942,
-0.03129490464925766,
-0.015889972448349,
-0.0005732589052058756,
-0.011980535462498665,
-0.04369257390499115,
-0.015919076278805733,
-0.011718613095581532,
0.005500375293195248,
-0.010311990976333618,
-0.032517209649086,
0.03604831546545029,
0.0012338253436610103,
-0.037290021777153015,
0.06712979823350906,
0.007290179841220379,
0.007401739712804556,
0.024562522768974304,
0.01234916690737009,
-0.002409445820376277,
0.015016897581517696,
0.08311678469181061,
-0.006785736419260502,
-0.05960195139050484,
-0.012514081783592701,
-0.038900360465049744,
0.015249717980623245,
-0.04555513709783554,
-0.01101045124232769,
0.04179121181368828,
0.02196269854903221,
-0.07139816880226135,
0.02935473620891571,
-0.007717016618698835,
-0.02044936642050743,
-0.06460758298635483,
-0.00043320306576788425,
0.05576041713356972,
-0.03348729386925697,
0.06340467929840088,
0.029820377007126808,
-0.04524470865726471,
0.012882713228464127,
0.03205157071352005,
0.0371348075568676,
-0.017878644168376923,
-0.051957689225673676,
0.03337088227272034,
0.018053259700536728,
0.004556968808174133,
-0.03977343812584877,
-0.0066790273413062096,
0.03051883727312088,
-0.012523782439529896,
0.0023948943708091974,
0.015220615081489086,
-0.03218737989664078,
-0.009594129398465157,
-0.10088872164487839,
0.09111027419567108,
0.01891663484275341,
-0.02972336858510971,
-0.045749153941869736,
0.03872574493288994,
0.04260608181357384,
0.029917385429143906,
-0.022137312218546867,
-0.04520590603351593,
0.053199395537376404,
-0.004668528214097023,
0.08133182674646378,
0.03319626674056053,
0.029218925163149834,
0.0002796569897327572,
0.025726623833179474,
0.050250343978405,
-0.06938039511442184,
0.026425084099173546,
-0.014347540214657784,
-0.006058173719793558,
-0.024931155145168304,
0.0731443241238594,
0.050405554473400116,
0.015026598237454891,
0.007057359907776117,
-0.0023039490915834904,
0.009681436233222485,
-0.04392539709806442,
-0.016889158636331558,
-0.005155995488166809,
-0.0013811568496748805,
-0.0417524091899395,
0.05071598291397095,
0.007275628857314587,
0.03372011333703995,
-0.05673050135374069,
-0.020216546952724457,
0.0655776634812355,
0.06018400192260742,
0.07450243830680847,
-0.04159719496965408,
-0.03513643518090248,
0.03950181230902672,
0.007324133068323135,
0.0014466375578194857,
-0.002082042396068573,
0.0779559388756752,
-0.018596507608890533,
0.003567483276128769,
-0.027899611741304398,
-0.04326573759317398,
0.06530604511499405,
0.030266614630818367,
-0.020235948264598846,
-0.01828608103096485,
-0.003708145348355174,
-0.07675303518772125,
0.001310825813561678,
0.02322380617260933,
0.011359681375324726,
-0.04373138025403023,
-0.053897857666015625,
-0.007847977802157402,
0.0059320623986423016,
0.08094379305839539,
0.016714544966816902,
-0.041519585996866226,
0.046098385006189346,
0.0019268289906904101,
0.044662658125162125,
-0.04528351128101349,
-0.060106392949819565,
-0.0347290001809597,
0.011679809540510178,
-0.051181621849536896,
-0.0012229118729010224,
-0.0096523342654109,
0.016394415870308876,
0.0017643399769440293,
0.009366159327328205,
-0.03282763808965683,
-0.03521404415369034,
-0.025260983034968376,
0.004377503413707018,
0.050444360822439194,
0.024135686457157135,
-0.014929589815437794,
0.05960195139050484,
0.028093626722693443,
0.004013721831142902,
-0.02776379883289337,
-0.010923143476247787,
0.013775190338492393,
-0.006562617141753435,
-0.006101827137172222,
0.03855113312602043,
-0.00733383372426033,
0.04225685074925423,
-0.008895669132471085,
0.0035456563346087933,
-0.1025184616446495,
0.011514894664287567,
0.03895856812596321,
-0.009429214522242546,
0.013212542049586773,
0.006208536680787802,
0.04442983865737915,
-0.05447990819811821,
0.043071720749139786,
-0.011980535462498665,
-0.02553260698914528,
0.021458255127072334,
0.036940790712833405,
-0.00351897906512022,
0.03426336124539375,
0.010942545719444752,
0.037290021777153015,
-0.07267867773771286,
0.017704030498862267,
-0.06662535667419434,
-0.046098385006189346,
-0.0028471960686147213,
-0.046990860253572464,
-0.0681774914264679,
0.034981220960617065,
0.02555200830101967,
0.005238452460616827,
0.02508636750280857,
0.0006542002665810287,
0.04295531287789345,
0.010282889008522034,
0.002261508023366332,
0.008041994646191597,
-0.08311678469181061,
0.04590436816215515,
0.05529477819800377,
-0.0533934123814106,
0.005825353320688009,
-0.026890723034739494,
-0.02892789989709854,
-0.011873826384544373,
-0.033778317272663116,
-0.0008318469044752419,
0.024465514346957207,
-0.018848728388547897,
0.015220615081489086,
0.029859179630875587,
0.01701527088880539,
0.01779133826494217,
0.07329953461885452,
0.004549693316221237,
0.05184128135442734,
0.010554512031376362,
0.03503942862153053,
0.009492270648479462,
0.020623981952667236,
0.009157591499388218,
0.03290524333715439,
-0.015143008902668953,
-0.025590810924768448,
-0.06033921241760254,
-0.006160032469779253,
0.0017558516701683402,
0.03199336305260658,
0.012843909673392773,
0.09964700788259506,
0.08994617313146591,
-0.013658780604600906,
0.030053196474909782,
0.01983821392059326,
-0.01985761523246765,
0.00309941777959466,
0.00878410879522562,
-0.048154961317777634,
0.03127550333738327,
0.046253595501184464,
-0.03133370727300644,
-0.03015020489692688,
-0.031217297539114952,
0.007959538139402866,
-0.004120430909097195,
-0.030402427539229393,
-0.013881899416446686,
0.006223087664693594,
-0.024853548035025597,
0.02085680142045021,
0.02277756854891777,
-0.0013459912734106183,
-0.05607084557414055,
0.012814807705581188,
0.03503942862153053,
0.024950556457042694,
-0.01583176851272583,
-0.051608458161354065,
-0.060106392949819565,
-0.0389779694378376,
0.009409813210368156,
0.015172110870480537,
0.04605957865715027,
-0.06534484773874283,
0.04225685074925423,
-0.014890787191689014,
0.021885091438889503,
0.018150268122553825,
-0.005131743382662535,
-0.021904492750763893,
-0.03294404596090317,
0.027686191722750664,
0.04629240185022354,
0.02044936642050743,
0.024562522768974304,
-0.08536737412214279,
-0.03777506574988365,
0.0030460632406175137,
-0.037309423089027405,
0.029199523851275444,
-0.04908624291419983,
0.01683095470070839,
-0.02246714197099209,
-0.03166353702545166,
-0.006397702731192112,
-0.004297471139580011,
0.06813868880271912,
-0.04706846550107002,
0.026968330144882202,
-0.0011659194715321064,
0.010612716898322105,
0.05219050869345665,
-0.016151895746588707,
0.05913630872964859,
-0.008502785116434097,
-0.031159091740846634,
0.06767304986715317,
-0.014221428893506527,
0.004712182097136974,
-0.024853548035025597,
0.05149205029010773,
-0.03597070649266243,
0.02852046489715576,
0.04454625025391579,
0.016986167058348656,
-0.03866754099726677,
-0.011505194008350372,
-0.01620039902627468,
0.008308768272399902,
0.04842658340930939,
0.07066090404987335,
0.035699084401130676,
0.05494554713368416,
-0.06767304986715317,
-0.006601420231163502,
-0.007018556352704763,
-0.07919764518737793,
0.03156652674078941,
-0.014289334416389465,
0.007358085829764605,
0.023476028814911842,
0.0014490627218037844,
-0.08334960043430328,
-0.045322317630052567,
-0.01007917057722807,
-0.025629615411162376,
0.03538865968585014,
0.011563398875296116,
-0.0039118630811572075,
0.014784077182412148,
-0.01781073957681656,
0.0711265429854393,
-0.04202403128147125,
-0.04431343078613281,
0.03932719677686691,
0.004957128316164017,
-0.05059957131743431,
0.02083740010857582,
-0.011146263219416142,
0.0018213323783129454,
-0.04334334656596184,
-0.05304418504238129,
-0.0533934123814106,
-0.035330452024936676,
0.04070471599698067,
-0.03831830993294716,
-0.011291775852441788,
-0.03988984599709511,
0.02363124117255211
]
|
31,493 | laspy.copc | __repr__ | null | def __hash__(self):
return hash((self.level, self.x, self.y, self.z))
| (self) | [
0.02070835418999195,
-0.03196580335497856,
0.012520357966423035,
0.07922032475471497,
-0.006481815129518509,
-0.04867634177207947,
-0.060151245445013046,
0.0010287268087267876,
-0.0345250740647316,
0.027382532134652138,
-0.026194896548986435,
-0.022163625806570053,
-0.011985084973275661,
0.02273235283792019,
-0.039342526346445084,
-0.038305435329675674,
-0.019420353695750237,
0.012921812012791634,
-0.0326683484017849,
-0.020758535712957382,
0.011048358865082264,
0.024789806455373764,
0.04252070561051369,
0.07687851041555405,
0.0059967245906591415,
-0.002927271416410804,
0.06175706163048744,
0.012930176220834255,
0.0677119717001915,
-0.002320908010005951,
-0.10109958797693253,
0.02785089612007141,
0.007836723700165749,
0.04426034167408943,
-0.02907198667526245,
-0.08122760057449341,
0.003456271020695567,
0.04606688767671585,
-0.04606688767671585,
-0.00018217036267742515,
0.03539489209651947,
0.00930872280150652,
-0.009910904802381992,
0.012085448950529099,
0.04850906878709793,
0.0009633859153836966,
0.019286535680294037,
0.0027913623489439487,
-0.017295992001891136,
-0.06473451852798462,
-0.00877345073968172,
-0.01471162959933281,
0.04245379939675331,
0.02182907983660698,
-0.0030715439934283495,
0.02047417312860489,
0.06031851842999458,
0.001004681340418756,
-0.009492723271250725,
0.017597083002328873,
-0.014268357306718826,
0.036599256098270416,
0.03703416511416435,
-0.036632709205150604,
-0.025425443425774574,
-0.059649426490068436,
-0.07768141478300095,
0.05054979398846626,
0.013666175305843353,
0.04891052097082138,
0.0010193176567554474,
0.004846725147217512,
0.06607269495725632,
-0.017847992479801178,
-0.004817452281713486,
0.031129440292716026,
0.033203620463609695,
0.03407343849539757,
0.06299488246440887,
-0.018199265003204346,
-0.0339898020029068,
-0.06674178689718246,
0.026914170011878014,
0.020373808220028877,
-0.05807706341147423,
0.02639562450349331,
0.0693177878856659,
0.006251815240830183,
-0.012528721243143082,
-0.015213447622954845,
-0.04312288761138916,
0.06025160849094391,
-0.027549805119633675,
-0.010421086102724075,
0.016183629631996155,
-0.03042689524590969,
-0.0019581355154514313,
-0.022631989791989326,
0.06075342744588852,
-0.007966360077261925,
0.005227270070463419,
-0.0009241813677363098,
-0.032300349324941635,
0.011081812903285027,
-0.04449452459812164,
-0.01496253814548254,
0.009576358832418919,
-0.029941804707050323,
-0.043189797550439835,
0.030477076768875122,
-0.0168610829859972,
0.07587487250566483,
0.002291635377332568,
0.02318398840725422,
-0.0003455225669313222,
-0.054898884147405624,
-0.03489307314157486,
-0.0006654314929619431,
-0.011918175965547562,
0.002125408034771681,
0.02015635371208191,
0.03375561907887459,
-0.039710525423288345,
0.05857888236641884,
0.017864719033241272,
0.009810540825128555,
0.020825445652008057,
-0.012971993535757065,
-0.05235633999109268,
-0.016735628247261047,
0.02626180648803711,
0.022581808269023895,
-0.013666175305843353,
0.04533088952302933,
0.004050089046359062,
-0.03673307225108147,
0.06526979058980942,
-0.01799853704869747,
0.026462532579898834,
0.04887706786394119,
0.036097437143325806,
0.012721084989607334,
0.0472712516784668,
-0.0046041798777878284,
0.02070835418999195,
0.030911985784769058,
-0.017747627571225166,
-0.000999454059638083,
-0.004357452504336834,
-0.0017594991950318217,
0.06607269495725632,
-0.008898904547095299,
0.024655988439917564,
0.014427266083657742,
-0.05519997328519821,
-0.043925799429416656,
-0.03064434975385666,
-0.06674178689718246,
0.021093081682920456,
-0.0030004531145095825,
-0.0032513621263206005,
-0.0032952711917459965,
0.00990254059433937,
-0.028486531227827072,
-0.019420353695750237,
-0.0020605898462235928,
0.009300359524786472,
-0.020507626235485077,
-0.024873442947864532,
-0.013891993090510368,
-0.043423980474472046,
-0.03032653033733368,
-0.08410468697547913,
0.061857424676418304,
-0.0009372495696879923,
-0.000999454059638083,
-0.036866892129182816,
0.02698107808828354,
0.009760359302163124,
-0.015514538623392582,
-0.00805835984647274,
-0.0756741464138031,
-0.0011479085078462958,
0.033203620463609695,
0.027700351551175117,
-0.013256357051432133,
0.082298144698143,
-0.006958542391657829,
0.007263814564794302,
0.0040814527310431,
-0.05881306156516075,
-0.04556506872177124,
-0.02684726007282734,
-0.006527815014123917,
0.06299488246440887,
0.024103987962007523,
-0.020373808220028877,
-0.03024289570748806,
-0.017346173524856567,
0.05623706430196762,
-0.0578763373196125,
-0.0831010490655899,
0.000005754081030318048,
-0.040479980409145355,
-0.02820216864347458,
0.01159199420362711,
0.029623985290527344,
-0.012085448950529099,
0.03348798304796219,
0.013791630044579506,
0.014042538590729237,
-0.035963620990514755,
0.011441449634730816,
0.039074890315532684,
0.03703416511416435,
-0.07045523822307587,
-0.06640724092721939,
-0.011901449412107468,
0.01993889920413494,
0.051419612020254135,
0.03295271098613739,
-0.029858168214559555,
-0.025642897933721542,
0.011106903664767742,
-0.03676652908325195,
-0.005427997559309006,
0.032885801047086716,
0.0427548885345459,
-0.04914470389485359,
-0.057341065257787704,
0.028720714151859283,
-0.01563999243080616,
0.025391988456249237,
-0.007305632811039686,
-0.03552871197462082,
0.013206175528466702,
-0.015464356169104576,
0.005210543051362038,
0.0036130892112851143,
0.0007067269179970026,
0.0036569982767105103,
-0.004742179531604052,
0.10685376822948456,
0.036632709205150604,
0.02933962270617485,
-0.01794835552573204,
0.025927260518074036,
0.06710978597402573,
0.005427997559309006,
-0.01776435598731041,
-0.05346033722162247,
0.022364353761076927,
-0.05379488319158554,
0.0315978042781353,
0.03273525834083557,
-0.059649426490068436,
0.022096717730164528,
0.005699815694242716,
0.02044071815907955,
-0.025609442964196205,
-0.0653366968035698,
-0.03032653033733368,
0.024739624932408333,
-0.0000203700183192268,
-0.017245810478925705,
0.0010449313558638096,
0.0187178086489439,
0.07065596431493759,
-0.06439997255802155,
0.03485962003469467,
0.06245960667729378,
-0.02684726007282734,
-0.017881445586681366,
0.04218616336584091,
-0.022130170837044716,
-0.015974538400769234,
0.05519997328519821,
-0.008455632254481316,
0.002129589905962348,
0.03163125738501549,
0.04389234259724617,
0.03119634836912155,
-0.01993889920413494,
-0.01776435598731041,
-0.02833598665893078,
0.03499343991279602,
-0.013942175544798374,
0.00019785217591561377,
0.007962178438901901,
-0.036365073174238205,
-0.03542834520339966,
0.02878762222826481,
-0.05804361030459404,
-0.01469490211457014,
0.07982251048088074,
-0.011056722141802311,
-0.025291625410318375,
0.025509078055620193,
0.04767270386219025,
0.05596942827105522,
-0.06774542480707169,
-0.01638435572385788,
0.03924216330051422,
-0.04051343724131584,
-0.036097437143325806,
0.006590542383491993,
0.020490899682044983,
0.0067703602835536,
0.03720143809914589,
-0.003107089549303055,
0.04352434352040291,
0.10103268176317215,
0.012311266735196114,
0.05021524801850319,
0.03489307314157486,
-0.013799993321299553,
-0.003581725526601076,
-0.009317086078226566,
-0.013582538813352585,
0.11555194854736328,
-0.04315634444355965,
-0.008589450269937515,
-0.01826617307960987,
0.026730168610811234,
0.04185161739587784,
-0.06938469409942627,
0.02105962671339512,
-0.03219998627901077,
0.043557796627283096,
0.011198903433978558,
-0.07707923650741577,
-0.016978174448013306,
0.06259342283010483,
0.006322906352579594,
-0.03363852947950363,
0.01768071949481964,
0.04014543443918228,
0.04165089130401611,
0.014912356622517109,
-0.019637808203697205,
0.018500354140996933,
0.0037866346538066864,
-0.011265812441706657,
-0.011775994673371315,
0.005645452067255974,
-0.004708725027740002,
-0.01059672236442566,
0.011466540396213531,
-0.022180352360010147,
0.06761160492897034,
-0.007661087438464165,
-0.02305017039179802,
0.023033443838357925,
0.01489562913775444,
0.04904434084892273,
0.005549270194023848,
0.018634172156453133,
-0.05750833824276924,
-0.03783707320690155,
0.07901959866285324,
0.05801015347242355,
-0.07112433016300201,
-0.026930896565318108,
-0.01853380911052227,
0.016375992447137833,
-0.016233811154961586,
-0.0025299987755715847,
-0.026797078549861908,
0.007301451172679663,
-0.05456433817744255,
-0.053727973252534866,
-0.015129811130464077,
-0.04904434084892273,
-0.02169526182115078,
0.03910834714770317,
-0.00017655105330049992,
-0.009442540816962719,
0.06737742573022842,
-0.0082298144698143,
-0.06376433372497559,
0.037402164191007614,
0.02360217086970806,
-0.008288360200822353,
0.03278543800115585,
-0.03750252723693848,
0.053359974175691605,
0.03526107594370842,
0.012578902766108513,
0.053861793130636215,
0.08075923472642899,
-0.013774902559816837,
-0.019002173095941544,
0.07005378603935242,
-0.07935414463281631,
0.01032908633351326,
0.05563488230109215,
0.011834539473056793,
-0.007351632695645094,
-0.07386760413646698,
-0.0326516218483448,
0.00904108677059412,
-0.049479249864816666,
-0.00472545251250267,
-0.008141996338963509,
-0.010061449371278286,
-0.02463926188647747,
0.012051993981003761,
0.06162324547767639,
0.006159815471619368,
-0.069585420191288,
-0.08490759879350662,
0.01731271855533123,
0.015380719676613808,
-0.06644069403409958,
0.004930361174046993,
-0.06938469409942627,
0.03643198311328888,
-0.04058034345507622,
0.002538362517952919,
0.01794835552573204,
0.01925308257341385,
0.012553812004625797,
-0.05054979398846626,
0.03693380206823349,
-0.014987628906965256,
-0.0116839949041605,
-0.05583560839295387,
0.0427548885345459,
-0.019085809588432312,
0.04787343367934227,
-0.046133797615766525,
-0.03593016415834427,
0.06577160209417343,
-0.024221079424023628,
0.023518534377217293,
-0.02110980823636055,
0.005628724582493305,
-0.01916944608092308,
0.00758163258433342,
0.10471267998218536,
0.06202469766139984,
0.034240711480379105,
-0.006067815236747265,
0.006724360398948193,
0.015179992653429508,
-0.015539629384875298,
-0.011575267650187016,
-0.02581016905605793,
0.047170888632535934,
-0.0006706587737426162,
0.04941233992576599,
0.05402906611561775,
-0.02739926055073738,
-0.06202469766139984,
0.02007271721959114,
-0.014535993337631226,
-0.13716357946395874,
-0.017279265448451042,
0.007983087562024593,
-0.037000708281993866,
-0.020741809159517288,
0.028603622689843178,
0.01768071949481964,
0.024806533008813858,
-0.066909059882164,
-0.0855097770690918,
-0.007359996438026428,
-0.027516350150108337,
0.032066166400909424,
-0.0010130449663847685,
0.02713162451982498,
-0.012787993997335434,
-0.06450033187866211,
-0.012486902996897697,
-0.04094834625720978,
0.014795266091823578,
0.006950178649276495,
0.0014855902409180999,
-0.04064725339412689,
-0.05884651839733124,
-0.016417810693383217,
-0.017781082540750504,
0.024388352409005165,
-0.024170897901058197,
0.02928944118320942,
-0.005611997563391924,
-0.019520718604326248,
0.013582538813352585,
0.026780351996421814,
-0.012177448719739914,
-0.04017889127135277,
-0.023133806884288788,
-0.037903983145952225,
0.046903252601623535,
-0.023384716361761093,
0.02833598665893078,
0.0116839949041605,
-0.026479260995984077,
-0.06593887507915497,
-0.029623985290527344,
0.007485451176762581,
0.008254905231297016,
0.01627562940120697,
-0.009275268763303757,
0.00673690577968955,
0.01383344829082489,
0.0422196164727211,
-0.04359125345945358,
0.012043630704283714,
0.014586174860596657,
-0.020641444250941277,
-0.07279706001281738,
0.06553742289543152,
0.012537085451185703,
0.05376143008470535,
0.03917525336146355,
-0.04121598228812218,
-0.017346173524856567,
-0.027198532596230507,
0.023652352392673492,
0.021494535729289055,
0.009559632278978825,
0.04094834625720978,
-0.04546470567584038,
-0.013038902543485165,
0.029439985752105713,
0.010705449618399143,
-0.05275779217481613,
0.034157074987888336,
0.015598174184560776,
-0.04783997684717178,
-0.04901088774204254,
-0.06674178689718246,
0.0337221659719944,
-0.01957090012729168,
0.0602850615978241,
-0.032567985355854034,
-0.015782173722982407,
-0.005879633594304323,
-0.007472905796021223,
0.009944358840584755,
-0.05228943005204201,
0.052958521991968155,
-0.0770123302936554,
0.018316354602575302,
0.011633812449872494,
-0.006782906129956245,
-0.025124352425336838,
-0.04633452370762825,
-0.0034792711958289146,
0.040078528225421906,
-0.020725080743432045,
0.02273235283792019,
-0.06871560215950012,
0.07346614450216293,
-0.022447990253567696,
-0.0015869992785155773,
-0.020591262727975845,
0.007497996557503939,
0.043457433581352234,
0.018500354140996933,
0.009325450286269188,
0.02151126228272915,
-0.05429670214653015,
-0.07554032653570175,
-0.05352724716067314,
-0.0009508404764346778,
0.03653234615921974,
0.004340725019574165,
0.02703125961124897,
-0.05088433995842934,
0.09487704932689667,
0.010680358856916428,
0.004629270639270544,
0.0011395448818802834,
-0.012394903227686882,
-0.008865450508892536,
-0.017981810495257378,
0.009961086325347424,
-0.061087969690561295,
0.010755631141364574,
0.04288870841264725,
-0.007995632477104664,
0.025007260963320732,
0.008401269093155861,
0.016258900985121727,
0.02346835285425186,
0.043457433581352234,
-0.018199265003204346,
0.030761439353227615,
-0.014460720121860504,
-0.016309082508087158,
-0.015071265399456024,
-0.018701082095503807,
0.004024998284876347,
-0.03593016415834427,
0.034290894865989685,
-0.021912716329097748,
-0.024789806455373764,
-0.004813270643353462,
0.02025671862065792,
0.001938271801918745,
-0.03603052720427513,
0.020507626235485077,
-0.01390035729855299,
-0.02851998619735241,
0.024605806916952133,
-0.03703416511416435,
-0.02586035244166851,
-0.014109447598457336,
-0.0007830450776964426,
-0.0046125431545078754,
-0.004045907407999039,
-0.0833686888217926,
0.011600358411669731,
-0.006013451609760523,
-0.0024275442119687796,
0.056705426424741745,
-0.0185839906334877,
0.0379708930850029,
-0.07326541841030121,
0.012846539728343487,
-0.022397806867957115,
0.011056722141802311,
0.0009320222889073193,
-0.03619780018925667,
0.04466179758310318,
0.033287256956100464,
0.04064725339412689,
-0.009835631586611271,
-0.01145817618817091,
0.011349448934197426,
-0.00754817808046937,
-0.038539618253707886,
0.03991125524044037,
-0.03666616603732109,
0.00039230662514455616,
0.0034980892669409513,
-0.012378175742924213,
0.064801424741745,
-0.006628178525716066,
-0.0025969077832996845,
0.002118089934810996,
0.024304715916514397,
-0.03472580015659332,
0.013114175759255886,
0.01509635616093874,
-0.0035399075131863356,
0.005829451605677605,
-0.0671766921877861,
-0.027817441150546074,
0.011491631157696247,
-0.004905270412564278,
-0.009417450055480003,
-0.012386539950966835,
0.00958472304046154,
-0.010387631133198738,
-0.0005870224558748305,
0.00744781456887722,
-0.03362180292606354,
-0.04181816056370735,
0.06102106347680092,
-0.04017889127135277,
-0.014795266091823578,
0.038271982222795486,
-0.0009048404754139483,
0.03005889430642128,
-0.020775262266397476,
-0.016509810462594032,
0.03409016504883766,
-0.04787343367934227,
-0.025458896532654762,
-0.004150452557951212,
-0.0014448175206780434,
-0.047572340816259384,
-0.053995609283447266,
0.010412722826004028,
0.05951560661196709,
-0.0056914519518613815,
-0.010705449618399143,
0.014075993560254574,
0.03646543622016907,
-0.014594539068639278,
0.015138174407184124,
0.07714614272117615,
0.1176261231303215,
-0.041784707456827164,
-0.022882899269461632,
0.03465889394283295,
0.0004678406985476613,
-0.020173082128167152,
-0.05509961023926735,
-0.015966175124049187,
0.009191632270812988,
-0.025291625410318375,
-0.0011019086232408881,
-0.0047756340354681015,
0.03233380243182182,
0.036498893052339554,
-0.04887706786394119,
-0.027650168165564537,
0.010822540149092674,
-0.01152508519589901,
0.05513306334614754,
0.008673086762428284,
-0.03549525514245033,
-0.005139451939612627,
0.0272152591496706,
0.06051924452185631,
-0.01980508118867874,
-0.03512725606560707,
0.011709085665643215,
0.009860722348093987,
0.028051624074578285,
0.008949087001383305,
0.026245078071951866,
0.038941074162721634,
0.022180352360010147,
-0.018115628510713577,
0.008116905577480793,
-0.03308653086423874,
0.0017563628498464823,
0.01890181005001068,
0.024070534855127335,
-0.01620035618543625,
0.031982529908418655,
0.0663737878203392,
-0.04917815700173378,
-0.05249015614390373,
-0.0009858631528913975,
-0.019989080727100372,
0.026211624965071678,
-0.00965163204818964,
0.00868145003914833,
0.034106891602277756,
0.012779630720615387,
0.007464542053639889,
-0.010211994871497154,
-0.021310536190867424,
0.051285795867443085,
0.022180352360010147,
-0.03579634800553322,
-0.03539489209651947,
-0.017162173986434937,
0.02684726007282734,
0.002964907791465521,
-0.00045503387809731066,
0.08731631934642792,
-0.023267624899744987,
-0.09507777541875839,
0.03000871278345585,
0.053861793130636215,
0.0163258109241724,
-0.011299267411231995,
0.035327982157468796,
0.01051308587193489,
0.006218360736966133,
-0.008371995761990547,
0.05162033811211586,
-0.007493814453482628,
-0.048341795802116394,
-0.06192433461546898,
-0.02251489832997322,
0.023719262331724167,
-0.022297443822026253,
0.025559261441230774,
0.024354897439479828,
0.02052435465157032
]
|
31,494 | laspy.copc | ensure_3d | null | def ensure_3d(self, mins: np.ndarray, maxs: np.ndarray) -> "Bounds":
new_mins = np.zeros(3, dtype=np.float64)
new_maxs = np.zeros(3, dtype=np.float64)
new_mins[: len(self.mins)] = self.mins[:]
new_mins[len(self.mins) :] = mins[len(self.mins) :]
new_maxs[: len(self.maxs)] = self.maxs[:]
new_maxs[len(self.maxs) :] = maxs[len(self.maxs) :]
return Bounds(new_mins, new_maxs)
| (self, mins: numpy.ndarray, maxs: numpy.ndarray) -> laspy.copc.Bounds | [
-0.013799093663692474,
-0.012004864402115345,
-0.02529255859553814,
0.011744831688702106,
-0.06376013159751892,
0.039108987897634506,
-0.02198147028684616,
-0.008334062993526459,
-0.030475886538624763,
0.0189824216067791,
0.017344212159514427,
0.07960481941699982,
-0.047048669308423996,
-0.04035714641213417,
0.02706078439950943,
-0.0015428634360432625,
-0.000013340242730919272,
-0.05467630550265312,
0.02985180728137493,
0.000897114397957921,
-0.03337092325091362,
-0.015549982897937298,
0.024737821891903877,
0.0009220342617481947,
0.024789828807115555,
0.003443272551521659,
-0.04673662781715393,
0.03363095596432686,
0.0610211156308651,
0.005837744567543268,
-0.07967416197061539,
0.04403228312730789,
0.02062929794192314,
0.04281879588961601,
0.024859171360731125,
-0.09118496626615524,
0.06691519916057587,
-0.029418418183922768,
-0.04964900016784668,
0.02985180728137493,
-0.024737821891903877,
-0.038415566086769104,
0.0068432060070335865,
0.015402630902826786,
0.06178387999534607,
0.009976605884730816,
0.06434953957796097,
-0.007436948362737894,
-0.03560720756649971,
0.0028798673301935196,
0.014761216007173061,
-0.04056517407298088,
0.0714917853474617,
0.012264898046851158,
-0.05630584806203842,
0.025517921894788742,
0.006275467108935118,
0.08716312050819397,
-0.01717085763812065,
-0.06545901298522949,
-0.015766678377985954,
-0.0015092758694663644,
0.025933975353837013,
-0.09160101413726807,
-0.05582045391201973,
0.01332236547023058,
-0.06889145076274872,
-0.003935168497264385,
0.0006852957303635776,
0.03345759958028793,
-0.026748744770884514,
0.046840641647577286,
0.03383898362517357,
-0.03255615383386612,
0.049475643783807755,
0.011207429692149162,
0.05297742411494255,
0.03838089480996132,
-0.014033122919499874,
-0.03045855090022087,
-0.018531696870923042,
-0.01893041469156742,
-0.01034065242856741,
0.06136782839894295,
0.04042648896574974,
-0.02121870592236519,
-0.061541181057691574,
0.04503774270415306,
0.050827816128730774,
-0.07176915556192398,
-0.006132449023425579,
0.043512217700481415,
0.0027130127418786287,
0.035173818469047546,
0.012368910945951939,
0.04756873473525047,
0.002661006059497595,
-0.060743749141693115,
-0.00012737562065012753,
0.0032829188276082277,
0.029071707278490067,
-0.0435468889772892,
-0.03498312830924988,
0.010288645513355732,
-0.00996793806552887,
0.0010217136004939675,
0.018739722669124603,
-0.07000093162059784,
-0.06552835553884506,
0.01468320656567812,
0.024443117901682854,
0.024165749549865723,
0.034012340009212494,
0.07083303481340408,
-0.009915931150317192,
-0.018809065222740173,
-0.0024096406996250153,
-0.01946781575679779,
0.043581560254096985,
0.008052360266447067,
-0.04132793843746185,
-0.021062687039375305,
0.055577754974365234,
0.020195908844470978,
0.02829160913825035,
0.049475643783807755,
-0.024096406996250153,
0.010331984609365463,
-0.020161237567663193,
-0.03671668469905853,
0.04035714641213417,
-0.043026819825172424,
-0.06486960500478745,
-0.003607960185036063,
-0.011432791128754616,
0.010548679158091545,
-0.009759911336004734,
0.008212714456021786,
0.023853709921240807,
-0.013478386215865612,
-0.003391265869140625,
0.05204130336642265,
-0.004069519229233265,
0.039039645344018936,
-0.06948085874319077,
0.024668479338288307,
0.04850485175848007,
0.0033609287347644567,
-0.016832813620567322,
0.020386600866913795,
0.0007123825489543378,
-0.023281635716557503,
0.034359049052000046,
0.01349572092294693,
-0.04850485175848007,
-0.023992393165826797,
0.0003223327803425491,
-0.10491471737623215,
0.05828209966421127,
0.04850485175848007,
-0.07898074388504028,
0.016434095799922943,
-0.029279734939336777,
-0.0033977667335420847,
-0.003900497453287244,
-0.006947219371795654,
0.032122764736413956,
-0.10297313332557678,
-0.030891939997673035,
0.04288813844323158,
-0.0014908568700775504,
0.062234602868556976,
-0.04944097250699997,
-0.008386069908738136,
-0.024737821891903877,
-0.06698454171419144,
-0.014492515474557877,
-0.04718735069036484,
-0.003963338676840067,
-0.0028083582874387503,
0.0299211498349905,
-0.011458794586360455,
0.06930750608444214,
0.025136539712548256,
-0.02428709715604782,
0.03630062937736511,
-0.04361623153090477,
0.03316289559006691,
-0.032590825110673904,
-0.03158536180853844,
-0.0510011725127697,
0.008802122436463833,
-0.007068568374961615,
-0.005876749753952026,
0.00044124378473497927,
-0.0016847982769832015,
0.016538109630346298,
0.027563516050577164,
-0.015558650717139244,
-0.0008900718530640006,
-0.08952075242996216,
-0.010227970778942108,
-0.0006154118455015123,
-0.00868077389895916,
0.055924467742443085,
-0.038554251194000244,
0.027494173496961594,
-0.04743004962801933,
0.041882675141096115,
0.05141722410917282,
-0.019589165225625038,
0.021808115765452385,
-0.055855125188827515,
-0.04874755069613457,
-0.0037098065949976444,
0.0003193532465957105,
0.005482365842908621,
0.0024811497423797846,
-0.017664920538663864,
0.012082874774932861,
-0.025483250617980957,
-0.039837080985307693,
0.004780276212841272,
0.0041648647747933865,
-0.053150780498981476,
0.04014912247657776,
0.007918009534478188,
0.03396033123135567,
-0.013097004033625126,
-0.007510624825954437,
0.04545379802584648,
0.005742399021983147,
-0.03059723600745201,
-0.03477510064840317,
-0.01830633543431759,
-0.028933024033904076,
0.020386600866913795,
-0.05304676666855812,
0.08799522370100021,
-0.020490612834692,
0.007306932006031275,
-0.008286390453577042,
-0.022969596087932587,
0.04732603579759598,
0.051798608154058456,
0.005235334392637014,
-0.023160288110375404,
-0.022674892097711563,
0.04625123366713524,
0.060327693819999695,
-0.0437895841896534,
0.03127332031726837,
-0.056132491677999496,
0.023212293162941933,
0.022692227736115456,
0.0009946268983185291,
-0.006024101749062538,
-0.011580144055187702,
0.026228679344058037,
-0.03761813044548035,
0.003074892098084092,
0.0042558759450912476,
0.05959960073232651,
0.01295831985771656,
0.01386843528598547,
0.02556992881000042,
0.013131675310432911,
-0.010670027695596218,
-0.029609110206365585,
0.02035192959010601,
0.01278496440500021,
0.06258131563663483,
0.03427237272262573,
-0.06896079331636429,
0.03311089053750038,
0.03439372032880783,
0.051867950707674026,
-0.03616194427013397,
0.045211099088191986,
-0.0034042675979435444,
0.03520848974585533,
-0.016728799790143967,
-0.03581523522734642,
0.019034428521990776,
0.09277983009815216,
-0.01380776148289442,
-0.026402033865451813,
-0.062373287975788116,
0.01919044740498066,
-0.023628346621990204,
-0.04576583579182625,
-0.018965085968375206,
-0.010869386605918407,
-0.06393348425626755,
-0.0058464123867452145,
-0.019363803789019585,
0.01912110485136509,
0.014726544730365276,
0.0012871641665697098,
-0.009872592985630035,
-0.02447778917849064,
-0.06324006617069244,
0.06480026245117188,
0.05020373687148094,
0.03893563151359558,
-0.02205081284046173,
-0.058836836367845535,
-0.032521482557058334,
0.03371763229370117,
-0.010756704956293106,
-0.02829160913825035,
-0.033076219260692596,
-0.04205603152513504,
-0.02999049238860607,
0.04944097250699997,
0.10914459079504013,
0.015081923454999924,
-0.02976512908935547,
0.00635781092569232,
0.02198147028684616,
0.014839226379990578,
-0.05786604806780815,
-0.05370551720261574,
0.017474228516221046,
-0.03188006579875946,
-0.0363353006541729,
0.013443714939057827,
-0.0037249750457704067,
-0.006483493838459253,
0.028881017118692398,
-0.04455234855413437,
0.010652692057192326,
0.03838089480996132,
0.011675489135086536,
0.03803418576717377,
0.03643931448459625,
0.06570171564817429,
0.012429585680365562,
0.06906481087207794,
-0.03444572538137436,
0.0238710455596447,
-0.017725594341754913,
-0.014535853639245033,
0.00049595907330513,
-0.030285196378827095,
-0.010193300433456898,
0.002114936476573348,
-0.019086433574557304,
-0.028933024033904076,
-0.01809830777347088,
-0.02517121098935604,
-0.02361101098358631,
0.019641172140836716,
-0.005200663115829229,
-0.05907953530550003,
0.029557103291153908,
0.0370287224650383,
-0.04482971876859665,
0.04049583151936531,
-0.006990558467805386,
0.05318545177578926,
-0.0014724377542734146,
-0.010201968252658844,
-0.02834361605346203,
0.007441282272338867,
0.026956772431731224,
0.051451895385980606,
-0.045141756534576416,
-0.0023402986116707325,
-0.002546158153563738,
0.0030402210541069508,
-0.046701956540346146,
-0.017942288890480995,
0.044933732599020004,
-0.010982067324221134,
0.033544279634952545,
-0.06389881670475006,
-0.012897645123302937,
-0.040669187903404236,
-0.024183085188269615,
-0.040599845349788666,
-0.012854306027293205,
-0.014492515474557877,
-0.02733815275132656,
0.03498312830924988,
-0.03595392033457756,
-0.027147462591528893,
0.020161237567663193,
0.014995246194303036,
0.03689003735780716,
0.06812869012355804,
-0.030770590528845787,
0.05412156879901886,
-0.0017552238423377275,
-0.03900497406721115,
0.021669430658221245,
0.007853001356124878,
0.04857419431209564,
0.038692936301231384,
0.046840641647577286,
-0.04163997620344162,
-0.03250414505600929,
0.04576583579182625,
-0.00336526264436543,
-0.03240013122558594,
0.006552835926413536,
0.04056517407298088,
0.0402878038585186,
0.039351686835289,
0.04482971876859665,
0.019571829587221146,
0.055508412420749664,
0.030978618189692497,
-0.028985030949115753,
-0.003980674315243959,
-0.04836617037653923,
-0.053150780498981476,
0.02612466551363468,
-0.01173616386950016,
0.0023056273348629475,
0.04070385918021202,
-0.047048669308423996,
0.02754618041217327,
0.008542089723050594,
0.017006170004606247,
-0.05859414115548134,
-0.03439372032880783,
-0.010739369317889214,
0.02196413464844227,
-0.006999226287007332,
0.012030867859721184,
0.04361623153090477,
0.012273565866053104,
-0.04236806929111481,
-0.028881017118692398,
0.024651143699884415,
-0.025309894233942032,
0.06050105020403862,
-0.013279027305543423,
-0.018080972135066986,
0.04070385918021202,
-0.023350978270173073,
-0.02205081284046173,
-0.0016187065048143268,
-0.03430704399943352,
-0.0018809065222740173,
-0.029331741854548454,
-0.03980240970849991,
-0.0026783416979014874,
0.012871641665697098,
0.01655544526875019,
-0.0050489772111177444,
0.011640817858278751,
-0.011372117325663567,
0.06095177307724953,
-0.020577291026711464,
-0.05814341455698013,
-0.019155776128172874,
-0.04638991504907608,
-0.017049508169293404,
-0.025673940777778625,
-0.03222677856683731,
0.007545295637100935,
-0.017994295805692673,
-0.0759296864271164,
-0.005092316307127476,
-0.008035024628043175,
-0.032729506492614746,
-0.013183681294322014,
-0.029453089460730553,
0.0338909886777401,
-0.029470425099134445,
0.015419966541230679,
-0.03200141340494156,
0.011926854960620403,
-0.014267153106629848,
0.003748811548575759,
0.026263350620865822,
0.00268700928427279,
0.012750293128192425,
-0.004143195226788521,
0.04476037621498108,
-0.010852050967514515,
0.021738773211836815,
-0.02889835275709629,
0.02435643970966339,
-0.07509757578372955,
0.004446567036211491,
-0.03553786501288414,
0.003074892098084092,
0.002526655560359359,
-0.032036084681749344,
-0.003692470956593752,
0.07163047045469284,
-0.007497623097151518,
-0.0059590935707092285,
0.01919044740498066,
-0.040599845349788666,
-0.0229349248111248,
0.023506999015808105,
-0.009950602427124977,
-0.030683914199471474,
-0.03059723600745201,
0.0029730459209531546,
-0.0004688723129220307,
-0.017049508169293404,
-0.024113742634654045,
-0.04049583151936531,
0.034567076712846756,
-0.008100032806396484,
0.02510186843574047,
-0.01642542891204357,
-0.014631199650466442,
0.04580050706863403,
0.02801423892378807,
-0.02787555567920208,
-0.027286147698760033,
-0.014778551645576954,
-0.027286147698760033,
-0.00817370880395174,
-0.010869386605918407,
0.011788169853389263,
-0.0558897964656353,
-0.0025591596495360136,
-0.01627807691693306,
-0.033873654901981354,
0.07093704491853714,
-0.04274945333600044,
0.00391566613689065,
-0.025933975353837013,
0.02354166842997074,
-0.009135832078754902,
0.016295412555336952,
0.03616194427013397,
-0.02501519024372101,
0.055716440081596375,
0.012377578765153885,
0.027788877487182617,
-0.024789828807115555,
-0.0032027417328208685,
0.0338909886777401,
0.05779670551419258,
0.048678208142519,
0.0003068933147005737,
0.020265251398086548,
0.014397169463336468,
-0.012204223312437534,
-0.02272689901292324,
-0.007194250822067261,
0.03486178070306778,
-0.002970878966152668,
0.015229275450110435,
0.06826737523078918,
-0.011606146581470966,
0.043373532593250275,
-0.001962166978046298,
0.0121088782325387,
-0.07482021301984787,
-0.024859171360731125,
0.039317015558481216,
-0.00012886538752354681,
-0.031498685479164124,
0.07090237736701965,
0.05907953530550003,
-0.1366734355688095,
-0.020663969218730927,
0.020941337570548058,
0.07502823323011398,
-0.011112083680927753,
0.060258351266384125,
-0.037271421402692795,
0.08106100559234619,
0.0031442344188690186,
0.023437656462192535,
0.029591774567961693,
-0.037340763956308365,
-0.029331741854548454,
-0.009733907878398895,
-0.03167203813791275,
-0.030285196378827095,
0.029730457812547684,
-0.005673056934028864,
-0.03744477778673172,
-0.04434432089328766,
0.026402033865451813,
0.057415321469306946,
-0.08154640346765518,
0.05540439859032631,
-0.031706709414720535,
0.024911176413297653,
0.046285904943943024,
0.0519372895359993,
-0.032053422182798386,
0.03406434506177902,
0.0010720951249822974,
0.044378992170095444,
-0.02517121098935604,
0.007172581739723682,
-0.021686766296625137,
-0.006050105206668377,
0.00007462409848812968,
0.057415321469306946,
-0.0726706013083458,
0.043442875146865845,
-0.006128115113824606,
-0.030163846909999847,
0.05228400230407715,
-0.058906178921461105,
-0.06119447201490402,
-0.04205603152513504,
0.0010791376698762178,
-0.000470768369268626,
-0.016130724921822548,
-0.027511509135365486,
-0.014700541272759438,
-0.022154826670885086,
-0.08598429709672928,
0.04021846130490303,
0.07468152791261673,
0.02834361605346203,
0.00034914870047941804,
-0.039247673004865646,
0.027788877487182617,
0.0015320287784561515,
0.034688424319028854,
-0.02990381419658661,
0.025691276416182518,
0.028915688395500183,
-0.0023402986116707325,
-0.0011972360080108047,
0.05370551720261574,
0.000973499147221446,
0.03409901633858681,
-0.030302532017230988,
-0.01912110485136509,
0.03695937991142273,
0.04576583579182625,
0.014353830367326736,
0.06258131563663483,
0.01919044740498066,
0.03018118254840374,
-0.05644453316926956,
0.032937534153461456,
0.014631199650466442,
0.02231084555387497,
-0.009707904420793056,
0.012325571849942207,
0.006773863919079304,
0.008217047899961472,
-0.0426107682287693,
-0.01074803713709116,
0.011302774772047997,
-0.040391817688941956,
-0.0437895841896534,
0.00929185189306736,
-0.03782615810632706,
-0.021686766296625137,
-0.07391875982284546,
0.024997854605317116,
-0.05432959645986557,
-0.039837080985307693,
0.02123604156076908,
-0.008893134072422981,
-0.03404700756072998,
0.0458698496222496,
0.0015807849122211337,
0.028378285467624664,
0.01844501867890358,
0.01074803713709116,
0.0947907567024231,
-0.003230912145227194,
-0.055439069867134094,
-0.008819458074867725,
0.033405594527721405,
-0.0040218462236225605,
0.01535929273813963,
0.03328424692153931,
0.021132027730345726,
-0.014085129834711552,
-0.020525284111499786,
0.03782615810632706,
0.00128391373436898,
-0.07065968215465546,
0.015827352181077003,
0.05838611349463463,
-0.02075064741075039,
-0.03737543523311615,
0.012056871317327023,
0.021652095019817352,
0.09576154500246048,
0.01872238889336586,
0.003841990139335394,
0.03671668469905853,
-0.016382088884711266,
-0.028187595307826996,
-0.01736154779791832,
0.015047252178192139,
0.047048669308423996,
0.018601039424538612,
0.04593919217586517,
0.015697335824370384,
-0.00040521836490370333,
-0.11933788657188416,
0.009127164259552956,
-0.0028278606478124857,
0.020091896876692772,
0.04281879588961601,
0.017890281975269318,
0.021080022677779198,
-0.014665870927274227,
0.007016561459749937,
0.0458698496222496,
0.05412156879901886,
-0.039039645344018936,
-0.020265251398086548,
-0.029591774567961693,
0.028100917115807533,
0.0012622443027794361,
0.05086248740553856,
-0.022692227736115456,
0.0006013266975060105,
0.06518165022134781,
-0.03779148682951927,
-0.06629112362861633,
-0.008650436997413635,
0.01336570456624031,
-0.022969596087932587,
-0.042160045355558395,
-0.017924953252077103,
-0.011831508949398994,
0.012871641665697098,
0.05717262625694275,
0.009144499897956848,
0.038762278854846954,
-0.03311089053750038,
0.017006170004606247,
0.00610644556581974,
-0.028603648766875267,
-0.03064924292266369,
0.05228400230407715,
-0.01221289113163948,
-0.007774991448968649,
0.04853952303528786,
-0.06996625661849976,
-0.024581801146268845,
0.0011506467126309872,
-0.04118925333023071,
-0.004754273220896721,
-0.02896769531071186,
-0.03474042937159538,
0.05668723210692406,
0.0838346928358078,
0.038276880979537964,
-0.02740749530494213,
0.010496672242879868,
-0.02664473094046116,
-0.01906909979879856,
-0.021530745550990105,
0.03167203813791275,
-0.01858370378613472,
-0.02061196230351925,
0.008628766983747482,
-0.018080972135066986,
0.055508412420749664,
-0.04836617037653923,
0.04115458205342293,
0.0034151021391153336,
0.03349227085709572
]
|
31,495 | laspy.copc | overlaps | null | def overlaps(self, other: "Bounds") -> bool:
return bool(np.all((self.mins <= other.maxs) & (self.maxs >= other.mins)))
| (self, other: laspy.copc.Bounds) -> bool | [
0.03913388401269913,
-0.01141691580414772,
-0.030296092852950096,
0.032256223261356354,
-0.06881098449230194,
-0.0034022924955934286,
-0.00767718767747283,
0.020495425909757614,
-0.03827417641878128,
-0.006095326039940119,
0.008506805635988712,
-0.01167482789605856,
0.07004896551370621,
-0.00667562847957015,
-0.0015227568801492453,
0.021423909813165665,
-0.020890891551971436,
-0.053439415991306305,
0.03057119809091091,
-0.010591596364974976,
-0.04432651773095131,
-0.0368642583489418,
0.0009779172251001,
-0.03638282045722008,
0.02778574638068676,
0.07751122862100601,
-0.04322609305381775,
-0.018002275377511978,
-0.020650174468755722,
0.04288221150636673,
-0.057875506579875946,
-0.03382089361548424,
0.04800606518983841,
-0.02082211524248123,
0.05646558851003647,
-0.022782249376177788,
0.012766656465828419,
0.013282480649650097,
-0.06289619952440262,
0.024622023105621338,
-0.023624761030077934,
-0.07083989679813385,
-0.001397024723701179,
0.008579880930483341,
0.059147875756025314,
-0.025808418169617653,
0.011365332640707493,
0.016841670498251915,
0.04202250391244888,
0.0312761589884758,
0.0035720847081393003,
-0.035763829946517944,
0.0009542753105051816,
0.013944455422461033,
-0.06409978866577148,
0.07716734707355499,
0.008704538457095623,
0.0994509607553482,
-0.02099405601620674,
-0.05488372594118118,
-0.022335201501846313,
0.0022051497362554073,
0.03051961585879326,
-0.07792388647794724,
-0.010419654659926891,
-0.01434851810336113,
-0.06055779382586479,
-0.03700181096792221,
-0.013523198664188385,
0.04893454909324646,
-0.012947195209562778,
0.03296118602156639,
0.0022309408523142338,
0.019257448613643646,
-0.041162796318531036,
-0.00818011723458767,
-0.0066240462474524975,
0.05092907324433327,
0.03758641332387924,
-0.057875506579875946,
0.02998659759759903,
-0.03204989433288574,
-0.005626785568892956,
-0.025447342544794083,
0.010359475389122963,
0.012577520683407784,
-0.061348725110292435,
0.04566766321659088,
0.055330775678157806,
-0.06746984273195267,
0.017039403319358826,
0.04583960399031639,
0.008304774761199951,
-0.020581398159265518,
-0.011941337026655674,
0.03751763328909874,
-0.008601373061537743,
-0.005480635445564985,
-0.049587927758693695,
-0.02187095768749714,
0.012749462388455868,
-0.008708836510777473,
-0.0016366681084036827,
0.02319490723311901,
0.023074548691511154,
0.02118319272994995,
-0.0024308229330927134,
-0.021613046526908875,
-0.07400362193584442,
0.024622023105621338,
0.013084747828543186,
0.02632424421608448,
-0.04989742115139961,
0.03108702227473259,
-0.01389287319034338,
0.031344935297966,
-0.0037504739593714476,
0.02206009440124035,
0.006091027520596981,
-0.00818011723458767,
0.00533018633723259,
-0.003595726564526558,
0.06351518630981445,
-0.0312761589884758,
0.03720813989639282,
0.026203883811831474,
-0.005867503583431244,
0.04845311492681503,
-0.03958093374967575,
-0.0718027725815773,
0.049587927758693695,
-0.011124614626169205,
-0.01268068514764309,
0.0661974772810936,
0.021114416420459747,
-0.024346916005015373,
0.004702600184828043,
0.0330987386405468,
0.037104975432157516,
0.006813182029873133,
0.009044122882187366,
0.04164423048496246,
0.045186225324869156,
-0.020461037755012512,
-0.07125255465507507,
0.0006103923078626394,
-0.024965904653072357,
0.033734921365976334,
0.006151207257062197,
0.05227021500468254,
-0.046664923429489136,
-0.03851489722728729,
0.03848050907254219,
-0.007715874817222357,
-0.016678325831890106,
-0.03913388401269913,
0.03535117208957672,
-0.03352859243750572,
0.03535117208957672,
0.021664628759026527,
-0.04281343147158623,
0.02797488123178482,
-0.01268068514764309,
-0.03748324513435364,
-0.018311768770217896,
0.005940578877925873,
-0.015758438035845757,
-0.03789590671658516,
0.01603354513645172,
0.003505457192659378,
0.015913184732198715,
-0.006748703774064779,
0.012465758249163628,
0.004322179593145847,
-0.005343081895262003,
-0.04446407034993172,
-0.025258205831050873,
0.004590838216245174,
-0.016609549522399902,
-0.0030927977059036493,
0.04305415228009224,
-0.016050739213824272,
0.005390366073697805,
-0.025481730699539185,
-0.015569302253425121,
0.022025706246495247,
-0.02668531984090805,
-0.0022309408523142338,
0.008300475776195526,
0.005098065361380577,
-0.026375826448202133,
-0.021234774962067604,
-0.038583673536777496,
-0.042744655162096024,
-0.027854522690176964,
-0.010995659045875072,
-0.03108702227473259,
0.020581398159265518,
0.00324539584107697,
0.004382358863949776,
-0.039684098213911057,
0.003576383227482438,
-0.02101125195622444,
-0.023332461714744568,
0.06241476535797119,
0.03411319479346275,
-0.018088245764374733,
-0.03748324513435364,
0.02960832603275776,
-0.0663006380200386,
-0.041850559413433075,
-0.04363875091075897,
-0.005828816909343004,
0.006692823022603989,
0.07606691867113113,
0.07324707508087158,
-0.055502716451883316,
-0.011287959292531013,
-0.07682345807552338,
-0.02338404394686222,
0.07200910151004791,
-0.05801306292414665,
-0.00032507689320482314,
-0.02101125195622444,
-0.003161574248224497,
0.08156904578208923,
-0.02610071934759617,
0.015973364934325218,
0.03426793962717056,
0.0008016772335395217,
0.04676808789372444,
-0.010092966258525848,
-0.01877601072192192,
-0.05539955198764801,
-0.07936819642782211,
0.09099143743515015,
-0.005523620638996363,
-0.009181676432490349,
0.0054548438638448715,
0.002753213280811906,
0.018552487716078758,
0.031052634119987488,
-0.0441201888024807,
-0.03402722254395485,
-0.002422225894406438,
-0.09972606599330902,
-0.042607102543115616,
0.010256309993565083,
0.051616836339235306,
0.06753861904144287,
-0.04491112008690834,
-0.018294574692845345,
-0.059526145458221436,
0.0016710563795641065,
-0.0202547088265419,
-0.018071051687002182,
-0.07641080021858215,
-0.054367899894714355,
0.041128408163785934,
0.01676429621875286,
0.03438830003142357,
0.024398498237133026,
0.01224223431199789,
0.016506383195519447,
-0.016050739213824272,
0.0718715488910675,
-0.023693539202213287,
-0.012439967133104801,
0.001880610128864646,
-0.049381598830223083,
0.02998659759759903,
-0.04216005653142929,
-0.010333684273064137,
-0.03239377960562706,
0.021389521658420563,
0.04250393807888031,
0.06000758334994316,
-0.062105268239974976,
0.015311390161514282,
-0.004921825602650642,
0.02649618498980999,
-0.007341901771724224,
-0.03844611719250679,
-0.03187795355916023,
0.06152066960930824,
-0.04188494756817818,
-0.004453284665942192,
-0.035213619470596313,
0.012474355287849903,
-0.026255466043949127,
-0.018294574692845345,
-0.04714635759592056,
0.009602932259440422,
-0.009955412708222866,
0.013996037654578686,
0.0016979222418740392,
0.09147287905216217,
-0.027510639280080795,
-0.016506383195519447,
-0.04188494756817818,
0.014503265731036663,
-0.01953255385160446,
-0.03593577444553375,
-0.012465758249163628,
0.023332461714744568,
0.011159002780914307,
-0.002615659963339567,
0.023865479975938797,
0.04102523997426033,
0.006452104542404413,
-0.009499767795205116,
-0.015973364934325218,
0.0022459859028458595,
-0.03758641332387924,
0.037242528051137924,
0.06698840856552124,
0.018621264025568962,
-0.01603354513645172,
-0.016523577272892,
0.0082746846601367,
-0.016437606886029243,
0.02040945552289486,
-0.023607566952705383,
-0.03057119809091091,
0.016102321445941925,
-0.024914322420954704,
0.016076529398560524,
0.04914088174700737,
-0.010918284766376019,
0.023865479975938797,
-0.030433645471930504,
-0.03572944179177284,
0.07613569498062134,
0.020323485136032104,
0.05137611925601959,
0.00909570511430502,
0.014477474614977837,
0.03841172903776169,
0.031379323452711105,
-0.024364110082387924,
0.014572042040526867,
0.00022728517069481313,
0.0165493693202734,
-0.015191031619906425,
0.08342601358890533,
0.00982645619660616,
-0.029006531462073326,
0.008704538457095623,
0.009336423128843307,
-0.04945037513971329,
-0.06956753134727478,
0.06681646406650543,
0.04697441682219505,
-0.051238566637039185,
-0.02960832603275776,
0.002542584901675582,
0.03364895284175873,
-0.04470479115843773,
0.02319490723311901,
0.006912048440426588,
0.045530110597610474,
0.004702600184828043,
0.0037848621141165495,
-0.0514792837202549,
-0.0551932193338871,
0.07400362193584442,
0.0020697456784546375,
-0.026272660121321678,
-0.04766218364238739,
0.008794807828962803,
-0.019928019493818283,
-0.00801677256822586,
-0.00496481079608202,
0.02094247378408909,
-0.024879934266209602,
0.017555227503180504,
-0.050344470888376236,
0.006443507503718138,
-0.04927843436598778,
-0.030416451394557953,
0.04635542631149292,
0.0496567040681839,
-0.011631842702627182,
0.004287790972739458,
-0.0004072864248882979,
0.00459943525493145,
0.00694643659517169,
-0.03144809976220131,
-0.015595094300806522,
0.03474937751889229,
0.051960721611976624,
-0.03841172903776169,
-0.052923593670129776,
0.03844611719250679,
-0.08741505444049835,
-0.012001516297459602,
-0.0248455461114645,
0.032256223261356354,
0.041334737092256546,
0.0070925867184996605,
0.030674362555146217,
-0.002748914761468768,
0.011030047200620174,
0.007857726886868477,
0.044429682195186615,
0.002540435642004013,
0.020117156207561493,
0.019171476364135742,
0.00018282217206433415,
0.07675468176603317,
-0.036142103374004364,
-0.04071574658155441,
-0.008781911805272102,
0.01803666353225708,
-0.05722213163971901,
-0.043329257518053055,
-0.02869703620672226,
-0.0012831133790314198,
0.051995109766721725,
-0.04026870056986809,
0.017013611271977425,
-0.01965291239321232,
0.03196392580866814,
-0.03091508150100708,
-0.04267587885260582,
-0.06203649193048477,
0.00025683760759420693,
-0.003623667173087597,
-0.003125036833807826,
-0.05467739701271057,
-0.001675355015322566,
0.035763829946517944,
0.042435161769390106,
-0.005441948305815458,
0.004736988339573145,
0.0046897041611373425,
-0.001652787672355771,
-0.010729149915277958,
0.04859066754579544,
-0.025653671473264694,
0.07125255465507507,
0.005605292972177267,
0.031723205000162125,
-0.0027467655017971992,
-0.03421635925769806,
-0.05092907324433327,
-0.013832693919539452,
0.013832693919539452,
0.03053680993616581,
-0.017176955938339233,
-0.04102523997426033,
0.01454625092446804,
-0.03638282045722008,
-0.017709974199533463,
-0.012568923644721508,
-0.041850559413433075,
-0.019016729667782784,
-0.06344641000032425,
-0.04394824802875519,
0.03717375174164772,
-0.056740693747997284,
-0.017254330217838287,
-0.02522381767630577,
0.01619688980281353,
-0.04140351340174675,
0.01695343106985092,
0.02907530777156353,
-0.015861602500081062,
-0.0048659443855285645,
0.03535117208957672,
0.02224922925233841,
-0.058253780007362366,
-0.018294574692845345,
-0.017151163890957832,
0.022403977811336517,
0.030674362555146217,
0.02536137029528618,
0.08081250637769699,
0.02027190290391445,
0.03287521377205849,
0.012672088108956814,
0.018088245764374733,
-0.025275399908423424,
-0.005450545344501734,
0.02264469489455223,
-0.010909687727689743,
-0.052167050540447235,
0.002886467846110463,
-0.07689223438501358,
-0.014666609466075897,
0.018621264025568962,
-0.06595675647258759,
-0.04807484149932861,
0.06220843270421028,
0.0004102416569367051,
-0.019928019493818283,
0.07125255465507507,
-0.02095966786146164,
0.014761177822947502,
0.0229885783046484,
-0.012947195209562778,
0.02998659759759903,
-0.06183016300201416,
0.006727211177349091,
0.018328962847590446,
0.02168182283639908,
-0.021613046526908875,
-0.04336364567279816,
-0.0496223159134388,
0.05024130642414093,
0.019395001232624054,
-0.05041324719786644,
0.014236755669116974,
0.030846305191516876,
0.041128408163785934,
-0.0056138900108635426,
0.002647899091243744,
-0.013033165596425533,
0.008304774761199951,
-0.06791689246892929,
0.0014690251555293798,
-0.018621264025568962,
0.025688059628009796,
-0.013540392741560936,
-0.04322609305381775,
0.024570440873503685,
0.025344176217913628,
0.021286357194185257,
-0.041300348937511444,
-0.06152066960930824,
0.010316490195691586,
-0.0038686837069690228,
0.027665387839078903,
0.016704116016626358,
-0.05959492176771164,
0.08253192156553268,
-0.04676808789372444,
0.01822579838335514,
-0.05901032313704491,
0.04487673193216324,
0.011176197789609432,
0.035798218101263046,
0.07654835283756256,
0.039684098213911057,
0.01078073214739561,
0.0718027725815773,
-0.020873697474598885,
-0.035058870911598206,
0.052889205515384674,
0.029556743800640106,
0.05395524203777313,
0.049415986984968185,
0.047730959951877594,
-0.0012777402298524976,
0.0017495047068223357,
0.030330481007695198,
-0.020168738439679146,
-0.04632103815674782,
0.031396519392728806,
0.0772361233830452,
0.03364895284175873,
0.03352859243750572,
0.0772361233830452,
-0.006086729001253843,
-0.11561346054077148,
-0.00018940430891234428,
-0.009706097654998302,
0.04160984233021736,
-0.011898351833224297,
0.0846639946103096,
-0.02818121202290058,
0.03072594664990902,
-0.05901032313704491,
-0.06915487349033356,
0.031946729868650436,
0.034697793424129486,
-0.0114942891523242,
0.036898646503686905,
-0.07249053567647934,
-0.02665093168616295,
-0.03277204930782318,
0.0007269901689141989,
0.004853048827499151,
-0.043535586446523666,
0.02797488123178482,
0.05116979032754898,
-0.10144548118114471,
0.006060937885195017,
0.04123157262802124,
0.021664628759026527,
0.0003911669191438705,
0.049415986984968185,
-0.03268607705831528,
-0.013101941905915737,
-0.00396325159817934,
0.04659614711999893,
0.015595094300806522,
-0.006013653706759214,
-0.005532217677682638,
0.019291836768388748,
0.04676808789372444,
-0.03421635925769806,
-0.05739407241344452,
-0.04917526990175247,
0.00335500854998827,
0.04312292858958244,
0.03144809976220131,
-0.03944338113069534,
-0.04494550824165344,
0.01750364527106285,
0.02245556004345417,
0.003954654559493065,
0.02429533377289772,
-0.05828816816210747,
0.02465641126036644,
-0.003249694360420108,
-0.008554089814424515,
0.026616543531417847,
0.04374191537499428,
-0.007071094121783972,
0.04291659966111183,
0.029866239055991173,
0.005459142383188009,
-0.010875299572944641,
0.01746925711631775,
-0.05368013679981232,
0.03951215744018555,
-0.015509122982621193,
0.015741243958473206,
0.0059792655520141125,
0.04814361780881882,
-0.008025369606912136,
0.019377807155251503,
-0.04061258211731911,
-0.008644359186291695,
-0.04301976412534714,
0.017744362354278564,
0.006718614138662815,
0.020151544362306595,
0.023951450362801552,
-0.07338463515043259,
-0.053336251527071,
-0.047559019178152084,
0.05006936565041542,
-0.04910649359226227,
-0.0007414977299049497,
-0.012758059427142143,
0.0024867039173841476,
-0.010445445775985718,
-0.030622780323028564,
0.025670865550637245,
0.019463777542114258,
-0.01987643726170063,
-0.020873697474598885,
-0.010325087234377861,
-0.013196510262787342,
0.008240296505391598,
-0.03258291259407997,
0.03899633139371872,
0.01462362427264452,
0.033786505460739136,
0.0025490326806902885,
-0.01167482789605856,
-0.037999071180820465,
0.02943638525903225,
-0.0078362338244915,
0.009422394447028637,
-0.005626785568892956,
0.04322609305381775,
0.06489071995019913,
0.020117156207561493,
-0.04945037513971329,
-0.051788780838251114,
-0.0074622612446546555,
0.0014228159561753273,
0.002725272672250867,
-0.005876100622117519,
-0.018088245764374733,
-0.03989042714238167,
-0.03459462895989418,
0.021200386807322502,
0.013652155175805092,
-0.03827417641878128,
0.017434867098927498,
0.047008804976940155,
0.0534050278365612,
0.009353617206215858,
0.02132074534893036,
0.07070234417915344,
0.0386868380010128,
0.02101125195622444,
-0.03658914938569069,
0.014322726987302303,
0.029006531462073326,
0.006869062781333923,
0.04577082768082619,
-0.011081629432737827,
0.006671329960227013,
0.009035525843501091,
0.01581002026796341,
-0.009009734727442265,
-0.033408232033252716,
-0.027510639280080795,
0.022575918585062027,
-0.006963630672544241,
0.02759660966694355,
0.008399342186748981,
0.030038179829716682,
0.1104552149772644,
-0.016059335321187973,
-0.00400838628411293,
0.04030308872461319,
0.029745878651738167,
-0.051582448184490204,
-0.023590372875332832,
-0.03607332706451416,
0.02704639732837677,
0.02192254178225994,
0.05202949792146683,
-0.02077053301036358,
-0.018294574692845345,
0.07826776802539825,
0.010359475389122963,
-0.0607641264796257,
-0.0276138037443161,
0.021080028265714645,
0.021956929937005043,
-0.06231159716844559,
-0.0036666523665189743,
-0.02651337906718254,
-0.03478376567363739,
0.037448856979608536,
-0.017159761860966682,
0.04566766321659088,
-0.06399662792682648,
0.01949816569685936,
-0.07420995086431503,
0.0023684941697865725,
0.013583377934992313,
0.049209658056497574,
0.03242816776037216,
-0.037999071180820465,
0.07090867310762405,
-0.03017573244869709,
-0.005970668513327837,
0.030949469655752182,
-0.023779509589076042,
0.014331324025988579,
-0.02522381767630577,
0.006727211177349091,
0.03325348719954491,
0.0754479318857193,
0.033391039818525314,
-0.017366090789437294,
0.013609169982373714,
0.05044763535261154,
-0.054333511739969254,
-0.03177478909492493,
0.011932739987969398,
-0.017219940200448036,
-0.04181617125868797,
0.07331585139036179,
-0.013316868804395199,
0.01489873044192791,
-0.02539575845003128,
0.053645748645067215,
-0.04154106602072716,
0.06420295685529709
]
|
31,496 | laspy.copc | CopcReader |
Class allowing to do queries over a `COPC`_ LAZ
In short, COPC files are LAZ 1.4 files organized in a particular way
(Octree) making it possible to do spatial queries
as well as queries with a level of details.
CopcReader **requires** the ``lazrz`` backend to work.
Optionaly, if ``requests`` is installed, CopcReader can handle
Copc files that are on a remote HTTP server
This class *only* reads COPC files, it does not support normal
LAS/LAZ files.
To create an instance of it you'll likely
want to use the :meth:`.CopcReader.open` constructor
.. versionadded:: 2.2
.. _COPC: https://github.com/copcio/copcio.github.io
| class CopcReader:
"""
Class allowing to do queries over a `COPC`_ LAZ
In short, COPC files are LAZ 1.4 files organized in a particular way
(Octree) making it possible to do spatial queries
as well as queries with a level of details.
CopcReader **requires** the ``lazrz`` backend to work.
Optionaly, if ``requests`` is installed, CopcReader can handle
Copc files that are on a remote HTTP server
This class *only* reads COPC files, it does not support normal
LAS/LAZ files.
To create an instance of it you'll likely
want to use the :meth:`.CopcReader.open` constructor
.. versionadded:: 2.2
.. _COPC: https://github.com/copcio/copcio.github.io
"""
def __init__(
self,
stream,
close_fd: bool = True,
http_num_threads: int = DEFAULT_HTTP_WORKERS_NUM,
_http_strategy: str = "queue",
decompression_selection: DecompressionSelection = DecompressionSelection.all(),
):
"""
Creates a CopcReader.
Parameters
---------
stream: the stream from where data can be read.
It must have the following file object methods:
read, seek, tell
http_num_threads: int, optional, default num cpu * 5
Number of worker threads to do concurent HTTP requests,
ignored when reading non-HTTP file
close_fd: optional, default bool
Whether the stream/file object shall be closed, this only work
when using the CopcReader in a with statement.
decompression_selection: DecompressionSelection,
see :func:`laspy.open`
.. versionadded:: 2.4
The ``decompression_selection`` parameter.
"""
if lazrs is None:
raise LazError("COPC support requires the 'lazrs' backend")
self.source = stream
self.close_fd = close_fd
self.http_num_threads = http_num_threads
self.http_strategy = _http_strategy
self.decompression_selection: lazrs.DecompressionSelection = (
decompression_selection.to_lazrs()
)
self.header = LasHeader.read_from(self.source)
self.copc_info: CopcInfoVlr = self.header.vlrs[0]
if not isinstance(self.copc_info, CopcInfoVlr):
copc_info_exists = any(
isinstance(vlr, CopcInfoVlr) for vlr in self.header.vlrs
)
if copc_info_exists:
raise LaspyException(
"This file is not a valid COPC, "
"it does have a COPC VLR, however it is not the first VLR "
"as it should"
)
else:
raise LaspyException(
"This file is not a valid COPC, " "it does not have a COPC VLR"
)
if self.copc_info.hierarchy_root_offset < self.header.offset_to_point_data:
self.hierarchy = self.header.vlrs.extract("CopcHierarchyVlr")[0]
else:
# TODO maybe we could read the whole EVLR's byte
# so we could load the octree without having any more requests to do
# since everything would be in memory
self.source.seek(self.copc_info.hierarchy_root_offset)
# This only contains the record_data_bytes
root_hierarchy_vlr_bytes = self.source.read(
self.copc_info.hierarchy_root_size
)
hierarchy = CopcHierarchyVlr()
hierarchy.parse_record_data(root_hierarchy_vlr_bytes)
self.laszip_vlr = self.header.vlrs.pop(self.header.vlrs.index("LasZipVlr"))
self.source.seek(self.copc_info.hierarchy_root_offset)
root_page_bytes = self.source.read(self.copc_info.hierarchy_root_size)
# At first the hierary only contains the root page entries
# but it will get updated as the queries may need more pages
self.root_page = HierarchyPage.from_bytes(root_page_bytes)
@classmethod
def open(
cls,
source: Union[str, os.PathLike, io.IOBase],
http_num_threads: int = DEFAULT_HTTP_WORKERS_NUM,
_http_strategy: str = "queue",
decompression_selection: DecompressionSelection = DecompressionSelection.all(),
) -> "CopcReader":
"""
Opens the COPC file.
Parameters
----------
source: str, io.IOBase, uri or file-like object of the COPC file.
Supported sources are:
- 'local' files accesible with a path.
- HTTP / HTTPS endpoints. The pyhon package ``requests`` is
required in order to be able to work with HTTP endpoints.
- file-like objects, e.g. fsspec io.IOBase objects.
http_num_threads: int, optional, default num cpu * 5
Number of worker threads to do concurent HTTP requests,
ignored when reading non-HTTP file
decompression_selection: DecompressionSelection,
see :func:`laspy.open`
Opening a local file
.. code-block:: Python
from laspy import CopcReader
with CopcReader.open("some_file.laz") as reader:
...
Opening a file on a remite HTTP server
(``requests`` package required)
.. code-block:: Python
from laspy import CopcReader
url = "https://s3.amazonaws.com/hobu-lidar/autzen-classified.copc.laz"
with CopcReader.open(url) as reader:
...
.. versionadded:: 2.4
The ``decompression_selection`` parameter.
"""
if isinstance(source, (str, os.PathLike)):
source = str(source)
if source.startswith("http"):
source = HttpRangeStream(source)
else:
source = open(source, mode="rb")
return cls(
source,
http_num_threads=http_num_threads,
decompression_selection=decompression_selection,
)
def query(
self,
bounds: Optional[Bounds] = None,
resolution: Optional[Union[float, int]] = None,
level: Optional[Union[int, range]] = None,
) -> ScaleAwarePointRecord:
""" "
Query the COPC file to retrieve the points matching the
requested bounds and level.
Parameters
----------
bounds: Bounds, optional, default None
The bounds for which you wish to aquire points.
If None, the whole file's bounds will be considered
2D bounds are suported, (No point will be filtered on its Z coordinate)
resolution: float or int, optional, default None
Limits the octree levels to be queried in order to have
a point cloud with the requested resolution.
- The unit is the one of the data.
- If None, the resulting cloud will be at the
full resolution offered by the COPC source
- Mutually exclusive with level parameter
level: int or range, optional, default None
The level of detail (LOD).
- If None, all LOD are going to be considered
- If it is an int, only points that are of the requested LOD
will be returned.
- If it is a range, points for which the LOD is within the range
will be returned
"""
if resolution is not None and level is not None:
raise ValueError("Cannot specify both level and resolution")
elif resolution is not None and level is None:
level_max = max(1, ceil(log2(self.copc_info.spacing / resolution)) + 1)
level = range(0, level_max)
if isinstance(level, int):
level = range(level, level + 1)
if bounds is not None:
bounds = bounds.ensure_3d(self.header.mins, self.header.maxs)
nodes = load_octree_for_query(
self.source,
self.copc_info,
self.root_page,
query_bounds=bounds,
level_range=level,
| (stream, close_fd: bool = True, http_num_threads: int = 300, _http_strategy: str = 'queue', decompression_selection: laspy._compression.selection.DecompressionSelection = <DecompressionSelection.ALL_EXTRA_BYTES|WAVEPACKET|NIR|RGB|GPS_TIME|POINT_SOURCE_ID|USER_DATA|SCAN_ANGLE|INTENSITY|FLAGS|CLASSIFICATION|Z|XY_RETURNS_CHANNEL: 8191>) | [
-0.022063767537474632,
-0.05868291109800339,
-0.07332217693328857,
0.044798675924539566,
0.010780205950140953,
0.0023371968418359756,
-0.05239096283912659,
0.0026871864683926105,
0.0001753225369611755,
-0.08489936590194702,
0.0025757665280252695,
-0.005075505468994379,
-0.03200504556298256,
0.039156895130872726,
-0.0031433526892215014,
0.020899757742881775,
-0.044463105499744415,
0.006354868412017822,
0.008871647529304028,
0.00196230155415833,
-0.03112417459487915,
0.04169464856386185,
0.01820470578968525,
0.042198002338409424,
-0.00958473514765501,
0.020910242572426796,
-0.00028723402647301555,
-0.000897913530934602,
-0.015320895239710808,
-0.0489933080971241,
0.007424499839544296,
-0.0006518065929412842,
-0.06610740721225739,
-0.00801174808293581,
-0.019064605236053467,
0.016170307993888855,
0.08141782134771347,
-0.00558410445228219,
-0.02546142041683197,
-0.0021864522714167833,
-0.07789433002471924,
-0.05226512253284454,
-0.051677875220775604,
-0.04400169476866722,
-0.018341030925512314,
0.014041532762348652,
-0.049790289252996445,
-0.012531464919447899,
0.023091452196240425,
-0.02613256126642227,
0.010874585248529911,
-0.022189605981111526,
-0.003090919926762581,
-0.01598154939711094,
0.03498323634266853,
0.010428905487060547,
-0.03714347258210182,
0.095302052795887,
0.019064605236053467,
0.01161913201212883,
0.007875422947108746,
0.013873747549951077,
0.01097945123910904,
0.011398914270102978,
-0.011734484694898129,
-0.0035339780151844025,
0.006790061481297016,
-0.005505455192178488,
-0.003809250658378005,
0.008404995314776897,
0.00642827432602644,
0.0026111588813364506,
0.03018038161098957,
0.00180369196459651,
0.035088103264570236,
-0.017428698018193245,
-0.026929540559649467,
-0.010093335062265396,
0.016233228147029877,
-0.018928280100226402,
-0.018739521503448486,
-0.021140947937965393,
0.037877533584833145,
-0.04358223080635071,
0.04941277205944061,
-0.03076763078570366,
0.1141778975725174,
0.01597106270492077,
0.0009025014005601406,
0.07990775257349014,
-0.03525588661432266,
0.05683727189898491,
-0.023406049236655235,
0.021203868091106415,
0.03917786851525307,
-0.01566695235669613,
0.01571938581764698,
0.018057893961668015,
-0.017481131479144096,
0.002035707700997591,
-0.03299078717827797,
0.0163485798984766,
-0.02636326663196087,
0.028439609333872795,
-0.007555582094937563,
-0.012667790055274963,
-0.008813971653580666,
0.05964767560362816,
0.043498340994119644,
-0.036933738738298416,
-0.08028526604175568,
-0.03903105482459068,
0.0325922966003418,
-0.004868395626544952,
-0.019295310601592064,
-0.006527896970510483,
-0.018760494887828827,
0.028208903968334198,
-0.09161077439785004,
-0.009181002154946327,
-0.0028366202022880316,
0.0033976524136960506,
-0.041925352066755295,
0.029907729476690292,
-0.01239513885229826,
0.016390526667237282,
0.02950924076139927,
0.0015205543022602797,
0.011923243291676044,
-0.04031042009592056,
0.027453869581222534,
-0.025524338707327843,
0.015016784891486168,
-0.0027134029660373926,
0.018645141273736954,
-0.005699457135051489,
-0.027579709887504578,
-0.010654366575181484,
-0.0811241939663887,
0.011933729983866215,
0.04171562194824219,
-0.007996018044650555,
0.01164010539650917,
-0.07491613924503326,
-0.026468131691217422,
0.023972325026988983,
0.016474420204758644,
-0.1069631278514862,
-0.0534815639257431,
-0.008284399285912514,
0.007303903810679913,
-0.050671160221099854,
-0.02705538086593151,
0.004045198671519756,
0.01630663499236107,
-0.03399749845266342,
-0.04142199829220772,
-0.056669484823942184,
-0.03557048365473747,
0.0006783507415093482,
-0.0433725006878376,
0.012143461033701897,
-0.014377103187143803,
-0.03559145703911781,
-0.04777686670422554,
-0.04333055391907692,
-0.04362417757511139,
-0.07827184349298477,
-0.05016780644655228,
0.03083054907619953,
0.01698826253414154,
0.03903105482459068,
-0.02864934131503105,
0.014366616494953632,
0.02041737362742424,
0.029718972742557526,
0.0013999586226418614,
-0.002085518790408969,
-0.026635916903614998,
-0.055746667087078094,
-0.036262597888708115,
-0.004535446409136057,
-0.005599834490567446,
0.03013843484222889,
0.0017329076072201133,
0.03926176205277443,
0.046937938779592514,
-0.04244968295097351,
0.08548661321401596,
0.03773071989417076,
-0.03307467699050903,
-0.008053694851696491,
0.029739944264292717,
-0.02044883370399475,
0.058640964329242706,
-0.051677875220775604,
0.016516365110874176,
0.007010279688984156,
0.014565861783921719,
0.06333895027637482,
-0.049790289252996445,
0.06770136952400208,
0.04026847332715988,
-0.023406049236655235,
-0.05566277354955673,
0.033095650374889374,
0.0046507990919053555,
0.042281895875930786,
-0.07944633811712265,
0.05616613104939461,
0.0014183101011440158,
0.001625420176424086,
0.029446320608258247,
-0.003022757126018405,
0.04689599201083183,
-0.0023752106353640556,
-0.07592284679412842,
0.01973574608564377,
-0.0034710585605353117,
0.00643876101821661,
0.06640103459358215,
0.03649330511689186,
-0.04031042009592056,
-0.015163596719503403,
-0.00643876101821661,
-0.004981126170605421,
0.025545312091708183,
0.02734900452196598,
0.014744133688509464,
-0.03427014872431755,
0.005500211846083403,
-0.03076763078570366,
0.00029804831137880683,
0.01666317880153656,
0.04454699903726578,
-0.03548659011721611,
-0.006963090039789677,
0.1029362827539444,
-0.06971479207277298,
-0.019410662353038788,
-0.017491618171334267,
-0.041673675179481506,
0.03047400526702404,
-0.04083474725484848,
-0.07118291407823563,
0.0015572573756799102,
0.04341444745659828,
0.01411493867635727,
0.014240778051316738,
0.05436243861913681,
0.02418205700814724,
-0.07336412370204926,
-0.03181628882884979,
-0.012814602814614773,
0.009506085887551308,
-0.07399331778287888,
-0.03043206036090851,
-0.04184145852923393,
0.023406049236655235,
-0.03886327147483826,
-0.08129198104143143,
-0.028754206374287605,
0.027223166078329086,
0.07420305162668228,
-0.015404787845909595,
-0.0038040075451135635,
0.019893044605851173,
-0.06598157435655594,
-0.0048264493234455585,
0.009039433673024178,
0.0784396305680275,
0.07139264792203903,
-0.02604866772890091,
0.023364104330539703,
-0.02921561524271965,
-0.03009648807346821,
-0.004503986798226833,
-0.015362842008471489,
-0.004260173533111811,
0.02921561524271965,
0.02508390322327614,
0.03716444596648216,
-0.03745806962251663,
-0.055788613855838776,
-0.01571938581764698,
-0.05784398317337036,
-0.06593962758779526,
-0.001915111904963851,
-0.02546142041683197,
0.0018417058745399117,
-0.03735320270061493,
0.007067956030368805,
0.010481338016688824,
-0.020878784358501434,
0.0950503721833229,
0.010240146890282631,
-0.02890101820230484,
-0.03747904300689697,
0.0027396194636821747,
-0.03603189438581467,
-0.030369140207767487,
-0.06795305013656616,
0.11593964695930481,
-0.028838099911808968,
-0.003001783974468708,
-0.023259237408638,
0.004037333652377129,
-0.04890941455960274,
-0.04861579090356827,
0.020532727241516113,
0.011965189129114151,
-0.0017604348249733448,
0.0016031361883506179,
-0.030348166823387146,
-0.013601096346974373,
0.026195481419563293,
0.009275381453335285,
0.0395553857088089,
0.06489096581935883,
0.042198002338409424,
-0.07449667155742645,
0.003998009022325277,
0.018110325559973717,
0.03129195794463158,
0.004580014385282993,
-0.02611158788204193,
0.07403526455163956,
0.02732803113758564,
0.015467707999050617,
-0.011231129057705402,
-0.031187092885375023,
0.013957640156149864,
-0.03355706110596657,
0.019997911527752876,
0.027453869581222534,
0.008205750025808811,
-0.0008716970914974809,
-0.042554546147584915,
0.049161095172166824,
-0.02298658713698387,
0.06497485935688019,
0.0036519519053399563,
0.005203966051340103,
0.006244759075343609,
-0.013129199855029583,
-0.055117473006248474,
0.0721476823091507,
-0.02864934131503105,
-0.020281048491597176,
-0.004834313876926899,
-0.006978820078074932,
-0.004839557223021984,
0.001731596770696342,
0.07109902054071426,
0.030578872188925743,
-0.0055893477983772755,
0.01975671947002411,
-0.050125859677791595,
0.04513424634933472,
-0.005647024139761925,
0.02328021079301834,
0.00580432265996933,
-0.009123326279222965,
0.013118713162839413,
-0.03479447588324547,
-0.04400169476866722,
0.010329282842576504,
-0.0182571392506361,
0.014366616494953632,
-0.01164010539650917,
-0.04242870956659317,
-0.07428694516420364,
-0.007954072207212448,
-0.01984061300754547,
-0.005473995581269264,
-0.024706386029720306,
0.00353135634213686,
-0.02012374997138977,
-0.051384247839450836,
0.06342284381389618,
0.03154363855719566,
0.04521813988685608,
-0.006716655567288399,
-0.002705537946894765,
-0.035675350576639175,
-0.05163592845201492,
-0.015331381931900978,
0.0332634374499321,
0.005903945304453373,
0.03892619162797928,
0.05180371180176735,
0.032864946871995926,
0.03355706110596657,
-0.02697148732841015,
-0.012216867879033089,
0.000901845982298255,
0.032172832638025284,
0.03234061598777771,
0.02894296497106552,
-0.06409398466348648,
0.010717286728322506,
-0.04546981677412987,
0.013863260857760906,
0.060151033103466034,
-0.022063767537474632,
-0.030243301764130592,
0.0979866161942482,
-0.05117451772093773,
0.0014589456841349602,
0.022860746830701828,
-0.040394313633441925,
-0.002663591643795371,
0.02012374997138977,
0.039429545402526855,
-0.04739934951066971,
-0.0050912355072796345,
-0.015950091183185577,
0.00004149573214817792,
0.039723169058561325,
0.04177854210138321,
0.03699665889143944,
0.032885920256376266,
0.044421158730983734,
0.023154372349381447,
0.033137597143650055,
-0.032864946871995926,
0.03485739603638649,
-0.01085361186414957,
-0.01880243979394436,
0.022860746830701828,
-0.027453869581222534,
0.00956900604069233,
-0.012300760485231876,
-0.04488256946206093,
-0.0225880965590477,
0.03018038161098957,
-0.059815458953380585,
0.014618294313549995,
0.05927015841007233,
0.022839775308966637,
0.047021832317113876,
0.022231552749872208,
0.020480293780565262,
-0.011860324069857597,
0.006464977283030748,
-0.0048369355499744415,
-0.04186243191361427,
-0.025985749438405037,
-0.008745809085667133,
-0.021434573456645012,
-0.010135280899703503,
0.0029834324959665537,
-0.00321413716301322,
0.02982383780181408,
-0.0451761931180954,
-0.0011312399292364717,
-0.012447572313249111,
0.04622485116124153,
-0.02323826402425766,
-0.0018548141233623028,
-0.003759439568966627,
0.023364104330539703,
0.10016782581806183,
-0.052936263382434845,
-0.005998324602842331,
0.023699674755334854,
0.0037515745498239994,
0.06212250888347626,
-0.0403313934803009,
-0.053817134350538254,
-0.018131298944354057,
-0.020018884912133217,
-0.06006713956594467,
-0.02424497716128826,
0.04769297316670418,
0.02136116661131382,
-0.04014263302087784,
0.0016359067521989346,
0.021140947937965393,
-0.055788613855838776,
-0.0035811676643788815,
-0.07994969934225082,
0.032256726175546646,
-0.015100677497684956,
-0.011388427577912807,
-0.04714766889810562,
0.039744142442941666,
0.020029369741678238,
0.0009372382191941142,
-0.07189600169658661,
-0.02445470727980137,
0.08531882613897324,
-0.013831800781190395,
-0.016390526667237282,
0.03196309879422188,
0.06862419098615646,
0.00642827432602644,
0.03580119088292122,
0.039450518786907196,
-0.03810823708772659,
-0.017470644786953926,
0.004863152280449867,
-0.007744340226054192,
-0.042218975722789764,
0.04656042158603668,
0.027600683271884918,
0.01883389987051487,
0.0064230309799313545,
0.0021995604038238525,
-0.009427436627447605,
-0.039156895130872726,
-0.03773071989417076,
0.04848995432257652,
-0.0012544572819024324,
-0.05310405045747757,
0.09203024208545685,
-0.01984061300754547,
0.06505875289440155,
-0.0622483491897583,
-0.00341076054610312,
0.052684586495161057,
0.02388843335211277,
0.03424917533993721,
-0.03196309879422188,
-0.025671150535345078,
0.02793625369668007,
0.003523491322994232,
-0.024328868836164474,
-0.0013127889251336455,
0.041044481098651886,
0.014083478599786758,
-0.04238676279783249,
-0.009705331176519394,
0.012447572313249111,
0.06057049334049225,
0.03796142339706421,
-0.012132974341511726,
-0.0005685693467967212,
0.04200924560427666,
-0.04425337538123131,
0.016484906896948814,
0.0408976674079895,
0.024979036301374435,
-0.010497068054974079,
-0.007518879137933254,
-0.03619967773556709,
0.057005055248737335,
0.03083054907619953,
0.020532727241516113,
0.038443807512521744,
0.0496644489467144,
-0.03194212540984154,
0.0514681413769722,
-0.02005034312605858,
0.0503355897963047,
0.02445470727980137,
-0.011010910384356976,
-0.06996647268533707,
0.005426805932074785,
-0.013705962337553501,
0.034416958689689636,
0.005998324602842331,
-0.04798659682273865,
-0.00023873358441051096,
-0.023993298411369324,
0.030536925420165062,
0.041610755026340485,
0.041904378682374954,
0.015299922786653042,
-0.04563760384917259,
0.07881714403629303,
0.02539850026369095,
-0.015195056796073914,
0.022378364577889442,
-0.0018377733649685979,
-0.005557888187468052,
-0.03959733247756958,
0.031019307672977448,
0.022755881771445274,
-0.0358431339263916,
0.042533572763204575,
-0.016170307993888855,
0.02102559618651867,
-0.08133392781019211,
0.035276859998703,
0.01097945123910904,
-0.005002099554985762,
0.03198407217860222,
0.06094801053404808,
-0.01694631576538086,
-0.0132026057690382,
-0.03294884040951729,
-0.012709736824035645,
-0.05587250739336014,
0.0032220021821558475,
0.044505052268505096,
-0.018928280100226402,
0.02136116661131382,
0.017963513731956482,
0.019326768815517426,
-0.09907722473144531,
0.013758394867181778,
-0.06619130074977875,
-0.01366401556879282,
-0.042911089956760406,
-0.008619969710707664,
-0.009878359735012054,
0.01699874922633171,
0.011629618704319,
-0.0053429133258759975,
0.04811243712902069,
0.019997911527752876,
-0.034752532839775085,
0.014838512986898422,
-0.04995807260274887,
-0.04117031767964363,
-0.026468131691217422,
0.01446099579334259,
0.05377519130706787,
-0.01793205365538597,
0.0010689758928492665,
-0.0383179672062397,
0.032802026718854904,
0.010182471014559269,
-0.0833892971277237,
0.022357391193509102,
0.049203041940927505,
-0.04437921196222305,
-0.0029572159983217716,
0.049203041940927505,
0.04643458127975464,
0.007597528398036957,
0.020658565685153008,
0.035675350576639175,
-0.00519085768610239,
-0.027852360159158707,
0.04677015170454979,
-0.003919359762221575,
0.0074454727582633495,
0.019400175660848618,
-0.021854035556316376,
-0.008813971653580666,
-0.009154785424470901,
-0.04710572585463524,
-0.046015121042728424,
-0.028376689180731773,
0.023510916158556938,
-0.01367450226098299,
0.08267620950937271,
0.030327193439006805,
-0.008263425901532173,
0.03351511433720589,
0.006837251130491495,
-0.029110750183463097,
-0.028502527624368668,
-0.01731334626674652,
0.0032587051391601562,
0.03424917533993721,
0.038213104009628296,
0.006795304827392101,
0.0019321526633575559,
-0.006255245767533779,
0.07017620652914047,
-0.00865667313337326,
-0.011021397076547146,
-0.041023507714271545,
0.05805371329188347,
-0.035633403807878494,
0.0046612853184342384,
0.058850694447755814,
-0.0081742899492383,
0.015908144414424896,
0.0023752106353640556,
0.014607807621359825,
0.04152686148881912,
-0.05205538868904114,
0.012164434418082237,
-0.029341455549001694,
-0.0003689965815283358,
0.037206392735242844,
0.010502311401069164,
0.10964769870042801,
-0.02108851447701454,
0.014733646996319294,
0.024391788989305496,
0.05650170147418976,
-0.01976720616221428,
-0.010947991162538528,
0.0376468263566494,
-0.054194651544094086,
0.013632555492222309,
0.09924500435590744,
0.030243301764130592,
0.013380877673625946,
-0.04995807260274887,
0.008488887920975685,
-0.023447996005415916,
-0.026279373094439507,
0.01569841243326664,
0.0060769738629460335,
0.04026847332715988,
-0.03263424336910248,
-0.014324670657515526,
0.0027868091128766537,
-0.027265110984444618,
0.014366616494953632,
-0.019232390448451042,
-0.008588510565459728,
0.01132550835609436,
0.0314597450196743,
0.02256712317466736,
0.04375001788139343,
0.013580122962594032,
0.0006236238987185061,
0.004983747843652964,
0.052307069301605225,
-0.05692116543650627,
0.04622485116124153,
-0.0370805524289608,
-0.0036755467299371958,
0.0011600780999287963,
0.046015121042728424,
0.023427022621035576,
0.025356553494930267,
0.02015521004796028,
-0.002980810822919011,
-0.005536914803087711,
-0.04526008665561676,
-0.00784920621663332,
0.039744142442941666,
0.015583059750497341,
0.020857810974121094,
-0.019588934257626534,
-0.0364094115793705,
-0.010790692642331123,
-0.08506714552640915,
0.007791529875248671,
-0.020648078992962837,
-0.0025167795829474926,
-0.0008186087943613529,
-0.05503357946872711,
-0.038213104009628296,
-0.07118291407823563,
0.0038276021368801594,
-0.043540287762880325,
0.006134650204330683,
0.0680788904428482,
0.016285661607980728,
-0.01849832944571972,
0.03613676130771637,
0.031250011175870895,
-0.006150380242615938,
0.03586410731077194,
0.03521393984556198,
-0.029362428933382034,
-0.028838099911808968,
-0.0036965198814868927,
0.009458896704018116,
0.010638636536896229,
-0.047944650053977966,
-0.036912765353918076,
-0.031019307672977448,
-0.020207641646265984,
0.044169481843709946,
0.04609901085495949,
0.0023188453633338213,
-0.0325922966003418,
0.030536925420165062
]
|
31,497 | laspy.copc | __enter__ | null | def __enter__(self) -> "CopcReader":
return self
| (self) -> laspy.copc.CopcReader | [
0.005206344183534384,
-0.044808149337768555,
-0.06701069325208664,
0.007687755394726992,
-0.01199138630181551,
0.0091782808303833,
0.006936194375157356,
0.02841656282544136,
0.0636853501200676,
-0.0664396733045578,
-0.004110492765903473,
-0.03573903441429138,
-0.0038585730362683535,
0.07000014185905457,
-0.04322945326566696,
0.016945810988545418,
-0.04410277679562569,
-0.010353907011449337,
-0.013208999298512936,
0.01272195391356945,
-0.03449622914195061,
0.03407636284828186,
0.016677096486091614,
-0.048435796052217484,
-0.03370688110589981,
0.08256254345178604,
-0.01921308971941471,
-0.018793223425745964,
0.004467379301786423,
-0.04914117231965065,
-0.011789850890636444,
-0.020136795938014984,
-0.019532188773155212,
0.0137800183147192,
0.050787050276994705,
0.024318667128682137,
-0.030650252476334572,
0.0020846370607614517,
-0.03590698167681694,
-0.008682838641107082,
-0.02006961777806282,
-0.025108015164732933,
0.026115695014595985,
-0.02206818200647831,
0.0004264269082341343,
0.02210177108645439,
0.025595061480998993,
-0.03842617943882942,
0.09546083956956863,
-0.046185314655303955,
0.03318624570965767,
0.007406444754451513,
-0.009337830357253551,
0.016878632828593254,
-0.01655113697052002,
0.006214024033397436,
-0.00026084206183440983,
0.029407449066638947,
0.007444232702255249,
0.022706380113959312,
-0.045009687542915344,
-0.04914117231965065,
0.043263040482997894,
0.016374792903661728,
-0.029776930809020996,
-0.01672748103737831,
-0.01986808143556118,
-0.001368764671497047,
0.020019233226776123,
0.01294868253171444,
0.012629583477973938,
-0.022034592926502228,
-0.018675660714507103,
0.011445560492575169,
-0.029541805386543274,
-0.06361816823482513,
-0.052869588136672974,
0.0040181223303079605,
0.04709222540259361,
-0.027492856606841087,
0.008825593627989292,
0.04927552863955498,
-0.05105576291680336,
0.01414950005710125,
0.050216030329465866,
-0.01892758160829544,
0.05572468042373657,
-0.01058903243392706,
-0.08746658265590668,
0.04776401072740555,
-0.004769683349877596,
0.08585429936647415,
-0.01284791436046362,
0.03318624570965767,
0.07315753400325775,
-0.004500968847423792,
-0.007440033834427595,
0.02304227277636528,
-0.00987525936216116,
0.03231292590498924,
-0.0494098886847496,
0.07255292683839798,
-0.01223490945994854,
-0.005118172615766525,
0.004244850017130375,
-0.0032014818862080574,
-0.004244850017130375,
0.03667953610420227,
0.022084977477788925,
-0.02267278917133808,
-0.04914117231965065,
-0.04427072033286095,
-0.00544566847383976,
0.029810519888997078,
-0.014216679148375988,
-0.009069115854799747,
-0.036175694316625595,
0.00007498553168261424,
-0.011747864075005054,
-0.013788415119051933,
-0.009245459921658039,
0.020858967676758766,
-0.025007247924804688,
-0.011512738652527332,
0.015795376151800156,
0.05985616520047188,
-0.019347447901964188,
-0.016022104769945145,
0.04658838361501694,
0.0115043418481946,
-0.004652120638638735,
-0.0061048585921525955,
0.01823900081217289,
-0.0318426750600338,
0.02552788145840168,
0.03879566118121147,
0.01488006766885519,
-0.007162922061979771,
-0.05508648231625557,
0.0388292521238327,
0.01917950063943863,
0.0212116539478302,
-0.0038375796284526587,
-0.03624287620186806,
-0.016248833388090134,
-0.0005384787800721824,
-0.01929706335067749,
0.0006245513795875013,
0.0048242658376693726,
-0.02190023474395275,
0.017399266362190247,
0.001889399136416614,
0.041751522570848465,
0.09143012762069702,
0.0038312815595418215,
0.032917533069849014,
-0.04833503067493439,
0.0027291320730000734,
-0.012369266711175442,
-0.03741849958896637,
-0.024889685213565826,
0.030515896156430244,
0.005894925445318222,
-0.028886813670396805,
0.01703818142414093,
0.010370702482759953,
-0.019851287826895714,
-0.0672794058918953,
-0.02881963551044464,
-0.021933825686573982,
-0.019313858821988106,
-0.04971219226717949,
-0.03281676396727562,
0.013486111536622047,
-0.0793379694223404,
0.01700459234416485,
-0.01586255617439747,
0.04611813277006149,
-0.00673885690048337,
-0.018776429817080498,
-0.015644224360585213,
0.0014065527357161045,
-0.022320102900266647,
0.03731773421168327,
0.028198232874274254,
0.006827028933912516,
0.06627172231674194,
-0.0073854513466358185,
0.07772568613290787,
-0.0368138924241066,
0.014712121337652206,
0.01601370796561241,
0.00839313119649887,
-0.013830401934683323,
0.013947964645922184,
-0.0714108943939209,
-0.03370688110589981,
0.050787050276994705,
-0.029205912724137306,
0.07006731629371643,
-0.029776930809020996,
0.06106537953019142,
-0.012671570293605328,
-0.0008287114906124771,
0.028231821954250336,
0.018087847158312798,
-0.008095026016235352,
0.021262038499116898,
-0.03209459409117699,
0.050216030329465866,
-0.0630471482872963,
-0.013771620579063892,
0.03573903441429138,
0.021262038499116898,
0.05485135689377785,
0.004509366117417812,
-0.02032153680920601,
-0.016232037916779518,
0.029172323644161224,
0.03708260878920555,
0.04658838361501694,
0.03691466152667999,
-0.053675729781389236,
-0.06664121150970459,
-0.03815746679902077,
-0.05169396102428436,
-0.04151639714837074,
-0.031154092401266098,
-0.014443406835198402,
-0.06405483186244965,
0.005076185800135136,
-0.024536997079849243,
-0.03553749993443489,
-0.006814432796090841,
0.01689542643725872,
-0.03704901784658432,
-0.011890619061887264,
0.05619493126869202,
-0.117428258061409,
0.01286470890045166,
0.026518767699599266,
0.028685277327895164,
0.031204476952552795,
0.0032812566496431828,
-0.00596630247309804,
-0.006944591645151377,
0.031406011432409286,
0.023394960910081863,
0.026921838521957397,
0.06637249141931534,
0.015257948078215122,
-0.04228895157575607,
-0.030062440782785416,
-0.0021896036341786385,
-0.054213158786296844,
-0.05757209286093712,
-0.06808555126190186,
-0.05740414559841156,
0.02410033531486988,
-0.030230386182665825,
-0.005147562827914953,
0.03345496207475662,
0.05643005669116974,
0.02186664566397667,
0.008565275929868221,
0.03216177225112915,
0.008993539959192276,
-0.05142524838447571,
0.015467881225049496,
0.0009058619616553187,
0.04296073690056801,
0.051156532019376755,
0.027056196704506874,
0.056933894753456116,
-0.048301439732313156,
-0.053071122616529465,
-0.01958257332444191,
0.05857977271080017,
-0.0635845810174942,
-0.010009616613388062,
0.05753850191831589,
0.07900207489728928,
-0.051727551966905594,
-0.020976528525352478,
-0.021681904792785645,
-0.06959706544876099,
0.005151761695742607,
-0.00287608546204865,
-0.00021465674217324704,
-0.03547032177448273,
-0.030667047947645187,
0.027341704815626144,
0.011428765952587128,
-0.016374792903661728,
0.12105590105056763,
-0.021245243027806282,
-0.07329189032316208,
-0.012344074435532093,
-0.031036529690027237,
-0.0021728090941905975,
0.014535777270793915,
-0.08323433250188828,
-0.04356534779071808,
0.07833029329776764,
-0.007603781763464212,
0.015333523973822594,
0.019565777853131294,
0.05105576291680336,
-0.07295600324869156,
0.021967414766550064,
0.021060502156615257,
0.06848862022161484,
0.03353893384337425,
0.02287432551383972,
-0.04202023893594742,
-0.03476494550704956,
0.016626711934804916,
0.052701640874147415,
0.02752644568681717,
0.06744734942913055,
-0.06627172231674194,
-0.013208999298512936,
0.018507715314626694,
0.0008024697890505195,
0.0034492032136768103,
0.05051833391189575,
0.003285455284640193,
0.05092140659689903,
-0.03410995379090309,
0.01496404130011797,
-0.04897322505712509,
0.0036738316994160414,
-0.002972654765471816,
-0.012100552208721638,
-0.04648761823773384,
0.030515896156430244,
-0.000011825145520560909,
-0.04312868416309357,
0.012184524908661842,
-0.07927079498767853,
0.06556634604930878,
0.01337694562971592,
-0.004183969460427761,
-0.05565750226378441,
-0.0642227753996849,
-0.0396689847111702,
0.05323906987905502,
-0.0018852005014196038,
0.016878632828593254,
0.010404291562736034,
-0.01146235503256321,
0.04779760167002678,
0.0254439078271389,
0.08867580443620682,
0.00154195970389992,
-0.00022620306117460132,
-0.04017282649874687,
0.015887748450040817,
0.011042488738894463,
-0.02410033531486988,
0.0331694521009922,
0.04571506381034851,
0.004803272429853678,
-0.007238497957587242,
-0.05609416216611862,
0.002231590449810028,
-0.06046077236533165,
0.03473135456442833,
-0.023176629096269608,
-0.009589750319719315,
-0.026065310463309288,
-0.023882005363702774,
0.010950117371976376,
-0.0035625670570880175,
-0.025427114218473434,
-0.022252922877669334,
-0.04218818247318268,
-0.009522572159767151,
-0.005777362734079361,
0.06445790082216263,
0.05401162430644035,
0.05377649888396263,
-0.016248833388090134,
-0.009623339399695396,
-0.025628650560975075,
-0.06261049211025238,
-0.03970257565379143,
0.015039617195725441,
0.055590320378541946,
0.026149284094572067,
-0.011034091003239155,
-0.009589750319719315,
-0.02190023474395275,
-0.012083757668733597,
-0.04988013952970505,
-0.026434794068336487,
0.031170887872576714,
-0.017332088202238083,
0.0045723458752036095,
-0.03577262535691261,
0.04198664799332619,
0.0027039400301873684,
0.03232971951365471,
-0.011235627345740795,
-0.016341203823685646,
-0.009766094386577606,
0.06126691773533821,
-0.016139667481184006,
0.039433859288692474,
-0.04823426157236099,
-0.06331586837768555,
-0.0135952765122056,
-0.013880785554647446,
0.008624057285487652,
-0.029037965461611748,
-0.07900207489728928,
0.05874771624803543,
-0.045211222022771835,
-0.0005145988543517888,
0.039836931973695755,
-0.004003426991403103,
0.015131987631320953,
-0.008842388167977333,
0.015006028115749359,
0.000016761856386438012,
-0.031238066032528877,
-0.0007184965070337057,
0.012117346748709679,
0.003934148699045181,
-0.049040403217077255,
-0.04994731768965721,
0.026720302179455757,
0.01219292264431715,
-0.003623447846621275,
-0.013460919260978699,
0.009589750319719315,
-0.05525442957878113,
-0.01726491004228592,
0.049846548587083817,
0.0650625079870224,
0.03278317302465439,
-0.01726491004228592,
0.031036529690027237,
-0.03798951953649521,
-0.027862340211868286,
-0.010815760120749474,
-0.012612788937985897,
0.04433790221810341,
-0.027106579393148422,
-0.029373858124017715,
0.017281703650951385,
0.00030860185506753623,
0.011764658614993095,
0.026485176756978035,
-0.03424431011080742,
-0.012402855791151524,
0.0042868368327617645,
-0.02349572815001011,
0.029457831755280495,
0.014443406835198402,
0.00252339756116271,
0.02072460949420929,
0.049846548587083817,
-0.013259383849799633,
-0.02101011946797371,
0.01827258989214897,
0.02137960121035576,
0.006520526483654976,
-0.023747649043798447,
-0.011546328663825989,
-0.0013855594443157315,
-0.0014506386360153556,
-0.05774004012346268,
-0.049812957644462585,
0.003890062915161252,
-0.01758400909602642,
-0.00920347310602665,
-0.009799683466553688,
0.004513564519584179,
-0.009866862557828426,
-0.03970257565379143,
-0.0508878156542778,
0.02853412553668022,
0.04087819904088974,
-0.048066314309835434,
-0.004089499358087778,
0.09787927567958832,
-0.01750003546476364,
0.03190985321998596,
0.010580635629594326,
-0.044640205800533295,
0.08451072871685028,
-0.04373329132795334,
0.03342137113213539,
0.012470034882426262,
0.017315294593572617,
-0.0014852776657789946,
0.016114475205540657,
0.02841656282544136,
-0.07006731629371643,
-0.006608698517084122,
0.009648531675338745,
-0.0325312539935112,
-0.021245243027806282,
0.01975051872432232,
-0.009740902110934258,
-0.05854618176817894,
-0.030667047947645187,
0.029491420835256577,
-0.020388716831803322,
0.031573958694934845,
0.005227337591350079,
-0.0275600366294384,
-0.012889901176095009,
-0.029709752649068832,
-0.020019233226776123,
-0.059385914355516434,
0.022286511957645416,
-0.050585512071847916,
-0.03268240764737129,
0.08592147380113602,
0.02206818200647831,
0.05186190828680992,
-0.05837823450565338,
-0.020120002329349518,
0.025141604244709015,
0.046554796397686005,
-0.008565275929868221,
-0.006827028933912516,
0.005857137497514486,
-0.002100382000207901,
-0.04863733425736427,
-0.037720803171396255,
-0.020002439618110657,
0.01581217162311077,
-0.009883657097816467,
-0.010395893827080727,
0.007910284213721752,
-0.041012559086084366,
-0.02055666223168373,
0.012579199858009815,
-0.0020919847302138805,
0.07275446504354477,
0.008926361799240112,
0.010185960680246353,
-0.001854760223068297,
-0.0035940571688115597,
-0.046957869082689285,
-0.03404277563095093,
-0.002183305798098445,
0.008775209076702595,
-0.07577750086784363,
-0.014401420019567013,
-0.0024121329188346863,
0.04238972067832947,
0.01589614525437355,
0.00930424127727747,
-0.05401162430644035,
0.038493357598781586,
0.006197229493409395,
0.0502496212720871,
0.06959706544876099,
-0.039836931973695755,
-0.015199166722595692,
0.02386520989239216,
-0.015299934893846512,
0.05132447928190231,
0.03802310675382614,
-0.010320317931473255,
0.015048014931380749,
0.044606614857912064,
-0.0012312585022300482,
0.05186190828680992,
0.0564972348511219,
0.013083039782941341,
0.02792951837182045,
-0.011084475554525852,
0.060763075947761536,
-0.003965639043599367,
-0.069193996489048,
0.02218574471771717,
-0.039836931973695755,
0.015467881225049496,
-0.09357984364032745,
-0.035235196352005005,
-0.039030786603689194,
-0.09263934195041656,
0.025578266009688377,
0.0317419059574604,
0.020455894991755486,
0.010731787420809269,
-0.02675389125943184,
-0.034596998244524,
-0.059217967092990875,
0.04860374331474304,
-0.04181870073080063,
-0.015215961262583733,
0.0026619534473866224,
0.004345618188381195,
0.042927149683237076,
-0.059217967092990875,
0.019800903275609016,
-0.03876207396388054,
0.0317419059574604,
-0.007801119238138199,
-0.0037053218111395836,
0.007120935712009668,
-0.015350318513810635,
0.007683556526899338,
-0.004542955197393894,
0.002271477598696947,
-0.01738247275352478,
-0.021631520241498947,
-0.004584942013025284,
0.0011126461904495955,
0.0004901941283605993,
-0.06109897047281265,
-0.020136795938014984,
0.03379085287451744,
0.06062871962785721,
0.07107499986886978,
-0.03338778391480446,
-0.037888750433921814,
0.018255794420838356,
-0.024805711582303047,
0.015501470305025578,
0.042154595255851746,
-0.046924278140068054,
-0.004794875159859657,
0.03950103744864464,
0.049241941422224045,
0.010085192508995533,
0.046386849135160446,
-0.012167730368673801,
0.020405510440468788,
0.04353175684809685,
0.05609416216611862,
0.019800903275609016,
-0.028618099167943,
0.0215307530015707,
-0.012629583477973938,
-0.042154595255851746,
0.02117806486785412,
-0.036981839686632156,
-0.06119973957538605,
-0.1082247868180275,
0.025561470538377762,
-0.03410995379090309,
0.03078461065888405,
-0.020774994045495987,
-0.014174692332744598,
0.06042718514800072,
0.007893489673733711,
-0.03187626227736473,
-0.005542237777262926,
-0.07517289370298386,
0.053675729781389236,
0.0431622751057148,
-0.002806807402521372,
0.03231292590498924,
-0.021446779370307922,
0.05142524838447571,
0.02352931722998619,
0.036746714264154434,
0.02561185508966446,
-0.0027543241158127785,
-0.004496769979596138,
0.028970787301659584,
-0.034261103719472885,
0.051929086446762085,
-0.016945810988545418,
0.03201062232255936,
-0.08457790315151215,
-0.0010638367384672165,
0.006268606521189213,
-0.03101973608136177,
0.03516801819205284,
-0.07020167261362076,
0.05777362734079361,
0.022538432851433754,
-0.014174692332744598,
0.05370932072401047,
0.0034764944575726986,
-0.010941720567643642,
0.03500007092952728,
0.03604133799672127,
-0.013889183290302753,
-0.035974159836769104,
0.015938131138682365,
-0.0933111235499382,
0.016198448836803436,
0.020657431334257126,
0.031322039663791656,
-0.01712215505540371,
-0.08666044473648071,
0.047696832567453384,
-0.03936668112874031,
-0.09861823916435242,
-0.009581353515386581,
0.0067976382561028,
0.04282638058066368,
0.006285401061177254,
0.04890604689717293,
-0.06848862022161484,
0.029776930809020996,
-0.009841670282185078,
0.05548955500125885,
0.016626711934804916,
0.0019198395311832428,
0.01686183735728264,
0.04124768450856209,
0.0628456175327301,
-0.002223192946985364,
0.04114691540598869,
0.07255292683839798,
0.021060502156615257,
-0.043095096945762634,
0.023579701781272888,
-0.011999784037470818,
-0.018054258078336716,
-0.02386520989239216,
0.028567714616656303,
0.028466947376728058,
-0.0049082390032708645,
0.03125486150383949,
0.02043909952044487,
-0.04312868416309357,
0.0005526492604985833,
-0.01675267331302166,
0.04299432784318924,
0.030515896156430244,
-0.0169794000685215,
-0.06778324395418167,
0.024805711582303047,
0.01522435899823904,
-0.03500007092952728,
0.035604678094387054,
0.03345496207475662,
0.04433790221810341,
0.005147562827914953,
-0.01889399252831936,
-0.003642341820523143,
-0.021060502156615257,
0.03614210709929466,
-0.009337830357253551,
0.015518264845013618,
0.018390152603387833,
0.008640851825475693,
0.005878130905330181,
0.03439546376466751,
0.036175694316625595,
0.028399769216775894,
0.05589262768626213,
0.034832123667001724,
-0.012831119820475578,
-0.03842617943882942,
-0.010656211525201797,
-0.009337830357253551,
-0.017298499122262,
0.02238728106021881,
0.003992930054664612,
-0.015006028115749359,
0.009698915295302868,
0.04786477982997894,
0.016055693849921227,
0.014166295528411865,
0.0374520905315876,
0.009514174424111843
]
|
31,498 | laspy.copc | __exit__ | null | def __exit__(self, _exc_type, _exc_val, _exc_tb) -> None:
if self.close_fd:
self.source.close()
| (self, _exc_type, _exc_val, _exc_tb) -> NoneType | [
0.015681641176342964,
-0.02102804183959961,
0.012684931978583336,
0.03994476795196533,
-0.04559765011072159,
-0.051318638026714325,
-0.018695376813411713,
0.08690455555915833,
0.020585346966981888,
-0.05264672636985779,
-0.010701315477490425,
-0.03844641149044037,
0.020295891910791397,
0.009211474098265171,
-0.027702530845999718,
0.08881155401468277,
-0.05043324828147888,
0.0362669862806797,
-0.007308734580874443,
0.009432822465896606,
-0.051488906145095825,
-0.000011863857253047172,
-0.026238229125738144,
-0.0852699875831604,
-0.01270195934921503,
0.03551781177520752,
-0.01643933169543743,
-0.004216250032186508,
0.01250615157186985,
-0.0320613794028759,
-0.05067162215709686,
-0.04995649680495262,
0.0018367611337453127,
0.044746313244104385,
0.023922590538859367,
0.019512660801410675,
-0.04345227777957916,
-0.006844755262136459,
0.05336184799671173,
0.011969808489084244,
0.0039012550842016935,
-0.03616482764482498,
0.009313634596765041,
-0.000044063377572456375,
0.015749748796224594,
0.004097063094377518,
-0.055030472576618195,
-0.04678952321410179,
0.019069965928792953,
-0.0644632950425148,
-0.023718269541859627,
0.033747028559446335,
0.044439829885959625,
0.009407281875610352,
0.02814522571861744,
0.05714178830385208,
0.02436528541147709,
0.04907110705971718,
0.005333630833774805,
-0.05319158360362053,
-0.0008257976151071489,
0.04277120903134346,
-0.0250123031437397,
-0.0062275356613099575,
0.011765487492084503,
0.01221669651567936,
-0.020619399845600128,
0.00008573236846132204,
0.016209470108151436,
0.01789511926472187,
0.005542208906263113,
-0.01763971708714962,
-0.04631277173757553,
0.08486134558916092,
0.019921302795410156,
-0.04927542805671692,
-0.055234793573617935,
-0.026136068627238274,
0.022066675126552582,
-0.08343109488487244,
0.016584059223532677,
0.044405777007341385,
-0.014498281292617321,
0.037424806505441666,
0.07927656918764114,
-0.03250407427549362,
0.020670481026172638,
0.005546465516090393,
-0.04583602398633957,
0.06606380641460419,
0.009586063213646412,
0.029881954193115234,
-0.03151652216911316,
-0.0058784871362149715,
0.06075146049261093,
-0.018729429692029953,
-0.0041396296583116055,
0.02828143909573555,
0.022798825055360794,
-0.019614821299910545,
0.04273715615272522,
-0.020551292225718498,
0.02107912302017212,
0.019904276356101036,
0.03613077476620674,
0.03184003010392189,
0.043997135013341904,
-0.015043137595057487,
-0.05101215839385986,
-0.036811843514442444,
-0.08179652690887451,
-0.05322563648223877,
-0.015213405713438988,
-0.033440545201301575,
-0.02438231371343136,
-0.0490030013024807,
-0.030120329931378365,
0.0656551644206047,
-0.0023731039837002754,
-0.016967160627245903,
0.044405777007341385,
0.02176019176840782,
-0.08159220963716507,
-0.0019133816240355372,
0.0254379715770483,
0.052033763378858566,
0.0027242808137089014,
0.013561810366809368,
-0.0031967731192708015,
0.07641607522964478,
-0.04658520221710205,
0.021947486326098442,
-0.023922590538859367,
0.011067390441894531,
0.01425990741699934,
0.012489124201238155,
-0.007866361178457737,
0.014574902132153511,
-0.006142401602119207,
-0.06926483660936356,
-0.007181033957749605,
0.029711687937378883,
-0.031073827296495438,
-0.03885505348443985,
0.007189547177404165,
0.03905937448143959,
-0.0040076724253594875,
-0.009517955593764782,
-0.026800112798810005,
-0.0244163665920496,
-0.02841765433549881,
-0.01435355469584465,
-0.04995649680495262,
0.062181707471609116,
0.022611530497670174,
0.0357561856508255,
-0.044371724128723145,
0.04532521963119507,
0.0018325045239180326,
0.015613534487783909,
0.004529116675257683,
-0.01717999577522278,
-0.008121762424707413,
-0.03916153684258461,
0.005022892728447914,
-0.016584059223532677,
-0.023922590538859367,
0.03902532160282135,
-0.0033819391392171383,
-0.0035351798869669437,
-0.07226154953241348,
-0.02857089415192604,
0.011075903661549091,
0.0011216375278308988,
-0.05646071955561638,
0.03548375889658928,
0.01036078017205,
0.008045141585171223,
-0.02809414453804493,
-0.0009641399956308305,
0.04668736085295677,
-0.10018542408943176,
-0.04157933592796326,
0.05264672636985779,
0.013715051114559174,
0.018780510872602463,
-0.01774187944829464,
-0.013689510524272919,
0.002737050876021385,
-0.01799727976322174,
0.006138144992291927,
-0.026902273297309875,
-0.02509743720293045,
-0.0019506275421008468,
0.047504644840955734,
-0.02101101540029049,
-0.025574184954166412,
0.025778505951166153,
0.04018314182758331,
0.00858999788761139,
-0.025965800508856773,
0.04944569617509842,
0.013212761841714382,
-0.040898263454437256,
0.026187149807810783,
0.01780998520553112,
0.04219229891896248,
-0.009798897430300713,
-0.048253823071718216,
0.024007724598050117,
0.01806538738310337,
-0.02182829938828945,
-0.012787092477083206,
0.0324019156396389,
0.071852907538414,
-0.023616109043359756,
-0.04910515993833542,
-0.03984260559082031,
0.010394833981990814,
0.06357790529727936,
0.011058877222239971,
-0.016822433099150658,
0.005729502998292446,
0.005056946072727442,
0.02070453390479088,
-0.0030179922468960285,
-0.02172613888978958,
0.012974387034773827,
0.06024065986275673,
-0.03568807989358902,
-0.04226040467619896,
0.004920732229948044,
-0.0031286661978811026,
-0.03929774835705757,
0.017341749742627144,
0.0244163665920496,
0.029183857142925262,
0.037799395620822906,
-0.08581484109163284,
-0.005589032080024481,
-0.002453980967402458,
0.0010992898605763912,
0.009807410649955273,
-0.03820803761482239,
0.04651709273457527,
0.016703246161341667,
0.05080783739686012,
0.054689936339855194,
0.006951172836124897,
0.006597867701202631,
0.05353211611509323,
-0.018933750689029694,
0.010582128539681435,
-0.027089565992355347,
-0.005120796617120504,
-0.07982143014669418,
0.013153168372809887,
-0.08268192410469055,
0.05298726260662079,
-0.006035984493792057,
0.022424235939979553,
0.044303614646196365,
0.014447201043367386,
0.04927542805671692,
-0.000016893733118195087,
-0.0024901628494262695,
0.029933035373687744,
-0.07369179278612137,
0.03933180496096611,
0.0017463065451011062,
0.01093969028443098,
-0.010820502415299416,
-0.06664271652698517,
-0.012906280346214771,
-0.04147717356681824,
0.026953352615237236,
-0.012574258260428905,
-0.03236786276102066,
-0.03820803761482239,
0.005452818237245083,
0.09487307816743851,
0.05646071955561638,
0.03277650475502014,
0.0049888393841683865,
-0.0254379715770483,
0.019086992368102074,
-0.026272282004356384,
-0.03766318038105965,
-0.02462068758904934,
-0.000055436717957491055,
-0.023122332990169525,
0.0012919050641357899,
0.008436757139861584,
0.05417913198471069,
0.06303304433822632,
0.000989148044027388,
-0.0289625097066164,
-0.02497824840247631,
-0.00527403736487031,
0.013306409120559692,
0.00314782140776515,
-0.02841765433549881,
0.016345685347914696,
0.07716525346040726,
-0.03647130727767944,
-0.009305121377110481,
0.03596050664782524,
-0.016226496547460556,
-0.022288022562861443,
0.05782286077737808,
0.06739189475774765,
0.026612818241119385,
-0.019001858308911324,
-0.005793353542685509,
0.04253283515572548,
-0.006963942665606737,
0.018439974635839462,
-0.013715051114559174,
-0.05210186913609505,
0.04321390390396118,
-0.051454853266477585,
-0.08145599812269211,
0.05608613044023514,
-0.04338417202234268,
0.06459950655698776,
0.0035351798869669437,
0.015272999182343483,
0.014634495601058006,
-0.0006033856188878417,
-0.023786377161741257,
-0.03514322265982628,
-0.018576189875602722,
0.033627841621637344,
-0.051182426512241364,
0.03510916978120804,
-0.002815799554809928,
-0.011459005996584892,
-0.03831019997596741,
0.025523105636239052,
-0.06793674826622009,
-0.0426349937915802,
-0.003160591470077634,
0.01085455622524023,
-0.0424647256731987,
-0.04590412974357605,
0.011212117969989777,
0.004305640701204538,
-0.041068531572818756,
0.050909996032714844,
0.024058803915977478,
0.019393473863601685,
0.047538697719573975,
0.004627020563930273,
0.030903559178113937,
-0.01786106638610363,
-0.008206895552575588,
-0.0044312127865850925,
0.008602768182754517,
0.05005865916609764,
-0.027617396786808968,
0.05581370368599892,
0.03173787146806717,
-0.0043184105306863785,
-0.013093574903905392,
-0.013757618144154549,
-0.033695947378873825,
-0.06064930185675621,
0.027157673612236977,
-0.03885505348443985,
0.030614105984568596,
-0.05591586232185364,
-0.05274888500571251,
0.01076090894639492,
-0.007334274705499411,
0.001229118905030191,
-0.04515495523810387,
0.015681641176342964,
0.018950778990983963,
0.01649041287600994,
0.044269561767578125,
-0.004635533783584833,
0.029371151700615883,
-0.0362669862806797,
-0.02542094513773918,
-0.04243067279458046,
-0.061875227838754654,
-0.004339694045484066,
-0.0030286340042948723,
0.01763971708714962,
0.031227068975567818,
0.02875818870961666,
-0.014855843968689442,
0.044303614646196365,
-0.008100478909909725,
0.030052222311496735,
0.01428544707596302,
0.0039693620055913925,
0.008006831631064415,
0.02492716908454895,
0.03613077476620674,
-0.044371724128723145,
0.09371525794267654,
-0.058912571519613266,
0.02509743720293045,
0.06255629658699036,
-0.012906280346214771,
0.03912748396396637,
-0.04304363578557968,
0.07546257972717285,
-0.01837186887860298,
-0.07709714770317078,
-0.03156760334968567,
-0.02167505957186222,
-0.026561737060546875,
0.02513149008154869,
-0.013357489369809628,
0.03330433368682861,
0.008398447185754776,
0.058776356279850006,
0.006623407825827599,
0.01630311831831932,
0.022049646824598312,
0.03817398473620415,
-0.026153095066547394,
-0.06776648759841919,
-0.07335125654935837,
-0.041238799691200256,
0.03454728424549103,
-0.022883959114551544,
-0.0032095431815832853,
-0.047879233956336975,
0.003471329575404525,
0.036675628274679184,
0.02431420609354973,
-0.0009311506291851401,
0.019734008237719536,
-0.07137615978717804,
0.006904349196702242,
0.06092172861099243,
0.058572035282850266,
0.05196565389633179,
0.026595791801810265,
0.018933750689029694,
-0.002932858420535922,
-0.016039203852415085,
-0.04913921281695366,
0.08826670050621033,
0.02465474046766758,
-0.02862197533249855,
-0.0053123473189771175,
0.000051346309192012995,
-0.009952138178050518,
-0.011884674429893494,
-0.034053508192300797,
-0.015349619090557098,
-0.03589240089058876,
-0.02548905275762081,
-0.010199026204645634,
-0.026783084496855736,
0.005848690401762724,
-0.015783801674842834,
0.037356700748205185,
0.05383859947323799,
-0.05237429961562157,
-0.0320613794028759,
-0.010224565863609314,
0.011850621551275253,
-0.033934321254491806,
0.01801430620253086,
0.020227784290909767,
-0.043860919773578644,
0.0320613794028759,
-0.03813993185758591,
0.024058803915977478,
-0.025727426633238792,
-0.033270277082920074,
0.005537951830774546,
0.044848471879959106,
0.020602373406291008,
-0.006976712960749865,
0.05952553451061249,
-0.05257862061262131,
0.03939991071820259,
-0.010914149694144726,
-0.07546257972717285,
0.019751034677028656,
0.06279467046260834,
-0.06453140079975128,
0.019257260486483574,
0.058095287531614304,
-0.0001374112325720489,
-0.02829846739768982,
-0.016992701217532158,
-0.03630104288458824,
0.03151652216911316,
-0.013417082838714123,
-0.033730000257492065,
-0.0287071093916893,
0.03173787146806717,
-0.10713233798742294,
-0.008032371290028095,
-0.018729429692029953,
-0.05761853978037834,
-0.033934321254491806,
0.020023463293910027,
-0.0105736143887043,
-0.0027242808137089014,
-0.007513055577874184,
-0.022424235939979553,
-0.04140906780958176,
-0.03447917848825455,
0.025744453072547913,
-0.0013408568920567632,
0.02819630689918995,
0.031141934916377068,
-0.020483186468482018,
-0.02479095570743084,
-0.021862352266907692,
0.0031754898373037577,
0.06010444462299347,
0.034291885793209076,
0.022935038432478905,
0.02846873365342617,
-0.027208754792809486,
0.017792958766222,
-0.04971812292933464,
0.03192516416311264,
0.033730000257492065,
0.03616482764482498,
0.03783344849944115,
0.005682679358869791,
-0.04689168184995651,
0.002236889908090234,
-0.05659693479537964,
-0.00033627840457484126,
-0.02164100483059883,
-0.012557231821119785,
-0.01638825237751007,
-0.062351975589990616,
-0.03796966373920441,
-0.0051335664466023445,
0.0501948744058609,
0.012480610981583595,
0.0014376966282725334,
0.00016893733118195087,
-0.034104589372873306,
-0.004163041710853577,
0.00870918482542038,
0.03272542357444763,
0.01660959981381893,
0.022849904373288155,
0.008032371290028095,
0.09759736061096191,
0.00407577957957983,
-0.01752053014934063,
0.023786377161741257,
0.04471225664019585,
0.0654848963022232,
0.037118326872587204,
0.01792917214334011,
-0.0013036108575761318,
0.07519014924764633,
0.029796820133924484,
-0.04341822490096092,
0.0058401767164468765,
0.020261839032173157,
0.03235083445906639,
-0.01608176901936531,
0.037084270268678665,
-0.01745242439210415,
-0.033627841621637344,
-0.03481971472501755,
0.07158047705888748,
0.007828050293028355,
0.03493890166282654,
-0.005818893667310476,
-0.01584339514374733,
0.04726627096533775,
0.013033980503678322,
-0.044235508888959885,
-0.0042524319142103195,
-0.030511945486068726,
0.0030073504894971848,
-0.04375876113772392,
-0.03895721584558487,
0.00890499260276556,
-0.006031727883964777,
-0.006333952769637108,
-0.016090283170342445,
0.03500700742006302,
-0.019529687240719795,
0.013553297147154808,
-0.04307768866419792,
-0.08295434713363647,
0.0574142187833786,
0.005772070027887821,
-0.009032693691551685,
0.0330829843878746,
0.0007385354838334024,
0.009058233350515366,
-0.03882100060582161,
-0.027583342045545578,
-0.013016954064369202,
-0.0051378230564296246,
-0.007925954647362232,
-0.0060487547889351845,
-0.0036586239002645016,
0.013723564334213734,
-0.0289625097066164,
0.05016082152724266,
-0.01828673481941223,
-0.004886678420007229,
0.03289569169282913,
-0.025369863957166672,
-0.0563926137983799,
0.0019548842683434486,
-0.003920410294085741,
0.033985402435064316,
-0.008496350608766079,
0.06092172861099243,
-0.00444398308172822,
-0.0327424481511116,
-0.0067213112488389015,
0.0007411959231831133,
-0.0015143170021474361,
0.04181770980358124,
0.0029073182959109545,
0.04362254589796066,
-0.08329488337039948,
0.008611281402409077,
-0.047538697719573975,
0.0034159927163273096,
0.03653941676020622,
-0.01613285019993782,
0.008385676890611649,
0.06688109040260315,
0.06385032832622528,
0.018814563751220703,
0.004180068150162697,
0.026919299736618996,
0.02535283751785755,
-0.016626626253128052,
0.031175987794995308,
0.007802510168403387,
-0.051761332899332047,
-0.027583342045545578,
0.040421515703201294,
-0.03500700742006302,
0.026289310306310654,
-0.08383974432945251,
0.030784372240304947,
0.06340763717889786,
-0.04018314182758331,
-0.09160394221544266,
0.022373156622052193,
-0.05043324828147888,
0.0003756527730729431,
0.007257654331624508,
-0.0505354069173336,
0.08084303140640259,
0.013468163087964058,
0.0025987084954977036,
0.01774187944829464,
-0.026612818241119385,
0.01818457432091236,
-0.020346971228718758,
0.009552009403705597,
-0.008360136300325394,
-0.033406492322683334,
-0.00878580566495657,
-0.027208754792809486,
-0.04593818634748459,
-0.07335125654935837,
0.015451779589056969,
-0.03568807989358902,
-0.04958191141486168,
0.04219229891896248,
-0.015511373989284039,
-0.04559765011072159,
-0.0012386963935568929,
-0.0048185717314481735,
0.030665185302495956,
-0.006844755262136459,
-0.019359420984983444,
0.058095287531614304,
0.07382801175117493,
-0.05373643711209297,
0.019819142296910286,
0.027004433795809746,
-0.048219770193099976,
0.00713421031832695,
0.009134854190051556,
-0.023105306550860405,
-0.01830376125872135,
-0.13287679851055145,
-0.008836885914206505,
-0.02838359959423542,
-0.07410043478012085,
-0.04021719470620155,
0.00021004097652621567,
-0.007074616849422455,
-0.0030605592764914036,
0.06602975726127625,
-0.02502932958304882,
0.027140647172927856,
-0.009237014688551426,
-0.007891900837421417,
0.0026540453545749187,
0.020517239347100258,
-0.003860816592350602,
0.0015324079431593418,
-0.010582128539681435,
-0.025608239695429802,
0.0362669862806797,
0.01054807472974062,
0.013008440844714642,
-0.0760074332356453,
0.0074619753286242485,
0.02063642628490925,
-0.013927885331213474,
-0.0002405029081273824,
0.04352038353681564,
0.011850621551275253,
-0.03977449983358383,
-0.005882743746042252,
-0.04501873999834061,
-0.04999055340886116,
0.012361424043774605,
0.03854857385158539,
0.023020172491669655,
-0.023462867364287376,
-0.051352690905332565,
-0.0026817137841135263,
0.04672141373157501,
-0.0725339725613594,
-0.0037011909298598766,
0.020108597353100777,
0.05683530867099762,
0.059219054877758026,
0.013519243337213993,
-0.033968374133110046,
-0.004037469159811735,
-0.006006187759339809,
0.0005922118434682488,
0.07859549671411514,
0.04249877855181694,
-0.029933035373687744,
0.05949148163199425,
-0.005201673600822687,
-0.0024859062395989895,
0.03916153684258461,
0.024195019155740738,
0.062079548835754395,
0.04535927623510361,
0.04580197110772133,
-0.055166684091091156,
-0.018610242754220963,
0.008704928681254387,
-0.008572971448302269,
0.03970639407634735,
0.03417269513010979,
0.02196451462805271,
0.015494346618652344,
-0.0004738226707559079,
0.0770290419459343,
0.037492912262678146,
0.006823472213000059,
0.05329374223947525
]
|
31,499 | laspy.copc | __init__ |
Creates a CopcReader.
Parameters
---------
stream: the stream from where data can be read.
It must have the following file object methods:
read, seek, tell
http_num_threads: int, optional, default num cpu * 5
Number of worker threads to do concurent HTTP requests,
ignored when reading non-HTTP file
close_fd: optional, default bool
Whether the stream/file object shall be closed, this only work
when using the CopcReader in a with statement.
decompression_selection: DecompressionSelection,
see :func:`laspy.open`
.. versionadded:: 2.4
The ``decompression_selection`` parameter.
| def __init__(
self,
stream,
close_fd: bool = True,
http_num_threads: int = DEFAULT_HTTP_WORKERS_NUM,
_http_strategy: str = "queue",
decompression_selection: DecompressionSelection = DecompressionSelection.all(),
):
"""
Creates a CopcReader.
Parameters
---------
stream: the stream from where data can be read.
It must have the following file object methods:
read, seek, tell
http_num_threads: int, optional, default num cpu * 5
Number of worker threads to do concurent HTTP requests,
ignored when reading non-HTTP file
close_fd: optional, default bool
Whether the stream/file object shall be closed, this only work
when using the CopcReader in a with statement.
decompression_selection: DecompressionSelection,
see :func:`laspy.open`
.. versionadded:: 2.4
The ``decompression_selection`` parameter.
"""
if lazrs is None:
raise LazError("COPC support requires the 'lazrs' backend")
self.source = stream
self.close_fd = close_fd
self.http_num_threads = http_num_threads
self.http_strategy = _http_strategy
self.decompression_selection: lazrs.DecompressionSelection = (
decompression_selection.to_lazrs()
)
self.header = LasHeader.read_from(self.source)
self.copc_info: CopcInfoVlr = self.header.vlrs[0]
if not isinstance(self.copc_info, CopcInfoVlr):
copc_info_exists = any(
isinstance(vlr, CopcInfoVlr) for vlr in self.header.vlrs
)
if copc_info_exists:
raise LaspyException(
"This file is not a valid COPC, "
"it does have a COPC VLR, however it is not the first VLR "
"as it should"
)
else:
raise LaspyException(
"This file is not a valid COPC, " "it does not have a COPC VLR"
)
if self.copc_info.hierarchy_root_offset < self.header.offset_to_point_data:
self.hierarchy = self.header.vlrs.extract("CopcHierarchyVlr")[0]
else:
# TODO maybe we could read the whole EVLR's byte
# so we could load the octree without having any more requests to do
# since everything would be in memory
self.source.seek(self.copc_info.hierarchy_root_offset)
# This only contains the record_data_bytes
root_hierarchy_vlr_bytes = self.source.read(
self.copc_info.hierarchy_root_size
)
hierarchy = CopcHierarchyVlr()
hierarchy.parse_record_data(root_hierarchy_vlr_bytes)
self.laszip_vlr = self.header.vlrs.pop(self.header.vlrs.index("LasZipVlr"))
self.source.seek(self.copc_info.hierarchy_root_offset)
root_page_bytes = self.source.read(self.copc_info.hierarchy_root_size)
# At first the hierary only contains the root page entries
# but it will get updated as the queries may need more pages
self.root_page = HierarchyPage.from_bytes(root_page_bytes)
| (self, stream, close_fd: bool = True, http_num_threads: int = 300, _http_strategy: str = 'queue', decompression_selection: laspy._compression.selection.DecompressionSelection = <DecompressionSelection.ALL_EXTRA_BYTES|WAVEPACKET|NIR|RGB|GPS_TIME|POINT_SOURCE_ID|USER_DATA|SCAN_ANGLE|INTENSITY|FLAGS|CLASSIFICATION|Z|XY_RETURNS_CHANNEL: 8191>) | [
-0.036409225314855576,
-0.03893507644534111,
-0.05577408894896507,
0.013994860462844372,
-0.015812240540981293,
0.002252474194392562,
-0.05339198186993599,
0.020894747227430344,
-0.006915288511663675,
-0.07478984445333481,
0.009394935332238674,
0.0176398903131485,
-0.03429407998919487,
0.03924310952425003,
-0.0007533917087130249,
0.03180930018424988,
-0.04139932245016098,
0.01214667595922947,
-0.010190681554377079,
-0.0035551872570067644,
-0.03733331710100174,
0.0576222725212574,
-0.008706999942660332,
0.034253012388944626,
-0.002615693723782897,
0.03433515131473541,
-0.01318371295928955,
-0.013717632740736008,
-0.018030062317848206,
-0.031624481081962585,
0.02431388758122921,
0.002088191220536828,
-0.07359879463911057,
-0.012618989683687687,
-0.01825595088303089,
0.03852437064051628,
0.04238501936197281,
-0.023389795795083046,
-0.029037024825811386,
0.015678761526942253,
-0.03244589641690254,
-0.04677959159016609,
-0.0550348125398159,
-0.05569194629788399,
-0.03406819328665733,
0.008583787828683853,
-0.05864904075860977,
-0.008398969657719135,
0.022671056911349297,
-0.03285660594701767,
-0.004497247748076916,
-0.01738319732248783,
-0.016818474978208542,
-0.04743672534823418,
0.016459105536341667,
0.025135302916169167,
-0.030905744060873985,
0.09421631693840027,
0.016715798527002335,
0.028728993609547615,
-0.01766042597591877,
0.001993215177208185,
0.003811879549175501,
0.027969185262918472,
-0.008419505320489407,
-0.01231095939874649,
-0.0020535378716886044,
-0.023615684360265732,
0.0045023816637694836,
0.015206447802484035,
0.01794791966676712,
0.03345213085412979,
0.01178730744868517,
0.009600289165973663,
0.01389218308031559,
-0.018440769985318184,
-0.04222073778510094,
-0.030885208398103714,
-0.01338906679302454,
-0.02692188136279583,
0.010729734785854816,
0.006812611594796181,
0.027599548920989037,
-0.0405573733150959,
0.051584869623184204,
-0.047847431153059006,
0.12773005664348602,
-0.0009940406307578087,
-0.0006943524931557477,
0.09339489787817001,
-0.030207540839910507,
0.05240628495812416,
-0.01911843754351139,
0.0036296281032264233,
0.04587603360414505,
-0.002606709487736225,
0.029160236939787865,
0.04039308801293373,
-0.0041917841881513596,
0.0035705887712538242,
-0.02893434837460518,
0.019611285999417305,
-0.02879060059785843,
0.009651627391576767,
-0.0160586666315794,
-0.0010043083457276225,
0.006643194705247879,
0.054500892758369446,
0.02690134570002556,
-0.05988116189837456,
-0.04037255421280861,
-0.04809385538101196,
0.03359587863087654,
0.03542352840304375,
-0.025094231590628624,
0.0023602850269526243,
-0.02431388758122921,
0.01951887644827366,
-0.08838427066802979,
0.0018314990447834134,
-0.006299227476119995,
0.01353281456977129,
-0.025094231590628624,
0.03201465308666229,
-0.019775569438934326,
0.04645102471113205,
0.015668492764234543,
-0.0036886672023683786,
0.03371909260749817,
-0.00847597699612379,
0.024416564032435417,
-0.03850383311510086,
0.01810193620622158,
-0.009441140107810497,
0.017680959776043892,
-0.01811220310628414,
-0.03458157554268837,
0.00905096810311079,
-0.07902013510465622,
-0.015247518196702003,
0.036121729761362076,
0.001714704092592001,
0.0208536759018898,
-0.06415252387523651,
-0.02069966122508049,
0.03474586084485054,
0.024231746792793274,
-0.10119834542274475,
-0.054952673614025116,
0.008660796098411083,
0.025094231590628624,
-0.062468621879816055,
-0.018060864880681038,
0.029755763709545135,
0.0051158759742975235,
-0.013707364909350872,
-0.053761620074510574,
-0.051297374069690704,
-0.030043257400393486,
0.014836810529232025,
-0.01839969865977764,
0.026100466027855873,
0.006278691813349724,
-0.05372054874897003,
-0.05055810138583183,
-0.054624106734991074,
-0.027004022151231766,
-0.07918442040681839,
-0.03195304796099663,
0.011561417952179909,
0.0034730457700788975,
0.03651190176606178,
-0.03359587863087654,
0.00941033661365509,
0.010637326166033745,
0.027989720925688744,
0.00193545944057405,
0.02228088490664959,
-0.029468268156051636,
-0.05162594094872475,
-0.040187735110521317,
0.012064534239470959,
-0.018574248999357224,
0.014703330583870411,
0.003429408185184002,
0.04587603360414505,
0.026264749467372894,
-0.032363757491111755,
0.08739856630563736,
0.027291517704725266,
-0.039160966873168945,
-0.006781808566302061,
0.009009896777570248,
-0.03361641243100166,
0.053186628967523575,
-0.05860796943306923,
0.00005498828977579251,
-0.002002199413254857,
0.012526581063866615,
0.04719029739499092,
-0.027312053367495537,
0.09585914760828018,
0.03905829042196274,
-0.018902815878391266,
-0.053063418716192245,
0.04328857734799385,
-0.017188111320137978,
0.061154354363679886,
-0.06427573412656784,
0.06419359147548676,
0.008142277598381042,
0.008065269328653812,
0.03875025734305382,
0.010514114052057266,
0.03230214864015579,
-0.02390317991375923,
-0.07097026705741882,
-0.006673997733741999,
-0.004800144582986832,
-0.007387602236121893,
0.05951152741909027,
0.043370719999074936,
-0.05154379829764366,
-0.01923138089478016,
-0.020042529329657555,
-0.018430501222610474,
0.005991196725517511,
0.003852950409054756,
0.007202784065157175,
-0.021459469571709633,
-0.013409601524472237,
-0.031460199505090714,
0.034519970417022705,
0.021664824336767197,
0.02242463268339634,
-0.02807186171412468,
-0.02532012201845646,
0.1123695895075798,
-0.09898052364587784,
-0.009661895222961903,
-0.008291158825159073,
-0.031645018607378006,
0.044520698487758636,
-0.041748423129320145,
-0.04312429577112198,
0.001345067285001278,
0.020525110885500908,
0.041050221771001816,
0.00795232504606247,
0.04780635982751846,
0.010740002617239952,
-0.07133990526199341,
-0.03601905331015587,
-0.03513603284955025,
0.0006783091812394559,
-0.06025080010294914,
-0.02649063803255558,
-0.062016841024160385,
0.016705529764294624,
-0.05294020473957062,
-0.0535973384976387,
-0.025689758360385895,
0.025566546246409416,
0.042179666459560394,
-0.04505461826920509,
-0.017609085887670517,
0.03961274400353432,
-0.07347558438777924,
0.00818334799259901,
0.022547844797372818,
0.08136116713285446,
0.044520698487758636,
-0.017413999885320663,
0.039427924901247025,
-0.02258891612291336,
-0.043493930250406265,
-0.01310157123953104,
-0.02647010236978531,
0.01924164965748787,
0.030864672735333443,
0.04932597652077675,
0.05326877161860466,
-0.014888148754835129,
-0.05721156299114227,
-0.011140442453324795,
-0.049695614725351334,
-0.061277568340301514,
0.011058300733566284,
-0.05482945963740349,
0.010801608674228191,
-0.01941619999706745,
0.0031008420046418905,
0.00782397948205471,
-0.006622659508138895,
0.12378726154565811,
-0.000822056841570884,
-0.009015031158924103,
-0.031911976635456085,
-0.004682066384702921,
-0.016438569873571396,
-0.028277216479182243,
-0.07060062885284424,
0.07064170390367508,
-0.023636220023036003,
-0.009097172878682613,
-0.04994203895330429,
-0.00031508971005678177,
-0.03766188398003578,
-0.05084559693932533,
0.053925901651382446,
0.03493067994713783,
0.031172703951597214,
0.01924164965748787,
-0.023779967799782753,
-0.032199472188949585,
0.03606012463569641,
0.01048331055790186,
0.05150272697210312,
0.040331482887268066,
0.044808194041252136,
-0.06809531152248383,
-0.011386867612600327,
0.015144841745495796,
-0.004533184692263603,
0.0055445521138608456,
-0.013861380517482758,
0.06809531152248383,
0.0015144841745495796,
-0.005991196725517511,
0.0047257039695978165,
-0.03143966570496559,
0.016602853313088417,
-0.029858440160751343,
-0.00019925733795389533,
0.03357534483075142,
0.01952914521098137,
0.005703701172024012,
-0.03273339197039604,
0.027722761034965515,
-0.0602097287774086,
0.06025080010294914,
-0.0017621921142563224,
-0.00034813882666639984,
0.004040335770696402,
-0.02373889647424221,
-0.049736686050891876,
0.046943873167037964,
-0.02184964157640934,
-0.008994495496153831,
-0.00905610155314207,
-0.0012026031035929918,
-0.009158778935670853,
-0.002079206984490156,
0.07815764844417572,
0.02505316212773323,
0.009415470995008945,
-0.0042046187445521355,
-0.04829920828342438,
0.066534623503685,
-0.02663438580930233,
0.015524745918810368,
0.021192509680986404,
-0.00984157994389534,
0.027004022151231766,
-0.024560311809182167,
-0.03616280108690262,
-0.01665419153869152,
-0.0054983473382890224,
0.008347631432116032,
-0.01231095939874649,
-0.04530104249715805,
-0.04998311027884483,
-0.008691598661243916,
-0.027291517704725266,
0.0042841932736337185,
-0.028831670060753822,
-0.011469008401036263,
-0.02837989293038845,
-0.05047595873475075,
0.045259974896907806,
0.009625958278775215,
0.048422422260046005,
-0.0023461668752133846,
-0.032486967742443085,
-0.061277568340301514,
-0.035649415105581284,
-0.022219279780983925,
0.04895634204149246,
0.022404097020626068,
0.04575282335281372,
0.051009878516197205,
0.0370047502219677,
0.021028228104114532,
-0.05339198186993599,
0.0024103401228785515,
-0.0006150987464934587,
0.03275392949581146,
0.057950835675001144,
0.047847431153059006,
-0.05889546498656273,
0.03659404441714287,
-0.02864685282111168,
0.038010984659194946,
0.05367947742342949,
-0.02345140278339386,
-0.010390901006758213,
0.10177333652973175,
-0.0564722903072834,
-0.004420239944010973,
-0.007105241063982248,
-0.008655661717057228,
-0.019477806985378265,
0.009497612714767456,
0.013738168403506279,
-0.0593472421169281,
-0.01592518575489521,
0.00010877333261305466,
0.020288953557610512,
0.06604177504777908,
0.034109264612197876,
0.04505461826920509,
0.06181148812174797,
0.03838062286376953,
0.024868343025445938,
0.03152180463075638,
-0.013265854679048061,
0.03369855508208275,
-0.017465339973568916,
-0.024642454460263252,
-0.02287641167640686,
-0.01187971606850624,
0.028338821604847908,
-0.007079571485519409,
-0.007110374514013529,
-0.01839969865977764,
0.015442604199051857,
-0.07844514399766922,
0.035094961524009705,
0.024847807362675667,
0.016746601089835167,
0.06632927060127258,
-0.007089839316904545,
0.026531709358096123,
-0.009856981225311756,
0.009456541389226913,
0.0208536759018898,
-0.0017288221279159188,
-0.012824343517422676,
-0.019939852878451347,
-0.041768960654735565,
-0.005862850695848465,
-0.0018135305726900697,
-0.013522546738386154,
0.043493930250406265,
-0.05836154520511627,
-0.010852946899831295,
-0.004504948388785124,
0.03907882422208786,
-0.020288953557610512,
-0.0003442884481046349,
-0.001038961810991168,
-0.014785472303628922,
0.09733769297599792,
-0.02632635459303856,
-0.027989720925688744,
0.012434171512722969,
0.012937287800014019,
0.04924383759498596,
-0.043658215552568436,
-0.054049115628004074,
-0.012803807854652405,
-0.019570214673876762,
-0.026695990934967995,
-0.017023827880620956,
0.028441498056054115,
0.014867614023387432,
-0.03415033221244812,
-0.02228088490664959,
0.027989720925688744,
-0.022958552464842796,
0.00640703784301877,
-0.05224200338125229,
0.0301048643887043,
-0.006273557897657156,
-0.020925549790263176,
-0.06025080010294914,
0.0269424170255661,
0.015997059643268585,
0.02955040894448757,
-0.03790830820798874,
-0.019765300676226616,
0.0748719871044159,
-0.04066004976630211,
-0.0008746787789277732,
0.054213397204875946,
0.0564722903072834,
0.005090206861495972,
0.02807186171412468,
0.028852205723524094,
-0.03180930018424988,
-0.04456176981329918,
-0.03667618706822395,
-0.003932524938136339,
-0.024108534678816795,
0.04649209603667259,
0.03012540005147457,
0.0063094948418438435,
-0.009317927993834019,
-0.003121377434581518,
-0.01592518575489521,
-0.04037255421280861,
-0.021480005234479904,
0.01287568174302578,
0.01158195361495018,
-0.060702577233314514,
0.0613597109913826,
-0.0419948473572731,
0.07918442040681839,
-0.03507442772388458,
0.010308760218322277,
0.07602196931838989,
0.025361191481351852,
0.043370719999074936,
-0.020453236997127533,
-0.03429407998919487,
0.0065199825912714005,
0.02041216567158699,
-0.018297022208571434,
0.02589511126279831,
0.037846703082323074,
-0.016695262864232063,
-0.08518075197935104,
-0.03716903552412987,
0.021808572113513947,
0.053063418716192245,
0.02289694733917713,
-0.03419140353798866,
0.017321592196822166,
-0.014189946465194225,
-0.06776674836874008,
0.01868719421327114,
0.037251174449920654,
0.036244943737983704,
0.002895488403737545,
-0.012341761961579323,
-0.025279050692915916,
0.06140078231692314,
0.04484926536679268,
0.022321956232190132,
0.0298173688352108,
0.0164899080991745,
-0.0408448688685894,
0.015894383192062378,
-0.004063438158482313,
0.03458157554268837,
0.004461310803890228,
-0.0007925372337922454,
-0.040618978440761566,
0.02720937691628933,
-0.008547850884497166,
0.03579316288232803,
0.034807465970516205,
-0.06238647922873497,
-0.02373889647424221,
0.005703701172024012,
0.033636949956417084,
0.05355626717209816,
0.022609451785683632,
0.03258964419364929,
-0.02548440359532833,
0.0530223473906517,
0.0073516652919352055,
-0.030063793063163757,
0.04604031890630722,
0.01980637200176716,
0.0066585964523255825,
-0.03376016020774841,
0.07844514399766922,
0.01564795896410942,
-0.022096067667007446,
0.0414198562502861,
-0.03513603284955025,
0.0029519605450332165,
-0.08144330978393555,
0.02735312283039093,
-0.010303625836968422,
-0.013235051184892654,
0.026429031044244766,
0.05035274848341942,
-0.01794791966676712,
-0.017876045778393745,
-0.016890348866581917,
-0.013994860462844372,
-0.04760100692510605,
-0.0031085428781807423,
0.04887419939041138,
-0.010349830612540245,
0.004086540080606937,
-0.010498711839318275,
0.04776528850197792,
-0.10128048807382584,
0.033821769058704376,
-0.06255076080560684,
-0.007495413068681955,
-0.030720924958586693,
-0.007243854459375143,
-0.005313529167324305,
0.02807186171412468,
0.0007732853409834206,
-0.0009619541233405471,
0.048134926706552505,
0.01622294820845127,
-0.007608357816934586,
0.000668683263938874,
-0.04612245783209801,
-0.041892170906066895,
-0.0043432326056063175,
-0.014651992358267307,
0.03470478951931,
-0.03503335639834404,
0.02170589379966259,
-0.0527348518371582,
0.026552243158221245,
0.0071411775425076485,
-0.10169119387865067,
0.04579389467835426,
0.03776456043124199,
-0.03285660594701767,
-0.0027774099726229906,
0.032363757491111755,
0.06587748974561691,
0.007526216097176075,
0.03659404441714287,
0.028544176369905472,
-0.009569486603140831,
-0.0033909042831510305,
0.054377682507038116,
0.02113090455532074,
0.04156360402703285,
0.018861744552850723,
-0.015011361800134182,
-0.0017609086353331804,
0.006704800762236118,
-0.05951152741909027,
-0.04353500157594681,
-0.035854771733284,
0.033534273505210876,
-0.011951589956879616,
0.06949172168970108,
0.01925191655755043,
-0.0081012062728405,
0.04632781445980072,
-0.0038863203953951597,
-0.03679939731955528,
-0.009312793612480164,
-0.03174769505858421,
0.04805278405547142,
0.043781425803899765,
0.035238709300756454,
0.01533992774784565,
0.00940520316362381,
-0.013460940681397915,
0.10308759659528732,
-0.012547115795314312,
0.005842315033078194,
-0.019713962450623512,
0.050599172711372375,
-0.019200578331947327,
0.011972125619649887,
0.006596990395337343,
-0.016900615766644478,
0.03324677795171738,
-0.03983863443136215,
0.012803807854652405,
0.04287786781787872,
-0.04866884648799896,
-0.012300691567361355,
-0.04677959159016609,
0.027845973148941994,
0.01981664076447487,
-0.0010819577146321535,
0.10900178551673889,
-0.020186277106404305,
-0.027312053367495537,
0.003070038976147771,
0.015288588590919971,
-0.02242463268339634,
-0.011099372059106827,
0.029920045286417007,
-0.07581661641597748,
0.007911254651844501,
0.09585914760828018,
0.0081012062728405,
-0.0009876233525574207,
-0.03879132866859436,
0.034232474863529205,
-0.021952319890260696,
-0.0673971101641655,
0.01709570176899433,
0.024806736037135124,
0.024108534678816795,
-0.03934578597545624,
-0.014754668809473515,
0.021192509680986404,
-0.04063951224088669,
0.014025663025677204,
0.0009831312345340848,
-0.004648696165531874,
0.0065199825912714005,
0.023779967799782753,
0.030474500730633736,
0.03823687508702278,
0.004954160191118717,
0.005734504200518131,
-0.012321227230131626,
0.022753199562430382,
-0.043781425803899765,
0.05240628495812416,
-0.02357461489737034,
-0.020925549790263176,
0.01251631323248148,
0.059716880321502686,
0.01301942951977253,
0.03706635907292366,
0.048258136957883835,
-0.035361919552087784,
-0.0026490637101233006,
-0.010365231893956661,
0.014395300298929214,
0.02546386979520321,
0.04139932245016098,
0.02070992812514305,
-0.03201465308666229,
-0.0576222725212574,
-0.005980928894132376,
-0.07540591061115265,
0.014364496804773808,
0.003929958213120699,
0.025833506137132645,
0.006504580844193697,
-0.04949026182293892,
-0.04152253642678261,
-0.06209898367524147,
0.01680820621550083,
-0.053474124521017075,
0.010801608674228191,
0.06287933140993118,
-0.003283093683421612,
-0.006063070613890886,
0.023944251239299774,
0.012742201797664165,
-0.028277216479182243,
0.030145935714244843,
0.026675457134842873,
-0.03575209155678749,
-0.04386356845498085,
-0.01086321473121643,
-0.00282361451536417,
0.0033113297540694475,
-0.01178730744868517,
-0.012998894788324833,
-0.038421694189310074,
-0.0021048763301223516,
0.031234310939908028,
0.06177041679620743,
0.0050440020859241486,
-0.019724231213331223,
0.009482210502028465
]
|
31,500 | laspy.copc | _fetch_all_chunks | null | def _fetch_all_chunks(
self, grouped_nodes: List[List[OctreeNode]]
) -> Tuple[bytearray, int, List[Tuple[int, int]]]:
num_points = 0
num_compressed_bytes = 0
chunk_table: List[Tuple[int, int]] = []
byte_queries: List[Tuple[int, int]] = []
for group in grouped_nodes:
num_compressed_group_bytes = 0
for node in group:
chunk_table.append((node.point_count, node.byte_size))
num_compressed_group_bytes += node.byte_size
num_points += node.point_count
num_compressed_bytes += num_compressed_group_bytes
byte_queries.append((group[0].offset, num_compressed_group_bytes))
compressed_bytes = bytearray(num_compressed_bytes)
if isinstance(self.source, HttpRangeStream):
if self.http_strategy == "queue":
http_queue_strategy(
self.source, byte_queries, compressed_bytes, self.http_num_threads
)
else:
http_thread_executor_strategy(
self.source, byte_queries, compressed_bytes, self.http_num_threads
)
elif hasattr(self.source, "readinto"):
citer = ChunkIter(compressed_bytes)
for offset, size in byte_queries:
self.source.seek(offset)
cc = citer.next(size)
self.source.readinto(cc)
else:
citer = ChunkIter(compressed_bytes)
for offset, size in byte_queries:
self.source.seek(offset)
cc = citer.next(size)
cc[:] = self.source.read(size)
return compressed_bytes, num_points, chunk_table
| (self, grouped_nodes: List[List[laspy.copc.OctreeNode]]) -> Tuple[bytearray, int, List[Tuple[int, int]]] | [
-0.030137374997138977,
-0.06337902694940567,
-0.12720152735710144,
0.03658614307641983,
-0.011548656970262527,
0.05957259237766266,
-0.0069984858855605125,
0.03307535499334335,
-0.020307159051299095,
-0.051701027899980545,
0.034054677933454514,
-0.01887512393295765,
-0.03946869075298309,
0.015567589551210403,
0.038286108523607254,
0.01999303512275219,
-0.024150550365447998,
-0.0000931832255446352,
0.036290500313043594,
0.008564484305679798,
-0.047488078474998474,
0.019531087949872017,
0.013304052874445915,
0.006693601608276367,
-0.029952596873044968,
0.02902870438992977,
0.03523726016283035,
-0.031079744920134544,
-0.004540931899100542,
-0.008000909350812435,
0.012232337146997452,
-0.05602484568953514,
-0.005649602971971035,
0.005353957414627075,
-0.08145036548376083,
-0.015234988182783127,
0.05816827341914177,
0.07509398460388184,
-0.01618659682571888,
0.023448392748832703,
-0.017064295709133148,
-0.056098755449056625,
-0.015105643309652805,
-0.07243317365646362,
0.023928817361593246,
-0.0013361795572564006,
-0.013775237835943699,
-0.02198864333331585,
-0.01000575628131628,
0.00735880434513092,
-0.002158443909138441,
-0.054472703486680984,
0.004545551259070635,
0.007585157640278339,
0.07350488752126694,
0.01867186836898327,
-0.02579507976770401,
0.061679065227508545,
-0.00027976621640846133,
0.06197471171617508,
0.033426433801651,
0.017313746735453606,
0.007922378368675709,
0.0033468008041381836,
-0.06759198009967804,
-0.0169996228069067,
-0.032687317579984665,
-0.052514053881168365,
-0.06485725939273834,
0.004400038160383701,
0.003596251830458641,
0.04985324293375015,
0.023060357198119164,
0.02917652577161789,
-0.06718546897172928,
0.023947294801473618,
0.007127831224352121,
0.02841893397271633,
0.04098387435078621,
0.005820523016154766,
-0.005986823700368404,
0.014052405953407288,
0.040096934884786606,
-0.02178538590669632,
0.06341598182916641,
-0.06829413771629333,
0.045714203268289566,
0.03597637638449669,
-0.013488830998539925,
-0.028271112591028214,
-0.035883985459804535,
0.016454527154564857,
0.010689436458051205,
0.008721545338630676,
0.017073534429073334,
-0.005390913225710392,
-0.036881789565086365,
0.023263614624738693,
-0.05055540055036545,
-0.030858011916279793,
0.006555017549544573,
0.02100931666791439,
0.015669217333197594,
0.011613328941166401,
-0.004245286341756582,
-0.006499584298580885,
-0.009054146707057953,
0.0014770731795579195,
0.0014054715866222978,
-0.002084532519802451,
-0.032114505767822266,
-0.012130709365010262,
-0.000792815291788429,
0.039875201880931854,
0.023060357198119164,
-0.06204862520098686,
0.01732298545539379,
0.04098387435078621,
-0.04201863333582878,
-0.023633170872926712,
0.02501901052892208,
0.0055479747243225574,
-0.02256145514547825,
0.025499435141682625,
-0.008268838748335838,
0.020491937175393105,
0.09445877373218536,
0.019494133070111275,
-0.008384324610233307,
-0.023152748122811317,
0.017747975885868073,
0.015623022802174091,
-0.04061431810259819,
0.015475200489163399,
-0.001496705925092101,
-0.01490238681435585,
-0.022247333079576492,
-0.008619917556643486,
-0.032484062016010284,
-0.05720742791891098,
-0.006989247165620327,
-0.040688227862119675,
0.03843393176794052,
-0.027550475671887398,
-0.0022877890150994062,
0.0027716776821762323,
0.055285729467868805,
-0.0671115517616272,
-0.023097313940525055,
-0.06748110800981522,
-0.002843279391527176,
-0.010938887484371662,
-0.006143885664641857,
-0.00920196995139122,
0.004037410486489534,
0.042499057948589325,
-0.002866376657038927,
0.019106097519397736,
-0.03821219503879547,
0.014542068354785442,
-0.02302340231835842,
0.022727755829691887,
-0.036697011440992355,
-0.027254831045866013,
-0.043681640177965164,
0.006688982248306274,
-0.022912535816431046,
-0.06578114628791809,
-0.09460659325122833,
-0.010024233721196651,
0.019845211878418922,
0.06356380879878998,
-0.04697069525718689,
0.009419084526598454,
0.040059980005025864,
0.033481866121292114,
0.006633548531681299,
0.003175880527123809,
-0.031504735350608826,
-0.0016110376454889774,
-0.03802741691470146,
-0.02182234264910221,
0.014846953563392162,
0.008028626441955566,
-0.031504735350608826,
0.0571335144340992,
0.07487225532531738,
-0.02276471257209778,
0.03638288751244545,
-0.016214314848184586,
-0.05702264979481697,
-0.00005608316496363841,
-0.016519198194146156,
0.009802499786019325,
0.01820068247616291,
-0.0133132915943861,
-0.03802741691470146,
0.016399092972278595,
0.008633775636553764,
0.07032670080661774,
-0.06951367855072021,
0.00574661185964942,
0.038286108523607254,
0.004667967092245817,
-0.04379250854253769,
0.0005705036455765367,
-0.040909960865974426,
0.06275077909231186,
-0.09527179598808289,
0.060459528118371964,
-0.0081025380641222,
-0.01591866835951805,
0.02158213034272194,
0.03281666338443756,
0.01681484468281269,
-0.002328209113329649,
-0.05085104703903198,
0.03335252031683922,
0.006531920284032822,
-0.026293981820344925,
0.01708277314901352,
-0.013673610053956509,
-0.008254979737102985,
-0.023928817361593246,
0.01177962962538004,
-0.005441727116703987,
0.043312083929777145,
-0.03438727930188179,
-0.0073495651595294476,
-0.06371162831783295,
0.03499704971909523,
-0.030636277049779892,
0.011687240563333035,
0.02736569754779339,
0.03662310168147087,
-0.04534464702010155,
0.0357176847755909,
0.003919614013284445,
0.017443090677261353,
-0.004933586344122887,
-0.05986823886632919,
-0.04260992258787155,
0.009155775420367718,
-0.030340630561113358,
-0.041686031967401505,
-0.009488376788794994,
0.001075757434591651,
-0.03021128661930561,
0.004547860939055681,
0.028104811906814575,
-0.021526696160435677,
-0.047709811478853226,
-0.003231314243748784,
-0.0684419572353363,
0.013322530314326286,
-0.08588504791259766,
-0.03821219503879547,
-0.0019990724977105856,
0.03000802919268608,
-0.019032185897231102,
0.0021619086619466543,
-0.02038106881082058,
-0.026866795495152473,
0.024852709844708443,
0.0017738736933097243,
0.02943521738052368,
0.057096559554338455,
-0.02518531121313572,
-0.026922229677438736,
0.037325259298086166,
0.04253601282835007,
0.06541159003973007,
-0.00015013254596851766,
-0.012343204580247402,
-0.022838624194264412,
-0.016768649220466614,
0.013128513470292091,
0.027273308485746384,
-0.03640136495232582,
-0.010957365855574608,
0.06851587444543839,
0.011641046032309532,
-0.04892934858798981,
-0.04257296770811081,
0.019032185897231102,
-0.0077606975100934505,
-0.023688605055212975,
-0.023873383179306984,
-0.0277722105383873,
-0.020436502993106842,
-0.04057735949754715,
-0.018514806404709816,
-0.032687317579984665,
-0.042683836072683334,
0.013664370402693748,
0.0016202765982598066,
-0.0027070052456110716,
-0.008841651491820812,
-0.04357077181339264,
0.000366381136700511,
-0.061900801956653595,
-0.0600530169904232,
0.07317228615283966,
0.05680091306567192,
0.03653071075677872,
0.025536390021443367,
0.0222103763371706,
-0.039505645632743835,
-0.02561030164361,
-0.03338947519659996,
0.04612071439623833,
-0.004275312647223473,
0.07701568305492401,
-0.06589201837778091,
-0.010661720298230648,
-0.018477851524949074,
0.030322153121232986,
0.07235926389694214,
0.00665664579719305,
0.046305496245622635,
-0.03754699230194092,
-0.006545778829604387,
0.014329573139548302,
0.060496482998132706,
0.029490649700164795,
0.02280166745185852,
0.049298904836177826,
-0.0133132915943861,
0.009298978373408318,
-0.0027508900966495275,
-0.02337448112666607,
-0.03442423790693283,
-0.0003354884684085846,
0.04881848394870758,
-0.042868614196777344,
-0.028141766786575317,
0.024335330352187157,
-0.042092543095350266,
0.03403620049357414,
-0.0695875883102417,
0.051885806024074554,
0.0013754450483247638,
0.019549565389752388,
0.008490572683513165,
-0.011012799106538296,
-0.04981628432869911,
0.025924425572156906,
-0.0407990962266922,
-0.025296177715063095,
0.0013384893536567688,
0.03895131126046181,
-0.011049754917621613,
0.0002152380911866203,
0.06430292129516602,
0.05092495679855347,
0.060459528118371964,
0.03496009483933449,
-0.023245137184858322,
0.017988188192248344,
0.03216993808746338,
0.013461114838719368,
0.0037556232418864965,
0.047488078474998474,
0.009506854228675365,
0.023928817361593246,
-0.05602484568953514,
0.0015960243763402104,
0.04098387435078621,
0.03479379415512085,
-0.00595448724925518,
-0.03736221417784691,
-0.010292163118720055,
-0.011012799106538296,
0.030543887987732887,
-0.02160060778260231,
-0.05373359099030495,
-0.05155320465564728,
0.006125407759100199,
-0.04224036633968353,
0.046675052493810654,
0.016703976318240166,
0.016094207763671875,
0.02758743055164814,
-0.000751817540731281,
-0.016057252883911133,
-0.02402120642364025,
0.019069142639636993,
0.008841651491820812,
-0.030506931245326996,
0.02080605924129486,
0.05074017867445946,
0.025887468829751015,
0.012010603211820126,
-0.004721091128885746,
-0.01956804469227791,
-0.024501631036400795,
0.0691441148519516,
-0.00909110251814127,
-0.01698114536702633,
-0.06555941700935364,
0.03525574132800102,
-0.03198515996336937,
-0.03684483468532562,
0.05037062242627144,
-0.02620159275829792,
-0.026737449690699577,
0.036068763583898544,
-0.06175297871232033,
0.007894662208855152,
-0.012333965860307217,
-0.05617266520857811,
0.00570503668859601,
0.06936585158109665,
-0.0005355689791031182,
-0.03307535499334335,
-0.010209012776613235,
-0.0460098497569561,
0.05875956639647484,
0.04146429896354675,
-0.020140858367085457,
0.023873383179306984,
0.017618630081415176,
0.014532829634845257,
-0.0133132915943861,
0.0014251042157411575,
-0.0875110998749733,
0.016768649220466614,
-0.03462749347090721,
-0.05037062242627144,
0.012343204580247402,
-0.0010151269380003214,
-0.01190897449851036,
-0.028714580461382866,
-0.008670731447637081,
0.02137887291610241,
0.019715866073966026,
-0.013119273819029331,
0.03597637638449669,
0.05694873631000519,
0.033426433801651,
0.024741841480135918,
0.04201863333582878,
0.054103147238492966,
-0.02099083922803402,
0.06696373224258423,
-0.0034807652700692415,
-0.0596095472574234,
0.021268006414175034,
-0.05535964295268059,
-0.008915563113987446,
0.01011662371456623,
-0.038101330399513245,
0.03178190439939499,
-0.02581355720758438,
0.0016029535327106714,
0.007663688622415066,
0.037510037422180176,
0.0344427153468132,
-0.0652637705206871,
0.01129920594394207,
0.05476834997534752,
0.013405680656433105,
0.0564313568174839,
0.0027347218710929155,
-0.006730557419359684,
-0.05813131853938103,
-0.006776751950383186,
0.01860719546675682,
-0.001465524546802044,
-0.04120560735464096,
-0.03505248203873634,
-0.010144339874386787,
-0.05321621149778366,
-0.03784263879060745,
0.01210299227386713,
0.000022321388314594515,
-0.038507841527462006,
-0.022690800949931145,
-0.020695192739367485,
-0.03494161739945412,
-0.042905569076538086,
-0.027070051059126854,
0.05476834997534752,
-0.05724438279867172,
-0.05698569118976593,
-0.0013038433389738202,
0.05055540055036545,
-0.00904952734708786,
0.0068599022924900055,
-0.056727003306150436,
-0.03322317451238632,
0.00544634647667408,
-0.040059980005025864,
-0.02880696952342987,
0.0532531663775444,
0.04981628432869911,
0.034128591418266296,
0.051294513046741486,
0.045455511659383774,
-0.028067855164408684,
0.007876183837652206,
0.017175162211060524,
0.0491880401968956,
-0.08056343346834183,
0.032114505767822266,
0.03497857227921486,
0.09423703700304031,
-0.01298992894589901,
-0.002531465608626604,
-0.00224736868403852,
-0.022912535816431046,
0.0004905291716568172,
-0.07032670080661774,
0.041686031967401505,
-0.016334420070052147,
0.05539659783244133,
-0.0016248960746452212,
0.03847088664770126,
0.021729953587055206,
0.019346309825778008,
0.03544051945209503,
0.08056343346834183,
0.011391595005989075,
0.0021780766546726227,
-0.015752367675304413,
0.014080122113227844,
-0.03222537040710449,
-0.002374403877183795,
-0.054657481610774994,
-0.027642864733934402,
-0.0167132169008255,
-0.0017692542169243097,
0.009368270635604858,
-0.001920541631989181,
0.029305871576070786,
0.019715866073966026,
0.020953882485628128,
0.014181750826537609,
-0.008065582253038883,
0.002077603479847312,
0.001823532860726118,
0.006915335543453693,
0.007866945117712021,
-0.019309354946017265,
-0.020325636491179466,
0.0528096966445446,
0.046675052493810654,
0.029860207810997963,
0.058463919907808304,
0.030839532613754272,
0.007257176097482443,
-0.006019160151481628,
0.014357290230691433,
0.0009129213285632432,
0.045085955411195755,
-0.027753731235861778,
-0.06559637188911438,
-0.043866418302059174,
-0.025887468829751015,
-0.006795229855924845,
0.10480637103319168,
0.01480075903236866,
-0.05739220604300499,
0.0266265831887722,
-0.018699584528803825,
0.02440924197435379,
0.01040302962064743,
0.03198515996336937,
-0.006555017549544573,
-0.001807364751584828,
-0.01180734671652317,
0.042129501700401306,
-0.0003556986339390278,
-0.02402120642364025,
0.07672003656625748,
-0.022524500265717506,
-0.08078516274690628,
-0.04763589799404144,
-0.0014920864487066865,
-0.08063734322786331,
0.046453315764665604,
-0.03303839638829231,
0.07032670080661774,
-0.03619810938835144,
0.0480424128472805,
0.04046649485826492,
-0.024538585916161537,
0.006615070626139641,
0.06810935586690903,
0.03078410029411316,
0.023263614624738693,
-0.02501901052892208,
0.015539872460067272,
0.02058432623744011,
0.0035477473866194487,
-0.008513669483363628,
-0.07077016681432724,
-0.008148732595145702,
-0.09172405302524567,
-0.05195971578359604,
-0.012250815518200397,
0.054657481610774994,
-0.017332224175333977,
0.0756852775812149,
0.012795912101864815,
-0.01030140183866024,
0.004155206959694624,
-0.00404664920642972,
0.03880348801612854,
0.019697388634085655,
0.005765089299529791,
-0.0147915193811059,
0.05414010211825371,
-0.02599833719432354,
-0.07254404574632645,
-0.011964408680796623,
-0.003222075290977955,
0.022838624194264412,
0.02697766199707985,
-0.03691874444484711,
0.005206134635955095,
0.041094738990068436,
0.01571541279554367,
0.008097917772829533,
-0.01919848658144474,
0.036678534001111984,
0.0253885667771101,
-0.0036378270015120506,
0.009562287479639053,
0.027661342173814774,
-0.027901554480195045,
-0.03122756816446781,
0.06300947070121765,
0.01628822647035122,
0.04116865247488022,
-0.002018705243244767,
0.01299916859716177,
-0.005515638273209333,
-0.0150132542476058,
-0.03518182784318924,
0.010375313460826874,
0.022487545385956764,
0.01659310981631279,
-0.05861174315214157,
-0.030654754489660263,
-0.055655285716056824,
0.021563652902841568,
0.05003802105784416,
0.03847088664770126,
0.04175994172692299,
0.00008704799984116107,
0.06544854491949081,
0.018237639218568802,
-0.04046649485826492,
-0.01899523101747036,
0.054509662091732025,
-0.04811632260680199,
-0.0133132915943861,
0.013461114838719368,
-0.051885806024074554,
0.026922229677438736,
0.004249905701726675,
0.029712384566664696,
0.012583416886627674,
-0.037473082542419434,
-0.018597956746816635,
-0.010162818245589733,
-0.011363877914845943,
0.004275312647223473,
0.03185581415891647,
-0.03540356084704399,
0.01919848658144474,
-0.018089815974235535,
0.004420825745910406,
0.002515297383069992,
0.025296177715063095,
0.011243772692978382,
-0.03283514082431793,
-0.039099130779504776,
0.011576374061405659,
0.02862219139933586,
0.05620962381362915,
-0.04161211848258972,
0.0428316593170166,
-0.04146429896354675,
0.010864976793527603,
-0.0788634642958641,
-0.02257993444800377,
0.06389641016721725,
-0.061494287103414536,
0.05617266520857811,
0.06951367855072021,
0.0591660775244236,
0.002285479102283716,
-0.08351988345384598,
0.07893738150596619,
0.06725937873125076,
-0.02779068797826767,
0.060089971870183945,
-0.015530633740127087,
0.00434229476377368,
-0.06943976134061813,
-0.0451229102909565,
-0.003693260485306382,
-0.02961999550461769,
0.00839818362146616,
-0.03477531671524048,
0.034479670226573944,
-0.04434684291481972,
0.08544158190488815,
0.009922605939209461,
-0.02537008933722973,
-0.04364468529820442,
0.0021942448802292347,
-0.015687694773077965,
0.006143885664641857,
-0.006393336225301027,
0.04224036633968353,
-0.0016248960746452212,
0.051072780042886734,
-0.045677248388528824,
0.034128591418266296,
0.06644634902477264,
0.07819826155900955,
-0.031689513474702835,
0.02638637088239193,
0.04320121556520462,
0.005922151263803244,
0.0049104890786111355,
0.030858011916279793,
0.046675052493810654,
0.02921348251402378,
0.00604225741699338,
-0.052070584148168564,
-0.006882999558001757,
-0.02439076267182827,
0.013950777240097523,
-0.05240318551659584,
-0.030063463374972343,
-0.00375100364908576,
0.007968572899699211,
-0.05986823886632919,
-0.0709179937839508,
0.015937145799398422,
-0.03096887841820717,
-0.009543810039758682,
0.0691441148519516,
0.02821567840874195,
-0.02762438729405403,
0.009017190895974636,
0.014911625534296036,
0.022709278389811516,
0.01919848658144474,
0.04279470443725586,
0.0082457410171628,
-0.011022037826478481,
0.02023324742913246,
-0.034313369542360306,
-0.002566111506894231,
-0.017784930765628815,
-0.044864222407341,
-0.023762516677379608,
-0.06600288301706314,
0.033500343561172485,
-0.021526696160435677,
-0.014246422797441483,
0.01019053440541029,
0.05362272262573242
]
|
31,501 | laspy.copc | _fetch_and_decrompress_points_of_nodes | null | def _fetch_and_decrompress_points_of_nodes(
self, nodes_to_read: List[OctreeNode]
) -> ScaleAwarePointRecord:
if not nodes_to_read:
return ScaleAwarePointRecord.empty(header=self.header)
# Group together contiguous nodes
# so that we minimize the number of
# read requests (seek + read) / http requests
nodes_to_read = sorted(nodes_to_read, key=attrgetter("offset"))
grouped_nodes: List[List[OctreeNode]] = []
current_group: List[OctreeNode] = []
last_node_end = nodes_to_read[0].offset
for node in nodes_to_read:
if node.offset == last_node_end:
current_group.append(node)
last_node_end += node.byte_size
else:
grouped_nodes.append(current_group)
current_group = [node]
last_node_end = node.offset + node.byte_size
if current_group:
grouped_nodes.append(current_group)
compressed_bytes, num_points, chunk_table = self._fetch_all_chunks(
grouped_nodes
)
points_array = np.zeros(
num_points * self.header.point_format.size, dtype=np.uint8
)
lazrs.decompress_points_with_chunk_table(
compressed_bytes,
self.laszip_vlr.record_data,
points_array,
chunk_table,
self.decompression_selection,
)
r = PackedPointRecord.from_buffer(points_array, self.header.point_format)
points = ScaleAwarePointRecord(
r.array, r.point_format, self.header.scales, self.header.offsets
)
return points
| (self, nodes_to_read: List[laspy.copc.OctreeNode]) -> laspy.point.record.ScaleAwarePointRecord | [
-0.034232139587402344,
-0.05373799800872803,
-0.06551163643598557,
0.05805623158812523,
-0.01873079314827919,
0.06602834910154343,
0.025521857663989067,
0.017411332577466965,
-0.006329716183245182,
0.0020091773476451635,
-0.008913273923099041,
-0.001930747996084392,
0.00776451313868165,
0.03556082397699356,
0.000011002106475643814,
0.008894819766283035,
-0.020963724702596664,
-0.003557005198672414,
-0.008299678564071655,
0.015270670875906944,
-0.013333003036677837,
-0.010897076688706875,
0.06425677239894867,
0.04953049123287201,
-0.03007999248802662,
-0.010075874626636505,
0.0597170889377594,
0.009513027966022491,
-0.02279066853225231,
-0.016737762838602066,
-0.022679945454001427,
0.02557722106575966,
-0.027920875698328018,
0.024082448333501816,
-0.04170600324869156,
0.017023799940943718,
0.054660696536302567,
0.04037731513381004,
-0.004666551016271114,
0.00948534719645977,
-0.0459873266518116,
-0.018306350335478783,
-0.00913933478295803,
-0.05942182615399361,
0.0234734658151865,
0.03314335271716118,
0.0064958021976053715,
0.012604070827364922,
-0.006500415503978729,
0.0028511404525488615,
0.018656976521015167,
-0.04731601104140282,
0.03508102148771286,
0.03487802669405937,
0.08533121645450592,
-0.049382857978343964,
-0.027828605845570564,
0.09057214856147766,
0.011155433021485806,
0.016894621774554253,
0.027662521228194237,
0.02585403062403202,
-0.026832090690732002,
0.013074646703898907,
-0.03775684908032417,
-0.0036954099778085947,
-0.002657373435795307,
-0.08570029586553574,
-0.04059876129031181,
0.014652462676167488,
0.03467503562569618,
-0.0020403184462338686,
0.006108268164098263,
0.028086962178349495,
0.03172239661216736,
0.003164858091622591,
0.019099872559309006,
0.018786154687404633,
-0.009522255510091782,
0.0022940607741475105,
-0.022679945454001427,
-0.008830230683088303,
0.044215742498636246,
-0.010712536983191967,
0.052999839186668396,
-0.007423114497214556,
0.0715276375412941,
0.011339972727000713,
-0.0048580109141767025,
0.007644562516361475,
-0.0421488955616951,
0.019542768597602844,
-0.030153807252645493,
0.011948954313993454,
0.06551163643598557,
-0.01919214241206646,
-0.0034693488851189613,
0.030725881457328796,
-0.00852574035525322,
0.006915630307048559,
0.028492949903011322,
0.029249563813209534,
-0.053221285343170166,
0.020262474194169044,
-0.007501543965190649,
-0.010186598636209965,
-0.009716021828353405,
0.0606766976416111,
0.004724219441413879,
0.006274354178458452,
-0.06049215793609619,
0.041373830288648605,
-0.003942232113331556,
0.009522255510091782,
-0.062005382031202316,
-0.057945504784584045,
0.029489465057849884,
0.050637729465961456,
-0.09190083295106888,
-0.026481466367840767,
0.018361713737249374,
0.0015362941194325686,
-0.059126559644937515,
0.026149293407797813,
-0.09832282364368439,
-0.030633611604571342,
0.0890958309173584,
0.04827561974525452,
0.005397790111601353,
-0.05624774098396301,
-0.026499919593334198,
0.027422618120908737,
-0.013360683806240559,
0.01827866956591606,
-0.029526373371481895,
-0.044215742498636246,
0.0180018600076437,
0.02489442378282547,
-0.0673939436674118,
-0.028271501883864403,
0.036871057003736496,
-0.0005360305076465011,
0.09588689357042313,
-0.034250590950250626,
-0.017835775390267372,
-0.015833517536520958,
0.03583763539791107,
-0.02681363746523857,
-0.06230064481496811,
-0.0012813984649255872,
-0.029341833665966988,
0.002482060808688402,
-0.008604169823229313,
-0.017725050449371338,
0.01898914761841297,
-0.0286590363830328,
0.021535798907279968,
-0.02819768525660038,
-0.0601968914270401,
0.005379335954785347,
-0.0517449676990509,
0.02965555153787136,
-0.0008344660163857043,
-0.04096784070134163,
-0.03908553719520569,
0.011782867833971977,
-0.008558034896850586,
-0.057945504784584045,
-0.03742467612028122,
-0.004232882522046566,
0.034933388233184814,
0.06351860612630844,
-0.02912038564682007,
0.01206890493631363,
0.02727498672902584,
-0.02891739085316658,
0.03336480259895325,
-0.029268017038702965,
0.012188855558633804,
-0.006814133375883102,
0.0027173489797860384,
-0.012022770009934902,
0.04809108003973961,
0.0016135701444000006,
0.010122009553015232,
0.050416283309459686,
0.03155631199479103,
-0.01432029064744711,
-0.02821614034473896,
0.008382721804082394,
0.015123039484024048,
0.037350863218307495,
-0.02605702355504036,
0.0036977168638259172,
0.0009399997652508318,
0.030153807252645493,
-0.03727704659104347,
0.02063155360519886,
-0.0440681129693985,
0.08392871171236038,
-0.026204654946923256,
0.009416145272552967,
0.03635434806346893,
-0.027385709807276726,
-0.051080625504255295,
0.00973447598516941,
-0.031685490161180496,
0.04905068501830101,
-0.07285632193088531,
0.07610422372817993,
0.030467525124549866,
-0.016627037897706032,
0.006938697770237923,
-0.01174596045166254,
0.014375653117895126,
0.022587675601243973,
-0.07064184546470642,
0.04650403559207916,
0.004830330144613981,
-0.011690597981214523,
0.023639552295207977,
-0.030209170654416084,
-0.02485751546919346,
-0.00705403508618474,
0.03192539140582085,
0.010518770664930344,
0.040635671466588974,
-0.023602643981575966,
0.01327764056622982,
-0.06274354457855225,
0.04026659205555916,
-0.05905274674296379,
-0.056026291102170944,
-0.028825121000409126,
0.09736321121454239,
-0.06410913914442062,
0.04130001366138458,
0.03389996662735939,
-0.010435727424919605,
0.007898304611444473,
-0.042776331305503845,
-0.04495390132069588,
0.00651425588876009,
-0.06374005973339081,
-0.017439013347029686,
0.012604070827364922,
0.040857117623090744,
-0.04462173208594322,
-0.03474884852766991,
0.04786963015794754,
0.052962932735681534,
-0.04476936161518097,
0.01969039998948574,
0.0004129078588448465,
0.03199920803308487,
-0.08702898025512695,
-0.03458276391029358,
-0.023049024865031242,
0.004798035603016615,
-0.025780213996767998,
-0.011118524707853794,
-0.009254672564566135,
-0.037793755531311035,
0.0031510177068412304,
0.023528829216957092,
0.02179415337741375,
0.03653888776898384,
-0.001741594634950161,
-0.009983604773879051,
0.009586844593286514,
0.007257028948515654,
0.025226594880223274,
-0.000128961619338952,
0.011902819387614727,
0.009388463571667671,
0.014883137308061123,
-0.025706397369503975,
-0.02445152774453163,
0.003736931597813964,
0.06425677239894867,
0.04034040495753288,
0.010241960175335407,
-0.04273942485451698,
0.006371237803250551,
0.01470782421529293,
-0.049198318272829056,
-0.02960018813610077,
0.0033401709515601397,
-0.03602217510342598,
-0.050600823014974594,
-0.03749849274754524,
0.020963724702596664,
-0.005720734596252441,
-0.05610010772943497,
-0.008152047172188759,
-0.0008581102010793984,
-0.020926816388964653,
-0.04107856750488281,
-0.021258987486362457,
-0.015787381678819656,
-0.032571278512477875,
-0.07898304611444473,
0.07045730948448181,
0.018380166962742805,
0.05757642537355423,
-0.03078124299645424,
-0.01091553084552288,
-0.026167748495936394,
-0.0004849937395192683,
-0.018675431609153748,
0.003919164650142193,
0.004719606135040522,
0.05739188566803932,
-0.03819974511861801,
-0.03749849274754524,
-0.026112385094165802,
-0.00028661341639235616,
0.06462585180997849,
0.03819974511861801,
0.05045318976044655,
-0.031685490161180496,
-0.035468555986881256,
-0.05355345830321312,
0.07518152892589569,
0.026592189446091652,
0.026444558054208755,
0.015095357783138752,
-0.007607654668390751,
0.029563279822468758,
0.000515846477355808,
0.010740217752754688,
-0.026370741426944733,
-0.007722991984337568,
0.01613800786435604,
-0.04606114327907562,
-0.005923728458583355,
0.031685490161180496,
-0.02559567429125309,
0.019118325784802437,
0.021517343819141388,
0.006357396952807903,
-0.0084011759608984,
-0.018167946487665176,
-0.0007946746191009879,
0.0014244167832657695,
-0.007506157737225294,
0.06182084232568741,
-0.050859175622463226,
-0.007732219062745571,
0.008973249234259129,
-0.027201170101761818,
0.010371138341724873,
-0.014514057897031307,
0.048718515783548355,
0.0010939751518890262,
0.000050964710681000724,
0.028382224962115288,
0.01632254756987095,
0.035468555986881256,
-0.05263075977563858,
-0.0155290262773633,
-0.031685490161180496,
0.005250158254057169,
-0.004788808524608612,
0.01468014344573021,
-0.024968238547444344,
0.024119356647133827,
0.008318132720887661,
0.041373830288648605,
-0.00769531074911356,
-0.008631850592792034,
-0.02747798152267933,
-0.042554885149002075,
0.03482266515493393,
-0.03557927906513214,
-0.04713147133588791,
-0.03244210034608841,
0.020077932626008987,
-0.012170401401817799,
0.07876159995794296,
0.0011187726631760597,
0.02603857032954693,
0.027145808562636375,
0.008170501329004765,
-0.005942182615399361,
-0.02181260846555233,
0.0291388388723135,
-0.013655947521328926,
0.02771788276731968,
0.0066249798983335495,
0.055841751396656036,
0.035468555986881256,
-0.005702280905097723,
-0.006675728131085634,
-0.019487405195832253,
-0.028123870491981506,
0.0640353187918663,
0.0042005879804492,
0.016405591741204262,
-0.07499698549509048,
-0.024082448333501816,
0.002300980966538191,
-0.050600823014974594,
0.009176243096590042,
-0.03288499638438225,
-0.019247503951191902,
0.04000823572278023,
-0.06639742851257324,
-0.009891334921121597,
0.0483863428235054,
-0.05381181463599205,
0.04628258943557739,
0.08001647144556046,
-0.010371138341724873,
-0.015049222856760025,
0.007303163874894381,
-0.03247901052236557,
0.05993853509426117,
0.005485446657985449,
-0.0326450951397419,
0.01327764056622982,
-0.004486624617129564,
-0.02723807841539383,
-0.011561420746147633,
0.011902819387614727,
-0.0667296051979065,
-0.019598130136728287,
0.002936490112915635,
0.009789837524294853,
0.051043715327978134,
0.0048118759877979755,
-0.056284647434949875,
-0.005780710373073816,
-0.07001440972089767,
0.04059876129031181,
0.008308906108140945,
0.021388165652751923,
0.0046573239378631115,
0.026112385094165802,
0.011653690598905087,
0.042038172483444214,
0.04410501942038536,
0.051818784326314926,
-0.031870029866695404,
0.026647550985217094,
-0.013416045345366001,
-0.03399223834276199,
-0.015556707978248596,
-0.09241754561662674,
-0.022144779562950134,
0.03294035792350769,
-0.014006572775542736,
0.05288911610841751,
-0.04273942485451698,
0.015344486571848392,
-0.013600585050880909,
0.025798669084906578,
-0.01994875632226467,
-0.02821614034473896,
0.04809108003973961,
0.01633177511394024,
0.013895848765969276,
0.017152976244688034,
-0.006131335627287626,
-0.003245594212785363,
-0.04174290969967842,
-0.03172239661216736,
0.0010484169470146298,
-0.023547282442450523,
-0.04130001366138458,
0.004844170529395342,
-0.06757848709821701,
-0.042296528816223145,
-0.054660696536302567,
-0.010260414332151413,
0.03222065418958664,
-0.0029895452316850424,
-0.025078963488340378,
0.005928342230618,
-0.015990376472473145,
-0.04864469915628433,
-0.09396768361330032,
0.05610010772943497,
-0.027810152620077133,
-0.03137177228927612,
0.008834844455122948,
-0.01733751781284809,
0.042776331305503845,
-0.03893790394067764,
-0.03437976911664009,
-0.02015174925327301,
0.005148661322891712,
0.017826547846198082,
0.0143295181915164,
-0.036132898181676865,
0.03476730361580849,
0.06757848709821701,
0.035874541848897934,
0.05399635434150696,
-0.05831458792090416,
0.014412560500204563,
-0.008521126583218575,
0.04665166884660721,
-0.02987699769437313,
0.038974810391664505,
0.04860779270529747,
0.0416690930724144,
0.05942182615399361,
0.017439013347029686,
0.010832487605512142,
-0.0020979871042072773,
0.0011995089007541537,
-0.002631999319419265,
0.01658090390264988,
-0.04170600324869156,
0.0900554358959198,
0.008235089480876923,
0.0686488151550293,
-0.021997148171067238,
0.005979090463370085,
0.02413780987262726,
0.07174908369779587,
0.05927419289946556,
0.00948534719645977,
-0.009632979519665241,
0.033807698637247086,
-0.04362521693110466,
0.002394404262304306,
-0.024303896352648735,
0.014735504984855652,
0.02181260846555233,
-0.016691626980900764,
0.011109298095107079,
-0.0681690126657486,
0.035911452025175095,
0.030633611604571342,
0.0332171693444252,
-0.012714793905615807,
0.020244019106030464,
-0.0421488955616951,
0.03277427330613136,
-0.011330745182931423,
0.009992831386625767,
-0.011893591843545437,
0.003446281421929598,
0.03393687307834625,
0.01633177511394024,
0.02819768525660038,
0.024709884077310562,
0.04380975663661957,
0.045655153691768646,
-0.026721367612481117,
0.052999839186668396,
-0.0019434350542724133,
0.09596071392297745,
-0.02183106169104576,
-0.06418295204639435,
-0.05753951892256737,
-0.030725881457328796,
-0.0004789385129697621,
0.035653095692396164,
0.008668758906424046,
0.06093505024909973,
0.027607157826423645,
-0.062005382031202316,
-0.01349908858537674,
-0.043957386165857315,
0.00581761822104454,
0.004825716372579336,
-0.04030349850654602,
0.05019483342766762,
0.07090020179748535,
-0.037110958248376846,
-0.007330844644457102,
0.026666006073355675,
-0.051597338169813156,
-0.041595276445150375,
-0.05883129686117172,
-0.021683430299162865,
-0.027902422472834587,
-0.0160826463252306,
-0.019727308303117752,
0.04831252619624138,
-0.052040230482816696,
0.03952843323349953,
0.013932757079601288,
-0.03770148754119873,
0.02799469232559204,
0.0999467745423317,
0.007981347851455212,
0.009799065068364143,
-0.047057658433914185,
0.027551796287298203,
0.008456537500023842,
-0.011506058275699615,
-0.010814034380018711,
-0.015123039484024048,
0.019598130136728287,
-0.019155234098434448,
-0.039196260273456573,
-0.05894201993942261,
0.03550546243786812,
-0.03443513065576553,
-0.0038407351821660995,
-0.012299579568207264,
-0.05001029372215271,
-0.016507087275385857,
-0.007450795732438564,
-0.0005371838924475014,
0.03845810145139694,
0.06469966471195221,
0.04170600324869156,
0.042554885149002075,
-0.01162600889801979,
-0.01993030123412609,
-0.007086329627782106,
0.005979090463370085,
-0.0019053737632930279,
0.024340802803635597,
-0.05192950740456581,
0.008313518948853016,
0.001491312519647181,
0.026702912524342537,
0.02391636185348034,
-0.04026659205555916,
0.0063066487200558186,
0.07211816310882568,
-0.0241931714117527,
0.030264532193541527,
0.0678737461566925,
-0.022107871249318123,
-0.040894027799367905,
0.023528829216957092,
0.00769531074911356,
0.007483090274035931,
-0.014172659255564213,
0.03183311969041824,
-0.007317004259675741,
0.024765245616436005,
0.015971921384334564,
0.055804844945669174,
-0.029009660705924034,
-0.04237034544348717,
-0.0792044922709465,
-0.02701663039624691,
-0.06684032827615738,
0.042554885149002075,
0.018601614981889725,
0.07204435020685196,
0.07385283708572388,
-0.023362742736935616,
0.028160778805613518,
-0.001136649982072413,
-0.0638507828116417,
0.004239802714437246,
0.0037784529849886894,
-0.023344287648797035,
0.04432646557688713,
0.02345501258969307,
-0.051043715327978134,
-0.027680974453687668,
-0.02725653350353241,
0.03277427330613136,
0.012604070827364922,
-0.0033078764099627733,
-0.02391636185348034,
0.0055823298171162605,
0.026979723945260048,
-0.061783935874700546,
0.08953872323036194,
-0.03124259226024151,
-0.014800094068050385,
0.014301836490631104,
0.028972752392292023,
0.07794962078332901,
-0.028548311442136765,
-0.03770148754119873,
-0.056985899806022644,
-0.05447615683078766,
0.01801108755171299,
0.04535989090800285,
0.0669141411781311,
-0.0387902706861496,
0.059163469821214676,
-0.026389196515083313,
0.021037541329860687,
-0.02321511134505272,
-0.00783371552824974,
0.012401076965034008,
-0.0020714595448225737,
0.045655153691768646,
0.04495390132069588,
0.05499286949634552,
-0.006006771232932806,
-0.10629494488239288,
0.030633611604571342,
0.007884464226663113,
0.005144047550857067,
0.04270251840353012,
-0.017845001071691513,
0.010398819111287594,
-0.004267483483999968,
-0.05905274674296379,
-0.015842745080590248,
-0.029268017038702965,
0.009107040241360664,
-0.04266560822725296,
0.05665372684597969,
-0.04273942485451698,
0.0364835225045681,
-0.0006297421641647816,
-0.006915630307048559,
-0.023768730461597443,
-0.043219227343797684,
-0.028751306235790253,
0.02133280411362648,
0.016451725736260414,
0.02725653350353241,
0.004131385590881109,
0.03432440757751465,
-0.04148455336689949,
0.008087458088994026,
0.04713147133588791,
0.042776331305503845,
-0.06377696245908737,
0.03288499638438225,
0.007160145323723555,
-0.0597170889377594,
-0.03153785690665245,
0.007985960692167282,
0.028031600639224052,
0.04908759519457817,
0.005886820610612631,
-0.022218596190214157,
-0.04506462812423706,
-0.023787183687090874,
0.005466992501169443,
-0.03031989373266697,
-0.012041224166750908,
-0.01685771346092224,
-0.012724021449685097,
-0.009854426607489586,
-0.041853632777929306,
-0.004853397607803345,
-0.02249540574848652,
0.019801123067736626,
0.011339972727000713,
0.051338981837034225,
-0.029304925352334976,
-0.01868465729057789,
0.02057619020342827,
0.06410913914442062,
-0.004599655047059059,
0.004066796507686377,
-0.008816390298306942,
-0.027201170101761818,
-0.010537223890423775,
0.024359257891774178,
-0.007566133048385382,
-0.053959447890520096,
-0.04993647709488869,
-0.05207714065909386,
-0.11397179961204529,
0.08658608794212341,
-0.004198281094431877,
0.006772611755877733,
-0.00839194841682911,
0.07403738051652908
]
|
31,502 | laspy.copc | level_query | null | def level_query(self, level: Union[int, range]) -> ScaleAwarePointRecord:
return self.query(bounds=None, level=level)
| (self, level: Union[int, range]) -> laspy.point.record.ScaleAwarePointRecord | [
0.013306139968335629,
-0.002617154037579894,
-0.013541200198233128,
0.07179439067840576,
0.039389532059431076,
0.025739194825291634,
0.002589870011433959,
-0.02268340066075325,
-0.02899647131562233,
-0.008688867092132568,
-0.043990012258291245,
0.007950103841722012,
-0.007026649080216885,
-0.004634062293916941,
0.007710844743996859,
0.006048626732081175,
-0.013432065024971962,
-0.05191493034362793,
0.01378465723246336,
0.02223006822168827,
0.06175392121076584,
0.02590709552168846,
0.08112967014312744,
0.039993975311517715,
-0.043519891798496246,
0.04711296781897545,
0.0016422797925770283,
-0.0018059831345453858,
0.011559970676898956,
-0.07642845064401627,
-0.08663681894540787,
0.029634494334459305,
0.0015667245024815202,
0.028962889686226845,
-0.05943688750267029,
0.005024431739002466,
-0.03282460942864418,
-0.0016212922055274248,
0.008705656975507736,
0.031044861301779747,
-0.07763733714818954,
0.02802264504134655,
-0.033832013607025146,
-0.0033097448758780956,
0.011014292947947979,
-0.017763905227184296,
0.06803341209888458,
-0.05379541963338852,
0.061115898191928864,
0.0036854229401797056,
0.03334510326385498,
0.10429998487234116,
0.03606509417295456,
-0.05903392657637596,
-0.01480045635253191,
-0.05799294263124466,
-0.0016380823217332363,
-0.012458240613341331,
0.03282460942864418,
-0.018586620688438416,
0.013415275141596794,
0.03945669159293175,
-0.04486309736967087,
-0.0017807979602366686,
-0.008529361337423325,
-0.0509411059319973,
0.023556483909487724,
0.009284915402531624,
-0.010787627659738064,
0.017847856506705284,
-0.015564405359327793,
-0.018670570105314255,
0.005817763041704893,
0.008965903893113136,
-0.033311519771814346,
-0.0019077729666605592,
0.003714805468916893,
0.06145169958472252,
0.059772688895463943,
0.004596284590661526,
-0.006829365622252226,
0.0040338169783353806,
0.06390304863452911,
0.03228732571005821,
-0.03626657649874687,
-0.002707400592043996,
0.014775271527469158,
-0.012836017645895481,
0.06289564818143845,
-0.000019577497369027697,
-0.029735233634710312,
0.046239882707595825,
-0.03215300664305687,
0.011543180793523788,
0.050135184079408646,
-0.0027241907082498074,
-0.038046322762966156,
0.05040382593870163,
-0.04613914340734482,
0.029919924214482307,
-0.025034012272953987,
-0.0023904878180474043,
0.01194614265114069,
0.023035991936922073,
-0.03633373603224754,
0.0036224601790308952,
0.019812295213341713,
-0.048120371997356415,
-0.01982908695936203,
0.07179439067840576,
0.011635526083409786,
0.06336576491594315,
-0.02367401495575905,
0.008504176512360573,
-0.10154641419649124,
0.05117616802453995,
-0.014716506004333496,
-0.02066859044134617,
-0.03848286718130112,
-0.011954537592828274,
-0.013885397464036942,
0.01587502285838127,
-0.02207895740866661,
-0.017545634880661964,
-0.04761667177081108,
0.005272085778415203,
0.008168374188244343,
-0.014338729903101921,
0.0054651712998747826,
0.0025269072502851486,
0.03959101065993309,
0.0040338169783353806,
-0.00029015360632911325,
0.024983640760183334,
0.020248837769031525,
-0.011408859863877296,
0.07965214550495148,
-0.00668664975091815,
0.0028669063467532396,
0.09718099236488342,
0.004902703687548637,
0.023002412170171738,
0.018217237666249275,
-0.025554504245519638,
0.025940675288438797,
-0.010888367891311646,
0.008781212382018566,
0.03290855884552002,
0.0048565310426056385,
-0.015203419141471386,
-0.020651800557971,
-0.005767392925918102,
0.059168245643377304,
0.02209574729204178,
0.04754951223731041,
-0.034453246742486954,
0.04123644158244133,
-0.07441364228725433,
0.043318409472703934,
-0.053526777774095535,
-0.058026522397994995,
0.004445174243301153,
-0.009645901620388031,
-0.07213018834590912,
-0.03072584979236126,
-0.0035532009787857533,
-0.049530740827322006,
-0.034218184649944305,
-0.008697262033820152,
0.030927330255508423,
0.03663595765829086,
0.029919924214482307,
0.028291286900639534,
0.03905373066663742,
-0.014850826933979988,
-0.007345660589635372,
0.018888842314481735,
0.051041848957538605,
-0.019409334287047386,
-0.057959362864494324,
0.02456388995051384,
-0.0020567849278450012,
0.017864646390080452,
-0.026242896914482117,
0.023909075185656548,
-0.008772817440330982,
0.016420699656009674,
-0.03821422532200813,
-0.08683829754590988,
-0.0077528199180960655,
-0.010426640510559082,
-0.013960952870547771,
0.04419149458408356,
-0.02899647131562233,
0.005435789003968239,
0.055776651948690414,
-0.0035049295984208584,
-0.0004176532675046474,
-0.00848738569766283,
0.04261322692036629,
0.00038459780625998974,
0.022733770310878754,
-0.02479895018041134,
-0.017033537849783897,
-0.09926296025514603,
0.04862407594919205,
0.012273549102246761,
-0.002247772179543972,
-0.030843378975987434,
-0.033160410821437836,
-0.05513862892985344,
-0.02681376039981842,
-0.03784484416246414,
-0.019778715446591377,
0.01796538755297661,
0.020467109978199005,
-0.06279490143060684,
-0.022935250774025917,
0.05211641266942024,
0.012600956484675407,
0.05288875475525856,
-0.03410065546631813,
0.0064264037646353245,
-0.025302652269601822,
-0.0006144120707176626,
0.02583993598818779,
0.06662303954362869,
-0.01939254440367222,
-0.01572391204535961,
0.003920483868569136,
0.007534549105912447,
-0.017679955810308456,
-0.019510075449943542,
-0.047818150371313095,
-0.07689857482910156,
0.011769847013056278,
-0.0029424617532640696,
0.04580334201455116,
0.05460134521126747,
0.007056031841784716,
0.01907353289425373,
-0.008705656975507736,
0.016353540122509003,
0.06343292444944382,
-0.07206302881240845,
-0.020114516839385033,
0.016437489539384842,
-0.022062167525291443,
0.056817635893821716,
0.029433012008666992,
-0.01719304360449314,
-0.06168675795197487,
0.004831345751881599,
0.06645514070987701,
0.04859049618244171,
-0.045400381088256836,
-0.022330807521939278,
-0.008923928253352642,
-0.015396504662930965,
-0.043519891798496246,
-0.12162735313177109,
-0.0054106037132442,
-0.013583175837993622,
-0.013163424097001553,
0.010208369232714176,
0.0055407267063856125,
-0.0016139466315507889,
-0.013247374445199966,
0.030994489789009094,
0.028140176087617874,
-0.05063888430595398,
0.040598418563604355,
-0.025117961689829826,
0.013163424097001553,
0.0026801167987287045,
0.005146159790456295,
0.03433571755886078,
-0.03989323228597641,
-0.01104787364602089,
0.006963686086237431,
-0.01536292489618063,
0.032791029661893845,
0.01788143627345562,
0.019577234983444214,
-0.0020525874570012093,
-0.027132771909236908,
0.012298734858632088,
0.00523850554600358,
0.010686886496841908,
-0.04875839501619339,
-0.035427071154117584,
0.0356285534799099,
0.00029041594825685024,
-0.05211641266942024,
0.0234389528632164,
-0.03374806419014931,
0.028744619339704514,
-0.0351584292948246,
0.028979681432247162,
0.0049572717398405075,
0.00711479689925909,
-0.08475632965564728,
0.08710694313049316,
0.07213018834590912,
0.028156965970993042,
0.01498514786362648,
0.014901197515428066,
-0.007929115556180477,
-0.004877518862485886,
-0.05399690195918083,
-0.02644437737762928,
0.05732133612036705,
0.024731790646910667,
-0.029416222125291824,
-0.032942138612270355,
-0.0040736934170126915,
-0.048254694789648056,
0.01742810383439064,
-0.0267465990036726,
0.055407267063856125,
-0.046307045966386795,
0.005435789003968239,
0.0468779057264328,
0.018385138362646103,
-0.04580334201455116,
-0.01788143627345562,
-0.009964913129806519,
-0.014372309669852257,
0.03371448442339897,
-0.012592560611665249,
-0.026796970516443253,
0.0009255532640963793,
0.04452729597687721,
-0.016034528613090515,
-0.04140434041619301,
-0.00901627354323864,
0.03959101065993309,
0.09691234678030014,
0.007534549105912447,
0.05849664285778999,
0.012147624045610428,
0.011937747709453106,
0.009033063426613808,
-0.011207379400730133,
0.04546754062175751,
-0.02081970125436783,
0.04137076064944267,
0.0040401131846010685,
0.0247150007635355,
-0.04012829437851906,
0.007479981053620577,
-0.05429912358522415,
-0.0509411059319973,
-0.0022771547082811594,
0.004382211249321699,
-0.010535775683820248,
0.07441364228725433,
-0.006758007686585188,
-0.024765370413661003,
0.042243845760822296,
0.07407783716917038,
-0.06477613747119904,
-0.03252238780260086,
0.00039509159978479147,
-0.012911573052406311,
-0.00001521601097920211,
0.028643878176808357,
-0.03124634176492691,
0.03492337092757225,
0.09818839281797409,
-0.008772817440330982,
-0.04580334201455116,
-0.0519820936024189,
0.09731531143188477,
-0.033983126282691956,
0.03935595229268074,
0.012315524742007256,
-0.007429610937833786,
-0.00044860999332740903,
-0.022448338568210602,
0.0423445850610733,
0.0017734523862600327,
0.0024849320761859417,
0.0308097992092371,
-0.002959251869469881,
0.018301188945770264,
0.005897515919059515,
-0.011182194575667381,
-0.01074565201997757,
0.0006427452899515629,
0.0428147092461586,
0.007979486137628555,
-0.004726408049464226,
-0.03175004571676254,
-0.05167987197637558,
0.029550543054938316,
0.014540210366249084,
-0.008856767788529396,
0.04738160967826843,
-0.008848372846841812,
-0.054198384284973145,
-0.035494230687618256,
-0.026645859703421593,
-0.047952473163604736,
-0.011593551374971867,
-0.056683313101530075,
0.019493283703923225,
-0.007811585441231728,
0.008189362473785877,
-0.023573273792862892,
-0.021877476945519447,
-0.03272387012839317,
-0.026796970516443253,
0.05339245870709419,
0.043687790632247925,
-0.0795849859714508,
0.07199586927890778,
-0.016538230702280998,
-0.040833476930856705,
0.004906901158392429,
0.017998967319726944,
-0.0504709854722023,
-0.03401670604944229,
0.03379843384027481,
0.024765370413661003,
-0.03502411022782326,
-0.02652832865715027,
0.011039478704333305,
0.039020150899887085,
0.06007491052150726,
-0.03918804973363876,
-0.07521956413984299,
0.005956281442195177,
-0.03844928741455078,
0.016815265640616417,
0.021608835086226463,
-0.02605820633471012,
0.047583092004060745,
0.00473480299115181,
0.01340688019990921,
0.04657568410038948,
-0.0037756694946438074,
0.031162390485405922,
-0.0014313544379547238,
0.05295591801404953,
-0.05560874938964844,
-0.014523420482873917,
-0.002287648618221283,
0.000897744670510292,
-0.015446875244379044,
0.015665145590901375,
-0.02756931446492672,
0.0652126744389534,
0.008730842731893063,
0.020383158698678017,
-0.01667255163192749,
-0.13472361862659454,
-0.010132813826203346,
0.016731316223740578,
-0.0012571573024615645,
-0.012978732585906982,
0.040967799723148346,
-0.030927330255508423,
-0.014808852225542068,
-0.026847340166568756,
0.03717324137687683,
-0.0031481401529163122,
-0.010309110395610332,
-0.016076503321528435,
-0.05896676704287529,
0.01697477139532566,
0.040531255304813385,
-0.0703168585896492,
-0.02177673578262329,
-0.0023506113793700933,
-0.009889357723295689,
0.030524367466568947,
0.021424144506454468,
0.006434798706322908,
-0.01179503183811903,
-0.009486395865678787,
-0.040833476930856705,
-0.0014040705282241106,
0.02953375317156315,
-0.022431548684835434,
0.003949866630136967,
0.0016412304248660803,
0.0687050148844719,
-0.047818150371313095,
-0.042042363435029984,
0.03366411477327347,
0.05114258825778961,
0.050605304539203644,
-0.014959962107241154,
-0.032555967569351196,
-0.010451825335621834,
0.025638453662395477,
-0.04063199833035469,
0.03319399058818817,
0.01649625413119793,
0.021978216245770454,
0.005868133623152971,
-0.01029231958091259,
0.009024668484926224,
0.022481918334960938,
0.05769072100520134,
0.02876140922307968,
0.057287756353616714,
0.05016876384615898,
0.003956162836402655,
0.029651284217834473,
0.027535732835531235,
-0.03747546300292015,
-0.00010198662494076416,
-0.010854787193238735,
0.0895918756723404,
0.0013956754701212049,
0.023271052166819572,
-0.011400464922189713,
-0.04449371621012688,
-0.003450361778959632,
0.04006113484501839,
-0.012273549102246761,
-0.03163251280784607,
0.0018636990571394563,
-0.006812575738877058,
-0.015858231112360954,
0.010435035452246666,
-0.03299250826239586,
0.06803341209888458,
0.06766402721405029,
-0.027099192142486572,
-0.01220638956874609,
-0.011232564225792885,
-0.0180997084826231,
0.057892199605703354,
-0.06306354701519012,
-0.019291803240776062,
0.0009512630640529096,
0.0009722506511025131,
0.0009229297866113484,
-0.010074049234390259,
0.060276392847299576,
-0.02583993598818779,
0.011207379400730133,
-0.029500173404812813,
-0.028862150385975838,
-0.017243413254618645,
0.013348114676773548,
0.02802264504134655,
0.08361460268497467,
0.0032132018823176622,
0.06024281308054924,
-0.04325124993920326,
0.04724729061126709,
0.06588427722454071,
-0.0698467418551445,
-0.05178061127662659,
-0.032942138612270355,
-0.019107112661004066,
0.009284915402531624,
-0.03003745526075363,
0.05100826919078827,
0.041303601115942,
-0.10329258441925049,
-0.04513173922896385,
-0.013549596071243286,
0.02719993144273758,
0.010233554989099503,
-0.005146159790456295,
-0.016773290932178497,
0.030003875494003296,
-0.018569830805063248,
-0.006203935015946627,
-0.004713815171271563,
0.0022267845924943686,
0.02365722507238388,
-0.04009471461176872,
-0.014766876585781574,
0.04610556364059448,
-0.015858231112360954,
0.046542104333639145,
-0.005968873854726553,
-0.0377105213701725,
-0.014414285309612751,
0.05587739124894142,
0.008038251660764217,
0.011392069980502129,
-0.0011448736768215895,
0.026477959007024765,
0.07018253952264786,
-0.07327191531658173,
-0.024983640760183334,
0.007286895532160997,
0.02447993867099285,
-0.06944377720355988,
-0.035494230687618256,
-0.06400378793478012,
0.039993975311517715,
0.02434561774134636,
-0.01781427673995495,
0.034587569534778595,
-0.05211641266942024,
-0.0029760419856756926,
-0.03435250744223595,
-0.006031836848706007,
0.025554504245519638,
0.004806160926818848,
-0.05057172477245331,
-0.014044903218746185,
-0.016638970002532005,
-0.004218508023768663,
-0.0937558114528656,
0.051646292209625244,
0.03334510326385498,
-0.03982607275247574,
-0.005104184616357088,
0.040833476930856705,
0.03596435487270355,
-0.008067633956670761,
-0.02869424968957901,
0.025067592039704323,
-0.011022688820958138,
0.0009428680059500039,
0.03703891858458519,
-0.04560185968875885,
0.09046495705842972,
-0.03599793463945389,
0.030994489789009094,
-0.020551059395074844,
0.0013295646058395505,
0.05920182541012764,
-0.06638798117637634,
-0.00568764004856348,
0.002058883663266897,
-0.046239882707595825,
-0.010535775683820248,
-0.043990012258291245,
0.018267609179019928,
0.011182194575667381,
-0.020030567422509193,
-0.009041459299623966,
-0.006031836848706007,
0.012114043347537518,
0.0076436847448349,
0.007454796228557825,
-0.007454796228557825,
0.02380833588540554,
-0.00651455158367753,
0.005658257286995649,
-0.012063673697412014,
-0.04677716642618179,
-0.002126044128090143,
0.01468292623758316,
0.03599793463945389,
0.046307045966386795,
-0.00508739473298192,
0.01262614130973816,
0.0035867812111973763,
0.00006250369915505871,
-0.09174100309610367,
0.013885397464036942,
-0.053593941032886505,
0.05057172477245331,
-0.008420226164162159,
0.013742681592702866,
-0.0392216295003891,
-0.03596435487270355,
-0.00036177379661239684,
0.04036335647106171,
0.04207594320178032,
-0.03319399058818817,
-0.044359393417835236,
0.041807301342487335,
-0.004596284590661526,
0.014582186006009579,
0.012752067297697067,
0.009603926911950111,
-0.026696229353547096,
-0.006862945854663849,
0.000712529057636857,
0.028442397713661194,
-0.048859138041734695,
0.05560874938964844,
0.05994059145450592,
0.06558205932378769,
-0.02997029572725296,
-0.0091673843562603,
0.01781427673995495,
-0.01472490094602108,
0.03133029118180275,
-0.050907526165246964,
-0.026847340166568756,
0.004386408720165491,
-0.012710091657936573,
-0.04140434041619301,
-0.037609782069921494,
-0.013289349153637886,
0.05251937359571457,
-0.00689232861623168,
0.020399948582053185,
-0.0055701094679534435,
-0.04808679223060608,
0.02117229253053665,
0.03599793463945389,
0.004701222758740187,
0.04550112038850784,
0.02132340334355831,
0.07468228042125702,
0.0136335464194417,
-0.003954064100980759,
0.03275744989514351,
0.028005855157971382,
-0.055709488689899445,
0.030759429559111595,
0.034654729068279266,
0.03322757035493851,
0.041807301342487335,
-0.0784432590007782,
0.016832057386636734,
-0.022263647988438606,
-0.03433571755886078,
-0.011148613877594471,
-0.05493714660406113,
0.009914543479681015,
0.06806699186563492,
0.0346883088350296,
0.0012319722445681691,
-0.07233167439699173,
0.017394524067640305,
-0.08462201058864594,
-0.023035991936922073,
-0.005272085778415203,
-0.043990012258291245,
0.037441883236169815,
0.011467625387012959,
-0.06047787144780159,
0.004772580694407225,
0.03171646222472191,
-0.05866454541683197,
-0.004848136100918055,
0.022733770310878754,
-0.025218702852725983,
-0.08428620547056198,
0.021575255319476128,
0.010359480045735836,
0.005981466732919216,
0.011022688820958138,
-0.028358448296785355,
-0.011056268587708473,
0.0596383698284626,
0.030524367466568947,
0.02389228530228138,
0.02636042796075344,
-0.03532633185386658,
-0.013885397464036942,
0.003901595249772072,
-0.017478475347161293,
0.024882901459932327,
0.029718443751335144,
-0.03472188860177994,
0.012609351426362991,
-0.021961426362395287,
0.04049767553806305,
-0.02704882062971592,
0.0054651712998747826,
-0.0018605509540066123,
0.009427630342543125
]
|
31,503 | laspy.copc | query | "
Query the COPC file to retrieve the points matching the
requested bounds and level.
Parameters
----------
bounds: Bounds, optional, default None
The bounds for which you wish to aquire points.
If None, the whole file's bounds will be considered
2D bounds are suported, (No point will be filtered on its Z coordinate)
resolution: float or int, optional, default None
Limits the octree levels to be queried in order to have
a point cloud with the requested resolution.
- The unit is the one of the data.
- If None, the resulting cloud will be at the
full resolution offered by the COPC source
- Mutually exclusive with level parameter
level: int or range, optional, default None
The level of detail (LOD).
- If None, all LOD are going to be considered
- If it is an int, only points that are of the requested LOD
will be returned.
- If it is a range, points for which the LOD is within the range
will be returned
| def query(
self,
bounds: Optional[Bounds] = None,
resolution: Optional[Union[float, int]] = None,
level: Optional[Union[int, range]] = None,
) -> ScaleAwarePointRecord:
""" "
Query the COPC file to retrieve the points matching the
requested bounds and level.
Parameters
----------
bounds: Bounds, optional, default None
The bounds for which you wish to aquire points.
If None, the whole file's bounds will be considered
2D bounds are suported, (No point will be filtered on its Z coordinate)
resolution: float or int, optional, default None
Limits the octree levels to be queried in order to have
a point cloud with the requested resolution.
- The unit is the one of the data.
- If None, the resulting cloud will be at the
full resolution offered by the COPC source
- Mutually exclusive with level parameter
level: int or range, optional, default None
The level of detail (LOD).
- If None, all LOD are going to be considered
- If it is an int, only points that are of the requested LOD
will be returned.
- If it is a range, points for which the LOD is within the range
will be returned
"""
if resolution is not None and level is not None:
raise ValueError("Cannot specify both level and resolution")
elif resolution is not None and level is None:
level_max = max(1, ceil(log2(self.copc_info.spacing / resolution)) + 1)
level = range(0, level_max)
if isinstance(level, int):
level = range(level, level + 1)
if bounds is not None:
bounds = bounds.ensure_3d(self.header.mins, self.header.maxs)
nodes = load_octree_for_query(
self.source,
self.copc_info,
self.root_page,
query_bounds=bounds,
level_range=level,
)
# print("num nodes to query:", len(nodes));
points = self._fetch_and_decrompress_points_of_nodes(nodes)
if bounds is not None:
MINS = np.round(
(bounds.mins - self.header.offsets) / self.header.scales
).astype(np.int32)
MAXS = np.round(
(bounds.maxs - self.header.offsets) / self.header.scales
).astype(np.int32)
x_keep = (MINS[0] <= points.X) & (points.X <= MAXS[0])
y_keep = (MINS[1] <= points.Y) & (points.Y <= MAXS[1])
z_keep = (MINS[2] <= points.Z) & (points.Z <= MAXS[2])
# using scaled coordinates
# x, y, z = np.array(points.x), np.array(points.y), np.array(points.z)
# x_keep = (bounds.mins[0] <= x) & (x <= bounds.maxs[0])
# y_keep = (bounds.mins[1] <= y) & (y <= bounds.maxs[1])
# z_keep = (bounds.mins[2] <= z) & (z <= bounds.maxs[2])
keep_mask = x_keep & y_keep & z_keep
points.array = points.array[keep_mask].copy()
return points
| (self, bounds: Optional[laspy.copc.Bounds] = None, resolution: Union[float, int, NoneType] = None, level: Union[int, range, NoneType] = None) -> laspy.point.record.ScaleAwarePointRecord | [
-0.003372339764609933,
-0.030751828104257584,
-0.05294084548950195,
0.019764844328165054,
0.005635228473693132,
0.030575880780816078,
-0.01977461762726307,
-0.024124447256326675,
0.023088308051228523,
-0.06279394030570984,
-0.029754789546132088,
0.0037951041013002396,
-0.025395184755325317,
-0.004029701463878155,
-0.012267496436834335,
0.011788526549935341,
-0.030028486624360085,
-0.0523543544113636,
-0.018855778500437737,
-0.02596212923526764,
0.0060702115297317505,
0.018054235726594925,
0.06666480004787445,
0.04320504888892174,
-0.021661173552274704,
0.027878008782863617,
0.019979890435934067,
-0.007482684217393398,
-0.03411439433693886,
-0.03859129548072815,
-0.0613863579928875,
0.026822319254279137,
-0.033449701964855194,
0.010371166281402111,
-0.03221806511282921,
0.017438417300581932,
0.06732949614524841,
0.007204099558293819,
-0.028053956106305122,
0.05513042211532593,
-0.12245991826057434,
-0.03243311122059822,
-0.05251074954867363,
-0.017653465270996094,
0.0026098976377397776,
-0.006637155544012785,
0.038043901324272156,
-0.011622353456914425,
0.047975197434425354,
-0.026353124529123306,
0.029324693605303764,
-0.002371634589508176,
0.012814891524612904,
-0.044417135417461395,
-0.007653744891285896,
-0.038395799696445465,
-0.010351616889238358,
0.08406411856412888,
0.031084174290299416,
-0.008440623991191387,
0.0171744953840971,
0.039803385734558105,
-0.0029055883642286062,
-0.030614979565143585,
-0.006534519139677286,
-0.006642043124884367,
0.02926604449748993,
-0.053253643214702606,
0.00571831502020359,
0.023753002285957336,
-0.0014515722868964076,
-0.025160586461424828,
0.03649946674704552,
-0.008230463601648808,
0.037946153432130814,
-0.05192425847053528,
-0.007091688457876444,
0.056811705231666565,
0.037946153432130814,
-0.03536558151245117,
-0.024359045550227165,
-0.01846478134393692,
0.05485672503709793,
-0.03223761171102524,
0.0315924696624279,
0.014848070219159126,
0.052080657333135605,
0.013499134220182896,
0.024691391736268997,
0.058101993054151535,
-0.00227266363799572,
0.026607271283864975,
-0.03741830959916115,
0.03493548557162285,
0.04824889451265335,
0.030458582565188408,
0.009100429713726044,
0.03348879888653755,
-0.03857174515724182,
0.02170027233660221,
-0.009075992740690708,
0.014545047655701637,
-0.007458247244358063,
0.0538010373711586,
-0.004393816459923983,
-0.009364352561533451,
0.010420041158795357,
0.03419259190559387,
0.023909399285912514,
0.0339384451508522,
-0.06295034289360046,
0.004772593732923269,
0.006857090629637241,
-0.011866725981235504,
-0.04742780327796936,
-0.019139250740408897,
-0.02819080464541912,
0.00264166621491313,
-0.10103334486484528,
-0.023870300501585007,
-0.019598670303821564,
0.013635982759296894,
-0.026861419901251793,
0.0044158101081848145,
-0.03401664271950722,
0.0001018727634800598,
0.035346031188964844,
0.03542422875761986,
-0.012365246191620827,
-0.070496566593647,
0.030048035085201263,
-0.060565266758203506,
0.024398144334554672,
0.014417974278330803,
0.021915320307016373,
-0.02713511697947979,
0.06420152634382248,
-0.020566385239362717,
-0.058101993054151535,
0.030575880780816078,
0.03571747615933418,
0.02996983751654625,
-0.0014845626428723335,
-0.03761380538344383,
-0.009364352561533451,
-0.026880968362092972,
0.029070546850562096,
-0.06666480004787445,
-0.028484052047133446,
-0.005239345133304596,
-0.028875047340989113,
-0.04234485700726509,
0.00402481434866786,
-0.013880355283617973,
0.0018975520506501198,
-0.06967547535896301,
0.041367366909980774,
-0.0853935107588768,
-0.008875607512891293,
0.005063396878540516,
-0.047154106199741364,
0.02961794100701809,
-0.015620286576449871,
-0.015825560316443443,
-0.015854883939027786,
-0.004037032835185528,
-0.056342512369155884,
-0.09086745232343674,
-0.011260682716965675,
0.02123107761144638,
0.024574093520641327,
0.03493548557162285,
0.010292967781424522,
0.03315645456314087,
-0.021563423797488213,
-0.03536558151245117,
0.01345025934278965,
-0.0018230184214189649,
-0.03454449027776718,
-0.05305814370512962,
0.04375244304537773,
-0.009711360558867455,
0.013538233935832977,
0.016529351472854614,
0.00043376110261306167,
0.05075126886367798,
0.07499301433563232,
-0.04789699986577034,
-0.020585935562849045,
-0.0004841629124712199,
-0.015610511414706707,
0.005913813132792711,
0.020585935562849045,
0.008416187018156052,
0.03954923525452614,
-0.011133608408272266,
0.016578227281570435,
0.03270680829882622,
-0.02748701348900795,
0.049148187041282654,
-0.023518403992056847,
-0.006783779244869947,
0.031318772584199905,
-0.012648717500269413,
-0.057398200035095215,
0.055756017565727234,
0.03472043573856354,
0.02774116024374962,
-0.05782829597592354,
0.03997933119535446,
-0.022619113326072693,
-0.03943193703889847,
-0.01143663004040718,
-0.05462212860584259,
0.0172429196536541,
0.05278444662690163,
-0.07069206237792969,
-0.005943137686699629,
-0.02216946892440319,
0.014652571640908718,
0.06772049516439438,
-0.011837401427328587,
0.02715466544032097,
-0.01827905885875225,
0.009462101384997368,
0.02525833621621132,
0.0329023078083992,
0.01650002785027027,
0.03726191073656082,
-0.06220744922757149,
0.037692006677389145,
-0.03436854109168053,
-0.057984694838523865,
-0.03386024758219719,
0.009579399600625038,
-0.040155280381441116,
0.004916773643344641,
0.08367312699556351,
0.013176562264561653,
-0.007653744891285896,
0.006891302764415741,
-0.0009194513550028205,
0.007927441969513893,
0.008479723706841469,
-0.07479751855134964,
-0.028718650341033936,
0.01596240885555744,
-0.03196391463279724,
0.06889347732067108,
0.037222810089588165,
0.023518403992056847,
-0.08328212797641754,
-0.038747694343328476,
0.0023838533088564873,
0.0039612771943211555,
-0.07299893349409103,
-0.031221022829413414,
-0.03978383541107178,
0.04332234710454941,
-0.023166507482528687,
-0.08813048154115677,
0.026138076558709145,
0.05051667243242264,
0.04578562080860138,
0.04637211561203003,
0.0015102217439562082,
-0.007008601911365986,
-0.02664637193083763,
0.01486761961132288,
0.026861419901251793,
-0.06072166562080383,
0.09454280883073807,
-0.018611405044794083,
-0.0058160643093287945,
-0.002876263577491045,
0.0012139200698584318,
0.023518403992056847,
-0.03782885521650314,
-0.0005620566080324352,
0.04645031318068504,
0.010586214251816273,
0.0220717191696167,
-0.03419259190559387,
-0.017135396599769592,
0.00022421171888709068,
-0.07123945653438568,
-0.010576439090073109,
0.027682511135935783,
0.021035579964518547,
-0.0263140257447958,
-0.05923588201403618,
0.043713342398405075,
-0.009696698747575283,
-0.0698709711432457,
0.039099592715501785,
-0.02099648118019104,
0.003054655622690916,
-0.07886387407779694,
0.0030595429707318544,
-0.003267259569838643,
0.005972462706267834,
-0.08023235946893692,
0.1000167578458786,
0.006480757147073746,
0.045238226652145386,
0.04089817404747009,
0.029324693605303764,
-0.037457410246133804,
-0.011299781501293182,
-0.036988213658332825,
-0.02029268816113472,
-0.004537996370345354,
0.02287326008081436,
-0.03491593524813652,
0.004831243306398392,
0.027936657890677452,
-0.008254901506006718,
0.0424230583012104,
0.03423169255256653,
0.04613751918077469,
-0.05536502227187157,
0.009701586328446865,
0.02748701348900795,
0.03988158330321312,
0.006128861103206873,
-0.0063243587501347065,
0.006617605686187744,
0.022834161296486855,
0.044534433633089066,
-0.02891414798796177,
-0.012375020422041416,
0.011935150250792503,
0.0029300255700945854,
0.021094229072332382,
-0.017135396599769592,
-0.00802519079297781,
0.028132155537605286,
0.03718371316790581,
0.0380048044025898,
0.02263866364955902,
0.055873315781354904,
0.004283849149942398,
0.029344243928790092,
-0.0026685472112149,
-0.004234974272549152,
-0.034876834601163864,
0.07948946952819824,
-0.03706641122698784,
-0.006813103798776865,
-0.029872087761759758,
-0.016675975173711777,
0.011456180363893509,
0.020566385239362717,
0.002815170679241419,
0.013108137995004654,
0.016069931909441948,
0.06846338510513306,
-0.02465229295194149,
0.011905825696885586,
-0.00251947995275259,
0.09235323220491409,
-0.009183516725897789,
-0.020312238484621048,
0.0025463609490543604,
-0.04050717502832413,
-0.004906998947262764,
0.009647823870182037,
-0.01173965260386467,
0.046059317886829376,
0.0073116235435009,
-0.022228118032217026,
-0.04433893784880638,
-0.05602971464395523,
0.03681226447224617,
-0.009007568471133709,
0.0073751602321863174,
-0.00004280335997464135,
0.008699659258127213,
-0.039334189146757126,
0.004743269179016352,
0.016460927203297615,
0.03008713573217392,
-0.019324973225593567,
0.00799097865819931,
-0.04214936122298241,
-0.013909679837524891,
-0.017751215025782585,
0.029344243928790092,
0.006392783019691706,
0.01591353304684162,
0.043947942554950714,
0.009525638073682785,
-0.010537340305745602,
-0.023557504639029503,
-0.017066972330212593,
0.009994832798838615,
0.05063397064805031,
0.015160867013037205,
0.009315477684140205,
-0.03646036982536316,
-0.04285315051674843,
-0.0500083789229393,
-0.0078052557073533535,
0.018679829314351082,
-0.014662346802651882,
-0.07206054776906967,
0.04817069694399834,
-0.08703569322824478,
0.03575657680630684,
0.019745294004678726,
-0.039353739470243454,
0.006510082166641951,
0.03575657680630684,
0.05501312389969826,
-0.04516002908349037,
-0.011231357231736183,
-0.01910015009343624,
0.02995028719305992,
-0.011593028903007507,
-0.012873540632426739,
0.047154106199741364,
-0.04171926528215408,
0.01298106461763382,
0.016187230125069618,
0.03376249596476555,
-0.049851980060338974,
0.015923308208584785,
-0.03323465213179588,
0.03376249596476555,
0.02394849993288517,
-0.0783555805683136,
-0.03857174515724182,
-0.013440484181046486,
-0.05602971464395523,
-0.025649331510066986,
0.03196391463279724,
-0.03387979418039322,
0.025043288245797157,
0.04426073655486107,
0.0365581177175045,
0.02973523922264576,
0.025571132078766823,
0.0031621793750673532,
-0.034055743366479874,
-0.01968664489686489,
-0.020390436053276062,
-0.038278501480817795,
-0.044769033789634705,
-0.04070267453789711,
-0.030966876074671745,
0.041250068694353104,
0.009437663480639458,
0.07073116302490234,
-0.02629447542130947,
0.03055633045732975,
-0.02216946892440319,
-0.10455230623483658,
0.018200859427452087,
-0.024710942059755325,
-0.021641623228788376,
-0.0019403172191232443,
0.032491762191057205,
0.01729179359972477,
-0.04993017762899399,
-0.01579623483121395,
0.05251074954867363,
-0.01558118686079979,
0.049969278275966644,
-0.011974249966442585,
-0.05063397064805031,
0.000026117304514627904,
-0.028132155537605286,
-0.07557950913906097,
-0.025082387030124664,
0.020820531994104385,
0.04820979759097099,
-0.018288834020495415,
0.0502820760011673,
0.036616768687963486,
-0.008841395378112793,
-0.0195888951420784,
-0.06646930426359177,
0.0038977405056357384,
0.00032990280305966735,
0.0021468119230121374,
0.002459608716890216,
-0.005444617941975594,
0.03823940083384514,
-0.06244204565882683,
-0.05063397064805031,
0.016363179311156273,
0.06975366920232773,
0.01558118686079979,
-0.04445623606443405,
0.006661592982709408,
0.0573200024664402,
0.05204155668616295,
0.001974529353901744,
0.0400770828127861,
-0.0031475170981138945,
0.02301010861992836,
0.016187230125069618,
-0.003416326828300953,
-0.0403507798910141,
0.033801596611738205,
0.017350444570183754,
0.0269005186855793,
0.058101993054151535,
0.014417974278330803,
0.0002536891552153975,
-0.01291264034807682,
-0.021915320307016373,
0.04164106398820877,
-0.000019855260688927956,
-0.027682511135935783,
0.10040774941444397,
-0.016666200011968613,
0.038180749863386154,
-0.09634139388799667,
-0.019530246034264565,
0.028171256184577942,
0.03397754579782486,
0.019109925255179405,
0.022443166002631187,
0.008010528981685638,
0.01588420942425728,
-0.021055130288004875,
-0.037457410246133804,
-0.02089873142540455,
0.03069317899644375,
0.02959839068353176,
-0.026392223313450813,
-0.015317264944314957,
0.010830586776137352,
0.03327375277876854,
0.06803328543901443,
-0.00007430449477396905,
-0.026118526235222816,
0.05520862340927124,
-0.001899995724670589,
0.011133608408272266,
0.009251940995454788,
0.0695972740650177,
-0.011290007270872593,
0.05896218493580818,
-0.03176841884851456,
0.04519912600517273,
-0.007199212443083525,
0.02664637193083763,
0.04965648055076599,
0.09532480686903,
-0.037437859922647476,
0.06795509159564972,
-0.03505278378725052,
0.06881528347730637,
0.07444562017917633,
-0.016314305365085602,
-0.06701669842004776,
-0.042188458144664764,
0.0014857844216749072,
0.009667374193668365,
-0.031670667231082916,
0.02525833621621132,
0.04953918233513832,
-0.11432720720767975,
0.0008045962895266712,
-0.013811931014060974,
0.03116237372159958,
0.02334245666861534,
-0.021563423797488213,
0.04578562080860138,
0.03997933119535446,
-0.042071159929037094,
0.00787368044257164,
-0.011876501142978668,
0.008675222285091877,
0.017497066408395767,
-0.010801262222230434,
-0.030751828104257584,
-0.00571831502020359,
-0.002688096836209297,
-0.014369099400937557,
0.053253643214702606,
-0.07432832568883896,
0.008196251466870308,
0.0596659779548645,
-0.02750656194984913,
0.009159078821539879,
0.07851198315620422,
0.006964614614844322,
0.038532648235559464,
-0.012179522775113583,
-0.001303727040067315,
-0.03571747615933418,
0.0006414776435121894,
-0.01757526583969593,
-0.04731050506234169,
-0.003225716296583414,
0.01928587257862091,
-0.005703652743250132,
-0.08367312699556351,
0.005948025267571211,
-0.033567000180482864,
-0.0036435932852327824,
-0.0693235769867897,
-0.025668881833553314,
-0.003267259569838643,
0.014525498263537884,
-0.021289726719260216,
-0.014320225454866886,
0.02029268816113472,
-0.012863765470683575,
-0.0646316260099411,
0.013264535926282406,
-0.0077514941804111,
-0.04516002908349037,
-0.0082940012216568,
0.04363514482975006,
0.05724180117249489,
-0.028699100017547607,
-0.0037511170376092196,
0.0052735572680830956,
0.013831480406224728,
0.01600150763988495,
-0.015737585723400116,
0.013606658205389977,
0.0611126609146595,
-0.07108305394649506,
0.027330614626407623,
0.04719320684671402,
0.020449087023735046,
0.009960620664060116,
-0.0631849393248558,
0.03280455619096756,
-0.02619672566652298,
-0.048561692237854004,
0.04011617973446846,
-0.013714181259274483,
0.014105177484452724,
0.03436854109168053,
0.014701446518301964,
-0.006358570884913206,
-0.003413883037865162,
-0.01569848507642746,
-0.008030078373849392,
0.017184270545840263,
0.010762162506580353,
0.012717141769826412,
0.08687929064035416,
0.022599563002586365,
-0.016314305365085602,
0.02089873142540455,
-0.01598195731639862,
-0.04774060100317001,
0.014936043880879879,
0.008210914209485054,
-0.013264535926282406,
0.024574093520641327,
0.008440623991191387,
-0.012726916931569576,
-0.015532312914729118,
0.0073116235435009,
0.016744399443268776,
-0.02783890999853611,
-0.04645031318068504,
-0.04719320684671402,
0.021641623228788376,
-0.020018991082906723,
-0.0669775977730751,
0.08859967440366745,
0.02301010861992836,
-0.04027257859706879,
-0.03919734060764313,
0.049148187041282654,
0.040741775184869766,
-0.010126793757081032,
-0.009354577399790287,
-0.014887169003486633,
-0.06377143412828445,
0.02877729944884777,
0.05481762811541557,
0.05051667243242264,
-0.008396637625992298,
0.05567781999707222,
0.04105456918478012,
0.04590291902422905,
-0.013000614009797573,
-0.042188458144664764,
-0.010703513398766518,
-0.008645896799862385,
0.04820979759097099,
0.04097637161612511,
0.031318772584199905,
0.01131933182477951,
-0.014261576347053051,
0.0021761367097496986,
-0.047154106199741364,
-0.01797603629529476,
0.04351784661412239,
0.024261295795440674,
-0.0013917010510340333,
-0.013968328945338726,
-0.05305814370512962,
0.019315198063850403,
-0.01574736088514328,
-0.009242165833711624,
0.018327932804822922,
0.017448192462325096,
0.08257833868265152,
0.0219348706305027,
0.01600150763988495,
0.06295034289360046,
0.023518403992056847,
-0.033097803592681885,
-0.0027125340420752764,
0.04516002908349037,
-0.021387476474046707,
0.06126905977725983,
0.004728606902062893,
-0.014359325170516968,
-0.008572584949433804,
0.010107244364917278,
-0.0058111767284572124,
-0.007033038884401321,
0.012785566039383411,
0.0538010373711586,
-0.00030348001746460795,
-0.048835389316082,
-0.032609060406684875,
0.012365246191620827,
-0.047154106199741364,
-0.001375816878862679,
-0.025277886539697647,
-0.009271490387618542,
-0.006055549252778292,
-0.02666592225432396,
-0.011456180363893509,
-0.052901748567819595,
-0.002034400589764118,
-0.03771155700087547,
-0.0575936995446682,
0.021426575258374214,
-0.024965088814496994,
-0.06122995913028717,
-0.04398703947663307,
0.01998966559767723,
0.03446628898382187,
0.002859157510101795,
-0.014740546233952045,
0.0041323378682136536,
0.045238226652145386,
0.07225604355335236,
0.06873708218336105,
-0.003157292027026415,
-0.029344243928790092,
-0.036655865609645844,
-0.024261295795440674,
0.00622660992667079,
0.017418868839740753,
-0.018024912104010582,
-0.05829749256372452,
0.005043847486376762,
-0.05556051805615425,
0.07796458154916763,
-0.03151427209377289,
0.0029129195027053356,
0.001450350508093834,
0.0441434383392334
]
|
31,504 | laspy.copc | spatial_query | null | def spatial_query(self, bounds: Bounds) -> ScaleAwarePointRecord:
return self.query(bounds=bounds, level=None)
| (self, bounds: laspy.copc.Bounds) -> laspy.point.record.ScaleAwarePointRecord | [
0.01544029638171196,
-0.02925441600382328,
-0.026152946054935455,
0.041408829391002655,
-0.0008623346802778542,
0.05183647945523262,
-0.0018084929324686527,
-0.021894710138440132,
0.05539059638977051,
-0.02306823804974556,
-0.03631236031651497,
-0.012841766700148582,
-0.042548831552267075,
-0.020151179283857346,
-0.012883678078651428,
0.04372236132621765,
0.0010352208046242595,
-0.044761773198843,
-0.02266588620841503,
-0.00347867701202631,
0.009874413721263409,
-0.008734413422644138,
0.07322824746370316,
0.04271647706627846,
-0.014023678377270699,
0.015297796577215195,
0.021961769089102745,
-0.04157647863030434,
0.002311434131115675,
-0.0331270657479763,
-0.018994415178894997,
-0.0026131989434361458,
0.019665002822875977,
0.021877944469451904,
-0.01005882490426302,
0.017133532091975212,
0.016613826155662537,
0.00426242733374238,
0.04871824383735657,
0.015314561314880848,
-0.09696707129478455,
-0.03718412294983864,
-0.01553250290453434,
0.01401529647409916,
0.043990593403577805,
-0.0005157767445780337,
0.056463539600372314,
-0.02362147346138954,
0.042448241263628006,
0.031484123319387436,
-0.016035443171858788,
0.06900353729724884,
0.015390002168715,
-0.027561180293560028,
-0.03798883035778999,
-0.07993412762880325,
-0.012137648649513721,
0.07007648050785065,
0.005389853846281767,
-0.01424161996692419,
0.016060590744018555,
0.006458603776991367,
-0.02362147346138954,
-0.045231182128190994,
0.025985298678278923,
-0.029371770098805428,
-0.0054611037485301495,
-0.028751475736498833,
0.000998547999188304,
0.008851765654981136,
-0.03294265270233154,
-0.01434220839291811,
0.020033827051520348,
0.0010608916636556387,
-0.01162632554769516,
-0.007447721902281046,
0.022934122011065483,
0.04985824227333069,
0.04402412474155426,
-0.03165176883339882,
-0.003373897634446621,
0.02288382686674595,
0.016454560682177544,
-0.006764560006558895,
-0.03354618325829506,
-0.013512355275452137,
0.013612943701446056,
0.015473825857043266,
0.03332823887467384,
-0.024258533492684364,
0.002514706226065755,
0.028818534687161446,
-0.018508238717913628,
0.02886882796883583,
0.07054589688777924,
0.0009975001448765397,
-0.02174382656812668,
0.011022795923054218,
-0.025968533009290695,
0.011215589940547943,
-0.025012945756316185,
0.04821530357003212,
-0.015624708496034145,
0.03480353578925133,
0.0046312506310641766,
0.033780887722969055,
0.04248177260160446,
-0.09576001763343811,
-0.04687412455677986,
0.0786600112915039,
0.009631325490772724,
0.056564126163721085,
-0.00028028496308252215,
-0.011131766252219677,
-0.06809824705123901,
-0.0028374269604682922,
0.0031308094039559364,
-0.02239765040576458,
-0.04164353758096695,
-0.010184560902416706,
-0.010293531231582165,
0.024996180087327957,
-0.017401767894625664,
-0.00541080953553319,
-0.023370003327727318,
0.03423353657126427,
0.02211265079677105,
0.007481251377612352,
-0.0184914730489254,
-0.032054122537374496,
0.061627067625522614,
-0.018742945045232773,
0.0023135298397392035,
0.039397064596414566,
0.028567062690854073,
0.00039004141581244767,
0.08784707635641098,
-0.010310295969247818,
-0.018256766721606255,
0.07383177429437637,
0.03497118130326271,
0.023403532803058624,
0.008767942897975445,
0.006232280284166336,
-0.007778824772685766,
-0.0018147797090932727,
-0.01010911911725998,
-0.0026991181075572968,
0.006412500981241465,
-0.01276632584631443,
-0.03193676844239235,
0.00387264764867723,
0.03364676982164383,
0.010083972476422787,
-0.024845298379659653,
-0.059414125978946686,
0.07356353849172592,
-0.09924707561731339,
0.05240647867321968,
-0.01961470954120159,
-0.0514676570892334,
0.022313827648758888,
-0.04794706776738167,
-0.07007648050785065,
-0.05176942050457001,
0.0021542650647461414,
-0.07423412799835205,
-0.03839118406176567,
0.011819119565188885,
0.011039560660719872,
0.03785471245646477,
0.026421179994940758,
0.017485590651631355,
0.03574235737323761,
-0.02248147502541542,
-0.02593500353395939,
0.025398533791303635,
0.05005941912531853,
-0.004677353892475367,
-0.041308242827653885,
0.08892001211643219,
-0.020989414304494858,
0.009178677573800087,
-0.006190368440002203,
0.018910590559244156,
0.0434541255235672,
-0.011182060465216637,
-0.005159338936209679,
-0.05401588976383209,
-0.010838383808732033,
-0.012154413387179375,
-0.0014438604703173041,
0.007602795492857695,
-0.019229121506214142,
-0.030545299872756004,
0.032171476632356644,
0.0045893387869000435,
0.039698828011751175,
-0.06769589334726334,
0.02744382806122303,
-0.02838265150785446,
-0.024442944675683975,
-0.024459710344672203,
-0.025180593132972717,
-0.06974118947982788,
0.035876475274562836,
-0.007225589361041784,
-0.011232354678213596,
-0.04157647863030434,
-0.022246768698096275,
-0.04700824245810509,
-0.03233912214636803,
-0.05746942013502121,
-0.030528534203767776,
0.0217270627617836,
-0.005855074618011713,
-0.04405765235424042,
-0.027225887402892113,
0.06330353766679764,
0.002059963531792164,
0.058542363345623016,
-0.07772118598222733,
0.05612824484705925,
-0.029857946559786797,
-0.009329560212790966,
0.03849177062511444,
0.0535464808344841,
-0.005729339085519314,
0.011659855023026466,
-0.07108236104249954,
0.05109883099794388,
-0.031182358041405678,
-0.01548220869153738,
-0.06011824309825897,
-0.0028981990180909634,
-0.006890295073390007,
0.010234854184091091,
0.03943059593439102,
0.0930776596069336,
-0.014535002410411835,
-0.0027871327474713326,
-0.0004861765482928604,
-0.010888678021728992,
0.04881883040070534,
-0.09334589540958405,
-0.026655886322259903,
-0.026136180385947227,
-0.012757943011820316,
0.0765811875462532,
-0.004824045114219189,
-0.00833205971866846,
-0.0132525023072958,
-0.014057207852602005,
0.0231520626693964,
0.04070471227169037,
-0.06105706840753555,
-0.06524824351072311,
-0.02191147394478321,
0.0265050046145916,
-0.01000853069126606,
-0.08080589771270752,
0.02697441540658474,
0.01191132515668869,
0.001475294353440404,
0.02601882815361023,
0.027745593339204788,
-0.04714236035943031,
0.01618632674217224,
0.03594353422522545,
0.05096471309661865,
-0.04714236035943031,
0.05404942110180855,
-0.029120298102498055,
-0.04580118507146835,
0.025985298678278923,
0.018374120816588402,
0.01206220779567957,
-0.01904470846056938,
0.0011462869588285685,
-0.007443530485033989,
0.02266588620841503,
0.013671619817614555,
0.0029841181822121143,
0.012171178124845028,
0.02420823834836483,
-0.034736476838588715,
0.00617360370233655,
0.009388236328959465,
0.0076279425993561745,
-0.04583471268415451,
-0.03678176924586296,
0.010419266298413277,
0.014107502065598965,
-0.036345887929201126,
-0.01800529658794403,
-0.02259882725775242,
0.004568383097648621,
-0.049120597541332245,
0.020235003903508186,
-0.003114044666290283,
0.022531768307089806,
-0.03527294844388962,
0.024258533492684364,
0.09066354483366013,
0.016077356413006783,
0.037016477435827255,
0.012556767091155052,
0.0049749272875487804,
-0.026069121435284615,
-0.06276706606149673,
-0.015247502364218235,
-0.021106768399477005,
0.0036337506026029587,
-0.029774121940135956,
-0.008717648684978485,
0.024174708873033524,
-0.050562359392642975,
0.011031177826225758,
-0.016228238120675087,
0.042649418115615845,
-0.03477000445127487,
0.00039659012691117823,
0.0600176565349102,
-0.003011360764503479,
-0.015960002318024635,
-0.009757060557603836,
-0.06062118709087372,
-0.010234854184091091,
0.03872647508978844,
0.030042357742786407,
-0.0030511769000440836,
0.023655002936720848,
0.04164353758096695,
-0.006718456745147705,
-0.02955618128180504,
-0.023420298472046852,
0.05260765552520752,
0.08838354051113129,
0.010318677872419357,
0.011223972775042057,
0.007996765896677971,
0.024375885725021362,
0.048550594598054886,
0.02286706306040287,
0.0046983095817267895,
0.008298531174659729,
-0.03956471383571625,
-0.05089765414595604,
0.05213824287056923,
-0.10032001882791519,
-0.005540736019611359,
-0.05163530260324478,
-0.012632207944989204,
0.0038118755910545588,
0.014166179113090038,
0.03584294766187668,
0.07101530581712723,
0.052004124969244,
-0.027980297803878784,
0.00581316277384758,
0.078123539686203,
-0.04925471544265747,
-0.03631236031651497,
-0.03792177140712738,
0.0044845594093203545,
0.03456882759928703,
0.029757358133792877,
-0.023990297690033913,
0.012196325697004795,
0.0556253045797348,
-0.020704414695501328,
-0.04650530219078064,
-0.06665647774934769,
0.08583530783653259,
-0.03352941572666168,
0.026823533698916435,
-0.002692831214517355,
-0.0246944148093462,
-0.029304711148142815,
-0.017301179468631744,
0.014451178722083569,
0.0013181251706555486,
0.006760368589311838,
0.00772014819085598,
-0.01152573712170124,
-0.0035876475740224123,
-0.03409941866993904,
0.013747060671448708,
-0.003342463867738843,
-0.008088971488177776,
0.020419415086507797,
-0.02964000403881073,
-0.008227280341088772,
0.0004353585245553404,
-0.0413753017783165,
-0.0036714712623506784,
0.03309353440999985,
0.012104119174182415,
0.03306000679731369,
0.021224120631814003,
-0.06477883458137512,
-0.023101767525076866,
-0.03280853480100632,
0.019329708069562912,
-0.014317060820758343,
-0.07483766227960587,
0.018122650682926178,
-0.01961470954120159,
0.02276647463440895,
0.02174382656812668,
-0.00857514888048172,
-0.017267649993300438,
0.0020442467648535967,
0.0698082447052002,
-0.001628272351808846,
-0.004543235991150141,
0.004773750901222229,
0.007724339608103037,
-0.04449353739619255,
0.008294339291751385,
0.03443470969796181,
-0.0421464778482914,
-0.018709415569901466,
0.024912357330322266,
0.010377354919910431,
-0.021307945251464844,
-0.010645589791238308,
-0.023755591362714767,
0.017100002616643906,
0.02295088581740856,
-0.06400765478610992,
-0.08234824985265732,
-0.01591809093952179,
-0.013797354884445667,
-0.0015957907307893038,
0.03795529901981354,
-0.021777356043457985,
0.04201235994696617,
-0.0023805885575711727,
-0.0030574637930840254,
0.07517295330762863,
0.01963147334754467,
-0.000912628835067153,
-0.007443530485033989,
0.010444413870573044,
-0.049891773611307144,
-0.020352356135845184,
0.001469007576815784,
0.004828236065804958,
-0.030712945386767387,
0.04885236173868179,
-0.03668118268251419,
0.0931447222828865,
0.0024183092173188925,
0.033026475459337234,
-0.03671471029520035,
-0.09006001800298691,
-0.05901177227497101,
-0.028667651116847992,
-0.006563383620232344,
-0.03371382877230644,
0.02640441618859768,
-0.03795529901981354,
-0.05062941834330559,
-0.032355885952711105,
0.02295088581740856,
-0.029187357053160667,
0.014375737868249416,
-0.018038826063275337,
-0.059045303612947464,
0.04814824461936951,
0.042951181530952454,
-0.06005118787288666,
-0.04995883256196976,
0.03869294747710228,
0.0037783461157232523,
0.01277470774948597,
0.06544942408800125,
0.049690596759319305,
0.014979267492890358,
-0.008734413422644138,
-0.03658059239387512,
-0.013042943552136421,
0.03916236013174057,
-0.0017005701083689928,
0.03354618325829506,
0.011123384349048138,
0.04040294885635376,
-0.058374714106321335,
-0.029271181672811508,
0.06172765791416168,
0.07752001285552979,
0.051031772047281265,
-0.026287062093615532,
-0.038156475871801376,
0.018457943573594093,
0.02477823942899704,
-0.044929418712854385,
0.04452706500887871,
0.01687368005514145,
-0.005997574422508478,
-0.04526471346616745,
-0.039397064596414566,
0.02479500323534012,
0.0177202969789505,
0.0065843393094837666,
-0.00914514809846878,
0.06709236651659012,
0.04040294885635376,
-0.007233971729874611,
-0.003952280152589083,
0.021894710138440132,
-0.018055591732263565,
0.0002881434338632971,
0.020452944561839104,
0.05582647770643234,
0.01818970963358879,
-0.008114119060337543,
-0.08013530820608139,
-0.040939416736364365,
-0.01310161966830492,
0.08181177824735641,
-0.05029412731528282,
0.0034430520609021187,
0.01647970825433731,
0.004677353892475367,
-0.0017864892724901438,
-0.00540661858394742,
-0.004752794746309519,
0.0301261804997921,
0.054854124784469604,
-0.0023177210241556168,
0.011307795532047749,
-0.013705149292945862,
0.023185592144727707,
0.08114118874073029,
-0.001981378998607397,
-0.05539059638977051,
0.026270298287272453,
0.004773750901222229,
0.022246768698096275,
0.005113236140459776,
0.060084715485572815,
-0.025230886414647102,
0.02439265139400959,
-0.005846692249178886,
-0.010444413870573044,
-0.03212118148803711,
0.0224982388317585,
0.035775888711214066,
0.06280060112476349,
-0.014006913639605045,
0.07195413112640381,
-0.029941769316792488,
0.019665002822875977,
0.05358000844717026,
-0.02601882815361023,
-0.021978532895445824,
-0.0750388354063034,
0.002659301972016692,
0.016714414581656456,
-0.03151765093207359,
0.12546707689762115,
0.0983082503080368,
-0.12996001541614532,
-0.008717648684978485,
-0.021559415385127068,
0.01818970963358879,
0.0184914730489254,
-0.003958566579967737,
-0.00012291937309782952,
0.03487059473991394,
-0.03762000426650047,
-0.00384750054217875,
0.015121767297387123,
-0.018793238326907158,
0.01276632584631443,
-0.056564126163721085,
-0.03202059492468834,
0.02135823853313923,
-0.0074100010097026825,
-0.013638090342283249,
0.004555809777230024,
-0.028801769018173218,
-0.013244119472801685,
0.08127530664205551,
-0.03916236013174057,
0.006772942375391722,
-0.0007549357833340764,
-0.025080004706978798,
0.06729353964328766,
0.018642356619238853,
0.002445551799610257,
0.03210441768169403,
0.02316882647573948,
-0.055994126945734024,
-0.059414125978946686,
-0.057603538036346436,
0.016697648912668228,
0.008340442553162575,
-0.010670737363398075,
0.033194124698638916,
-0.009212207049131393,
0.009539118967950344,
-0.0004235708329360932,
-0.013788972981274128,
-0.04238118231296539,
0.016605444252490997,
-0.06166059896349907,
-0.04221353679895401,
-0.014979267492890358,
-0.03031059354543686,
-0.06444353610277176,
0.04680706560611725,
0.0015727392164990306,
-0.0657176598906517,
-0.03584294766187668,
0.07825765758752823,
0.027309710159897804,
0.016823384910821915,
0.00538147147744894,
0.01916206255555153,
0.0036903314758092165,
0.015046325512230396,
0.042347654700279236,
-0.03943059593439102,
0.09046236425638199,
-0.005549118388444185,
0.0059933834709227085,
0.03534000739455223,
-0.004606103524565697,
0.03886059299111366,
-0.05311059579253197,
0.018508238717913628,
-0.013177060522139072,
-0.041207652539014816,
-0.014484708197414875,
-0.006869339384138584,
-0.00038585023139603436,
0.0337473601102829,
0.007510589435696602,
0.01906147412955761,
0.025800885632634163,
0.0078207366168499,
0.026555297896265984,
0.01715029776096344,
-0.016840150579810143,
0.0027137871365994215,
0.014794855378568172,
0.026287062093615532,
-0.010083972476422787,
-0.01820647343993187,
0.008717648684978485,
0.01096411980688572,
0.06954000890254974,
0.040369417518377304,
-0.03896118327975273,
-0.03493765369057655,
0.007858457043766975,
0.015213972888886929,
-0.04238118231296539,
-0.020654121413826942,
-0.06451059877872467,
-0.001640845905058086,
-0.036547064781188965,
-0.009170295670628548,
-0.07282589375972748,
-0.012229855172336102,
-0.026169709861278534,
0.034736476838588715,
0.009161912836134434,
-0.022716179490089417,
-0.0680311843752861,
0.05659765750169754,
-0.004983309656381607,
-0.007301030680537224,
0.019849414005875587,
-0.022632356733083725,
-0.04472824186086655,
-0.009706766344606876,
0.03513883054256439,
-0.006290956865996122,
-0.029505886137485504,
0.04677353799343109,
0.0012468751519918442,
0.02068765088915825,
-0.03185294568538666,
-0.030914122238755226,
0.04154294729232788,
0.012405884452164173,
0.03327794745564461,
-0.05928000807762146,
0.035876475274562836,
0.013353090733289719,
-0.0039355154149234295,
-0.045968830585479736,
-0.013118384405970573,
-0.012841766700148582,
0.05374765396118164,
0.03993353620171547,
0.008726030588150024,
0.01810588501393795,
-0.05384824424982071,
0.01119882520288229,
0.057134125381708145,
0.014065590687096119,
0.02668941579759121,
0.018558531999588013,
0.0682658925652504,
-0.006504707038402557,
0.01620309054851532,
-0.004065441899001598,
0.03440118208527565,
-0.02097265049815178,
0.028432944789528847,
0.054317656904459,
0.0506964772939682,
0.043320007622241974,
-0.019665002822875977,
-0.010117501951754093,
-0.014895443804562092,
-0.05472000688314438,
0.009463678114116192,
-0.038458243012428284,
0.02839941717684269,
0.059883538633584976,
0.014711031690239906,
-0.018793238326907158,
-0.047712359577417374,
0.026471475139260292,
-0.07074707001447678,
0.006827427539974451,
-0.034535299986600876,
-0.006324486341327429,
-0.008977501653134823,
0.009975001215934753,
-0.01191132515668869,
-0.01685691438615322,
-0.015088237822055817,
-0.03352941572666168,
-0.01611088402569294,
0.03440118208527565,
0.014769707806408405,
-0.08596942573785782,
0.03285882994532585,
0.014149414375424385,
0.016245001927018166,
-0.03314382955431938,
-0.02021823823451996,
-0.01320220809429884,
0.07832472026348114,
0.08040354400873184,
0.052440010011196136,
0.02972382865846157,
-0.015683384612202644,
-0.0013306987239047885,
-0.000728217011783272,
0.02707500383257866,
0.008818237110972404,
0.022632356733083725,
-0.07175295054912567,
0.01904470846056938,
-0.048751771450042725,
0.027896475046873093,
-0.06635471433401108,
0.007774633821099997,
-0.013680001720786095,
0.04258235916495323
]
|
31,505 | laspy._compression.selection | DecompressionSelection |
Holds which fields to decompress or not.
Only used for files with version >= 1.4 && point format id >= 6.
Ignored on other cases.
Each flag in the enum has a corresponding ``decompress_$name`` and
``skip_$name`` methods to easily create a selection.
>>> import laspy
>>> # Creating a selection that decompresses the base + z field
>>> selection = laspy.DecompressionSelection.base().decompress_z()
>>> selection.is_set(laspy.DecompressionSelection.Z)
True
>>> selection.is_set(laspy.DecompressionSelection.INTENSITY)
False
>>> # Creating a selection that decompresses all fields but the intensity
>>> selection = laspy.DecompressionSelection.all().skip_intensity()
>>> selection.is_set(laspy.DecompressionSelection.INTENSITY)
False
>>> selection.is_set(laspy.DecompressionSelection.Z)
True
.. versionadded:: 2.4
| class DecompressionSelection(enum.IntFlag):
"""
Holds which fields to decompress or not.
Only used for files with version >= 1.4 && point format id >= 6.
Ignored on other cases.
Each flag in the enum has a corresponding ``decompress_$name`` and
``skip_$name`` methods to easily create a selection.
>>> import laspy
>>> # Creating a selection that decompresses the base + z field
>>> selection = laspy.DecompressionSelection.base().decompress_z()
>>> selection.is_set(laspy.DecompressionSelection.Z)
True
>>> selection.is_set(laspy.DecompressionSelection.INTENSITY)
False
>>> # Creating a selection that decompresses all fields but the intensity
>>> selection = laspy.DecompressionSelection.all().skip_intensity()
>>> selection.is_set(laspy.DecompressionSelection.INTENSITY)
False
>>> selection.is_set(laspy.DecompressionSelection.Z)
True
.. versionadded:: 2.4
"""
#: Flag to decompress x, y, return number, number of returns and scanner channel
XY_RETURNS_CHANNEL = enum.auto()
#: Flag to decompress z
Z = enum.auto()
#: Flag to decompress the classification
CLASSIFICATION = enum.auto()
#: Flag to decompress the classification flags (withheld, key point, overlap, etc)
FLAGS = enum.auto()
#: Flag to decompress the intensity
INTENSITY = enum.auto()
#: Flag to decompress the scan angle
SCAN_ANGLE = enum.auto()
#: Flag to decompress the user data
USER_DATA = enum.auto()
#: Flag to decompress the point source id
POINT_SOURCE_ID = enum.auto()
#: Flag to decompress the gps time
GPS_TIME = enum.auto()
#: Flag to decompress the red, green, blue
RGB = enum.auto()
#: Flag to decompress the nir
NIR = enum.auto()
#: Flag to decompress the wavepacket
WAVEPACKET = enum.auto()
#: Flag to decompress all the extra bytes
ALL_EXTRA_BYTES = enum.auto()
@classmethod
def all(cls) -> "DecompressionSelection":
"""Returns a selection where all fields will be decompressed"""
selection = cls.base()
for flag in cls:
selection = selection._set(flag)
return selection
@classmethod
def base(cls) -> "DecompressionSelection":
"""
Returns a decompression selection where only the base
x, y, return number, number of returns and scanner channel will be decompressed
"""
return cls.xy_returns_channel()
@classmethod
def xy_returns_channel(cls) -> "DecompressionSelection":
"""
Returns a decompression selection where only the base
x, y, return number, number of returns and scanner channel will be decompressed
"""
return cls.XY_RETURNS_CHANNEL
def to_lazrs(self) -> "lazrs.DecompressionSelection":
import lazrs
variant_mapping = {
DecompressionSelection.XY_RETURNS_CHANNEL: lazrs.SELECTIVE_DECOMPRESS_XY_RETURNS_CHANNEL,
DecompressionSelection.Z: lazrs.SELECTIVE_DECOMPRESS_Z,
DecompressionSelection.CLASSIFICATION: lazrs.SELECTIVE_DECOMPRESS_CLASSIFICATION,
DecompressionSelection.FLAGS: lazrs.SELECTIVE_DECOMPRESS_FLAGS,
DecompressionSelection.INTENSITY: lazrs.SELECTIVE_DECOMPRESS_INTENSITY,
DecompressionSelection.SCAN_ANGLE: lazrs.SELECTIVE_DECOMPRESS_SCAN_ANGLE,
DecompressionSelection.USER_DATA: lazrs.SELECTIVE_DECOMPRESS_USER_DATA,
DecompressionSelection.POINT_SOURCE_ID: lazrs.SELECTIVE_DECOMPRESS_POINT_SOURCE_ID,
DecompressionSelection.GPS_TIME: lazrs.SELECTIVE_DECOMPRESS_GPS_TIME,
DecompressionSelection.RGB: lazrs.SELECTIVE_DECOMPRESS_RGB,
DecompressionSelection.NIR: lazrs.SELECTIVE_DECOMPRESS_NIR,
DecompressionSelection.WAVEPACKET: lazrs.SELECTIVE_DECOMPRESS_WAVEPACKET,
DecompressionSelection.ALL_EXTRA_BYTES: lazrs.SELECTIVE_DECOMPRESS_ALL_EXTRA_BYTES,
}
lazrs_selection = lazrs.SELECTIVE_DECOMPRESS_XY_RETURNS_CHANNEL
for variant in DecompressionSelection:
lazrs_selection |= variant_mapping[variant] if self.is_set(variant) else 0
return lazrs.DecompressionSelection(lazrs_selection)
def to_laszip(self) -> int:
import laszip
variant_mapping = {
DecompressionSelection.XY_RETURNS_CHANNEL: laszip.DECOMPRESS_SELECTIVE_CHANNEL_RETURNS_XY,
DecompressionSelection.Z: laszip.DECOMPRESS_SELECTIVE_Z,
DecompressionSelection.CLASSIFICATION: laszip.DECOMPRESS_SELECTIVE_CLASSIFICATION,
DecompressionSelection.FLAGS: laszip.DECOMPRESS_SELECTIVE_FLAGS,
DecompressionSelection.INTENSITY: laszip.DECOMPRESS_SELECTIVE_INTENSITY,
DecompressionSelection.SCAN_ANGLE: laszip.DECOMPRESS_SELECTIVE_SCAN_ANGLE,
DecompressionSelection.USER_DATA: laszip.DECOMPRESS_SELECTIVE_USER_DATA,
DecompressionSelection.POINT_SOURCE_ID: laszip.DECOMPRESS_SELECTIVE_POINT_SOURCE,
DecompressionSelection.GPS_TIME: laszip.DECOMPRESS_SELECTIVE_GPS_TIME,
DecompressionSelection.RGB: laszip.DECOMPRESS_SELECTIVE_RGB,
DecompressionSelection.NIR: laszip.DECOMPRESS_SELECTIVE_NIR,
DecompressionSelection.WAVEPACKET: laszip.DECOMPRESS_SELECTIVE_WAVEPACKET,
DecompressionSelection.ALL_EXTRA_BYTES: laszip.DECOMPRESS_SELECTIVE_EXTRA_BYTES,
}
laszip_selection = laszip.DECOMPRESS_SELECTIVE_CHANNEL_RETURNS_XY
for variant in DecompressionSelection:
laszip_selection |= variant_mapping[variant] if self.is_set(variant) else 0
return laszip_selection
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.04028991982340813,
-0.04734411463141441,
-0.04603997617959976,
0.04358978196978569,
0.009089437313377857,
-0.048885367810726166,
-0.02466003969311714,
-0.015442164614796638,
-0.03963785246014595,
-0.030271779745817184,
-0.029224518686532974,
0.0299951434135437,
-0.060266923159360886,
0.028177255764603615,
-0.026181532070040703,
-0.015086490660905838,
-0.06433741003274918,
0.08789090812206268,
0.014207186177372932,
0.030271779745817184,
0.002583573805168271,
0.04311554878950119,
-0.012359659187495708,
0.09081533551216125,
0.025489944964647293,
0.024383405223488808,
0.03600207716226578,
-0.00697021558880806,
-0.017398368567228317,
-0.02359301783144474,
-0.034342266619205475,
-0.0026354428846389055,
-0.06552299112081528,
0.0015449573984369636,
-0.0664319321513176,
-0.005389443598687649,
0.047818344086408615,
0.10195977985858917,
0.012231221422553062,
-0.0018845762824639678,
-0.06923780590295792,
-0.04651420935988426,
0.026892879977822304,
-0.016291828826069832,
-0.016202909871935844,
0.018178874626755714,
-0.0628356784582138,
-0.05113796517252922,
0.006441644858568907,
-0.03327524662017822,
0.06781511008739471,
-0.04441968724131584,
0.04129766300320625,
0.00023341082851402462,
0.009459931403398514,
0.01121359970420599,
0.021794890984892845,
0.11128633469343185,
0.03521168977022171,
0.03033105842769146,
-0.0030553354881703854,
0.019581809639930725,
-0.032010629773139954,
-0.004747255239635706,
-0.05923942103981972,
0.01814923621714115,
-0.034678179770708084,
-0.01365391630679369,
-0.027129994705319405,
0.07255742698907852,
0.017487287521362305,
0.007073953747749329,
0.01823815330862999,
0.014207186177372932,
0.04287843406200409,
-0.026892879977822304,
-0.03414466977119446,
-0.017339089885354042,
-0.0147011773660779,
-0.06327039003372192,
0.011272878386080265,
-0.0056265597231686115,
0.04264131933450699,
0.003042985685169697,
0.035389527678489685,
-0.01016633864492178,
0.0788014754652977,
-0.007192511577159166,
0.06058307737112045,
-0.01707233488559723,
-0.0595160573720932,
0.019374333322048187,
-0.011776749975979328,
0.05366720259189606,
-0.03868938982486725,
-0.011450715363025665,
0.0013251312775537372,
-0.010610930621623993,
0.008432429283857346,
-0.04860873147845268,
0.009069678373634815,
-0.011529753915965557,
-0.04908296465873718,
-0.030528655275702477,
0.0011207425268366933,
-0.007721082307398319,
-0.028730526566505432,
0.010111999697983265,
-0.01174711063504219,
-0.04058631509542465,
0.01823815330862999,
-0.0007687737816013396,
0.01742800883948803,
-0.023158306255936623,
-0.0304693765938282,
-0.0625985637307167,
-0.026754561811685562,
-0.015086490660905838,
-0.10061611980199814,
0.007469146512448788,
0.005236306693404913,
0.0303508173674345,
-0.04090246930718422,
0.09508342295885086,
-0.0000667273998260498,
0.015264327637851238,
0.044814880937337875,
0.05540604889392853,
0.03315668925642967,
0.019433612003922462,
0.03861035034060478,
0.01617327146232128,
-0.056868262588977814,
0.024363644421100616,
0.01203362550586462,
-0.03499433398246765,
-0.010778887197375298,
0.020312916487455368,
-0.04766026884317398,
0.03813611716032028,
0.0166079830378294,
-0.01092708483338356,
0.059911251068115234,
-0.005547520704567432,
-0.021202100440859795,
0.03252438083291054,
0.06279616057872772,
-0.05508989468216896,
-0.06161057949066162,
0.014325744472444057,
0.015373005531728268,
0.016894498839974403,
-0.04414305090904236,
-0.022150564938783646,
-0.012181822210550308,
-0.032583657652139664,
-0.04339218512177467,
-0.011954586021602154,
-0.05078229308128357,
-0.0005822920938953757,
0.00479665445163846,
0.013505718670785427,
-0.016291828826069832,
-0.019344694912433624,
-0.005315345246344805,
-0.0332159660756588,
-0.02485763654112816,
-0.008580626919865608,
-0.02128113992512226,
0.026240810751914978,
0.013742834329605103,
0.031220242381095886,
-0.030014904215931892,
0.01662774384021759,
-0.03135855868458748,
0.11531729996204376,
-0.013624276965856552,
-0.008867141790688038,
0.01894950121641159,
-0.030706491321325302,
-0.005606799852102995,
-0.008328691124916077,
-0.05947653576731682,
0.052718739956617355,
0.061531540006399155,
-0.011401316151022911,
0.04552622511982918,
-0.017052575945854187,
0.05109844729304314,
-0.027406631037592888,
-0.004636107012629509,
-0.02126138098537922,
0.036772701889276505,
-0.032129187136888504,
-0.0344015471637249,
-0.008180493488907814,
-0.02313854731619358,
-0.035053614526987076,
0.039934247732162476,
-0.017013056203722954,
-0.04552622511982918,
-0.02906644158065319,
0.025410905480384827,
0.009361132979393005,
-0.06066211685538292,
-0.00404331786558032,
0.04196948930621147,
-0.0021389818284660578,
-0.026181532070040703,
0.02764374576508999,
0.02788086235523224,
-0.04102102667093277,
0.037365492433309555,
-0.00030581140890717506,
0.02466003969311714,
-0.09516245871782303,
0.0023439880460500717,
0.0404677577316761,
0.05216546729207039,
0.026655763387680054,
-0.0005020185490138829,
0.014562860131263733,
-0.037029579281806946,
0.008180493488907814,
0.03669366613030434,
-0.005122688598930836,
0.03139808028936386,
0.009538969956338406,
-0.0018228273838758469,
-0.05378575995564461,
0.0010620810789987445,
-0.10338247567415237,
-0.003462878055870533,
-0.007246850524097681,
0.014187426306307316,
-0.00004519247522694059,
0.03963785246014595,
0.018287552520632744,
-0.035172171890735626,
-0.06623433530330658,
0.02952091209590435,
0.005181967280805111,
0.060029808431863785,
0.003339380258694291,
-0.037246935069561005,
-0.006278628017753363,
0.05425998941063881,
0.026300089433789253,
-0.02159729413688183,
0.007553125265985727,
-0.009553789161145687,
-0.0585675947368145,
-0.007222150918096304,
0.021320659667253494,
0.011638431809842587,
-0.0709371343255043,
-0.001199163612909615,
-0.018564188852906227,
0.050268542021512985,
-0.04777882620692253,
-0.028315573930740356,
-0.09326553344726562,
-0.015639761462807655,
0.03791876137256622,
-0.006135370582342148,
-0.005063409451395273,
0.07844579964876175,
-0.04892488569021225,
-0.0122608607634902,
0.000336222758051008,
0.030706491321325302,
-0.01742800883948803,
-0.08986687660217285,
0.025944417342543602,
-0.023197825998067856,
0.05279777571558952,
0.017289690673351288,
-0.04509151354432106,
0.012744972482323647,
0.022960709407925606,
0.08638917654752731,
0.05129604414105415,
-0.017161253839731216,
0.02509475126862526,
-0.036219432950019836,
0.013031487353146076,
-0.040507275611162186,
-0.03987496718764305,
-0.031062165275216103,
-0.007795180659741163,
0.03289981186389923,
0.06655049324035645,
0.06805222481489182,
-0.034697938710451126,
0.12559232115745544,
0.015876876190304756,
0.0152346882969141,
-0.052363064140081406,
0.03533024713397026,
-0.021063784137368202,
-0.04090246930718422,
-0.06354702264070511,
0.12590846419334412,
-0.015145769342780113,
-0.029560431838035583,
-0.011816268786787987,
0.0299951434135437,
-0.030864568427205086,
0.007686502765864134,
0.03426322713494301,
0.0207081101834774,
0.027129994705319405,
0.04627709463238716,
-0.05113796517252922,
-0.03791876137256622,
-0.06137346476316452,
0.0005412290920503438,
0.02823653630912304,
-0.022051766514778137,
0.09010399132966995,
-0.05303489416837692,
0.003759272862225771,
-0.07129281014204025,
0.0019080409547314048,
0.04192997142672539,
-0.028078459203243256,
-0.0005384503747336566,
-0.032366301864385605,
-0.004263143986463547,
-0.03523145243525505,
-0.09571573138237,
0.013970070518553257,
0.01347607932984829,
0.06568107008934021,
0.0380965992808342,
-0.004744785372167826,
0.04995238780975342,
0.015531082637608051,
0.004767014645040035,
-0.008136034943163395,
0.044933438301086426,
-0.013910791836678982,
-0.07461242377758026,
0.03604159504175186,
0.04157429561018944,
-0.02232840098440647,
0.058409515768289566,
0.008358330465853214,
0.026300089433789253,
0.03540928661823273,
0.00855098757892847,
-0.034915294498205185,
-0.027920382097363472,
0.0823582112789154,
0.08010561019182205,
-0.01823815330862999,
-0.011579153127968311,
-0.04129766300320625,
0.03825467824935913,
-0.004947321489453316,
0.03671342507004738,
0.008279291912913322,
-0.027920382097363472,
0.015975674614310265,
0.010788767598569393,
-0.06342846900224686,
-0.046553727239370346,
-0.029382595792412758,
0.014533220790326595,
-0.057698167860507965,
0.015442164614796638,
-0.011984226293861866,
-0.012241100892424583,
-0.0490434430539608,
0.015224807895720005,
-0.039460014551877975,
0.006940576247870922,
0.040388718247413635,
-0.02359301783144474,
0.02987658604979515,
0.025964176282286644,
0.03849179297685623,
-0.026300089433789253,
0.052481621503829956,
0.0054981219582259655,
0.0002673727285582572,
-0.02566778101027012,
-0.01289317011833191,
0.01998688280582428,
0.030943607911467552,
0.01233001984655857,
0.03533024713397026,
0.024442683905363083,
-0.01301172748208046,
0.03313692659139633,
0.027722785249352455,
-0.05754009261727333,
0.06184769421815872,
0.012646174058318138,
-0.024126529693603516,
0.0026132133789360523,
-0.023889413103461266,
0.04196948930621147,
0.026082733646035194,
-0.004589178133755922,
-0.03940073773264885,
0.12085000425577164,
-0.018662987276911736,
0.0027885802555829287,
-0.009548849426209927,
0.0013745304895564914,
-0.005819215904921293,
-0.024600761011242867,
-0.0388079471886158,
-0.04592141881585121,
-0.0007650688057765365,
0.011539634317159653,
0.053983356803655624,
0.012646174058318138,
0.00545860268175602,
0.03902530297636986,
0.032603416591882706,
0.012656053528189659,
0.047462671995162964,
-0.013318002223968506,
-0.0152346882969141,
-0.012537496164441109,
0.0704629048705101,
-0.05461566522717476,
0.00790879875421524,
-0.026774322614073753,
-0.000004365840140962973,
0.034559622406959534,
-0.0714113637804985,
0.0190482996404171,
0.014029349200427532,
-0.027288071811199188,
-0.030192740261554718,
0.006654060911387205,
-0.0003254166804254055,
0.03327524662017822,
0.010838166810572147,
-0.0006465109763666987,
-0.010581291280686855,
0.01919649727642536,
-0.04611901566386223,
-0.020885946229100227,
0.03868938982486725,
-0.017111854627728462,
-0.02720903418958187,
-0.01674630120396614,
0.025193549692630768,
0.01615351065993309,
-0.025628263130784035,
0.003909940365701914,
0.005913074593991041,
-0.02639888785779476,
0.039677370339632034,
-0.047818344086408615,
-0.022842152044177055,
0.05437855049967766,
-0.015224807895720005,
0.006891177035868168,
0.015758318826556206,
0.012181822210550308,
0.05394383519887924,
-0.00005024816346121952,
-0.0049448516219854355,
-0.03815587982535362,
-0.014503580518066883,
-0.04275987669825554,
-0.025074992328882217,
-0.027465909719467163,
-0.005093049257993698,
0.017260052263736725,
0.01347607932984829,
0.00790879875421524,
0.024897154420614243,
-0.04710699990391731,
-0.04331314563751221,
0.05983221158385277,
-0.05323248729109764,
-0.018534548580646515,
-0.0297580286860466,
0.023197825998067856,
-0.025608502328395844,
0.023869654163718224,
0.0148790143430233,
-0.0011732290731742978,
-0.036535587161779404,
-0.03475721925497055,
-0.003843251382932067,
-0.006150190252810717,
0.017368730157613754,
0.046198055148124695,
0.019492892548441887,
0.009405592456459999,
-0.03301836922764778,
0.03726669400930405,
-0.04264131933450699,
0.021538015455007553,
-0.02163681387901306,
-0.0390450619161129,
-0.043866418302059174,
0.048766810446977615,
-0.012557256035506725,
-0.008076755329966545,
-0.0034307686146348715,
-0.026122253388166428,
-0.006738039664924145,
-0.06915876269340515,
-0.0034776979591697454,
0.046435169875621796,
-0.0010256491368636489,
0.013505718670785427,
0.04963623359799385,
0.007543245330452919,
0.024245087057352066,
-0.01743788830935955,
0.02128113992512226,
-0.04185093194246292,
0.04920152202248573,
0.042957473546266556,
-0.01319944392889738,
-0.015086490660905838,
0.06220337003469467,
-0.008926420472562313,
-0.05702634155750275,
0.04426160827279091,
-0.005389443598687649,
-0.04028991982340813,
-0.06481163948774338,
-0.00855098757892847,
0.057579610496759415,
0.05018950253725052,
-0.008116275072097778,
-0.02126138098537922,
0.002645322820171714,
-0.05485277995467186,
-0.04054679721593857,
0.05777720734477043,
0.047699786722660065,
-0.0175564456731081,
-0.05311392992734909,
-0.012527616694569588,
0.005853795446455479,
0.0034999274648725986,
0.0404677577316761,
0.04932007938623428,
0.03234654292464256,
-0.0045669483952224255,
0.0072517902590334415,
0.014256585389375687,
-0.06078067421913147,
0.06493020057678223,
-0.0009126486838795245,
-0.011381556279957294,
0.03171423450112343,
0.008496648631989956,
-0.014533220790326595,
-0.020846428349614143,
0.014869133941829205,
-0.04323410615324974,
-0.04129766300320625,
-0.04912248253822327,
0.010522011667490005,
0.03199086710810661,
-0.006826958153396845,
0.016568463295698166,
-0.0199967622756958,
0.040625832974910736,
-0.020391955971717834,
-0.023316383361816406,
0.019937483593821526,
-0.026655763387680054,
-0.01567927934229374,
-0.014602378942072392,
-0.02835509367287159,
0.014661658555269241,
-0.017931880429387093,
0.023276863619685173,
0.014296104200184345,
-0.017586085945367813,
-0.0764303132891655,
0.008027357049286366,
0.008378090336918831,
-0.013970070518553257,
0.013891031965613365,
0.06749895215034485,
0.011332157999277115,
0.0013695905217900872,
-0.007167811971157789,
-0.013071006163954735,
-0.03600207716226578,
-0.07279454171657562,
0.04789738357067108,
0.007553125265985727,
0.003050395520403981,
0.0014782686484977603,
-0.0068565974943339825,
-0.04137670248746872,
-0.016894498839974403,
-0.0304693765938282,
-0.03552784398198128,
0.03372971713542938,
0.011806389316916466,
-0.006545383017510176,
-0.025272589176893234,
-0.0068565974943339825,
-0.04382689669728279,
0.034816499799489975,
-0.005191847216337919,
-0.005493181757628918,
-0.05635451152920723,
-0.03706909716129303,
-0.029481394216418266,
0.043510742485523224,
-0.0036283652298152447,
0.01168783102184534,
0.01499757170677185,
-0.10480517148971558,
0.04963623359799385,
0.008061936125159264,
0.01825791411101818,
-0.008106395602226257,
0.00971186626702547,
-0.0031640133820474148,
0.03726669400930405,
0.01552120316773653,
-0.012735092081129551,
0.029323317110538483,
0.012744972482323647,
0.07105568796396255,
-0.009054858237504959,
0.0016536354087293148,
-0.02718927524983883,
0.005186907481402159,
0.013347641564905643,
-0.01650918461382389,
0.008076755329966545,
0.04552622511982918,
0.01802079752087593,
0.017279811203479767,
-0.009494510479271412,
-0.024363644421100616,
-0.02790062129497528,
0.021794890984892845,
0.004967081360518932,
0.02566778101027012,
-0.002105637453496456,
-0.0602274052798748,
0.040981508791446686,
-0.03744453191757202,
-0.043984975665807724,
-0.06398173421621323,
-0.0029293675906956196,
-0.0015992964617908,
0.07686502486467361,
0.03756308928132057,
-0.016291828826069832,
-0.03718765452504158,
0.030410096049308777,
0.04125814139842987,
-0.008728823624551296,
0.008580626919865608,
-0.01895938068628311,
0.0005631499225273728,
-0.004342182539403439,
0.07247838377952576,
0.02954067289829254,
-0.026576725766062737,
-0.018396232277154922,
0.001452334108762443,
0.02430436573922634,
0.009494510479271412,
-0.029817307367920876,
-0.0010540536604821682,
-0.0003439413558226079,
0.05821191892027855,
-0.013120405375957489,
-0.0014387492556124926,
0.03821515664458275,
0.014454182237386703,
0.005567280575633049,
0.024956434965133667,
0.04347122460603714,
-0.03683198243379593,
-0.03604159504175186,
0.032820772379636765,
-0.003798792138695717,
-0.0024946555495262146,
0.0046484568156301975,
0.011016002856194973,
0.00677261920645833,
-0.019937483593821526,
0.020866187289357185,
-0.04303651303052902,
-0.02195296809077263,
0.04169285669922829,
-0.05473422259092331,
0.05825144052505493,
-0.04521007090806961,
-0.018445629626512527,
0.07089761644601822,
-0.005142448004335165,
0.02185416966676712,
-0.06350750476121902,
-0.03372971713542938,
0.01883094385266304,
-0.010986363515257835,
0.009010398760437965,
0.08812802284955978,
-0.07524473965167999,
0.004626227542757988,
-0.0239289328455925,
0.0122608607634902,
-0.04797642305493355,
0.03023226000368595,
-0.0037716226652264595,
0.049675751477479935,
-0.028453892096877098,
0.029441874474287033,
0.006150190252810717,
0.05718441680073738,
-0.016756180673837662,
0.0358242392539978,
0.0020142490975558758,
-0.008032296784222126,
-0.01686485856771469,
0.01411826815456152,
-0.003984038718044758,
0.035745199769735336,
-0.045605264604091644,
-0.004976961296051741,
-0.01674630120396614,
-0.056907784193754196,
0.05204690992832184,
0.05263970047235489,
-0.009934162721037865,
0.02242719940841198,
-0.01016633864492178,
-0.0052412464283406734,
-0.04825305938720703,
0.08986687660217285,
-0.057461053133010864,
0.0688030943274498,
0.03311716765165329,
0.03452010452747345,
-0.04603997617959976,
-0.01986832544207573,
-0.009158596396446228,
-0.006826958153396845,
0.01966084912419319,
0.012300380505621433,
0.0016017664456740022,
-0.023276863619685173,
0.008145914413034916,
-0.005587039981037378,
0.0005362891824916005,
-0.04920152202248573,
-0.05018950253725052,
-0.04181141406297684,
0.012636294588446617,
0.01822827383875847,
0.052481621503829956,
0.013683555647730827,
-0.022921189665794373,
-0.0027391810435801744
]
|
31,506 | laspy.point.dims | DimensionInfo | Tuple that contains information of a dimension | class DimensionInfo(NamedTuple):
"""Tuple that contains information of a dimension"""
name: str
kind: DimensionKind
num_bits: int
num_elements: int = 1
is_standard: bool = True
description: str = ""
offsets: Optional[np.ndarray] = None
scales: Optional[np.ndarray] = None
@classmethod
def from_extra_bytes_param(cls, params):
me = cls(
params.name,
DimensionKind.from_letter(params.type.base.kind),
params.type.itemsize * 8,
params.type.shape[0] if params.type.ndim == 1 else 1,
False,
params.description,
params.offsets,
params.scales,
)
me._validate()
return me
@classmethod
def from_dtype(
cls,
name: str,
dtype: np.dtype,
is_standard: bool = True,
description: str = "",
offsets: Optional[np.ndarray] = None,
scales: Optional[np.ndarray] = None,
) -> "DimensionInfo":
if dtype.ndim != 0:
num_elements = dtype.shape[0]
else:
num_elements = 1
kind = DimensionKind.from_letter(dtype.base.kind)
num_bits = dtype.itemsize * 8
self = cls(
name,
kind,
num_bits,
num_elements,
is_standard,
description=description,
offsets=offsets,
scales=scales,
)
self._validate()
return self
@classmethod
def from_bitmask(
cls, name: str, bit_mask: int, is_standard: bool = False
) -> "DimensionInfo":
kind = DimensionKind.BitField
bit_size = num_bit_set(bit_mask)
return cls(name, kind, bit_size, is_standard=is_standard)
@property
def num_bytes(self) -> int:
return int(self.num_bits // 8)
@property
def num_bytes_singular_element(self) -> int:
return int(self.num_bits // (8 * self.num_elements))
@property
def is_scaled(self) -> bool:
return self.scales is not None or self.offsets is not None
@property
def max(self):
if self.kind == DimensionKind.BitField:
return (2**self.num_bits) - 1
elif self.kind == DimensionKind.FloatingPoint:
return np.finfo(self.type_str()).max
else:
return np.iinfo(self.type_str()).max
@property
def min(self):
if (
self.kind == DimensionKind.BitField
or self.kind == DimensionKind.UnsignedInteger
):
return 0
elif self.kind == DimensionKind.FloatingPoint:
return np.finfo(self.type_str()).min
else:
return np.iinfo(self.type_str()).min
def type_str(self) -> Optional[str]:
if self.kind == DimensionKind.BitField:
return None
if self.num_elements == 1:
return f"{self.kind.letter()}{self.num_bytes_singular_element}"
return (
f"{self.num_elements}{self.kind.letter()}{self.num_bytes_singular_element}"
)
@property
def dtype(self) -> Optional[np.dtype]:
type_str = self.type_str()
if type_str is not None:
return np.dtype(type_str)
return None
def __eq__(self, other: "DimensionInfo") -> bool:
# Named Tuple implements that for us, but
# when scales and offset are not None (thus are array)
# The default '==' won't work
# (ValueError, value of an array with more than one element is ambiguous)
return (
self.name == other.name
and self.kind == other.kind
and self.num_bits == other.num_bits
and self.is_standard == other.is_standard
and self.description == other.description
and np.all(self.offsets == other.offsets)
and np.all(self.scales == other.scales)
)
def __ne__(self, other: "DimensionInfo") -> bool:
return not self == other
def _validate(self):
if (self.offsets is not None and self.scales is None) or (
self.offsets is None and self.scales is not None
):
raise ValueError("Cannot provide scales without offsets and vice-versa")
if self.offsets is not None and len(self.offsets) != self.num_elements:
raise ValueError(
f"len(offsets) ({len(self.offsets)}) is not the same as the number of elements ({self.num_elements})"
)
if self.scales is not None and len(self.scales) != self.num_elements:
raise ValueError(
f"len(scales) ({len(self.scales)}) is not the same as the number of elements ({self.num_elements})"
)
| (name: str, kind: laspy.point.dims.DimensionKind, num_bits: int, num_elements: int = 1, is_standard: bool = True, description: str = '', offsets: Optional[numpy.ndarray] = None, scales: Optional[numpy.ndarray] = None) | [
0.052872274070978165,
-0.0529119074344635,
-0.02156110666692257,
0.04443014785647392,
0.0392182283103466,
-0.020154086872935295,
-0.023800449445843697,
-0.027763888239860535,
-0.017934560775756836,
0.020253172144293785,
0.010186037980020046,
0.02057024836540222,
0.018320996314287186,
-0.023443739861249924,
0.0002655194257386029,
0.028834016993641853,
-0.015833938494324684,
0.030657200142741203,
-0.0012806861195713282,
0.0388813354074955,
0.006296913605183363,
-0.03099409118294716,
0.03222275897860527,
0.05033567175269127,
0.03139043599367142,
0.05830218642950058,
0.04740272834897041,
-0.004389508627355099,
-0.014734083786606789,
-0.023939169943332672,
-0.10978725552558899,
0.007466128095984459,
0.011523698456585407,
0.052674103528261185,
-0.008125049993395805,
-0.06551564484834671,
0.021382752805948257,
0.018875878304243088,
-0.06321685016155243,
0.02829895354807377,
-0.01130570936948061,
-0.049701523035764694,
0.04133866727352142,
-0.0674973651766777,
0.03685998171567917,
0.009735196828842163,
0.0068022520281374454,
0.002992396242916584,
-0.13943377137184143,
0.03503679856657982,
0.04954298585653305,
-0.04185391217470169,
0.022869041189551353,
0.02146202139556408,
-0.03713742271065712,
0.06222598999738693,
0.05679607763886452,
0.042963676154613495,
-0.016002384945750237,
-0.011563332751393318,
-0.030934639275074005,
0.043439287692308426,
-0.011741687543690205,
-0.06547600775957108,
-0.10867749154567719,
-0.002192276995629072,
-0.017449039965867996,
-0.027367545291781425,
-0.029091641306877136,
0.04040725901722908,
0.01935148984193802,
0.0033367201685905457,
0.01769675500690937,
-0.004488594364374876,
0.019212769344449043,
-0.019946005195379257,
0.02251233160495758,
-0.03099409118294716,
0.05889670178294182,
-0.05013750120997429,
-0.009363624267280102,
0.03993164747953415,
0.022631235420703888,
-0.021323300898075104,
0.030161770060658455,
0.02605961076915264,
0.025960523635149002,
0.0917932465672493,
0.02166019380092621,
-0.04320148378610611,
0.007054921239614487,
0.005444773938506842,
0.03608711063861847,
0.05366495996713638,
-0.016468089073896408,
-0.0015630811685696244,
-0.015338508412241936,
-0.04316185042262077,
0.012534375302493572,
-0.007000423967838287,
-0.020550429821014404,
-0.06444551795721054,
0.003396171610802412,
0.0046669491566717625,
-0.03654290735721588,
0.012564101256430149,
0.011147171258926392,
0.0008849615696817636,
-0.05984792485833168,
-0.045936256647109985,
0.009333898313343525,
0.027664802968502045,
-0.042567331343889236,
0.02201690338551998,
-0.005994701292365789,
0.0012844018638134003,
-0.02271050401031971,
-0.0009524638880975544,
-0.027070287615060806,
0.0009623724617995322,
-0.02685229852795601,
0.05168324336409569,
-0.013267611153423786,
0.04118013009428978,
0.009264538064599037,
-0.0007227082969620824,
0.04145757108926773,
0.02732791006565094,
-0.011166988871991634,
-0.010463478043675423,
0.0014045436400920153,
-0.0034011260140687227,
-0.020372075960040092,
0.08180537819862366,
0.05093018710613251,
-0.014208927750587463,
0.06071988120675087,
-0.019004689529538155,
-0.08957371860742569,
0.05362532660365105,
0.029329447075724602,
0.02984469383955002,
0.029507802799344063,
0.0386633463203907,
-0.034957531839609146,
0.00545963691547513,
0.05203995108604431,
-0.053546059876680374,
-0.016408637166023254,
-0.021580925211310387,
-0.09480545669794083,
-0.013079348020255566,
0.010651742108166218,
-0.0073373159393668175,
0.01884615235030651,
-0.04367709532380104,
0.01275236438959837,
-0.062305256724357605,
0.008878102526068687,
0.01895514689385891,
-0.09861035645008087,
-0.027486449107527733,
-0.0487106628715992,
-0.01999554969370365,
-0.05679607763886452,
0.03723650798201561,
0.0028140414506196976,
-0.054695457220077515,
-0.01230647787451744,
0.03870297968387604,
0.05766803398728371,
0.01447646040469408,
-0.014159385114908218,
0.020550429821014404,
-0.02368154749274254,
0.05406130477786064,
-0.0054794540628790855,
-0.021521473303437233,
0.005276327952742577,
-0.03695906698703766,
0.039792925119400024,
-0.00932894367724657,
-0.05338752269744873,
-0.01567540131509304,
-0.0002814660838339478,
0.04205208644270897,
0.011632693000137806,
0.021343117579817772,
0.011850682087242603,
0.018251635134220123,
0.011811047792434692,
0.022393429651856422,
0.011920042335987091,
0.030855370685458183,
0.028794383630156517,
-0.005132653284817934,
0.00404023053124547,
0.004602543544024229,
0.032856907695531845,
0.019946005195379257,
-0.004689243622124195,
-0.008130003698170185,
0.07558277994394302,
0.0019024506909772754,
-0.020183812826871872,
-0.018043555319309235,
0.04137830063700676,
-0.00009939561277860776,
-0.036324918270111084,
0.025326374918222427,
-0.031608425080776215,
-0.023800449445843697,
0.005444773938506842,
-0.007381904870271683,
0.044588685035705566,
-0.04799724370241165,
-0.006178010255098343,
-0.0019321764120832086,
-0.03154897317290306,
-0.03222275897860527,
0.10352502018213272,
-0.006306821946054697,
0.026693761348724365,
0.06424733996391296,
0.0018120346358045936,
-0.025841621682047844,
0.04145757108926773,
0.0028784475289285183,
0.04906737431883812,
-0.0029552390333265066,
0.006217644549906254,
-0.04490576311945915,
-0.026594674214720726,
-0.03414502367377281,
0.008461941964924335,
0.015942933037877083,
0.027763888239860535,
-0.022948311641812325,
0.08033890277147293,
-0.01692388392984867,
-0.03196513280272484,
-0.03146970272064209,
-0.03870297968387604,
0.023344654589891434,
-0.01926231198012829,
-0.07225348800420761,
0.02558399736881256,
0.05667717382311821,
-0.01808319054543972,
-0.024276062846183777,
-0.042369160801172256,
-0.05933267995715141,
-0.01091927383095026,
-0.0048675984144210815,
0.03878225013613701,
-0.028457490727305412,
-0.030082501471042633,
-0.009467664174735546,
0.059213776141405106,
-0.06254306435585022,
-0.007020241115242243,
-0.014317922294139862,
0.03993164747953415,
0.04129903391003609,
-0.00041956716449931264,
-0.008338084444403648,
0.0784364566206932,
0.01605192758142948,
-0.006921154912561178,
0.02887365221977234,
0.002223241375759244,
0.09353715926408768,
-0.0017439130460843444,
-0.022571783512830734,
-0.03408557549118996,
0.00922985840588808,
0.09012860059738159,
-0.012712730094790459,
0.058539990335702896,
0.0157943032681942,
-0.010443661361932755,
-0.0534667894244194,
-0.035155702382326126,
0.02020362950861454,
0.01654735766351223,
0.03394685313105583,
-0.021085495129227638,
-0.031509339809417725,
-0.0027521129231899977,
0.005375413689762354,
-0.00851148460060358,
-0.009963094256818295,
-0.009368578903377056,
-0.017290502786636353,
-0.030657200142741203,
-0.005945158191025257,
-0.03222275897860527,
0.01598256640136242,
0.015635766088962555,
-0.04106122627854347,
0.00044960257946513593,
0.005325871054083109,
0.03416484221816063,
0.05053384602069855,
0.015061067417263985,
-0.035849303007125854,
0.018063372001051903,
-0.01935148984193802,
0.05667717382311821,
0.020946774631738663,
0.013981030322611332,
0.01618073880672455,
0.0007982613751664758,
0.010413935407996178,
0.07169860601425171,
0.0326983705163002,
0.030657200142741203,
0.01895514689385891,
0.029943780973553658,
0.1063786968588829,
0.04149720445275307,
0.022175440564751625,
-0.07197605073451996,
-0.0019012120319530368,
-0.02705046907067299,
-0.04062524810433388,
0.0275062657892704,
-0.05433874577283859,
0.03567095100879669,
-0.0029824876692146063,
-0.014714266173541546,
-0.01655726507306099,
0.013921578414738178,
0.01616092212498188,
0.016497815027832985,
-0.033629778772592545,
0.031013909727334976,
0.0005468307062983513,
-0.009363624267280102,
-0.03695906698703766,
-0.0010955192847177386,
-0.00509797316044569,
-0.02308703027665615,
0.010052272118628025,
0.026673942804336548,
-0.05144543573260307,
0.038049012422561646,
-0.05160397291183472,
0.005870843771845102,
0.0923481211066246,
0.021144947037100792,
-0.048829566687345505,
-0.028417855501174927,
0.01447646040469408,
0.035155702382326126,
-0.01923258602619171,
-0.01260373555123806,
-0.005454682745039463,
0.018301179632544518,
0.03406575694680214,
0.04756126552820206,
-0.0025811896193772554,
0.027763888239860535,
-0.030756285414099693,
0.024276062846183777,
-0.058738164603710175,
-0.0034234202466905117,
-0.029468167573213577,
-0.002558895153924823,
-0.013802675530314445,
0.01663653366267681,
-0.047085653990507126,
-0.027189189568161964,
-0.04557954519987106,
0.006296913605183363,
0.00227526156231761,
-0.06436624377965927,
0.06955835223197937,
-0.07316508144140244,
-0.06012536585330963,
0.04292404279112816,
-0.003074142150580883,
-0.014605271629989147,
0.060283903032541275,
0.01702296920120716,
0.01336669735610485,
-0.00793183222413063,
0.01130570936948061,
-0.02790260873734951,
0.0315886065363884,
0.009814465418457985,
0.0026555040385574102,
-0.0032227712217718363,
0.001925983582623303,
-0.03995146229863167,
0.0086155254393816,
-0.03963438794016838,
0.03967402130365372,
-0.03905969113111496,
-0.0008979666163213551,
-0.06658577173948288,
-0.07609802484512329,
-0.03174714371562004,
0.052198488265275955,
0.010790462605655193,
-0.02493003010749817,
0.031410254538059235,
0.015041250735521317,
-0.03571058437228203,
0.0990859717130661,
0.03846517205238342,
0.0392182283103466,
0.037375226616859436,
-0.029269995167851448,
0.009849145077168941,
-0.006703165825456381,
-0.04946371540427208,
-0.003009736305102706,
0.03580966964364052,
0.011741687543690205,
-0.019946005195379257,
-0.01000768318772316,
0.039892010390758514,
0.04581735283136368,
-0.035274606198072433,
-0.02156110666692257,
-0.06234489381313324,
0.05695461481809616,
-0.017092330381274223,
0.02471204102039337,
-0.02346355840563774,
0.007228321395814419,
-0.015031341463327408,
-0.04427161067724228,
-0.009115909226238728,
-0.06436624377965927,
-0.017746297642588615,
-0.0063216849230229855,
-0.009596476331353188,
0.0021959927398711443,
0.018618253991007805,
0.002059749560430646,
0.03590875491499901,
-0.0190542321652174,
-0.015259239822626114,
-0.008100277744233608,
-0.01875697448849678,
0.03020140342414379,
-0.07712852209806442,
-0.027090104296803474,
0.06305830925703049,
0.010364392772316933,
0.07233276218175888,
-0.05433874577283859,
0.029487984254956245,
-0.04022890329360962,
-0.020926956087350845,
-0.05667717382311821,
0.0058014835231006145,
-0.023423923179507256,
-0.00832322146743536,
0.012237117625772953,
-0.058658894151449203,
-0.04050634428858757,
-0.011266075074672699,
-0.01923258602619171,
0.07122299820184708,
-0.030459027737379074,
-0.010830096900463104,
0.006579308304935694,
0.05528997257351875,
-0.0034680089447647333,
0.054219841957092285,
0.006222599186003208,
-0.021006226539611816,
0.013000079430639744,
-0.00020173283701296896,
0.053902767598629,
-0.026475772261619568,
-0.03577003628015518,
0.05223812535405159,
0.005826254840940237,
-0.005994701292365789,
-0.030042866244912148,
-0.01482326164841652,
0.009695562534034252,
0.00666353153064847,
0.059887561947107315,
-0.02415715903043747,
0.03769230470061302,
-0.08018036931753159,
0.026218147948384285,
0.0013128891587257385,
0.01606183499097824,
0.029210543259978294,
0.004193813540041447,
0.038049012422561646,
-0.016378911212086678,
0.02934926375746727,
-0.014565637335181236,
-0.012237117625772953,
-0.030657200142741203,
-0.03878225013613701,
-0.03321361914277077,
0.030914822593331337,
-0.044113073498010635,
0.018519168719649315,
0.0647229552268982,
0.02675321139395237,
-0.04193318262696266,
-0.09480545669794083,
-0.02760535106062889,
0.013336971402168274,
-0.02068915031850338,
0.0355718620121479,
0.037097785621881485,
-0.012683004140853882,
0.004379599820822477,
-0.005920386873185635,
-0.017746297642588615,
-0.006936017889529467,
0.03471972420811653,
0.0041046361438930035,
0.016487905755639076,
-0.020827870815992355,
0.016725711524486542,
0.00808541476726532,
-0.07657364010810852,
0.02356264367699623,
0.02645595371723175,
-0.0059996554628014565,
-0.03703833743929863,
0.021323300898075104,
0.015288964845240116,
0.04040725901722908,
0.029785241931676865,
0.00789219792932272,
0.0017823089146986604,
0.004330056719481945,
0.03079591877758503,
0.009849145077168941,
0.013436057604849339,
0.03529442101716995,
-0.044192343950271606,
-0.02982487715780735,
0.027882792055606842,
0.0375535823404789,
0.0402090884745121,
0.06817115098237991,
-0.014317922294139862,
0.0025787123013287783,
0.03695906698703766,
0.051722876727581024,
-0.018638070672750473,
0.013782858848571777,
0.006029381416738033,
-0.03604747727513313,
-0.03563131392002106,
-0.012891084887087345,
0.003470486029982567,
-0.04201245307922363,
-0.010255398228764534,
0.07375959306955338,
-0.010255398228764534,
-0.05089055374264717,
-0.0025043978821486235,
-0.033035263419151306,
-0.008075506426393986,
-0.021303484216332436,
0.02810078114271164,
-0.027981877326965332,
0.02752608247101307,
-0.011771413497626781,
-0.0074958535842597485,
0.008788925595581532,
0.0054744998924434185,
-0.026495588943362236,
-0.044985029846429825,
-0.02203672006726265,
-0.05521070212125778,
-0.021580925211310387,
0.041021592915058136,
0.01028512418270111,
-0.014833169989287853,
0.03099409118294716,
0.01366395503282547,
-0.01685452274978161,
-0.018132733181118965,
-0.009353715926408768,
0.0326983705163002,
0.008570936508476734,
0.018737157806754112,
0.024652589112520218,
-0.011583150364458561,
-0.018727248534560204,
0.02520747110247612,
-0.043439287692308426,
-0.02655504085123539,
0.03414502367377281,
-0.025821803137660027,
-0.03860389441251755,
-0.023027580231428146,
-0.04137830063700676,
0.014456642791628838,
0.029468167573213577,
-0.03144988790154457,
0.033629778772592545,
-0.003824718529358506,
0.04280513897538185,
-0.061036959290504456,
0.019103774800896645,
-0.0053159622475504875,
-0.013921578414738178,
-0.03577003628015518,
-0.02712973952293396,
-0.06531747430562973,
-0.044192343950271606,
0.04589662328362465,
0.037474315613508224,
-0.023899536579847336,
-0.025326374918222427,
0.03608711063861847,
-0.025742534548044205,
-0.031152628362178802,
-0.05108872801065445,
-0.03341178968548775,
0.028041329234838486,
-0.02635686844587326,
0.004466299898922443,
-0.025385824963450432,
0.029963597655296326,
0.027664802968502045,
0.021798914298415184,
-0.06131440028548241,
-0.04106122627854347,
-0.04542100802063942,
-0.011523698456585407,
0.013148708269000053,
-0.006272141821682453,
0.09694571048021317,
0.0683693215250969,
-0.00011394886678317562,
-0.0016782686579972506,
0.05580521747469902,
0.0024337992072105408,
-0.01053283829241991,
0.04110085964202881,
-0.07839681953191757,
0.04129903391003609,
0.024117525666952133,
-0.05211922153830528,
0.045460645109415054,
-0.007788157090544701,
-0.06912237405776978,
0.033352337777614594,
0.011335435323417187,
-0.037276141345500946,
-0.00035856736940331757,
-0.06456442177295685,
-0.003262405516579747,
0.023305019363760948,
-0.034581005573272705,
-0.007832746021449566,
-0.01778593100607395,
0.01519978791475296,
-0.0045034573413431644,
0.03154897317290306,
0.014902530238032341,
0.04732345789670944,
-0.01034457515925169,
-0.016606809571385384,
0.0022926016245037317,
-0.0025861437898129225,
-0.02471204102039337,
0.009537024423480034,
0.0156853087246418,
-0.00401298189535737,
0.03567095100879669,
-0.010780553333461285,
0.0033813086338341236,
0.07839681953191757,
0.034779176115989685,
-0.035849303007125854,
0.045856986194849014,
0.015853755176067352,
-0.06404916942119598,
-0.0012540568131953478,
-0.06559491157531738,
-0.013257702812552452,
-0.023265386000275612,
0.039198409765958786,
0.006400953512638807,
0.06634796410799026,
-0.025940706953406334,
-0.04399416968226433,
-0.04173501208424568,
0.002724864287301898,
0.027981877326965332,
0.04193318262696266,
-0.027783706784248352,
0.006960789207369089,
-0.04522283747792244,
-0.061908915638923645,
0.019975731149315834,
0.026495588943362236,
0.07189678400754929,
-0.07724742591381073,
0.01336669735610485,
0.0631772130727768,
0.027109920978546143,
-0.0063266390934586525,
0.10304941236972809,
0.0022021858021616936,
-0.10939091444015503,
-0.05703388527035713,
0.01130570936948061,
0.007520625367760658,
0.01933167316019535,
-0.020183812826871872,
0.05564668029546738,
-0.010522929951548576,
0.054893627762794495,
0.03618619590997696,
0.04221062362194061,
-0.0784364566206932,
0.06523820012807846,
0.02261141873896122,
-0.03646363690495491,
-0.03563131392002106,
-0.014119750820100307,
0.0064901309087872505,
0.03860389441251755,
-0.0171220563352108,
0.05957048386335373,
-0.025544364005327225,
0.010929182171821594,
0.021184580400586128,
-0.006990515161305666,
-0.0007864948711358011,
0.03654290735721588,
0.021580925211310387,
0.012227208353579044,
-0.01788501814007759,
0.01409002486616373,
-0.021521473303437233,
0.022551966831088066,
0.025286739692091942,
0.03002304956316948,
-0.023998621851205826,
-0.020352259278297424,
0.03961456939578056,
-0.00750576239079237,
-0.09425057470798492,
-0.009730242192745209,
0.011811047792434692,
-0.08481758832931519,
0.03529442101716995,
-0.045856986194849014,
-0.017389588057994843,
-0.04530210420489311,
-0.030042866244912148,
-0.016289733350276947,
0.009537024423480034,
0.061908915638923645,
-0.06396990269422531,
0.011801139451563358,
-0.023047396913170815,
0.020629698410630226
]
|
31,507 | laspy.point.dims | __eq__ | null | def __eq__(self, other: "DimensionInfo") -> bool:
# Named Tuple implements that for us, but
# when scales and offset are not None (thus are array)
# The default '==' won't work
# (ValueError, value of an array with more than one element is ambiguous)
return (
self.name == other.name
and self.kind == other.kind
and self.num_bits == other.num_bits
and self.is_standard == other.is_standard
and self.description == other.description
and np.all(self.offsets == other.offsets)
and np.all(self.scales == other.scales)
)
| (self, other: laspy.point.dims.DimensionInfo) -> bool | [
0.07680612057447433,
-0.059246353805065155,
-0.013294738717377186,
0.03918825089931488,
-0.009190322831273079,
-0.04571962729096413,
-0.03918825089931488,
0.0056435721926391125,
0.01640874147415161,
0.02548306994140148,
0.01600722223520279,
-0.05032370984554291,
0.09008301049470901,
0.013178744353353977,
-0.001100273453630507,
-0.024894176051020622,
-0.017256392166018486,
0.015230952762067318,
0.013535650447010994,
0.045791007578372955,
-0.015659239143133163,
-0.011992033571004868,
-0.0036493611987680197,
0.02930196188390255,
0.03790339082479477,
0.10692895948886871,
0.030283452942967415,
0.006897203624248505,
-0.02095036767423153,
0.03287101909518242,
-0.12634463608264923,
-0.032656874507665634,
0.057283371686935425,
0.06449286639690399,
0.028231244534254074,
-0.022984730079770088,
-0.011813580058515072,
0.014356533996760845,
-0.01418700348585844,
-0.0063172318041324615,
-0.002652255818247795,
-0.04165090247988701,
0.012964601628482342,
-0.01855909824371338,
-0.005674801301211119,
-0.011983110569417477,
-0.03049759566783905,
-0.02530461736023426,
-0.057818733155727386,
0.04768260940909386,
-0.015007887035608292,
-0.039902061223983765,
0.0015324640553444624,
0.07152391225099564,
-0.052179619669914246,
0.052250999957323074,
0.053107574582099915,
0.057461824268102646,
-0.05010956898331642,
0.01115330494940281,
-0.0475398451089859,
-0.0025184161495417356,
0.002464880235493183,
-0.054820723831653595,
-0.0734512060880661,
-0.03406665474176407,
-0.04796813428401947,
-0.006848128978163004,
-0.014731285162270069,
0.06973938643932343,
-0.01379440724849701,
0.014320842921733856,
-0.002971240319311619,
-0.011697585694491863,
-0.050395090132951736,
0.005826486274600029,
0.022199537605047226,
0.058318398892879486,
0.03131847828626633,
-0.07366534322500229,
-0.014713439159095287,
0.0010132776806131005,
0.01639089733362198,
-0.03485184535384178,
-0.04211487993597984,
0.03808184340596199,
-0.019611971452832222,
0.0870136246085167,
0.028552459552884102,
-0.02257428877055645,
0.022931193932890892,
0.02625041827559471,
0.03144339472055435,
-0.008784342557191849,
0.026553787291049957,
0.03140770643949509,
-0.019147993996739388,
-0.03722526878118515,
0.015596780925989151,
0.00505021633580327,
0.006959662307053804,
-0.036582838743925095,
0.011126536875963211,
0.026357488706707954,
-0.018594790250062943,
0.01295567862689495,
-0.002547414740547538,
-0.009368776343762875,
-0.061816077679395676,
-0.024912022054195404,
-0.027927875518798828,
0.07801959663629532,
-0.0398663729429245,
0.025447379797697067,
-0.01051979698240757,
-0.013651644811034203,
-0.006040629930794239,
-0.0036984358448535204,
-0.05603420361876488,
-0.013955014757812023,
-0.003357144771143794,
0.10178951919078827,
0.059496186673641205,
0.021789096295833588,
0.061209335923194885,
-0.003798815654590726,
0.04004482552409172,
0.034958917647600174,
-0.05692646652460098,
-0.03192522004246712,
0.030693894252181053,
-0.030551131814718246,
0.002951164497062564,
0.07816235721111298,
0.05350017175078392,
0.0008694001007825136,
0.07830512523651123,
0.006138778757303953,
-0.034637704491615295,
0.033085163682699203,
0.010921316221356392,
0.03149693086743355,
0.005041293799877167,
0.006406458094716072,
-0.06509961187839508,
-0.006553682032972574,
-0.059174973517656326,
-0.03247842192649841,
-0.01774713769555092,
0.011617282405495644,
-0.04821796715259552,
-0.0045282416976988316,
0.022128157317638397,
-0.01738131046295166,
-0.026375334709882736,
-0.05803287401795387,
0.02776726707816124,
-0.050644926726818085,
0.01891600526869297,
0.025268927216529846,
-0.045969460159540176,
-0.008614812977612019,
-0.007133653853088617,
-0.005951403174549341,
-0.038117535412311554,
-0.0050814454443752766,
-0.04432769492268562,
-0.04832503944635391,
0.02453727088868618,
0.016926255077123642,
0.042900070548057556,
-0.025536606088280678,
0.0006268157158046961,
-0.009475847706198692,
-0.04322128742933273,
0.015320179052650928,
0.0062235440127551556,
-0.011269299313426018,
0.012625540606677532,
-0.035297978669404984,
0.03890272602438927,
-0.051323045045137405,
-0.059424806386232376,
0.011733276769518852,
0.009047560393810272,
-0.005380354356020689,
-0.005076984409242868,
0.005282205063849688,
0.03042621538043022,
0.020664842799305916,
-0.014526063576340675,
0.00617893086746335,
-0.030693894252181053,
0.0008526701712980866,
0.03296024724841118,
-0.03665421903133392,
0.004561701789498329,
-0.02537599951028824,
0.06688413769006729,
0.05467795953154564,
-0.0029422417283058167,
-0.04029465839266777,
0.015222030691802502,
0.023805612698197365,
0.009957670234143734,
-0.030640358105301857,
0.03804615139961243,
-0.03649361431598663,
0.021628487855196,
0.013919324614107609,
-0.02460865117609501,
-0.023056112229824066,
0.003725203685462475,
0.011304989457130432,
0.06217298284173012,
0.05639110878109932,
-0.027999255806207657,
-0.03415587916970253,
-0.03228212520480156,
0.015873383730649948,
0.11114045232534409,
-0.029944391921162605,
0.04354250058531761,
0.0514301173388958,
-0.025358153507113457,
0.0015826539602130651,
0.015926919877529144,
0.023787768557667732,
0.014570677652955055,
-0.01832710951566696,
0.020236555486917496,
-0.01115330494940281,
-0.00835159420967102,
-0.030033618211746216,
-0.020075948908925056,
0.0403660386800766,
0.017167165875434875,
-0.006709828041493893,
-0.007838542573153973,
-0.006799054332077503,
-0.008414053358137608,
-0.02460865117609501,
0.0021403192076832056,
0.040830016136169434,
-0.038295987993478775,
-0.10578686743974686,
-0.020575616508722305,
0.05110890418291092,
0.00042466208105906844,
-0.007236264180392027,
-0.015257720835506916,
-0.06599187105894089,
-0.01747053675353527,
-0.004969912581145763,
0.030354833230376244,
-0.034280795603990555,
-0.08430113643407822,
-0.03228212520480156,
0.06260126829147339,
-0.02673223987221718,
-0.015596780925989151,
0.03950946778059006,
0.025875667110085487,
0.022449372336268425,
-0.03588687255978584,
0.007048888597637415,
0.029944391921162605,
0.04964559152722359,
0.008538969792425632,
-0.040580183267593384,
0.001742146210744977,
0.0494314469397068,
-0.006335076875984669,
0.05428536608815193,
-0.020664842799305916,
0.019397826865315437,
0.062387123703956604,
-0.029837321490049362,
-0.0016518044285476208,
-0.021931858733296394,
0.004831611644476652,
-0.013696257956326008,
-0.02011163905262947,
-0.03108649142086506,
-0.006094165612012148,
-0.037689246237277985,
-0.01907661184668541,
-0.02930196188390255,
0.0058577158488333225,
-0.02105743996798992,
-0.026785776019096375,
0.01977257803082466,
0.005219746381044388,
-0.0177917517721653,
-0.0374751053750515,
0.04268592596054077,
-0.0013372811954468489,
0.009002947248518467,
0.011394215747714043,
0.02009379304945469,
-0.007236264180392027,
0.025268927216529846,
0.02036147378385067,
0.0011510209878906608,
0.02683931216597557,
0.0046888492070138454,
0.015837691724300385,
0.04746846482157707,
0.045112885534763336,
0.03804615139961243,
0.03954515606164932,
0.011992033571004868,
0.018791086971759796,
0.05071630701422691,
0.02625041827559471,
0.02751743420958519,
0.031140027567744255,
-0.011438828893005848,
0.002685715677216649,
0.10821382701396942,
-0.0033972966484725475,
0.0056703402660787106,
-0.06909695267677307,
-0.021842632442712784,
-0.004164644051343203,
-0.06509961187839508,
0.015944764018058777,
-0.006732134614139795,
0.03950946778059006,
0.05103752389550209,
-0.0001553097681608051,
-0.01478482037782669,
0.06492115557193756,
0.01299136970192194,
0.04582669958472252,
-0.04521995782852173,
-0.003814430208876729,
0.04015189781785011,
0.03065820410847664,
-0.0082846749573946,
0.0012290942249819636,
-0.019040921702980995,
-0.0069641233421862125,
-0.04132968559861183,
0.04643343761563301,
-0.006825822405517101,
-0.028730912134051323,
-0.014062086120247841,
0.002245160285383463,
0.009226013906300068,
-0.07809098064899445,
-0.043828025460243225,
0.014597444795072079,
-0.022360146045684814,
0.032763946801424026,
0.05289343371987343,
-0.00008525307202944532,
0.0026723318733274937,
-0.03722526878118515,
0.03356698527932167,
0.08951196074485779,
-0.018166502937674522,
0.044077858328819275,
-0.027106991037726402,
-0.021432191133499146,
-0.013990705832839012,
-0.005353586282581091,
-0.01794343627989292,
-0.04550548270344734,
-0.039223942905664444,
-0.04907454177737236,
-0.012411397881805897,
-0.017140397801995277,
-0.06681275367736816,
-0.02368069626390934,
-0.018505563959479332,
-0.08901229500770569,
0.0359761007130146,
-0.02478710375726223,
-0.06131640821695328,
0.08180280029773712,
0.03601178899407387,
-0.015828769654035568,
0.0695609301328659,
-0.011081923730671406,
-0.004934221971780062,
-0.04097278043627739,
-0.02189616858959198,
0.006669676396995783,
0.05628403648734093,
-0.024340972304344177,
-0.007972382009029388,
-0.012545237317681313,
0.017211779952049255,
-0.054142601788043976,
-0.005126059055328369,
-0.034637704491615295,
0.011813580058515072,
-0.10928454250097275,
-0.01977257803082466,
-0.024912022054195404,
-0.018434181809425354,
0.013401811011135578,
0.000879438070114702,
0.005054677836596966,
-0.0012815147638320923,
0.02376992255449295,
0.04172228276729584,
-0.03754648566246033,
0.0807320773601532,
0.005072522908449173,
-0.016828106716275215,
0.018933849409222603,
-0.017479458823800087,
-0.03340637683868408,
0.006656292360275984,
0.014749130234122276,
-0.013955014757812023,
0.08758467435836792,
0.025536606088280678,
-0.021699870005249977,
0.019701197743415833,
-0.012491701170802116,
-0.00229088868945837,
-0.011777889914810658,
-0.04104416072368622,
-0.021521417424082756,
0.06210159882903099,
0.0037608942948281765,
-0.03715388849377632,
-0.05250083655118942,
-0.02410898357629776,
0.045541174709796906,
-0.00526435999199748,
0.029087819159030914,
0.005371431354433298,
-0.009859520941972733,
-0.04539841040968895,
0.000018490087313693948,
0.008463127538561821,
0.030176380649209023,
-0.04896746948361397,
0.001712032244540751,
-0.016149984672665596,
-0.1023605689406395,
-0.048253659158945084,
-0.004782536998391151,
0.012375706806778908,
-0.025179700925946236,
-0.013812252320349216,
0.03622593358159065,
0.06456425040960312,
-0.03433433175086975,
-0.06681275367736816,
0.00756194069981575,
-0.040258970111608505,
-0.03303162753582001,
-0.050894759595394135,
0.006897203624248505,
-0.0033058396074920893,
-0.07730578631162643,
-0.007361181080341339,
-0.06902556866407394,
-0.018202193081378937,
-0.005005603190511465,
0.027624504640698433,
0.017051171511411667,
0.0036627452354878187,
0.04090140014886856,
0.05235807225108147,
0.019112301990389824,
-0.050038184970617294,
0.014151313342154026,
0.029533950611948967,
-0.02325240895152092,
0.024394508451223373,
-0.011617282405495644,
0.08265937119722366,
-0.0451485775411129,
0.013981782831251621,
-0.030908038839697838,
0.01409777719527483,
0.020147329196333885,
-0.05631972849369049,
0.04022327810525894,
-0.03131847828626633,
-0.03162185102701187,
0.025768594816327095,
-0.01652473583817482,
-0.0016361897578462958,
0.004434553906321526,
-0.01639089733362198,
-0.06335076689720154,
0.029284115880727768,
0.050216637551784515,
0.006642908323556185,
0.034209415316581726,
0.007022120524197817,
-0.028159864246845245,
0.006437687668949366,
-0.004207026679068804,
0.017568685114383698,
-0.05271497741341591,
0.0004377672157716006,
0.027999255806207657,
-0.052929122000932693,
-0.009895212016999722,
-0.02607196569442749,
-0.01925506442785263,
0.019719041883945465,
-0.03893841803073883,
-0.04539841040968895,
0.022609978914260864,
-0.02078975923359394,
0.08215970546007156,
0.04054449498653412,
-0.03303162753582001,
-0.04796813428401947,
-0.01217940915375948,
-0.030568977817893028,
0.029337652027606964,
0.014534986577928066,
-0.005701569374650717,
-0.021789096295833588,
-0.05075199902057648,
0.01755976304411888,
-0.011313912458717823,
-0.02673223987221718,
0.003386143362149596,
-0.060174308717250824,
-0.01294675562530756,
-0.0369754359126091,
-0.004186950623989105,
0.03654715046286583,
-0.025661522522568703,
0.05653386935591698,
-0.02350224368274212,
0.02205677516758442,
0.01596261002123356,
0.05639110878109932,
-0.01661396212875843,
0.012090181931853294,
0.022342300042510033,
-0.04029465839266777,
-0.02751743420958519,
0.04282869026064873,
0.009123403578996658,
0.004095493350178003,
0.07730578631162643,
0.02196754887700081,
0.03925963118672371,
0.02503693848848343,
0.07070302963256836,
-0.029337652027606964,
-0.013749794103205204,
0.06203021854162216,
-0.02164633385837078,
-0.028766604140400887,
0.03975930064916611,
0.028748758137226105,
0.0029645483009517193,
0.011251453310251236,
0.09158201515674591,
-0.011599437333643436,
-0.015587858855724335,
-0.04132968559861183,
-0.012464933097362518,
0.0050100646913051605,
0.006437687668949366,
0.03911687061190605,
-0.010037974454462528,
0.01848771795630455,
-0.021396499127149582,
-0.027142683044075966,
0.04322128742933273,
-0.006906126160174608,
0.004280638415366411,
0.019986722618341446,
-0.07387948781251907,
-0.029837321490049362,
-0.03840306028723717,
0.08151727169752121,
0.018434181809425354,
-0.018095120787620544,
0.034209415316581726,
-0.023805612698197365,
0.003992883022874594,
-0.025072628632187843,
0.03287101909518242,
-0.018077276647090912,
-0.03776062652468681,
0.037617865949869156,
0.006241389084607363,
-0.04557686299085617,
0.010278885252773762,
-0.001209018169902265,
0.013178744353353977,
-0.03865289315581322,
0.01889815926551819,
-0.029373344033956528,
0.025197545066475868,
-0.04629067704081535,
-0.052429456263780594,
-0.05428536608815193,
-0.0007182728149928153,
-0.004657620098441839,
0.009333085268735886,
-0.006888281088322401,
0.00970783643424511,
0.020664842799305916,
0.055998511612415314,
-0.004026343114674091,
-0.00008762314973864704,
-0.0787334069609642,
0.04864625260233879,
-0.04900315776467323,
-0.030729584395885468,
0.06731242686510086,
-0.020058102905750275,
0.019861804321408272,
0.006892742123454809,
0.025768594816327095,
-0.024465888738632202,
-0.0038411980494856834,
-0.07794821262359619,
-0.06277972459793091,
0.040330350399017334,
-0.014418992213904858,
0.0259113572537899,
-0.05125166475772858,
0.046469129621982574,
0.017961282283067703,
0.02462649717926979,
-0.08715638518333435,
-0.02871306799352169,
-0.07473606616258621,
-0.009114480577409267,
0.014758052304387093,
-0.004561701789498329,
0.11128321290016174,
0.0446489080786705,
0.00014666595961898565,
-0.0136784128844738,
0.06502822786569595,
-0.03801046311855316,
-0.003979498986154795,
0.023216718807816505,
-0.06306524574756622,
0.04925299435853958,
-0.010421647690236568,
-0.05035940185189247,
0.045541174709796906,
-0.014151313342154026,
-0.01941567286849022,
-0.01286645233631134,
0.017916668206453323,
-0.024751413613557816,
0.005353586282581091,
-0.014320842921733856,
-0.02708914689719677,
0.05139442905783653,
0.008164218626916409,
-0.014276229776442051,
-0.01409777719527483,
0.03840306028723717,
0.011902806349098682,
0.041615210473537445,
-0.007343336008489132,
0.02717837318778038,
0.017738215625286102,
-0.03478046506643295,
0.029587486758828163,
-0.0027347903233021498,
-0.0403660386800766,
0.012224022299051285,
-0.01907661184668541,
0.006062936503440142,
0.026518097147345543,
0.011313912458717823,
-0.008360517211258411,
-0.007383487652987242,
0.016872718930244446,
-0.01857694424688816,
0.026857158169150352,
0.04504150524735451,
0.009573996998369694,
-0.011661895550787449,
-0.015097113326191902,
0.026428870856761932,
-0.023645006120204926,
0.013544573448598385,
-0.0475398451089859,
0.04832503944635391,
0.008538969792425632,
0.008672810159623623,
-0.003783200867474079,
-0.031229253858327866,
0.034370023757219315,
-0.02239583618938923,
0.01379440724849701,
-0.0035400588531047106,
-0.03779631853103638,
-0.008074992336332798,
-0.0003825583553407341,
0.035030297935009,
0.052250999957323074,
-0.06731242686510086,
0.021235892549157143,
0.09600764513015747,
-0.012295403517782688,
-0.04282869026064873,
0.05160856992006302,
0.003504368243739009,
-0.08644257485866547,
0.018541254103183746,
0.009556150995194912,
-0.032067980617284775,
-0.004140106495469809,
-0.006665214896202087,
0.04796813428401947,
-0.03278179466724396,
0.025322463363409042,
0.0393667034804821,
0.001162174390628934,
-0.05542746186256409,
0.08151727169752121,
0.0490388497710228,
-0.05424967408180237,
0.011644050478935242,
-0.007428100798279047,
-0.027124837040901184,
0.07323706150054932,
0.009333085268735886,
0.06024568900465965,
-0.05339309945702553,
0.036832671612501144,
-0.005143904127180576,
-0.04054449498653412,
0.018362801522016525,
0.0653851330280304,
0.03329930827021599,
0.004095493350178003,
0.038545820862054825,
-0.020075948908925056,
-0.02105743996798992,
0.01082316692918539,
-0.005554345902055502,
0.0230739563703537,
-0.03158615902066231,
-0.0014242769684642553,
0.06252988427877426,
0.015926919877529144,
-0.011661895550787449,
0.005585575010627508,
0.008538969792425632,
0.011304989457130432,
0.02214600145816803,
-0.037617865949869156,
0.04222194850444794,
-0.014882969669997692,
-0.032335661351680756,
0.04207918792963028,
-0.010484106838703156,
0.05014525726437569,
-0.061816077679395676,
0.021432191133499146,
-0.020843295380473137,
0.03281748294830322
]
|
31,509 | laspy.point.dims | __ne__ | null | def __ne__(self, other: "DimensionInfo") -> bool:
return not self == other
| (self, other: laspy.point.dims.DimensionInfo) -> bool | [
0.049005184322595596,
-0.010680176317691803,
0.02007254958152771,
0.04660128429532051,
-0.06377198547124863,
-0.0339636467397213,
-0.03997339308261871,
0.022150205448269844,
0.02647722139954567,
0.020828060805797577,
0.004842137917876244,
-0.05326351523399353,
0.028623560443520546,
-0.03070121444761753,
-0.024708639830350876,
-0.02199566923081875,
-0.037569496780633926,
0.03660793602466583,
0.050893958657979965,
-0.028572047129273415,
-0.018269626423716545,
-0.01227705180644989,
0.0020186305046081543,
0.05446546524763107,
0.021858302876353264,
0.058998532593250275,
-0.013736560940742493,
0.021566402167081833,
-0.015075876377522945,
0.048936501145362854,
-0.11044195294380188,
-0.02901848591864109,
0.07912259548902512,
0.025584345683455467,
0.05542702600359917,
-0.018029237166047096,
-0.010954908095300198,
0.059857066720724106,
-0.07115538418292999,
-0.012637636624276638,
-0.04007641598582268,
-0.02728424407541752,
0.008559594862163067,
0.015908654779195786,
0.025876248255372047,
-0.04296109452843666,
0.01979781873524189,
-0.030220434069633484,
-0.07191089540719986,
0.03818764165043831,
-0.004159602336585522,
-0.013212854973971844,
0.006550622638314962,
0.11504369974136353,
-0.07891654223203659,
0.04306412115693092,
0.043338850140571594,
0.03774120286107063,
-0.038943152874708176,
0.04347621649503708,
-0.08674638718366623,
0.016732849180698395,
0.014431974850594997,
-0.10893093049526215,
-0.03243545442819595,
-0.026133807376027107,
-0.06555774062871933,
-0.000943852006457746,
-0.024038981646299362,
0.06198623403906822,
-0.04879913479089737,
0.0036251642741262913,
0.02510356530547142,
0.044472116976976395,
-0.011830613017082214,
-0.061505451798439026,
0.06311950087547302,
0.09340861439704895,
0.05168381333351135,
-0.07836708426475525,
-0.0030628240201622248,
-0.03374042734503746,
0.00550750270485878,
-0.01838982105255127,
-0.022716838866472244,
0.04234294965863228,
0.022665325552225113,
0.04666996747255325,
0.019437234848737717,
-0.03425554931163788,
-0.0070399874821305275,
0.008666912093758583,
0.0000718352384865284,
-0.0418965108692646,
0.04244597628712654,
0.06542037427425385,
-0.019918013364076614,
-0.03408384323120117,
0.021051280200481415,
-0.027421610429883003,
0.0462578684091568,
-0.018235284835100174,
0.015161729417741299,
-0.009967592544853687,
-0.004528772551566362,
-0.026631757616996765,
-0.0019681917037814856,
-0.031920336186885834,
-0.06823636591434479,
0.012663392350077629,
-0.05443112552165985,
0.08578482270240784,
-0.0503101572394371,
0.01979781873524189,
0.024657128378748894,
-0.012706318870186806,
-0.029430583119392395,
-0.005421649198979139,
-0.0006149257533252239,
0.009727202355861664,
-0.005009551998227835,
0.06459617614746094,
0.0024790200404822826,
0.015779875218868256,
0.04873045161366463,
0.005670624319463968,
0.03008306957781315,
0.029138680547475815,
-0.029928533360362053,
-0.03176579624414444,
0.04824967309832573,
-0.014895583502948284,
-0.006323110777884722,
0.06995344161987305,
0.021652255207300186,
0.045330651104450226,
0.06346291303634644,
0.00012287782737985253,
-0.01242300309240818,
0.01462943758815527,
-0.006198623217642307,
0.0025305321905761957,
0.04409436136484146,
0.055083610117435455,
-0.027164049446582794,
0.028520535677671432,
-0.10460391640663147,
0.029928533360362053,
-0.0028696535155177116,
-0.005992575082927942,
-0.05474019795656204,
0.010431201197206974,
0.038118958473205566,
-0.029430583119392395,
-0.05583912134170532,
-0.004022236913442612,
-0.007357645779848099,
-0.015015779063105583,
0.017994895577430725,
-0.008332083001732826,
-0.04014509916305542,
-0.004919406026601791,
0.06579812616109848,
-0.0007914620218798518,
-0.025292443111538887,
-0.03787856921553612,
0.021257327869534492,
-0.06555774062871933,
-0.0012974611017853022,
0.04014509916305542,
0.030340630561113358,
-0.012337149120867252,
-0.006559208035469055,
0.026391368359327316,
-0.03174862638115883,
0.04402567818760872,
0.006567793432623148,
0.0027258489280939102,
-0.008070229552686214,
0.013882512226700783,
0.03344852849841118,
-0.04484987258911133,
-0.05559873208403587,
0.0026571659836918116,
0.04395699501037598,
-0.03008306957781315,
-0.012577539309859276,
-0.044506460428237915,
0.00862827803939581,
0.034736327826976776,
0.0022879960015416145,
0.0055890632793307304,
-0.016535386443138123,
0.0006465842598117888,
0.039767343550920486,
-0.03842803090810776,
-0.005713550839573145,
-0.002444678684696555,
0.011409930884838104,
0.045330651104450226,
-0.04038549214601517,
-0.019952354952692986,
0.0015238997293636203,
-0.014680949971079826,
-0.0043334560468792915,
-0.0010152177419513464,
-0.03763817623257637,
-0.04007641598582268,
0.029379069805145264,
0.026391368359327316,
0.009950421750545502,
-0.020707866176962852,
0.05041318014264107,
0.0010452665155753493,
0.049485962837934494,
0.015384948812425137,
-0.03966432064771652,
-0.006117062643170357,
-0.034169696271419525,
0.030271947383880615,
0.07177353650331497,
-0.049005184322595596,
0.03568071871995926,
0.029104338958859444,
-0.005292868707329035,
0.01811509020626545,
0.031937506049871445,
0.002193557098507881,
0.03142238408327103,
-0.06370330601930618,
0.009701446630060673,
0.007971498183906078,
-0.01410573162138462,
-0.028589218854904175,
0.002264386275783181,
0.020707866176962852,
-0.028572047129273415,
-0.025034882128238678,
0.026631757616996765,
0.014723876491189003,
-0.03130218759179115,
-0.030769897624850273,
-0.006881158798933029,
0.042514655739068985,
0.006928378250449896,
-0.07452084869146347,
-0.014466316439211369,
0.07884786278009415,
0.012096758931875229,
0.029379069805145264,
0.000678779324516654,
-0.06919793039560318,
-0.059238921850919724,
-0.00019182893447577953,
0.040866270661354065,
-0.03255565091967583,
-0.08997447788715363,
-0.036917008459568024,
0.06401237845420837,
-0.011907882057130337,
-0.045296311378479004,
0.018269626423716545,
0.0023137519601732492,
0.03904617577791214,
-0.019334210082888603,
0.008366424590349197,
0.010207981802523136,
0.04100363701581955,
-0.002240776550024748,
0.004311992321163416,
0.04327016696333885,
0.005816575139760971,
0.04443777725100517,
0.01748836040496826,
-0.003526432905346155,
0.029894191771745682,
0.03681398555636406,
-0.04021378234028816,
-0.006778134498745203,
-0.017737334594130516,
0.01811509020626545,
0.00517267407849431,
-0.018544357270002365,
-0.02980833873152733,
-0.03040931187570095,
-0.02153206057846546,
-0.01599450781941414,
-0.04982937499880791,
-0.017007580026984215,
-0.00452448008581996,
0.0028288729954510927,
0.025223759934306145,
0.0275761466473341,
0.021257327869534492,
-0.02675195410847664,
0.019608940929174423,
0.014655194245278835,
-0.0055504292249679565,
0.00041102367686107755,
0.04213690012693405,
0.03204052895307541,
-0.0016054606530815363,
-0.03602413088083267,
-0.007009938824921846,
0.03451311215758324,
-0.008954521268606186,
0.036367546766996384,
0.06335988640785217,
0.057281460613012314,
0.019110990688204765,
0.015273339115083218,
0.007765450049191713,
-0.006941256113350391,
0.023369325324892998,
0.041244026273489,
0.05474019795656204,
0.040591537952423096,
0.006305939983576536,
-0.013985536061227322,
0.11696682125329971,
0.0008531692437827587,
0.027473121881484985,
-0.07486426085233688,
-0.006082721054553986,
-0.06133374571800232,
-0.04818098992109299,
0.01337597705423832,
0.030323458835482597,
-0.0024103373289108276,
0.049451619386672974,
0.008207594975829124,
-0.009624178521335125,
0.04395699501037598,
-0.003341847797855735,
0.020845232531428337,
-0.052027225494384766,
0.01748836040496826,
0.03592110797762871,
0.05858643352985382,
0.0035800912883132696,
0.00817754678428173,
0.002133459784090519,
0.013127001002430916,
-0.049795035272836685,
0.02702668495476246,
0.011942222714424133,
-0.03519994020462036,
0.011057931929826736,
0.04993240162730217,
0.061505451798439026,
-0.04876479133963585,
0.03602413088083267,
0.02148054726421833,
-0.02955077774822712,
0.023798592388629913,
0.03313945606350899,
-0.025876248255372047,
0.018613040447235107,
-0.03990470990538597,
0.022630983963608742,
0.025395467877388,
0.006168574560433626,
0.00874418020248413,
-0.0056620389223098755,
0.011349833570420742,
-0.023781422525644302,
0.005331502761691809,
-0.026271173730492592,
-0.049005184322595596,
-0.06229530647397041,
-0.08111439645290375,
-0.039767343550920486,
-0.019935185089707375,
-0.05271405354142189,
-0.0066493540070950985,
-0.028331657871603966,
-0.05604517087340355,
0.024657128378748894,
-0.0135476840659976,
0.0005988281918689609,
0.06682837009429932,
0.019042307510972023,
-0.04570840671658516,
0.02148054726421833,
0.0028567754197865725,
0.028881119564175606,
-0.020141232758760452,
0.010542810894548893,
0.011418516747653484,
0.03966432064771652,
0.021858302876353264,
-0.06143677234649658,
-0.012611879967153072,
0.03423837944865227,
-0.052611030638217926,
-0.007400572299957275,
-0.0692322701215744,
-0.029138680547475815,
-0.08860082179307938,
0.007877059280872345,
0.01044837199151516,
0.019402893260121346,
-0.019093820825219154,
0.026425709947943687,
0.02706102654337883,
0.01983216032385826,
0.00503101572394371,
0.03980168700218201,
0.0009819495026022196,
0.009478227235376835,
0.015221826732158661,
-0.03715739771723747,
0.007585157640278339,
-0.011727589182555676,
-0.0003734627680387348,
-0.01072310283780098,
0.010740273632109165,
-0.018819088116288185,
0.0706746056675911,
0.0011225346243008971,
-0.0012234124587848783,
-0.0015614606672897935,
0.017393920570611954,
-0.01606319099664688,
-0.032195065170526505,
-0.025807565078139305,
-0.039458271116018295,
-0.002412483561784029,
-0.008499497547745705,
0.011933637782931328,
-0.037569496780633926,
-0.042205583304166794,
0.07369665056467056,
-0.018012065440416336,
0.02290571667253971,
-0.02955077774822712,
-0.021102791652083397,
-0.09031789004802704,
0.0011579492129385471,
0.07218562811613083,
-0.00041719438740983605,
-0.02570454031229019,
0.00026359708863310516,
-0.02985985018312931,
-0.0496576689183712,
0.015135973691940308,
0.00890300888568163,
0.029413411393761635,
0.042274266481399536,
-0.004751991480588913,
0.05934194475412369,
0.04608616232872009,
-0.02735292725265026,
-0.05961667746305466,
-0.022665325552225113,
-0.0701938271522522,
-0.11037327349185944,
-0.03319096565246582,
0.0064905253238976,
0.025292443111538887,
-0.06768690794706345,
0.021961327642202377,
-0.09031789004802704,
-0.02733575738966465,
-0.021257327869534492,
0.02144620567560196,
0.013127001002430916,
-0.025515662506222725,
0.02429654262959957,
0.0328303799033165,
0.016097532585263252,
-0.06212360039353371,
-0.004816381726413965,
0.001235217321664095,
-0.04151875525712967,
0.02874375507235527,
-0.006537744775414467,
0.04745981842279434,
0.016818702220916748,
0.003264579689130187,
-0.014414804056286812,
0.04268636554479599,
-0.023832933977246284,
-0.05717843770980835,
0.015633923932909966,
-0.016149044036865234,
-0.04406002163887024,
0.006335989106446505,
0.01897362619638443,
0.02342083677649498,
-0.0002370361762586981,
-0.03198901563882828,
-0.06645061820745468,
0.018458504229784012,
0.04443777725100517,
-0.013865341432392597,
0.019608940929174423,
-0.012920953333377838,
0.03010023944079876,
-0.014612266793847084,
-0.011512955650687218,
0.028314486145973206,
-0.036367546766996384,
-0.004872186575084925,
0.03313945606350899,
-0.044163044542074203,
0.029962874948978424,
0.030289117246866226,
-0.0341353565454483,
0.0056577459909021854,
-0.010044860653579235,
-0.02953360602259636,
0.056766338646411896,
0.0231289342045784,
0.07493294030427933,
-0.0009937543654814363,
-0.03523427993059158,
-0.03829066455364227,
0.017359578981995583,
-0.03856539726257324,
0.04570840671658516,
0.004670430906116962,
-0.0017245823983103037,
-0.028005413711071014,
-0.04272070527076721,
0.013247196562588215,
-0.006838231813162565,
-0.03435857221484184,
-0.014895583502948284,
-0.05443112552165985,
-0.00503101572394371,
-0.049451619386672974,
0.00662789074704051,
0.0206220131367445,
-0.01586572825908661,
0.02901848591864109,
-0.03537164628505707,
0.02791956067085266,
-0.009366617538034916,
0.06239832937717438,
-0.0007179499370977283,
-0.024657128378748894,
0.0651799812912941,
-0.0007995108026079834,
-0.04574275016784668,
0.0469103567302227,
-0.00027741416124626994,
0.030220434069633484,
0.012878025881946087,
0.0367109589278698,
0.02096542716026306,
0.00858964305371046,
0.0629134476184845,
-0.03932090848684311,
0.01926552690565586,
0.059822723269462585,
-0.03677964210510254,
0.023901617154479027,
0.07129275053739548,
0.025498492643237114,
-0.012800757773220539,
-0.0071129631251096725,
0.12287354469299316,
-0.048970840871334076,
-0.028005413711071014,
-0.01477538887411356,
0.006288769654929638,
-0.014672364108264446,
0.015745533630251884,
0.05570175498723984,
-0.021068450063467026,
-0.0005218283622525632,
-0.02985985018312931,
-0.028829608112573624,
0.013238610699772835,
0.03150823712348938,
0.00239960546605289,
0.00752935279160738,
-0.05357258766889572,
-0.09553778171539307,
-0.04385397210717201,
0.030529508367180824,
0.02702668495476246,
-0.020312940701842308,
0.006095598917454481,
-0.01311841607093811,
-0.04354489967226982,
-0.010388274677097797,
0.07012514770030975,
-0.001191217452287674,
0.014165828935801983,
0.023008739575743675,
0.04605182260274887,
-0.06198623403906822,
0.006666524801403284,
0.014869827777147293,
0.0328303799033165,
-0.03506257385015488,
-0.006730915047228336,
-0.002067996421828866,
0.018183773383498192,
-0.002931897295638919,
-0.015221826732158661,
-0.033379845321178436,
0.004320577718317509,
-0.013187099248170853,
-0.022974397987127304,
-0.01325578149408102,
-0.02146337740123272,
-0.02366122603416443,
0.043613582849502563,
0.03039214201271534,
-0.017754506319761276,
-0.06188320741057396,
0.035818085074424744,
-0.02623683214187622,
-0.0194887463003397,
0.030598189681768417,
-0.04299543797969818,
0.031181994825601578,
-0.005056771449744701,
-0.008160375989973545,
-0.04543367773294449,
-0.0019435087451711297,
-0.05213024839758873,
-0.044746849685907364,
0.04570840671658516,
-0.007507889531552792,
0.0017964846920222044,
0.02728424407541752,
0.015170315280556679,
-0.0041488707065582275,
-0.02900131419301033,
-0.031147653236985207,
-0.05851775035262108,
-0.056285560131073,
-0.02429654262959957,
0.015513729304075241,
-0.000026275869458913803,
0.1025434285402298,
0.01571977697312832,
-0.017376750707626343,
-0.017368163913488388,
0.05652594938874245,
-0.09210364520549774,
-0.05099698528647423,
0.03126784786581993,
-0.04261768236756325,
0.010542810894548893,
-0.024451078847050667,
-0.04038549214601517,
0.03143955394625664,
0.018527187407016754,
-0.05714409425854683,
-0.023918787017464638,
0.028400341048836708,
-0.02172093838453293,
0.03904617577791214,
0.013770902529358864,
-0.03210921213030815,
0.06888885796070099,
-0.0016977530904114246,
-0.03942393139004707,
-0.0033182380720973015,
0.05717843770980835,
0.012766417115926743,
0.04845571890473366,
-0.044712506234645844,
0.02173810824751854,
-0.005348673555999994,
-0.028331657871603966,
0.012371490709483624,
-0.024657128378748894,
-0.05295444279909134,
-0.018286798149347305,
-0.03674530237913132,
-0.027164049446582794,
0.035749401897192,
-0.02124015800654888,
0.0007410231046378613,
-0.034719157963991165,
-0.014886998571455479,
-0.052611030638217926,
0.022648155689239502,
0.009297935292124748,
0.04488421231508255,
-0.030477995052933693,
-0.036436229944229126,
0.031920336186885834,
-0.023764250800013542,
0.005696380045264959,
-0.04186217114329338,
0.03647056967020035,
0.04581143334507942,
0.046979039907455444,
-0.02366122603416443,
-0.028262974694371223,
0.010431201197206974,
0.011160955764353275,
0.01921401545405388,
0.019729135558009148,
-0.004112382885068655,
-0.013427488505840302,
0.022115863859653473,
0.036401886492967606,
0.02843468263745308,
-0.021274499595165253,
0.015942996367812157,
0.07486426085233688,
-0.013856756500899792,
-0.04821532964706421,
0.06480222940444946,
-0.008696960285305977,
-0.06023482233285904,
-0.02281986176967621,
0.025807565078139305,
0.0026271173264831305,
-0.01365070790052414,
-0.014431974850594997,
0.005314331967383623,
-0.02003820799291134,
0.0206220131367445,
-0.010096373036503792,
0.026700440794229507,
-0.013573439791798592,
0.07665000855922699,
0.007215987425297499,
-0.10522206127643585,
0.006335989106446505,
-0.031388044357299805,
0.001984289148822427,
0.06449315696954727,
-0.00048292597057297826,
0.053709954023361206,
-0.014844071120023727,
0.03952695429325104,
-0.023025911301374435,
-0.00006107001536292955,
-0.00502672279253602,
0.040007736533880234,
0.017685823142528534,
0.010929151438176632,
0.048970840871334076,
-0.005919599439948797,
-0.00352428643964231,
0.004666137974709272,
0.008877253159880638,
0.057006727904081345,
-0.04234294965863228,
-0.022699667140841484,
0.07163617014884949,
0.027490293607115746,
-0.006619305349886417,
-0.0043785287998616695,
0.04907386377453804,
0.028005413711071014,
0.033328332006931305,
-0.017634309828281403,
0.018853429704904556,
-0.03564637526869774,
-0.03010023944079876,
0.02761048823595047,
0.020518988370895386,
0.016294995322823524,
-0.08331224322319031,
0.02484600618481636,
0.0030606775544583797,
0.02513790689408779
]
|
31,510 | namedtuple_DimensionInfo | __new__ | Create new instance of DimensionInfo(name, kind, num_bits, num_elements, is_standard, description, offsets, scales) | from builtins import function
| (_cls, name: str, kind: laspy.point.dims.DimensionKind, num_bits: int, num_elements: int = 1, is_standard: bool = True, description: str = '', offsets: Optional[numpy.ndarray] = None, scales: Optional[numpy.ndarray] = None) | [
0.009987438097596169,
-0.03448875993490219,
0.019406022503972054,
0.011531468480825424,
0.012425380758941174,
0.06140364706516266,
-0.0008573431405238807,
0.005846999119967222,
-0.012457886710762978,
-0.02476949617266655,
-0.015155876986682415,
0.03673166781663895,
0.0068709347397089005,
0.005513813346624374,
-0.06845743209123611,
-0.00024112776736728847,
0.03549644351005554,
0.0906914621591568,
-0.028101351112127304,
-0.002236812375485897,
-0.06644206494092941,
0.018658388406038284,
0.036829184740781784,
-0.01482269074767828,
0.03001919947564602,
0.1003132089972496,
0.037869375199079514,
-0.04498816654086113,
0.010848844423890114,
-0.052789583802223206,
-0.010718820616602898,
-0.04229017719626427,
0.004028700292110443,
-0.0029092782642692327,
-0.0009629873093217611,
-0.04924644157290459,
0.023127948865294456,
0.04050235450267792,
-0.061208613216876984,
-0.07209809124469757,
0.03507386893033981,
0.01135268621146679,
-0.011247041635215282,
0.003183546708896756,
-0.008768467232584953,
-0.00689125107601285,
-0.02332298457622528,
-0.0341637022793293,
0.01773197017610073,
0.010336876846849918,
0.006306144874542952,
-0.037056729197502136,
0.06715719401836395,
-0.014066928997635841,
-0.015350911766290665,
0.07482858747243881,
0.01045877393335104,
0.019666070118546486,
-0.03968970477581024,
0.04989656060934067,
-0.03315601870417595,
0.023810572922229767,
-0.026394791901111603,
-0.041997626423835754,
0.028020087629556656,
0.03588651493191719,
-0.04352540150284767,
-0.017244379967451096,
-0.057340409606695175,
0.029889175668358803,
-0.06107858940958977,
0.014042549766600132,
0.0058510624803602695,
-0.030230488628149033,
0.055910151451826096,
-0.01782948710024357,
-0.09316191077232361,
-0.01740691065788269,
0.009174791164696217,
-0.022039001807570457,
0.01517212949693203,
-0.036829184740781784,
-0.012864210642874241,
0.033643607050180435,
-0.027678774669766426,
-0.040534857660532,
-0.03799939900636673,
0.001794935204088688,
-0.012669174931943417,
0.009207296185195446,
-0.05431736260652542,
-0.016456112265586853,
-0.0481412410736084,
0.027044910937547684,
0.003520795376971364,
-0.006586508359760046,
0.01877215877175331,
-0.02301417849957943,
0.03377363085746765,
-0.04784868657588959,
0.061858732253313065,
0.01950354129076004,
0.007000958546996117,
-0.05464242026209831,
0.040567364543676376,
0.04784868657588959,
0.00470929266884923,
0.015342785976827145,
-0.023599283769726753,
0.007021274883300066,
-0.046515945345163345,
0.010028070770204067,
0.016919322311878204,
-0.014497632160782814,
-0.004473624750971794,
-0.03289597108960152,
0.02541961520910263,
0.004266399424523115,
0.02199024148285389,
0.012766692787408829,
0.01708185113966465,
0.04313533008098602,
0.0028523928485810757,
-0.010182473808526993,
0.10252360999584198,
0.05483745411038399,
0.02296542003750801,
0.013953158631920815,
0.05096925422549248,
-0.0007715072715654969,
0.004384233616292477,
0.028020087629556656,
-0.04573580250144005,
0.03250590339303017,
-0.04560577869415283,
-0.010588797740638256,
-0.01585475355386734,
0.0447281189262867,
0.005964832846075296,
0.03832445666193962,
-0.041997626423835754,
0.0013682952849194407,
0.04118497669696808,
-0.009126031771302223,
-0.036406610161066055,
-0.014050675556063652,
-0.003236368764191866,
0.02959662303328514,
0.0005774876335635781,
0.011173903942108154,
-0.0058510624803602695,
0.031904540956020355,
0.031937047839164734,
0.020478717982769012,
0.005278145894408226,
0.05018911138176918,
0.05301712453365326,
-0.05262705311179161,
0.016634894534945488,
-0.053439702838659286,
0.012547277845442295,
0.07105790078639984,
-0.06007090583443642,
-0.014522011391818523,
0.017016839236021042,
-0.01410756167024374,
0.023989355191588402,
-0.036959208548069,
0.021795207634568214,
0.004071364179253578,
-0.014660161919891834,
-0.04261523857712746,
0.018317075446248055,
0.04560577869415283,
0.0633540004491806,
0.037869375199079514,
-0.04524821415543556,
0.09023638069629669,
0.005241576582193375,
0.029060276225209236,
-0.0034639101941138506,
0.0009589241235516965,
-0.11110517382621765,
0.00977614987641573,
0.015789741650223732,
0.05022161826491356,
0.040534857660532,
-0.02060874179005623,
0.026573574170470238,
-0.03565897420048714,
-0.029434094205498695,
0.011986550875008106,
0.052497029304504395,
0.013205522671341896,
-0.006318334490060806,
-0.06793733686208725,
-0.05919324606657028,
0.0022510336712002754,
-0.009597367607057095,
0.0010102224769070745,
-0.005107489880174398,
0.01781323365867138,
0.022819142788648605,
0.05613769218325615,
0.00741134537383914,
0.004229830577969551,
-0.02790631726384163,
0.006436168681830168,
-0.06276889890432358,
-0.02229904755949974,
0.04632091149687767,
-0.059778351336717606,
0.010133714415133,
0.07339832931756973,
-0.001040188828483224,
0.007716088555753231,
0.02121010050177574,
-0.011060132645070553,
0.009288561530411243,
0.009759897366166115,
0.07073283940553665,
0.028458917513489723,
0.009719264693558216,
-0.024184390902519226,
0.09621746838092804,
0.005960769485682249,
-0.01062130369246006,
0.018057027831673622,
0.004146534018218517,
-0.011677744798362255,
0.0557476207613945,
-0.012782946228981018,
-0.00940233189612627,
-0.023404249921441078,
0.006716531701385975,
-0.033221032470464706,
0.03910459950566292,
0.04918142780661583,
0.007691708859056234,
0.007752657402306795,
-0.0006435152608901262,
0.040534857660532,
0.04989656060934067,
0.04599585011601448,
0.0240706205368042,
0.006147678475826979,
0.013774375431239605,
0.03998225927352905,
-0.061891235411167145,
-0.0030718077905476093,
0.015692224726080894,
-0.027126174420118332,
0.015383417718112469,
-0.029466599225997925,
0.007716088555753231,
0.007472293917089701,
0.019942371174693108,
0.002507017692551017,
0.018382087349891663,
-0.004485814366489649,
-0.00873596128076315,
-0.047946203500032425,
-0.033269789069890976,
0.0019818441942334175,
-0.04541074484586716,
-0.03209957852959633,
-0.03102688305079937,
0.048596322536468506,
0.014326975680887699,
-0.0019249588949605823,
0.04576830938458443,
-0.024119378998875618,
-0.004380170255899429,
0.005623520817607641,
-0.06228130683302879,
0.01916222833096981,
-0.011433950625360012,
0.014140067622065544,
0.046580955386161804,
-0.03591902181506157,
0.01183214783668518,
0.01706559769809246,
-0.08210990577936172,
0.013684984296560287,
-0.0823049396276474,
0.007569811772555113,
0.01062130369246006,
-0.051359325647354126,
0.01885342225432396,
-0.004233893472701311,
0.03734927996993065,
0.0041018384508788586,
0.04173757880926132,
0.008687201887369156,
0.0656944289803505,
0.07456853985786438,
-0.022120265290141106,
-0.06517433375120163,
0.06276889890432358,
0.005591014865785837,
0.006761227734386921,
-0.03910459950566292,
-0.01851211115717888,
0.02723994478583336,
-0.024119378998875618,
-0.045085687190294266,
0.06062350794672966,
-0.008874110877513885,
-0.08041960000991821,
0.017992015928030014,
-0.030945617705583572,
-0.007049717474728823,
-0.053829774260520935,
-0.04079490527510643,
0.04300530627369881,
0.03131943568587303,
-0.023778067901730537,
0.018008269369602203,
-0.02342050150036812,
0.05054667592048645,
-0.017959510907530785,
-0.00454676290974021,
0.07053780555725098,
0.05470743402838707,
-0.020478717982769012,
-0.04014478996396065,
0.01984485238790512,
-0.04498816654086113,
0.056690290570259094,
0.03520389273762703,
-0.09251179546117783,
0.015919765457510948,
0.07924938946962357,
0.040664881467819214,
-0.014887702651321888,
0.06657208502292633,
0.02925531193614006,
0.014684541150927544,
-0.025614650920033455,
-0.012327862903475761,
-0.013530581258237362,
0.055617596954107285,
-0.002413563197478652,
0.008410901762545109,
-0.0330747552216053,
-0.0012636668980121613,
-0.038129422813653946,
0.01043439470231533,
0.10525410622358322,
-0.0731382817029953,
0.031872037798166275,
-0.030604306608438492,
-0.034358736127614975,
0.00031490091350860894,
0.03216458857059479,
0.036049045622348785,
-0.009711137972772121,
0.013319293037056923,
-0.02680111490190029,
-0.011409571394324303,
0.0663120374083519,
-0.062248799949884415,
-0.011596480384469032,
0.005656026769429445,
0.02231530100107193,
-0.005436611827462912,
0.021405136212706566,
0.014213205315172672,
0.019097216427326202,
-0.017927004024386406,
0.001064568292349577,
-0.025175821036100388,
-0.059388283640146255,
-0.04173757880926132,
-0.04768615588545799,
-0.024119378998875618,
0.02995418757200241,
0.004936833865940571,
-0.06231381371617317,
0.051781900227069855,
0.057372916489839554,
0.03448875993490219,
-0.0023505829740315676,
-0.033286042511463165,
0.005903884302824736,
0.003770684590563178,
-0.026573574170470238,
0.03213208541274071,
-0.032197095453739166,
0.014408241026103497,
-0.014668287709355354,
-0.011060132645070553,
0.017179368063807487,
0.012457886710762978,
0.008256498724222183,
-0.008849731646478176,
-0.02472073771059513,
-0.05643024668097496,
-0.0019980971701443195,
0.04033982381224632,
0.022802889347076416,
0.07086286693811417,
0.0013347736094146967,
0.04768615588545799,
0.016407353803515434,
-0.0034070247784256935,
0.0349438451230526,
0.016919322311878204,
0.017341898754239082,
-0.028150111436843872,
0.02470448426902294,
-0.050416652113199234,
-0.0970626249909401,
-0.061468660831451416,
0.001500350539572537,
0.024119378998875618,
-0.026281021535396576,
-0.04775116965174675,
-0.01771571673452854,
-0.03031175397336483,
0.027743786573410034,
-0.060851048678159714,
-0.011889033950865269,
0.04248521476984024,
-0.020722512155771255,
-0.03302599489688873,
0.000788268109317869,
0.015269647352397442,
-0.02615099772810936,
0.0324571430683136,
-0.047166064381599426,
0.011417698115110397,
-0.0051562488079071045,
-0.06163118779659271,
0.03578899800777435,
-0.024558208882808685,
-0.05483745411038399,
-0.004372043535113335,
0.0787292942404747,
0.01655363105237484,
0.041315000504255295,
0.05860814079642296,
0.020755019038915634,
-0.043720439076423645,
0.017179368063807487,
0.0005673295818269253,
-0.005530066322535276,
0.08445033431053162,
-0.014993347227573395,
-0.023209214210510254,
-0.00817523431032896,
-0.004081522114574909,
0.000427401828346774,
0.004863695707172155,
0.054577410221099854,
0.0006074540433473885,
-0.047166064381599426,
0.027044910937547684,
-0.011563974432647228,
-0.0042542098090052605,
-0.03578899800777435,
0.023209214210510254,
-0.03861701115965843,
-0.020494971424341202,
-0.02680111490190029,
0.09381203353404999,
-0.010377509519457817,
0.01878841035068035,
0.007569811772555113,
0.015123371034860611,
0.018967192620038986,
0.006517433095723391,
-0.03978722169995308,
-0.029450347647070885,
0.05275707691907883,
0.07183804363012314,
-0.059453293681144714,
-0.017536934465169907,
0.04459809511899948,
-0.02306293696165085,
-0.03211583197116852,
-0.05812055245041847,
0.017861992120742798,
0.02342050150036812,
-0.03458628058433533,
0.02122635394334793,
0.02579343318939209,
-0.016919322311878204,
0.01981234736740589,
-0.048628829419612885,
0.011035753414034843,
0.11806143075227737,
0.03419620916247368,
-0.02372930757701397,
0.026264768093824387,
0.013335546478629112,
-0.009857414290308952,
0.02823137491941452,
-0.013644352555274963,
-0.014879576861858368,
0.0019503540825098753,
0.034683797508478165,
-0.06787232309579849,
0.05828308314085007,
0.03845448046922684,
0.049311451613903046,
0.053862277418375015,
-0.026914887130260468,
-0.05122930184006691,
-0.04560577869415283,
-0.00017040202510543168,
0.01392065268009901,
-0.01813829317688942,
0.011840274557471275,
0.042745258659124374,
-0.02719118632376194,
-0.025159567594528198,
0.012149080634117126,
-0.07885931432247162,
0.005050604231655598,
0.010686314664781094,
-0.05470743402838707,
-0.04560577869415283,
-0.07840423285961151,
-0.009703011251986027,
-0.01953604631125927,
-0.027451233938336372,
0.038129422813653946,
-0.0009040703880600631,
0.040534857660532,
0.034293726086616516,
0.024135632440447807,
-0.0013886115048080683,
-0.01309175230562687,
-0.019633565098047256,
0.0967375636100769,
-0.060168422758579254,
-0.022754130885004997,
0.013010486960411072,
0.03027924709022045,
-0.0299704410135746,
-0.013693111017346382,
0.018642134964466095,
0.04391547292470932,
0.01916222833096981,
-0.021470148116350174,
-0.07528366893529892,
-0.014895829372107983,
-0.00885785836726427,
0.00972739141434431,
-0.029206551611423492,
-0.01912972331047058,
-0.016935573890805244,
0.0015643464867025614,
0.02964538149535656,
-0.055910151451826096,
0.004128249362111092,
-0.02645980380475521,
-0.047588638961315155,
-0.021470148116350174,
-0.01609042100608349,
0.0288814939558506,
0.011271421797573566,
0.026654839515686035,
-0.06806735694408417,
-0.005115616135299206,
0.008402775973081589,
0.0355614572763443,
0.007984261959791183,
-0.061533670872449875,
0.016147306188941002,
-0.004835252650082111,
0.06163118779659271,
-0.038194432854652405,
-0.04014478996396065,
0.07014773786067963,
0.024493196979165077,
-0.06462173163890839,
0.04105495288968086,
-0.042355190962553024,
-0.07248815894126892,
-0.025370856747031212,
0.005115616135299206,
-0.037121739238500595,
-0.027483738958835602,
-0.012409128248691559,
-0.010158094577491283,
0.052106961607933044,
0.009321067482233047,
-0.06663709878921509,
-0.004940897226333618,
-0.0034314042422920465,
0.007183804176747799,
-0.051749397069215775,
-0.012214092537760735,
-0.04105495288968086,
-0.04976653680205345,
0.0535697266459465,
-0.016252951696515083,
-0.047881193459033966,
0.009589240886271,
0.014749553054571152,
-0.0036487875040620565,
-0.028328893706202507,
0.04206263646483421,
0.030799342319369316,
0.0033460762351751328,
-0.022250289097428322,
-0.00722037348896265,
-0.01479831151664257,
-0.032619673758745193,
-0.029905429109930992,
-0.02335548959672451,
-0.017325645312666893,
0.06566192209720612,
0.05252953618764877,
0.022429071366786957,
-0.011401444673538208,
-0.004684912972152233,
0.028361398726701736,
-0.04359041526913643,
0.013449316844344139,
-0.01588725857436657,
-0.02195773646235466,
0.07274820655584335,
0.02654106914997101,
0.025500880554318428,
0.005387853365391493,
0.05617019906640053,
0.0017360183410346508,
-0.0447281189262867,
-0.010588797740638256,
0.0883510410785675,
-0.06276889890432358,
-0.014977093786001205,
-0.02444443851709366,
0.006846555508673191,
0.01097886823117733,
-0.010019944049417973,
0.014855196699500084,
-0.010149967856705189,
-0.022900408133864403,
-0.024233149364590645,
-0.03926713019609451,
0.02749999240040779,
0.013717490248382092,
-0.04417552053928375,
0.003642692696303129,
0.047166064381599426,
-0.05470743402838707,
0.007553558796644211,
0.02715868130326271,
-0.0042379568330943584,
0.08067964762449265,
-0.02472073771059513,
-0.025533385574817657,
-0.00340499309822917,
-0.052106961607933044,
0.07339832931756973,
-0.03825944662094116,
-0.007691708859056234,
-0.024834508076310158,
-0.024639474228024483,
0.06702716648578644,
0.005014035385102034,
-0.040209800004959106,
0.013806881383061409,
-0.03237587958574295,
-0.004351727664470673,
-0.007667329628020525,
0.02962912991642952,
-0.0341637022793293,
0.0040794904343783855,
-0.0543498657643795,
-0.02608598582446575,
0.018300822004675865,
0.02751624584197998,
0.05786050483584404,
0.0009604478254914284,
-0.003126661293208599,
-0.043037813156843185,
-0.023209214210510254,
-0.020624995231628418,
-0.056560270488262177,
-0.03721925616264343,
0.013449316844344139,
-0.04121748358011246,
0.03232711926102638,
-0.003963688388466835,
-0.032245855778455734,
-0.0017634452087804675,
0.0018802632112056017,
-0.026719851419329643,
-0.02504579722881317,
-0.0226728655397892,
0.03809691593050957,
-0.011921538971364498,
-0.027288705110549927,
0.002153516048565507,
-0.017569439485669136,
0.033269789069890976,
0.014977093786001205,
0.005050604231655598,
-0.004008383955806494,
0.02476949617266655,
-0.03903958946466446,
-0.03133568912744522,
-0.02199024148285389,
-0.04072989523410797,
0.026020973920822144,
0.01239287480711937,
-0.030604306608438492,
-0.01648861914873123,
0.030896859243512154,
0.04209514334797859,
-0.05262705311179161,
-0.02964538149535656,
0.07885931432247162,
0.030506787821650505,
-0.00977614987641573,
0.028653951361775398,
-0.037154246121644974,
0.03754431754350662,
0.015399671159684658,
0.06982267647981644,
0.02366429567337036,
-0.06007090583443642,
0.018008269369602203,
-0.044858142733573914,
0.01585475355386734,
-0.004136376082897186,
0.03377363085746765,
-0.04043734073638916,
0.06283390522003174,
0.012685428373515606,
-0.020364947617053986,
-0.010369382798671722,
0.02959662303328514,
-0.020397452637553215,
-0.03380613774061203,
-0.03877954185009003,
-0.06302894651889801,
0.002104757120832801,
-0.015180256217718124,
0.024623220786452293,
-0.019422275945544243,
0.021746447309851646,
-0.024655725806951523,
0.024883268401026726,
0.07248815894126892,
0.006115172524005175,
0.048628829419612885,
0.02299792505800724,
-0.019292252138257027,
0.045865826308727264,
-0.016066042706370354,
-0.01776447519659996,
0.004126217681914568,
-0.03179077059030533,
-0.02758125774562359,
-0.09940304607152939,
0.031481966376304626,
-0.015724729746580124,
-0.02548462711274624,
0.05617019906640053,
-0.02964538149535656,
0.003228242276236415,
0.01674054004251957
]
|
31,513 | collections | _replace | Return a new DimensionInfo object replacing specified fields with new values | def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None):
"""Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)
"""
# Validate the field names. At the user's option, either generate an error
# message or automatically replace the field name with a valid name.
if isinstance(field_names, str):
field_names = field_names.replace(',', ' ').split()
field_names = list(map(str, field_names))
typename = _sys.intern(str(typename))
if rename:
seen = set()
for index, name in enumerate(field_names):
if (not name.isidentifier()
or _iskeyword(name)
or name.startswith('_')
or name in seen):
field_names[index] = f'_{index}'
seen.add(name)
for name in [typename] + field_names:
if type(name) is not str:
raise TypeError('Type names and field names must be strings')
if not name.isidentifier():
raise ValueError('Type names and field names must be valid '
f'identifiers: {name!r}')
if _iskeyword(name):
raise ValueError('Type names and field names cannot be a '
f'keyword: {name!r}')
seen = set()
for name in field_names:
if name.startswith('_') and not rename:
raise ValueError('Field names cannot start with an underscore: '
f'{name!r}')
if name in seen:
raise ValueError(f'Encountered duplicate field name: {name!r}')
seen.add(name)
field_defaults = {}
if defaults is not None:
defaults = tuple(defaults)
if len(defaults) > len(field_names):
raise TypeError('Got more default values than field names')
field_defaults = dict(reversed(list(zip(reversed(field_names),
reversed(defaults)))))
# Variables used in the methods and docstrings
field_names = tuple(map(_sys.intern, field_names))
num_fields = len(field_names)
arg_list = ', '.join(field_names)
if num_fields == 1:
arg_list += ','
repr_fmt = '(' + ', '.join(f'{name}=%r' for name in field_names) + ')'
tuple_new = tuple.__new__
_dict, _tuple, _len, _map, _zip = dict, tuple, len, map, zip
# Create all the named tuple methods to be added to the class namespace
namespace = {
'_tuple_new': tuple_new,
'__builtins__': {},
'__name__': f'namedtuple_{typename}',
}
code = f'lambda _cls, {arg_list}: _tuple_new(_cls, ({arg_list}))'
__new__ = eval(code, namespace)
__new__.__name__ = '__new__'
__new__.__doc__ = f'Create new instance of {typename}({arg_list})'
if defaults is not None:
__new__.__defaults__ = defaults
@classmethod
def _make(cls, iterable):
result = tuple_new(cls, iterable)
if _len(result) != num_fields:
raise TypeError(f'Expected {num_fields} arguments, got {len(result)}')
return result
_make.__func__.__doc__ = (f'Make a new {typename} object from a sequence '
'or iterable')
def _replace(self, /, **kwds):
result = self._make(_map(kwds.pop, field_names, self))
if kwds:
raise ValueError(f'Got unexpected field names: {list(kwds)!r}')
return result
_replace.__doc__ = (f'Return a new {typename} object replacing specified '
'fields with new values')
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
def _asdict(self):
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
# Modify function metadata to help with introspection and debugging
for method in (
__new__,
_make.__func__,
_replace,
__repr__,
_asdict,
__getnewargs__,
):
method.__qualname__ = f'{typename}.{method.__name__}'
# Build-up the class namespace dictionary
# and use type() to build the result class
class_namespace = {
'__doc__': f'{typename}({arg_list})',
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,
'__repr__': __repr__,
'_asdict': _asdict,
'__getnewargs__': __getnewargs__,
'__match_args__': field_names,
}
for index, name in enumerate(field_names):
doc = _sys.intern(f'Alias for field number {index}')
class_namespace[name] = _tuplegetter(index, doc)
result = type(typename, (tuple,), class_namespace)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython), or where the user has
# specified a particular module.
if module is None:
try:
module = _sys._getframe(1).f_globals.get('__name__', '__main__')
except (AttributeError, ValueError):
pass
if module is not None:
result.__module__ = module
return result
| (self, /, **kwds) | [
0.05414407327771187,
0.0013919745106250048,
-0.01541087031364441,
-0.03568399325013161,
-0.032861415296792984,
-0.033335279673337936,
0.0028071270789951086,
0.021509289741516113,
0.02097361721098423,
-0.04615020006895065,
-0.042194467037916183,
0.057110872119665146,
0.004491403233259916,
0.06329170614480972,
0.010837055742740631,
0.033438291400671005,
-0.02985341101884842,
0.05632796883583069,
-0.06539318710565567,
-0.032346345484256744,
0.019057560712099075,
0.01588473469018936,
0.033438291400671005,
0.05978923290967941,
0.03201670199632645,
0.011022481136023998,
0.0188206285238266,
0.010461055673658848,
0.0018259203061461449,
-0.005969651974737644,
-0.004136005416512489,
-0.01582292653620243,
-0.03020365722477436,
-0.010734042152762413,
0.0028431820683181286,
-0.060819368809461594,
-0.05006472393870354,
0.0585530661046505,
0.04928182065486908,
-0.004998746328055859,
0.06399219483137131,
-0.09963498264551163,
-0.049487847834825516,
-0.06098419427871704,
-0.0017757010646164417,
0.023363538086414337,
0.02268364652991295,
-0.011434536427259445,
-0.024249456822872162,
-0.053443580865859985,
0.023590169847011566,
0.006366255227476358,
0.015802321955561638,
-0.004236443899571896,
-0.0231575109064579,
-0.0009998780442401767,
-0.0018272079760208726,
0.061808302998542786,
-0.006912228651344776,
0.02309570275247097,
-0.002181318122893572,
0.05760533735156059,
-0.015060623176395893,
0.010481658391654491,
-0.05422648414969444,
-0.024208251386880875,
-0.009317602030932903,
-0.07351067662239075,
-0.022766059264540672,
0.0012593441642820835,
-0.008977656252682209,
-0.0008556587272323668,
0.018769120797514915,
0.024228854104876518,
0.07635385543107986,
0.042318083345890045,
-0.029214724898338318,
-0.01088856253772974,
0.04425474628806114,
-0.05158932879567146,
-0.016636734828352928,
-0.013412402011454105,
-0.08080405741930008,
-0.04351304471492767,
-0.034241799265146255,
0.03949550539255142,
-0.05047678202390671,
-0.0005121719441376626,
0.030162451788783073,
-0.001742221531458199,
-0.05311393365263939,
0.016008350998163223,
-0.003775457153096795,
0.033335279673337936,
-0.05163053423166275,
-0.08669644594192505,
0.003821813501417637,
-0.03788848966360092,
-0.012887030839920044,
0.03576640412211418,
0.024970553815364838,
-0.045820556581020355,
-0.09188834577798843,
-0.021086933091282845,
-0.008694368414580822,
-0.019830163568258286,
-0.01949021779000759,
-0.01515333540737629,
0.035910625010728836,
-0.03265538811683655,
-0.043183401226997375,
-0.057728953659534454,
-0.02997702732682228,
0.060819368809461594,
-0.003960882313549519,
-0.03405637666583061,
0.021117836236953735,
-0.026000693440437317,
-0.030677521601319313,
-0.031130781397223473,
0.02711324207484722,
0.018810326233506203,
-0.06127263233065605,
0.04911699891090393,
0.008441983722150326,
-0.008957053534686565,
0.0614374540746212,
-0.026000693440437317,
0.03895983472466469,
-0.0032964427955448627,
0.022951483726501465,
0.002979675307869911,
-0.04240049421787262,
0.056822434067726135,
0.017903804779052734,
0.03840355947613716,
0.0498586967587471,
0.05031196027994156,
-0.06984338164329529,
0.03760005161166191,
0.04200904443860054,
-0.012217441573739052,
0.06559921056032181,
0.03547796607017517,
-0.0018272079760208726,
-0.04623261094093323,
0.013360895216464996,
0.006984338164329529,
-0.037497036159038544,
0.030121246352791786,
-0.03302623704075813,
-0.03597243130207062,
0.01885153166949749,
0.022374605759978294,
-0.046438638120889664,
-0.005150692071765661,
-0.011166700161993504,
-0.06407460570335388,
-0.023198716342449188,
-0.04153518006205559,
0.018552793189883232,
-0.05319634824991226,
-0.016131967306137085,
-0.015719911083579063,
0.055339034646749496,
0.021344467997550964,
0.0434306338429451,
-0.08529546111822128,
-0.013618429191410542,
-0.033603113144636154,
-0.00042461015982553363,
0.04126734286546707,
0.026392145082354546,
0.044213540852069855,
-0.03413878753781319,
0.019438711926341057,
-0.007107954937964678,
0.02480573207139969,
0.02396101877093315,
-0.020468849688768387,
0.03879501298069954,
-0.014349827542901039,
-0.061973124742507935,
0.008900395594537258,
0.05847065523266792,
0.031831275671720505,
-0.0019997560884803534,
0.062261562794446945,
0.05220741406083107,
0.026804201304912567,
0.01612166501581669,
-0.04001057520508766,
0.00575847364962101,
-0.006603186950087547,
0.008709819987416267,
0.06300326436758041,
-0.06353893876075745,
0.04619140550494194,
0.017615366727113724,
0.11043083667755127,
-0.027545901015400887,
0.03317045792937279,
0.029214724898338318,
-0.017450544983148575,
0.03284081071615219,
-0.029482560232281685,
0.054926980286836624,
-0.05105365812778473,
-0.03158404305577278,
-0.033726729452610016,
0.08340000361204147,
-0.021406276151537895,
0.007689983118325472,
0.019582930952310562,
-0.01082675438374281,
-0.07252174615859985,
0.05352599173784256,
-0.02985341101884842,
0.0063611045479774475,
-0.004166909959167242,
0.08809743821620941,
0.02338414080440998,
-0.026103707030415535,
-0.005820281803607941,
0.041411563754081726,
-0.04878735542297363,
-0.016173172742128372,
-0.0291117113083601,
-0.03840355947613716,
-0.06386858224868774,
0.0627148225903511,
-0.0128664281219244,
-0.0291117113083601,
-0.019284190610051155,
0.02396101877093315,
-0.0162452831864357,
0.009235190227627754,
-0.03574580326676369,
-0.0231575109064579,
-0.026289131492376328,
0.027834339067339897,
0.03574580326676369,
-0.03380914032459259,
-0.009873876348137856,
-0.009719355963170528,
-0.06745345890522003,
-0.027834339067339897,
0.028163984417915344,
-0.019830163568258286,
0.007741489913314581,
-0.016667639836668968,
0.014998815022408962,
-0.010981274768710136,
0.03271719440817833,
0.004318855237215757,
-0.024723321199417114,
-0.03568399325013161,
-0.013536018319427967,
-0.014277718029916286,
-0.02779313363134861,
0.004151457920670509,
-0.05834703892469406,
0.030759932473301888,
0.0450376495718956,
0.05121847987174988,
-0.027751928195357323,
0.004645924083888531,
-0.025691650807857513,
0.013206373900175095,
0.015287254005670547,
0.120320163667202,
0.03626087307929993,
-0.015462377108633518,
0.016255583614110947,
-0.0453672930598259,
-0.0334588959813118,
0.016461610794067383,
-0.02521778829395771,
0.022786661982536316,
-0.0511360689997673,
-0.008895245380699635,
-0.02286907285451889,
-0.022910278290510178,
-0.01132122054696083,
0.022724851965904236,
0.061355043202638626,
-0.05529782921075821,
0.0307187270373106,
-0.00849349144846201,
-0.00013230839977040887,
0.04516126587986946,
-0.03284081071615219,
0.013422703370451927,
-0.03197549656033516,
0.00042171290260739625,
0.024084635078907013,
-0.08570751547813416,
0.020499754697084427,
0.02338414080440998,
-0.06873083114624023,
-0.024970553815364838,
0.01817164197564125,
0.0411849319934845,
0.038877423852682114,
0.05163053423166275,
-0.04178241267800331,
-0.027381079271435738,
-0.004411567468196154,
-0.011022481136023998,
0.04668587073683739,
-0.027607709169387817,
0.01344330608844757,
-0.021468084305524826,
0.005768775008618832,
0.06024249270558357,
0.022436413913965225,
0.0015052896924316883,
-0.014679471962153912,
0.01478248555213213,
0.043183401226997375,
-0.01478248555213213,
-0.06283844262361526,
-0.048045653849840164,
-0.014360128901898861,
-0.008740724064409733,
-0.03393276035785675,
-0.05072401463985443,
-0.007823901250958443,
0.011856893077492714,
-0.01788320206105709,
-0.03574580326676369,
0.007040996104478836,
0.014205608516931534,
0.05777015909552574,
0.0011756453895941377,
-0.009678150527179241,
0.01001809537410736,
-0.025918282568454742,
0.004411567468196154,
-0.020540960133075714,
0.04911699891090393,
-0.010481658391654491,
-0.046273816376924515,
-0.011156398802995682,
-0.007113105617463589,
-0.017924407497048378,
0.014133499003946781,
0.017007585614919662,
0.12658341228961945,
-0.02286907285451889,
0.01169207040220499,
-0.0836472362279892,
-0.05311393365263939,
0.014051087200641632,
0.04870494455099106,
-0.028328806161880493,
0.002301071537658572,
-0.013268182054162025,
0.006778310518711805,
-0.00915277935564518,
0.00891069695353508,
-0.054185278713703156,
0.0012870291247963905,
0.011383029632270336,
0.020149506628513336,
-0.03545736148953438,
-0.03224333003163338,
-0.014998815022408962,
-0.014689773321151733,
-0.011362425982952118,
0.01618347316980362,
-0.01579202152788639,
-0.029523765668272972,
-0.03566339239478111,
-0.04709792882204056,
-0.032119713723659515,
0.027236858382821083,
0.07379911094903946,
-0.08727332204580307,
-0.0678655207157135,
0.013536018319427967,
-0.06642332673072815,
0.027834339067339897,
0.021086933091282845,
0.012196838855743408,
-0.002473619766533375,
0.05587470531463623,
0.029029300436377525,
0.014205608516931534,
0.0627148225903511,
-0.0669177919626236,
0.01894424483180046,
-0.03605484217405319,
-0.031481027603149414,
0.035374950617551804,
-0.013484511524438858,
-0.03937188908457756,
-0.03599303588271141,
-0.05006472393870354,
-0.012464674189686775,
0.007746640592813492,
-0.04371907189488411,
-0.03529253974556923,
0.04429595172405243,
-0.029194122180342674,
0.01814073696732521,
0.0965033620595932,
-0.04417233541607857,
0.009430916979908943,
-0.00855529960244894,
0.04635622724890709,
0.02367258071899414,
-0.06300326436758041,
-0.08335880190134048,
0.0643218383193016,
0.022477619349956512,
0.010502261109650135,
0.03347949683666229,
0.03560158237814903,
0.03457144275307655,
-0.002518688328564167,
-0.0064332140609622,
0.005990254692733288,
0.0231575109064579,
-0.028843874111771584,
0.04425474628806114,
-0.04384268820285797,
0.024826334789395332,
0.013597826473414898,
0.005055404268205166,
-0.04069046676158905,
0.0012393852230161428,
0.004723184742033482,
-0.012619195505976677,
0.05430889502167702,
-0.03760005161166191,
-0.007890859618782997,
-0.03743522986769676,
-0.010898863896727562,
0.02888507954776287,
0.008895245380699635,
-0.00028473668498918414,
0.010878261178731918,
-0.05047678202390671,
0.0107752475887537,
0.015184239484369755,
-0.047592394053936005,
0.012176236137747765,
0.042091455310583115,
0.016739748418331146,
0.07515889406204224,
0.056698817759752274,
0.08463616669178009,
0.015658102929592133,
-0.0019894547294825315,
-0.03811512142419815,
-0.0392482727766037,
-0.048334091901779175,
0.016090761870145798,
0.002245701616629958,
0.017800791189074516,
-0.02579466439783573,
0.05006472393870354,
0.033273469656705856,
-0.04126734286546707,
-0.00846258644014597,
0.038877423852682114,
-0.06910168379545212,
-0.015379966236650944,
-0.04114372655749321,
0.06551679968833923,
-0.01529755536466837,
0.02486754022538662,
-0.01968594454228878,
-0.03471566364169121,
0.016142267733812332,
0.00024868184118531644,
-0.008581052534282207,
-0.018645504489541054,
-0.07862015813589096,
0.05266067385673523,
-0.021859535947442055,
0.05414407327771187,
0.002265016781166196,
-0.0027890997007489204,
0.0300800409168005,
0.05282549560070038,
0.03036847896873951,
-0.010002643801271915,
0.030409684404730797,
-0.061808302998542786,
0.027875544503331184,
0.051836565136909485,
-0.00831321720033884,
0.005536993965506554,
-0.006474419962614775,
-0.0242906641215086,
0.0414939746260643,
-0.04351304471492767,
-0.03362371772527695,
0.042894963175058365,
-0.05043557658791542,
0.0258976798504591,
-0.031130781397223473,
0.06650573760271072,
-0.03949550539255142,
0.06044851988554001,
0.011022481136023998,
-0.012485276907682419,
-0.03261418268084526,
-0.06378617137670517,
-0.01900605298578739,
0.017450544983148575,
-0.030162451788783073,
0.0019121944205835462,
0.006016008090227842,
0.00469743087887764,
0.02377559430897236,
-0.06568162143230438,
-0.052866701036691666,
0.03751764073967934,
0.029874013736844063,
-0.032861415296792984,
0.015338760800659657,
-0.02991521917283535,
0.028802668675780296,
0.025465020909905434,
-0.00829776469618082,
0.039907559752464294,
0.02447608858346939,
0.002984825987368822,
-0.05043557658791542,
-0.02354896441102028,
-0.05488577485084534,
0.03852717578411102,
0.037043776363134384,
-0.004681978840380907,
0.017955312505364418,
0.04050504043698311,
0.020159808918833733,
0.04821047559380531,
0.05443251132965088,
-0.05546265095472336,
-0.026392145082354546,
-0.011063686572015285,
0.0003277127689216286,
-0.02447608858346939,
0.010079904459416866,
-0.015235747210681438,
-0.030327273532748222,
-0.0064332140609622,
-0.017666872590780258,
0.0015503582544624805,
-0.01034258957952261,
-0.04660345986485481,
-0.0160804595798254,
-0.03589002043008804,
0.004859677981585264,
0.01718270778656006,
0.03014184907078743,
0.005037376657128334,
0.006598036270588636,
0.02447608858346939,
-0.009745108895003796,
-0.0011125494493171573,
0.03197549656033516,
0.03982514888048172,
0.017749285325407982,
-0.007350037340074778,
-0.018326161429286003,
0.030636316165328026,
0.0082823121920228,
0.04693310335278511,
0.01765657216310501,
0.013886265456676483,
0.02946195751428604,
-0.03689955547451973,
0.0038424162194132805,
-0.014823690988123417,
-0.05735810473561287,
0.027669517323374748,
0.04281255230307579,
-0.011547851376235485,
-0.0617670975625515,
-0.011496344581246376,
-0.026289131492376328,
-0.020499754697084427,
0.008194751106202602,
0.02727806381881237,
0.008550148457288742,
-0.023590169847011566,
0.04240049421787262,
-0.004743787460029125,
-0.0003109730314463377,
-0.019315095618367195,
0.02206556499004364,
-0.036590516567230225,
0.006448666099458933,
0.010296232998371124,
0.0010037410538643599,
-0.048045653849840164,
0.03809451684355736,
-0.03347949683666229,
-0.0025354281533509493,
0.0041900877840816975,
-0.036528706550598145,
-0.015524185262620449,
0.006294145714491606,
0.05060039833188057,
0.014174704439938068,
0.061519864946603775,
-0.04854011908173561,
0.03966032713651657,
0.008251408115029335,
-0.0215504951775074,
-0.018284955993294716,
-0.01455585565418005,
-0.015122431330382824,
0.012402866035699844,
-0.048045653849840164,
-0.06794793158769608,
0.024249456822872162,
0.012897332198917866,
0.009374259039759636,
-0.009111573919653893,
-0.056698817759752274,
-0.011197604238986969,
-0.03718799725174904,
0.051259685307741165,
-0.04499644413590431,
-0.03065691888332367,
-0.028122777119278908,
0.023281127214431763,
-0.06695899367332458,
-0.0363432839512825,
0.012413167394697666,
0.020870603621006012,
-0.014761882834136486,
0.014174704439938068,
0.062261562794446945,
0.011640563607215881,
-0.03224333003163338,
-0.006500173360109329,
0.014349827542901039,
-0.010754644870758057,
-0.023281127214431763,
0.05175415426492691,
-0.09600889682769775,
0.04441956803202629,
0.015482979826629162,
-0.020087698474526405,
0.053896840661764145,
0.01529755536466837,
-0.031728263944387436,
-0.025588637217879295,
0.0071182562969625,
-0.07824931293725967,
-0.010522863827645779,
0.02785494178533554,
0.012464674189686775,
0.012135029770433903,
-0.04989990219473839,
0.035333745181560516,
-0.02744288742542267,
0.0057790763676166534,
0.05027075484395027,
-0.024331869557499886,
0.05608073249459267,
0.053278759121894836,
0.018810326233506203,
-0.02354896441102028,
-0.003904224606230855,
0.05455612763762474,
-0.003675018670037389,
-0.026639379560947418,
-0.028617244213819504,
0.025403212755918503,
0.04878735542297363,
-0.032346345484256744,
-0.0016572350868955255,
0.06131383776664734,
0.013402100652456284,
-0.044955238699913025,
-0.026206720620393753,
-0.007453051395714283,
-0.00915277935564518,
0.021056028082966805,
0.005377322435379028,
0.03059511072933674,
-0.0875205546617508,
0.03941309452056885,
0.019788958132267,
0.01739903725683689,
0.019830163568258286,
-0.0617670975625515,
-0.024146443232893944,
0.027257461100816727,
-0.03181067481637001,
0.04796324297785759,
-0.020407041534781456,
0.020602768287062645,
0.005230527836829424,
-0.0024053731467574835,
0.03976334258913994,
0.003723950358107686,
0.05224861949682236,
-0.0013185770949348807,
0.02258063293993473,
0.03879501298069954,
-0.006793762557208538,
-0.008694368414580822,
0.04417233541607857,
0.012021714821457863,
-0.009204286150634289,
0.05093004181981087,
-0.05430889502167702,
0.02659817412495613,
0.07029664516448975,
-0.01561689842492342,
0.03413878753781319,
0.02894688956439495,
-0.017800791189074516,
0.08636680245399475,
-0.002472332213073969,
0.0050631300546228886,
0.00001607579179108143,
-0.029956424608826637,
-0.02544441819190979,
-0.03757944703102112,
0.017841996625065804,
0.04413112998008728,
0.04483162239193916,
-0.04606778919696808,
0.023136908188462257,
0.0324905663728714,
-0.0318518802523613,
0.026000693440437317,
0.018727915361523628,
-0.006175679620355368,
0.07388152182102203,
-0.05801739543676376,
0.06250879913568497,
-0.0012174948351457715,
0.04594417288899422,
-0.04969387501478195,
-0.018903039395809174,
0.05892391502857208,
0.02435247227549553,
-0.00767968175932765,
0.026515761390328407,
0.012959141284227371,
0.037970900535583496,
-0.019582930952310562,
-0.019603533670306206,
0.03275839984416962,
-0.06555800884962082,
0.03941309452056885,
-0.011846591718494892,
-0.028328806161880493,
-0.05270187929272652,
-0.030986562371253967,
-0.0023178113624453545,
0.018006818369030952,
0.019356301054358482,
-0.0018078929278999567,
0.03677593916654587,
0.005619404837489128,
0.03275839984416962
]
|
31,514 | laspy.point.dims | _validate | null | def _validate(self):
if (self.offsets is not None and self.scales is None) or (
self.offsets is None and self.scales is not None
):
raise ValueError("Cannot provide scales without offsets and vice-versa")
if self.offsets is not None and len(self.offsets) != self.num_elements:
raise ValueError(
f"len(offsets) ({len(self.offsets)}) is not the same as the number of elements ({self.num_elements})"
)
if self.scales is not None and len(self.scales) != self.num_elements:
raise ValueError(
f"len(scales) ({len(self.scales)}) is not the same as the number of elements ({self.num_elements})"
)
| (self) | [
0.014056717045605183,
-0.019381489604711533,
-0.01843981072306633,
0.054685935378074646,
-0.029962550848722458,
0.008637775667011738,
-0.0013932585716247559,
-0.006848582997918129,
0.008021403104066849,
0.05591868236660957,
0.04393365979194641,
-0.0009684324613772333,
0.0719786062836647,
-0.04386517405509949,
-0.011959338560700417,
0.030048158019781113,
0.0006094168638810515,
-0.0002478598617017269,
0.060301773250103,
0.04410487413406372,
-0.035133231431245804,
-0.0416051410138607,
-0.008556448854506016,
0.009237026795744896,
-0.01373140886425972,
0.0832102820277214,
0.03759872168302536,
-0.017481008544564247,
0.03629748895764351,
0.004956662189215422,
-0.0621851347386837,
0.038591764867305756,
0.06122633069753647,
0.0760192722082138,
0.008783307857811451,
-0.024723384529352188,
0.0036704125814139843,
-0.03845479339361191,
-0.010084538720548153,
0.022446230053901672,
-0.021299093961715698,
-0.0025682186242192984,
0.09314072877168655,
-0.008376672863960266,
0.01931300386786461,
-0.0012637776089832187,
-0.0011974319349974394,
0.04766613617539406,
-0.14176566898822784,
-0.009630819782614708,
0.03453398123383522,
0.0036661322228610516,
0.05146710202097893,
0.017429644241929054,
-0.010075978003442287,
0.06615731120109558,
0.07156769186258316,
0.09519530087709427,
0.0045885504223406315,
-0.03592081740498543,
-0.011993581429123878,
0.039310865104198456,
-0.023045482113957405,
-0.07156769186258316,
-0.0028507227543741465,
-0.037324778735637665,
-0.002102728933095932,
-0.019809527322649956,
-0.007225255016237497,
0.08560729026794434,
0.02655537985265255,
0.01671910285949707,
-0.06502729654312134,
0.031880155205726624,
-0.0025682186242192984,
-0.024672020226716995,
0.01328625064343214,
0.05191225931048393,
0.029055112972855568,
-0.04893312603235245,
-0.0013697165995836258,
0.036571431905031204,
0.03722205013036728,
0.013303373008966446,
0.06790369749069214,
-0.010101660154759884,
-0.0272744819521904,
0.05150134488940239,
0.009896202944219112,
0.02617870829999447,
-0.0323081910610199,
-0.0006008561467751861,
0.016616374254226685,
-0.0022878546733409166,
0.00922846607863903,
0.07423864305019379,
-0.019021939486265182,
-0.07211557775735855,
-0.017652222886681557,
-0.021573036909103394,
-0.009279830381274223,
0.005983949638903141,
0.03626324608922005,
0.024449441581964493,
-0.0008566079195588827,
0.010598182678222656,
0.015417872928082943,
-0.06437668204307556,
-0.05561049282550812,
0.02931193634867668,
0.049617983400821686,
0.03198288381099701,
-0.016179777681827545,
0.05026859790086746,
-0.0433172881603241,
-0.03780417889356613,
-0.045988235622644424,
-0.0021273409947752953,
-0.042735159397125244,
0.005406100302934647,
0.009365437552332878,
0.045440349727869034,
-0.0010032104328274727,
-0.023268060758709908,
0.052699845284223557,
-0.00426538335159421,
-0.018165865913033485,
0.03811236470937729,
0.01934724673628807,
-0.012241842225193977,
0.010914929211139679,
-0.02424398437142372,
-0.00012861157301813364,
0.0416051410138607,
0.008714822120964527,
-0.016042806208133698,
0.06084965914487839,
-0.005534511059522629,
-0.06941039115190506,
0.005059390794485807,
0.04841948300600052,
0.07002676278352737,
0.029123598709702492,
0.0323081910610199,
-0.041844841092824936,
0.047597650438547134,
-0.001634029089473188,
-0.005996790714561939,
-0.0033386843279004097,
0.02169288694858551,
-0.02039165608584881,
-0.00204494409263134,
0.018833603709936142,
-0.06447941064834595,
-0.011171750724315643,
-0.06845159083604813,
0.012284645810723305,
-0.042392730712890625,
0.05331622064113617,
0.01156554464250803,
-0.04965222626924515,
-0.010966293513774872,
0.030322100967168808,
-0.03547566011548042,
-0.025973251089453697,
0.07204709202051163,
-0.009998931549489498,
-0.0035077587235718966,
0.009861959144473076,
0.04773462563753128,
0.02979133650660515,
-0.013234886340796947,
-0.03889995068311691,
0.0008416266646236181,
-0.03307865560054779,
-0.012430178001523018,
-0.0041733551770448685,
0.005003746133297682,
-0.012858214788138866,
-0.02059711329638958,
-0.007948637008666992,
-0.039482079446315765,
-0.006322098430246115,
-0.020443020388484,
0.007970038801431656,
0.053418949246406555,
-0.04061209782958031,
0.027017660439014435,
-0.04386517405509949,
-0.017857680097222328,
-0.020169077441096306,
0.013037989847362041,
-0.027377210557460785,
0.012541467323899269,
-0.02333654649555683,
-0.01455323863774538,
0.015126807615160942,
-0.017138579860329628,
0.03016800805926323,
-0.01732691563665867,
-0.0011086143786087632,
-0.04150241240859032,
0.04335153102874756,
-0.01592295616865158,
-0.007683254312723875,
-0.0023820227943360806,
-0.051604073494672775,
0.002277153776958585,
-0.010135903023183346,
-0.016350992023944855,
-0.03903692215681076,
-0.023011239245533943,
-0.043625473976135254,
-0.00677153654396534,
0.026880688965320587,
0.0067415740340948105,
0.03653718903660774,
-0.04968646913766861,
-0.012139113619923592,
0.013183522038161755,
0.1408068686723709,
0.01915891095995903,
0.04211878404021263,
-0.019997863098978996,
0.03069877438247204,
-0.0014927771408110857,
0.045474592596292496,
0.008633495308458805,
-0.005983949638903141,
0.04297485947608948,
-0.010247192345559597,
-0.05417229235172272,
-0.05906902998685837,
0.011839487589895725,
0.001183520769700408,
0.0064077056013047695,
0.05074800178408623,
-0.011985020712018013,
0.0375644788146019,
-0.0008983414736576378,
-0.029568757861852646,
-0.03376351296901703,
-0.060438744723796844,
0.0034713754430413246,
0.005508828908205032,
-0.01039272453635931,
-0.005919743794947863,
0.04900161176919937,
-0.02785661071538925,
-0.007957197725772858,
-0.03629748895764351,
0.012190477922558784,
-0.016881756484508514,
-0.02785661071538925,
0.029603000730276108,
-0.017352597787976265,
-0.06814340502023697,
-0.0323081910610199,
0.059925101697444916,
-0.05365864932537079,
0.019655432552099228,
0.01373140886425972,
0.005209203343838453,
0.06598609685897827,
0.007345105521380901,
0.019432853907346725,
0.05115891620516777,
0.02496308460831642,
-0.011428573168814182,
0.043454259634017944,
-0.008659177459776402,
0.05146710202097893,
-0.00713536748662591,
0.0307330172508955,
0.007580525241792202,
0.021829858422279358,
0.03455110266804695,
-0.0107608363032341,
0.021042270585894585,
0.07608775794506073,
0.059719644486904144,
-0.013491708785295486,
0.008154094219207764,
-0.006031033582985401,
0.0430433452129364,
-0.026812203228473663,
-0.018867846578359604,
-0.08834671974182129,
-0.042906373739242554,
0.007434993050992489,
-0.03249652683734894,
0.0042375605553388596,
0.016068488359451294,
-0.034071702510118484,
-0.014373463578522205,
-0.03999572619795799,
0.02946602925658226,
-0.0220181941986084,
0.014133763499557972,
-0.01825147308409214,
-0.040954526513814926,
-0.010966293513774872,
0.00465275626629591,
-0.002089887857437134,
0.020853934809565544,
-0.03886570781469345,
0.031349390745162964,
-0.013303373008966446,
0.08759337663650513,
0.00008908508607419208,
0.010349920950829983,
0.06437668204307556,
-0.022891389206051826,
0.054138049483299255,
0.0745810717344284,
0.05941145867109299,
0.07273194938898087,
-0.0027907975018024445,
-0.02979133650660515,
0.0904012992978096,
-0.018371323123574257,
0.009023007936775684,
-0.00817977637052536,
-0.05191225931048393,
-0.03287319839000702,
0.026521136984229088,
0.024843234568834305,
-0.04318031668663025,
0.004845372401177883,
-0.009468166157603264,
-0.025956129655241966,
-0.061911191791296005,
0.02984270080924034,
0.010718032717704773,
-0.006784377619624138,
-0.03999572619795799,
0.0007394329295493662,
0.01737827993929386,
0.04071482643485069,
-0.006852863356471062,
0.04047512635588646,
-0.044344574213027954,
-0.013722848147153854,
-0.001781701692380011,
0.04667309299111366,
-0.031212417408823967,
0.01588871330022812,
-0.045097921043634415,
-0.022840024903416634,
0.03811236470937729,
-0.06899947673082352,
0.026880688965320587,
-0.009288391098380089,
-0.00854788813740015,
0.039482079446315765,
0.003563403384760022,
-0.015974320471286774,
-0.01588871330022812,
0.0006516854627989233,
0.02691493183374405,
0.07143072038888931,
-0.0418790839612484,
0.015948638319969177,
-0.02242910861968994,
-0.038591764867305756,
-0.015477797947824001,
0.01266131829470396,
-0.06773248314857483,
-0.01346602663397789,
-0.0060096317902207375,
0.004562868271023035,
-0.028113434091210365,
-0.024329591542482376,
-0.048179782927036285,
0.011094704270362854,
0.061157844960689545,
-0.008308187127113342,
0.0535559207201004,
-0.014527556486427784,
-0.04571429267525673,
0.01897057518362999,
0.02203531563282013,
-0.014792939648032188,
0.036023546010255814,
-0.011822366155683994,
-0.013859819620847702,
-0.037324778735637665,
-0.01656500995159149,
-0.008505083620548248,
0.02999679371714592,
0.0060096317902207375,
0.005080792587250471,
0.003047619480639696,
-0.04150241240859032,
-0.0657806396484375,
0.05759658291935921,
0.039105407893657684,
0.055747464299201965,
-0.01662493497133255,
-0.04684430733323097,
-0.026127343997359276,
-0.01825147308409214,
-0.06790369749069214,
0.06304121017456055,
-0.014253613539040089,
0.00930551253259182,
-0.007982879877090454,
0.07184163480997086,
-0.01074371486902237,
0.09909899532794952,
0.01637667417526245,
-0.022634567692875862,
0.048350997269153595,
-0.02528839372098446,
-0.03663991764187813,
-0.03619476035237312,
-0.03470519557595253,
-0.026315679773688316,
0.0006104869535192847,
-0.018148744478821754,
-0.05081648752093315,
0.015803106129169464,
0.04249545931816101,
0.056672025471925735,
0.021932587027549744,
-0.03961905464529991,
-0.0734168067574501,
-0.0028464423958212137,
0.00957089476287365,
-0.002940610283985734,
-0.01821723021566868,
0.01528090052306652,
-0.02078544907271862,
-0.055028364062309265,
-0.008714822120964527,
-0.04081755504012108,
-0.044002145528793335,
0.05362440645694733,
0.0011021938407793641,
-0.007516319863498211,
0.045303378254175186,
-0.04009845480322838,
0.08999038487672806,
0.08882611989974976,
0.027411453425884247,
-0.043796688318252563,
-0.01753237284719944,
0.02623007260262966,
-0.07321134954690933,
-0.022463351488113403,
-0.01804601587355137,
0.025408243760466576,
-0.014792939648032188,
-0.07519744336605072,
0.019621189683675766,
-0.029055112972855568,
-0.06417122483253479,
-0.0538298636674881,
-0.015049761161208153,
-0.0015141789335757494,
-0.02169288694858551,
-0.0018683790694922209,
-0.07649867236614227,
-0.03578384593129158,
-0.026281436905264854,
0.034277159720659256,
0.018405567854642868,
-0.004494382534176111,
0.022548960521817207,
0.03547566011548042,
0.020511506125330925,
-0.03592081740498543,
0.020288927480578423,
-0.0222407728433609,
-0.03165757656097412,
-0.019398611038923264,
0.0633493959903717,
0.048556454479694366,
-0.006236490793526173,
0.0033322637900710106,
0.03718780726194382,
0.04205029830336571,
0.0019186733989045024,
0.019741039723157883,
0.00518780155107379,
-0.0397217832505703,
-0.08930552005767822,
-0.021590158343315125,
-0.03323274850845337,
0.03544141724705696,
-0.05204923078417778,
-0.05335046350955963,
0.012635636143386364,
0.05362440645694733,
-0.03504762426018715,
-0.022446230053901672,
0.03653718903660774,
-0.016924560070037842,
0.017498129978775978,
-0.030065279453992844,
0.02549385093152523,
0.008047085255384445,
0.02242910861968994,
-0.005346175283193588,
0.013354737311601639,
-0.05403532087802887,
-0.02388443425297737,
-0.011342965997755527,
0.023542003706097603,
-0.03866025060415268,
-0.07101980596780777,
-0.0036832536570727825,
0.0447554886341095,
0.049446769058704376,
0.04770038276910782,
-0.013157839886844158,
-0.03848903626203537,
-0.007683254312723875,
0.023730339482426643,
0.05085073038935661,
0.010991975665092468,
0.032804712653160095,
0.02761691063642502,
-0.04787159711122513,
-0.014501874335110188,
0.0025168543215841055,
-0.046330664306879044,
-0.07855324447154999,
0.030424829572439194,
-0.025767793878912926,
0.009040129370987415,
-0.043659716844558716,
0.037701450288295746,
0.020203320309519768,
-0.05749385431408882,
0.009733548387885094,
0.024158377200365067,
0.0019657574594020844,
-0.07732050120830536,
0.040886040776968,
-0.013594437390565872,
0.023028360679745674,
0.028438741341233253,
-0.033695027232170105,
-0.006651686504483223,
0.03126377984881401,
0.018302837386727333,
0.01683039218187332,
-0.003738898318260908,
-0.0008935260702855885,
-0.009699305519461632,
0.014947032555937767,
0.054822906851768494,
0.0015270200092345476,
0.030664531514048576,
-0.027599789202213287,
0.008920279331505299,
0.03422579541802406,
0.036571431905031204,
0.0272744819521904,
-0.013620119541883469,
-0.04756340757012367,
0.04732370749115944,
-0.04068058356642723,
-0.06386303901672363,
-0.03619476035237312,
-0.029534514993429184,
-0.019073303788900375,
0.012130552902817726,
0.04876191169023514,
-0.01845693215727806,
0.017806315794587135,
-0.027223117649555206,
-0.02587052248418331,
0.018679510802030563,
-0.028849655762314796,
-0.03141787648200989,
0.022463351488113403,
-0.07718352973461151,
-0.05947994440793991,
0.04441305994987488,
0.014210809953510761,
-0.003833066439256072,
-0.051227401942014694,
0.042906373739242554,
0.0012691280571743846,
-0.048864640295505524,
-0.04989192634820938,
-0.008012842386960983,
0.025528093799948692,
-0.027548424899578094,
0.00791439414024353,
-0.014159445650875568,
0.0009668273269198835,
0.03561263158917427,
0.050713758915662766,
0.015546283684670925,
-0.06958160549402237,
-0.047803111374378204,
-0.008338149636983871,
-0.001722846645861864,
0.021384701132774353,
0.005384698510169983,
0.009767791256308556,
0.031161053106188774,
-0.024808991700410843,
0.02153879404067993,
0.01588871330022812,
0.012267524376511574,
-0.01900481805205345,
0.022086679935455322,
0.00922846607863903,
-0.014450510032474995,
-0.1007426530122757,
-0.010718032717704773,
-0.06263028830289841,
-0.057904768735170364,
0.0418790839612484,
0.04396790266036987,
0.04917282611131668,
0.04458427429199219,
0.0067415740340948105,
-0.03989299759268761,
0.012447299435734749,
-0.08670306205749512,
-0.015760302543640137,
0.028284648433327675,
-0.01390262320637703,
-0.03687962144613266,
-0.05653505399823189,
0.061466034501791,
-0.03629748895764351,
0.03989299759268761,
-0.06971857696771622,
0.0025746391620486975,
0.023456396535038948,
0.025271272286772728,
-0.003058320377022028,
0.027223117649555206,
0.046536121517419815,
0.0327533483505249,
-0.026504015550017357,
0.008676298893988132,
0.04516640678048134,
-0.003402889706194401,
-0.009365437552332878,
-0.02876404859125614,
-0.003426431678235531,
0.05855538323521614,
0.005765650887042284,
0.005829856265336275,
0.019261639565229416,
-0.00904869008809328,
-0.07410167157649994,
0.04081755504012108,
0.011907973326742649,
0.015469237230718136,
-0.049960412085056305,
-0.04831675440073013,
-0.03165757656097412,
0.0008726592641323805,
0.015494919382035732,
0.03434564545750618,
-0.022257894277572632,
0.026966296136379242,
0.01438202429562807,
0.004211878404021263,
0.02801070548593998,
0.019449975341558456,
0.016522206366062164,
-0.04756340757012367,
-0.02184697985649109,
-0.004261102993041277,
0.02713751047849655,
0.023268060758709908,
0.03763296455144882,
-0.0180631373077631,
-0.060644201934337616,
-0.007212413940578699,
-0.005384698510169983,
-0.023730339482426643,
0.04588550701737404,
-0.0705404058098793,
0.003912252839654684,
-0.021744251251220703,
-0.021949708461761475,
-0.022634567692875862,
-0.004614233039319515,
0.05235741659998894,
-0.007486357353627682,
0.036605674773454666,
-0.031931519508361816,
0.03999572619795799,
-0.023901555687189102,
-0.02295987494289875,
-0.02838737703859806,
-0.05040556937456131,
0.04215302690863609,
0.04499519243836403,
0.015469237230718136,
0.01859390363097191,
-0.01790904439985752,
-0.0440363883972168,
0.03530444577336311,
-0.0010502943769097328,
0.013757091015577316,
-0.081772081553936,
0.005765650887042284,
-0.008136972784996033,
-0.027188874781131744,
-0.0012905298499390483,
0.025887643918395042,
0.017600858584046364,
-0.0987565666437149,
-0.03739326447248459,
-0.03141787648200989,
0.06896523386240005,
0.0401669405400753,
0.026709474623203278,
-0.008333869278430939,
-0.01600000262260437,
0.03150348365306854,
-0.040372397750616074,
-0.02708614617586136,
-0.038557521998882294,
0.04413911700248718,
-0.00015342430560849607,
-0.07841627299785614,
0.02854146994650364,
-0.05153558775782585,
0.018850725144147873,
0.025185663253068924,
-0.030373465269804,
0.05156983062624931,
-0.01202782429754734,
-0.03145211935043335,
0.001863028621301055,
0.01989513449370861,
0.007696095388382673,
0.019021939486265182,
0.06660246849060059,
-0.04047512635588646,
0.028336012735962868,
-0.015649011358618736,
-0.007524880580604076,
0.04208454117178917,
-0.018200108781456947,
0.019244518131017685,
-0.015649011358618736,
-0.01354307308793068,
0.03198288381099701,
-0.022480472922325134,
-0.01534938719123602,
0.03340396285057068,
0.02278866060078144,
-0.04684430733323097,
0.01687319576740265,
0.0054403431713581085,
-0.003993580117821693,
-0.03198288381099701,
0.024483684450387955,
0.014253613539040089,
0.003047619480639696,
0.06376031041145325,
-0.009998931549489498,
0.05386410653591156,
0.01575174182653427,
0.03999572619795799
]
|
31,515 | laspy.point.dims | type_str | null | def type_str(self) -> Optional[str]:
if self.kind == DimensionKind.BitField:
return None
if self.num_elements == 1:
return f"{self.kind.letter()}{self.num_bytes_singular_element}"
return (
f"{self.num_elements}{self.kind.letter()}{self.num_bytes_singular_element}"
)
| (self) -> Optional[str] | [
0.05418423190712929,
-0.02809552662074566,
0.0063901483081281185,
0.01823744736611843,
0.053480081260204315,
-0.040347710251808167,
0.04439656436443329,
-0.04643859714269638,
0.024891650304198265,
-0.047142744064331055,
0.013449237681925297,
-0.0020618350245058537,
-0.027567416429519653,
-0.038763377815485,
0.0399252213537693,
-0.006913858465850353,
-0.028077922761440277,
-0.060662396252155304,
0.0376015342772007,
0.03482014685869217,
0.0077852425165474415,
0.05115639045834541,
0.028429998084902763,
-0.005989663768559694,
0.016160208731889725,
0.033535074442625046,
0.036034803837537766,
-0.018976803869009018,
-0.06069760397076607,
-0.006253719329833984,
-0.03900982812047005,
-0.06330295652151108,
-0.014214999042451382,
-0.006231714505702257,
0.00921554397791624,
0.027461793273687363,
-0.007886463776230812,
0.014892742037773132,
-0.05295196920633316,
-0.019927404820919037,
-0.021634964272379875,
-0.01862472854554653,
-0.04038291797041893,
-0.07625928521156311,
-0.053972985595464706,
-0.029591843485832214,
0.04640338942408562,
0.006332936231046915,
-0.06393668800592422,
0.0231136754155159,
0.04305868223309517,
0.030630461871623993,
-0.05555732175707817,
-0.008845865726470947,
-0.046861086040735245,
0.0029134147334843874,
0.013176379725337029,
-0.02677524834871292,
-0.01572011597454548,
0.04851583391427994,
-0.01357246283441782,
0.025947874411940575,
0.015614493750035763,
-0.0501001700758934,
-0.013361218385398388,
0.005237104836851358,
0.008313354104757309,
0.048480626195669174,
0.023958655074238777,
0.03999563679099083,
0.010403795167803764,
-0.01386292465031147,
-0.03555950149893761,
0.031017743051052094,
0.0035779548343271017,
-0.05738810822367668,
-0.007974482141435146,
-0.010192549787461758,
0.0470019169151783,
-0.04960726574063301,
0.05038182809948921,
0.04900873824954033,
0.0015359240351244807,
-0.04055895656347275,
0.05020579323172569,
-0.011090340092778206,
-0.030454425141215324,
0.048410214483737946,
-0.027303360402584076,
-0.04027729853987694,
0.017198828980326653,
-0.00719111692160368,
0.010923104360699654,
0.0556277371942997,
-0.03700300678610802,
-0.009937296621501446,
-0.01871274784207344,
-0.0849907323718071,
0.030067143961787224,
-0.0030300391372293234,
-0.015218410640954971,
-0.03960835561156273,
0.020490722730755806,
0.005615584552288055,
-0.032091569155454636,
-0.009127525612711906,
0.022039849311113358,
0.01236660871654749,
-0.018466295674443245,
-0.008524598553776741,
0.024029068648815155,
-0.01975136622786522,
-0.00819452852010727,
-0.03196834400296211,
0.05140284448862076,
0.018290258944034576,
-0.01774454303085804,
0.008859069086611271,
0.06784471124410629,
0.0005135333631187677,
-0.007851256057620049,
0.018730351701378822,
-0.04055895656347275,
-0.017498090863227844,
-0.0008092207135632634,
0.051367636770009995,
0.0003960835456382483,
-0.008551004342734814,
-0.027303360402584076,
-0.039080243557691574,
0.02406427636742592,
0.02246233820915222,
-0.03827047348022461,
0.0630917102098465,
0.049536850303411484,
0.002347895409911871,
0.01318518165498972,
-0.003643968841060996,
-0.024293124675750732,
0.0983695536851883,
-0.02302565798163414,
0.03767194598913193,
0.03816485032439232,
0.019980214536190033,
0.003243484301492572,
0.051262013614177704,
0.0376015342772007,
0.007111900486052036,
-0.022127868607640266,
-0.02559579908847809,
-0.016116200014948845,
-0.006817038170993328,
-0.02876446768641472,
-0.018677540123462677,
-0.003637367393821478,
0.005505561362951994,
0.010465407744050026,
-0.05154367536306381,
0.0477764792740345,
-0.0598878338932991,
-0.015112788416445255,
-0.023254506289958954,
-0.018378276377916336,
-0.02783147059381008,
0.007538790348917246,
0.03658051788806915,
-0.011327989399433136,
-0.00987568311393261,
0.010060522705316544,
0.021441323682665825,
0.01123116910457611,
-0.016573896631598473,
-0.03501378744840622,
0.035066597163677216,
0.007657615467905998,
0.11062173545360565,
-0.024134691804647446,
0.05154367536306381,
-0.020842796191573143,
-0.03253166377544403,
0.031616270542144775,
-0.0122345807030797,
-0.052142199128866196,
0.005545170046389103,
0.03357028216123581,
-0.01438223384320736,
0.043023474514484406,
-0.012947531417012215,
0.01640666089951992,
-0.01319398358464241,
0.015473664738237858,
0.058937232941389084,
-0.029239768162369728,
0.002682365942746401,
0.019804177805781364,
-0.031897928565740585,
0.048198968172073364,
-0.06883051991462708,
0.015922559425234795,
-0.009294760413467884,
-0.01869514398276806,
0.020085837692022324,
0.03932669758796692,
0.019328877329826355,
-0.009902088902890682,
-0.0041170683689415455,
0.062493182718753815,
0.007455172948539257,
-0.06238756328821182,
0.02600068598985672,
-0.005188694689422846,
-0.02121247537434101,
-0.009787664748728275,
-0.023747410625219345,
0.0336759053170681,
-0.07654094696044922,
-0.04569924250245094,
-0.002192762680351734,
-0.04238974303007126,
0.01333481352776289,
0.061260923743247986,
0.021124456077814102,
0.051262013614177704,
-0.034098394215106964,
-0.0035625514574348927,
-0.025930270552635193,
-0.017286846414208412,
0.00676422705873847,
-0.002462319564074278,
0.011248772963881493,
-0.004951044451445341,
0.021159663796424866,
-0.01668832078576088,
0.033728715032339096,
-0.019170444458723068,
0.03040161356329918,
-0.01850150339305401,
-0.031897928565740585,
0.019839385524392128,
-0.041861630976200104,
-0.028729259967803955,
-0.025648610666394234,
-0.038692962378263474,
0.018114222213625908,
-0.014523063786327839,
-0.04119269177317619,
-0.006627798080444336,
0.03524263575673103,
-0.023236902430653572,
-0.022127868607640266,
-0.006178903393447399,
-0.0458400696516037,
-0.019117632880806923,
-0.055698148906230927,
0.034204017370939255,
-0.00148091244045645,
-0.020173855125904083,
-0.017295649275183678,
0.027849074453115463,
-0.010421398095786572,
-0.01653868891298771,
-0.02666962705552578,
0.005730008706450462,
0.032197192311286926,
0.01338762417435646,
-0.006825840100646019,
-0.002831997349858284,
0.0356123112142086,
0.01888878457248211,
0.007609205320477486,
0.02934539131820202,
0.05710644647479057,
-0.04119269177317619,
-0.01750689372420311,
-0.007397960871458054,
-0.055698148906230927,
0.040242090821266174,
0.02850041165947914,
0.018730351701378822,
0.004753002896904945,
-0.019311273470520973,
-0.04098144546151161,
0.010685454122722149,
-0.010007711127400398,
0.01955772563815117,
0.03900982812047005,
0.012885918840765953,
-0.03626364842057228,
-0.01357246283441782,
0.01851910725235939,
0.01975136622786522,
0.030084745958447456,
-0.0176389217376709,
0.012780296616256237,
-0.01677634008228779,
-0.030771290883421898,
0.05752893537282944,
0.0025965478271245956,
0.03154585510492325,
0.016635509207844734,
-0.0340631864964962,
0.056367091834545135,
0.050417035818099976,
0.007780841551721096,
-0.02550778165459633,
-0.009400383569300175,
-0.0032192792277783155,
-0.04555841162800789,
0.03703821450471878,
-0.0035867567639797926,
-0.0579514242708683,
0.04098144546151161,
0.019223256036639214,
0.05918368697166443,
0.0560150183737278,
0.1089317798614502,
-0.005954456049948931,
0.03210917487740517,
0.004317310638725758,
0.07654094696044922,
0.024627596139907837,
-0.011785686016082764,
-0.025560593232512474,
0.006315332371741533,
-0.03777756914496422,
-0.07101338356733322,
-0.03989001363515854,
-0.042636193335056305,
0.037953607738018036,
-0.00433271424844861,
-0.0038134045898914337,
-0.05488837882876396,
0.012701079249382019,
0.00782485119998455,
0.0062977285124361515,
-0.019416896626353264,
0.054430682212114334,
-0.03270769864320755,
-0.03441525995731354,
-0.007714827544987202,
0.05460672080516815,
-0.011521630920469761,
0.0146814975887537,
0.06721097975969315,
0.023078469559550285,
-0.017234034836292267,
0.04478384926915169,
-0.04460781067609787,
0.06689411401748657,
0.027655433863401413,
-0.016142604872584343,
-0.061718620359897614,
-0.002664762083441019,
0.002218067878857255,
0.01103752851486206,
0.01619541645050049,
0.0021432521753013134,
0.0728793740272522,
-0.02867645025253296,
0.10505896061658859,
0.045030299574136734,
-0.002306086476892233,
0.022409528493881226,
0.030577650293707848,
0.002207065699622035,
0.003643968841060996,
-0.0007971181767061353,
0.019346481189131737,
0.024011464789509773,
0.009814070537686348,
-0.034573692828416824,
0.018096618354320526,
-0.04344596713781357,
-0.06749264150857925,
-0.01586974784731865,
0.08323036134243011,
-0.011486423201858997,
0.02955663576722145,
-0.06069760397076607,
-0.14674456417560577,
-0.009937296621501446,
-0.008207731880247593,
-0.045030299574136734,
0.0767521932721138,
-0.03974918648600578,
0.05259989574551582,
-0.024891650304198265,
-0.02714492566883564,
-0.039573147892951965,
0.019839385524392128,
0.011741677299141884,
0.01102872658520937,
-0.021318096667528152,
-0.0023963055573403835,
-0.012973937205970287,
0.004462541546672583,
-0.05090994015336037,
-0.017726939171552658,
-0.015623295679688454,
0.050698693841695786,
0.01103752851486206,
-0.05538128316402435,
-0.038763377815485,
0.06604913622140884,
-0.048198968172073364,
0.022972846403717995,
0.009101119823753834,
-0.007107499521225691,
-0.027092115953564644,
0.030753687024116516,
0.03226760774850845,
-0.012146562337875366,
-0.017718138173222542,
-0.06467604637145996,
0.0344504676759243,
-0.014848732389509678,
-0.0045241545885801315,
0.005219500977545977,
0.0316866859793663,
0.004594569094479084,
-0.051262013614177704,
0.06615475565195084,
0.04548799619078636,
0.08724400401115417,
-0.009101119823753834,
0.028077922761440277,
-0.006143696140497923,
0.06379585713148117,
0.015984172001481056,
0.05738810822367668,
-0.04077019914984703,
0.046755462884902954,
-0.00023118627723306417,
-0.03742549568414688,
0.01256905123591423,
-0.04277702420949936,
0.005307519808411598,
-0.04253057390451431,
-0.018677540123462677,
0.01640666089951992,
0.05200137197971344,
-0.016265831887722015,
-0.018976803869009018,
0.03300696238875389,
0.013889330439269543,
-0.011107943020761013,
-0.06006387248635292,
0.00501265749335289,
-0.018360672518610954,
0.0027835872024297714,
0.01722523383796215,
0.015306429006159306,
0.017049197107553482,
-0.03672134503722191,
0.0723864734172821,
-0.015508871525526047,
-0.016054587438702583,
-0.02887009084224701,
-0.013942141085863113,
-0.06907697021961212,
-0.04334034398198128,
0.06879531592130661,
0.004717795178294182,
0.0174188744276762,
0.003137862076982856,
-0.006891854107379913,
0.025631006807088852,
-0.002286282368004322,
-0.017515694722533226,
0.027954697608947754,
0.031528253108263016,
-0.0008488290477544069,
0.05020579323172569,
-0.032954152673482895,
0.02559579908847809,
0.016380256041884422,
0.006962268613278866,
0.05689520388841629,
-0.005153486970812082,
-0.07921671122312546,
0.003723185509443283,
-0.0015744321281090379,
-0.027461793273687363,
-0.010439001955091953,
-0.027215341106057167,
0.048093345016241074,
-0.014857534319162369,
0.05590939521789551,
0.0072615318931639194,
0.017682930454611778,
-0.022127868607640266,
0.09189138561487198,
-0.0170315932482481,
-0.0174188744276762,
0.04717795178294182,
0.05538128316402435,
0.023377731442451477,
-0.03999563679099083,
-0.07970961928367615,
0.08639902621507645,
0.017515694722533226,
-0.036791760474443436,
-0.015992972999811172,
-0.059535760432481766,
0.015385645441710949,
-0.07921671122312546,
0.032866135239601135,
0.0170579981058836,
0.006504571996629238,
-0.026053495705127716,
-0.023483354598283768,
-0.06622517108917236,
0.0176389217376709,
-0.02830677106976509,
0.01948731020092964,
0.0024073077365756035,
0.05774018168449402,
-0.02005062997341156,
-0.005131482612341642,
0.028060318902134895,
-0.03936190530657768,
0.0032104772981256247,
-0.0627044290304184,
0.007063490338623524,
-0.003481134306639433,
0.029046127572655678,
-0.001871494809165597,
-0.035823557525873184,
-0.03332383185625076,
0.06129613146185875,
0.027655433863401413,
0.030560046434402466,
0.00267356401309371,
0.015834540128707886,
0.007402361836284399,
0.036228444427251816,
-0.06685890257358551,
0.006420954596251249,
0.050522658973932266,
-0.004572564736008644,
-0.019258461892604828,
-0.05728248506784439,
0.028429998084902763,
-0.07499182224273682,
0.02140611596405506,
0.001354385749436915,
0.07978002727031708,
0.03791840001940727,
0.05555732175707817,
-0.033816732466220856,
-0.046861086040735245,
0.0023346925154328346,
0.0011728474637493491,
-0.04995933920145035,
-0.006759826093912125,
0.0497128888964653,
0.0006276824278756976,
-0.008621418848633766,
0.03633406385779381,
0.0029156149830669165,
-0.028060318902134895,
-0.03520742803812027,
0.03598199039697647,
-0.011063934303820133,
0.004240294452756643,
0.007706025615334511,
-0.02397625893354416,
-0.025067688897252083,
-0.005408741068094969,
-0.001380791305564344,
-0.007899666205048561,
-0.02188141644001007,
0.0233073178678751,
-0.02869405411183834,
-0.005826829466968775,
0.01237541064620018,
-0.024416351690888405,
0.028359582647681236,
-0.002909013768658042,
-0.0045989700593054295,
-0.04165038838982582,
0.05858515948057175,
0.04890311509370804,
-0.0016679519321769476,
0.018466295674443245,
0.011882506310939789,
0.01578172855079174,
-0.04851583391427994,
-0.044361360371112823,
-0.020596345886588097,
-0.011732875369489193,
-0.01385412272065878,
0.05143805220723152,
-0.020737174898386,
0.00890307780355215,
0.02436354011297226,
-0.006698213052004576,
0.0006232814630493522,
0.013282001949846745,
0.0011937518138438463,
0.021177267655730247,
0.04210808500647545,
-0.0013587865978479385,
0.06678848713636398,
0.10139738768339157,
-0.003971837926656008,
0.016477076336741447,
0.05700082331895828,
0.03531305119395256,
-0.001472110510803759,
0.010086927562952042,
0.02207505702972412,
-0.0368269681930542,
-0.07048527151346207,
-0.0556277371942997,
-0.06203548610210419,
-0.007706025615334511,
-0.03647489473223686,
-0.0019672149792313576,
-0.036510102450847626,
-0.03339424356818199,
0.09175055474042892,
-0.05115639045834541,
-0.011829695664346218,
-0.0184134840965271,
0.006944665219634771,
-0.0435163788497448,
-0.04605131596326828,
0.05436026677489281,
-0.06150737404823303,
0.016565093770623207,
0.010113333351910114,
0.0010864791693165898,
-0.058197878301143646,
-0.07129503786563873,
0.000056249366025440395,
-0.06175382807850838,
0.030348801985383034,
-0.03999563679099083,
0.03883379325270653,
0.05274072661995888,
0.04693150147795677,
-0.04059416428208351,
0.008445382118225098,
0.0006364842993207276,
0.02781386859714985,
-0.010562228038907051,
-0.06601392477750778,
-0.014038961380720139,
-0.026229534298181534,
-0.09682042896747589,
-0.004893832374364138,
0.04534716531634331,
-0.05460672080516815,
0.023184090852737427,
0.022603169083595276,
-0.014778317883610725,
-0.02339533530175686,
-0.07400601357221603,
-0.04006605222821236,
0.001983718480914831,
-0.07030922919511795,
0.004669385030865669,
-0.031985945999622345,
0.029310183599591255,
-0.04823417589068413,
0.01776214689016342,
-0.010342181660234928,
0.03226760774850845,
-0.09146889299154282,
-0.039573147892951965,
0.01759491115808487,
0.043023474514484406,
-0.06738701462745667,
-0.032478850334882736,
0.037566326558589935,
0.008317754603922367,
0.09541212767362595,
0.008643423207104206,
-0.021546944975852966,
0.08154039829969406,
-0.03964356333017349,
-0.06654203683137894,
-0.04453739523887634,
0.004594569094479084,
-0.02867645025253296,
-0.04161518067121506,
-0.012005732394754887,
0.014593478292226791,
-0.033253416419029236,
-0.032954152673482895,
-0.058937232941389084,
0.028377186506986618,
-0.008313354104757309,
0.03100013919174671,
-0.02733856812119484,
0.044466979801654816,
0.023676995187997818,
0.03136981651186943,
-0.010474209673702717,
0.03221479430794716,
-0.003608761355280876,
-0.018589520826935768,
0.020772382616996765,
0.03196834400296211,
0.03501378744840622,
0.00850699469447136,
0.020860400050878525,
0.012727485038340092,
0.025384554639458656,
0.015702512115240097,
0.11111464351415634,
-0.04161518067121506,
-0.026722436770796776,
-0.06858406960964203,
-0.0011112344218418002,
-0.002761582611128688,
0.07844214886426926,
-0.03513701260089874,
0.029186956584453583,
-0.025190914049744606,
0.019716158509254456,
0.0254373662173748,
0.01850150339305401,
0.010474209673702717,
0.08949728310108185,
-0.013827716931700706,
0.006777429953217506,
-0.03791840001940727,
-0.01122236717492342,
0.01366928406059742,
-0.0013411829713732004,
-0.007952477782964706,
0.007551993243396282,
0.030753687024116516,
0.017911778762936592,
0.03460890054702759,
-0.011310386471450329,
-0.018835972994565964,
-0.031528253108263016,
-0.00789086427539587,
0.0752030685544014,
-0.007019480690360069,
0.013026747852563858,
0.01102872658520937,
0.010527021251618862,
0.05027620494365692,
0.06062718853354454,
-0.03061285801231861,
-0.010148541070520878,
0.03283092752099037,
-0.0022103663068264723,
-0.00743316812440753,
-0.0406997874379158,
0.01597537100315094,
-0.056261468678712845,
0.013616472482681274,
0.007961279712617397,
-0.033447057008743286,
-0.0020024224650114775,
-0.006376945413649082,
-0.0696754977107048,
0.026616815477609634,
0.025261329486966133,
-0.06379585713148117,
0.030384009703993797,
-0.0293629951775074,
-0.016477076336741447
]
|
31,516 | laspy.point.dims | DimensionKind | An enumeration. | class DimensionKind(Enum):
SignedInteger = 0
UnsignedInteger = 1
FloatingPoint = 2
BitField = 3
@classmethod
def from_letter(cls, letter: str) -> "DimensionKind":
if letter == "u":
return cls.UnsignedInteger
elif letter == "i":
return cls.SignedInteger
elif letter == "f":
return cls.FloatingPoint
else:
raise ValueError(f"Unknown type letter '{letter}'")
def letter(self) -> Optional[str]:
if self == DimensionKind.UnsignedInteger:
return "u"
elif self == DimensionKind.SignedInteger:
return "i"
elif self == DimensionKind.FloatingPoint:
return "f"
else:
return None
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.07343315333127975,
-0.056667260825634,
-0.06501360237598419,
-0.019438188523054123,
0.01246460061520338,
-0.02220199815928936,
0.015576175414025784,
-0.036094263195991516,
-0.019401581957936287,
-0.013837354257702827,
-0.001174848061054945,
0.05318961665034294,
0.0015351958572864532,
-0.017662759870290756,
0.01295879203826189,
-0.026814449578523636,
-0.04502630978822708,
0.02282431349158287,
-0.009938734583556652,
0.023080559447407722,
0.03717416152358055,
0.016601163893938065,
0.0015592190902680159,
0.022915828973054886,
0.0379612073302269,
0.05461728200316429,
0.02066451497375965,
0.007852149195969105,
-0.06065739691257477,
-0.04689325392246246,
-0.08295091241598129,
-0.01732414774596691,
-0.028461752459406853,
0.05820474401116371,
-0.03005414642393589,
-0.018156951293349266,
-0.004253247752785683,
0.023043952882289886,
-0.06501360237598419,
0.023153774440288544,
-0.05084678530693054,
0.009709942154586315,
-0.0025693366769701242,
-0.0304202139377594,
-0.025368481874465942,
-0.02708899974822998,
0.011540279723703861,
-0.051359280943870544,
-0.04692986235022545,
0.009060172364115715,
0.046783436089754105,
-0.018907390534877777,
-0.0035805983934551477,
-0.023721178993582726,
-0.007362533826380968,
0.007801814936101437,
0.004454584792256355,
-0.005051732528954744,
-0.03362330421805382,
0.0652698501944542,
-0.06047436222434044,
0.007060528267174959,
-0.00973739754408598,
-0.053702112287282944,
-0.05981544032692909,
-0.0026608535554260015,
-0.0030955588445067406,
0.005742684938013554,
-0.023391718044877052,
0.05410478636622429,
0.004708543885499239,
-0.00865292176604271,
0.018349137157201767,
0.010917965322732925,
0.028095684945583344,
-0.05260390788316727,
-0.030584944412112236,
0.0057198056019842625,
0.03408088907599449,
0.007289320230484009,
-0.0014333833241835237,
0.017763428390026093,
0.016555406153202057,
-0.024105548858642578,
0.014770826324820518,
-0.015466354787349701,
-0.00411368440836668,
-0.013471286743879318,
0.055495843291282654,
-0.02126852609217167,
-0.027070697396993637,
-0.04458703100681305,
-0.01991407573223114,
-0.0070513766258955,
-0.012711696326732635,
0.009755700826644897,
0.0029148131143301725,
-0.030017539858818054,
0.003621781012043357,
-0.010744082741439342,
-0.03569158911705017,
-0.017205175012350082,
0.04802806302905083,
0.006424485705792904,
-0.033916160464286804,
-0.052530694752931595,
0.03409919515252113,
-0.01830337755382061,
-0.07848488539457321,
-0.023977424949407578,
-0.037320587784051895,
-0.040596894919872284,
-0.02771131508052349,
0.02126852609217167,
0.0062826345674693584,
0.028223808854818344,
0.004436281509697437,
-0.017278390005230904,
0.022531459107995033,
-0.0059806290082633495,
-0.06995551288127899,
0.06600198149681091,
-0.008364643901586533,
0.03444695845246315,
0.025057325139641762,
0.041658490896224976,
0.02802247181534767,
-0.03182957321405411,
-0.04528255760669708,
0.07372600585222244,
0.030694765970110893,
0.03464829549193382,
-0.026558201760053635,
0.023776087909936905,
0.031152350828051567,
0.04564862698316574,
0.010396318510174751,
-0.0004921893123537302,
-0.019584614783525467,
0.10974705964326859,
0.012583572417497635,
0.04389150068163872,
0.005605409853160381,
0.0062917862087488174,
-0.022055570036172867,
0.03927905112504959,
0.031573329120874405,
-0.014990466646850109,
-0.006612095516175032,
0.011476217769086361,
-0.03171975538134575,
0.014706764370203018,
-0.01419426966458559,
0.027253730222582817,
0.04528255760669708,
-0.04612451419234276,
0.009911279194056988,
-0.0688939169049263,
0.0152101069688797,
0.0013761852169409394,
-0.006699036341160536,
0.006474819965660572,
-0.06263416260480881,
-0.017525484785437584,
0.0154022928327322,
0.03376973420381546,
-0.029980933293700218,
-0.018779266625642776,
0.034593384712934494,
-0.008945776149630547,
-0.0021151842083781958,
-0.02721712365746498,
0.030017539858818054,
0.027784528210759163,
0.017077051103115082,
0.056923504918813705,
0.011613493785262108,
0.02714391052722931,
0.04118259996175766,
-0.05399496480822563,
0.05663065239787102,
0.026979180052876472,
-0.07775275409221649,
-0.010002796538174152,
0.0434156134724617,
-0.013187584467232227,
0.037137553095817566,
0.011366398073732853,
-0.019822558388113976,
-0.027436764910817146,
0.009517756290733814,
0.033421967178583145,
-0.02028014324605465,
0.03413579985499382,
0.00365609978325665,
-0.025148842483758926,
0.02066451497375965,
-0.024380100890994072,
0.01119251549243927,
0.04129242151975632,
0.005216463003307581,
0.07921702414751053,
0.018102040514349937,
0.023391718044877052,
0.004882426001131535,
0.005609985440969467,
0.06691715121269226,
-0.03655184805393219,
-0.038803163915872574,
-0.03254340589046478,
-0.04806467145681381,
-0.03085949644446373,
0.001079327310435474,
0.01985916495323181,
0.03258001431822777,
-0.07687418907880783,
-0.034355442970991135,
0.038620129227638245,
-0.02602740377187729,
0.022348424419760704,
0.041036173701286316,
0.04074332118034363,
0.051615528762340546,
0.027125606313347816,
0.05981544032692909,
-0.050480715930461884,
0.006740218959748745,
-0.011705010198056698,
-0.02906576544046402,
0.03920583799481392,
-0.0436718612909317,
-0.0504441112279892,
0.011064392514526844,
-0.007389989215880632,
0.017900703474879265,
0.058717235922813416,
0.015658540651202202,
-0.031188957393169403,
-0.00027869752375409007,
0.003324351040646434,
0.0038894678000360727,
-0.015237562358379364,
-0.04422096163034439,
0.04817449301481247,
-0.01305030845105648,
-0.010277346707880497,
0.011384701356291771,
0.03644202649593353,
-0.006735643371939659,
-0.029285404831171036,
-0.056411013007164,
-0.05110303312540054,
0.02992602437734604,
-0.031115742400288582,
0.0029742990154772997,
0.013187584467232227,
-0.10637923330068588,
-0.004440857097506523,
0.05930294468998909,
-0.0439281091094017,
-0.048394132405519485,
0.014926404692232609,
0.0509566068649292,
0.041585274040699005,
0.008419553749263287,
-0.045245952904224396,
0.060584183782339096,
0.0029171009082347155,
0.052274446934461594,
-0.0405602864921093,
0.07914380729198456,
0.07273762673139572,
-0.005243917927145958,
-0.003628644859418273,
-0.020335054025053978,
-0.0062917862087488174,
0.06311004608869553,
-0.004184609744697809,
0.01230902224779129,
-0.03137199208140373,
-0.0036423723213374615,
-0.03993797302246094,
-0.04070671275258064,
0.07339654862880707,
-0.0025945038069039583,
0.04960215464234352,
0.014981315471231937,
-0.025496605783700943,
0.017424816265702248,
0.012812364846467972,
0.013581106439232826,
-0.008433281444013119,
0.03208582103252411,
-0.014066146686673164,
0.0120253199711442,
0.017269236966967583,
0.04359864816069603,
-0.021122097969055176,
0.026558201760053635,
0.010908813215792179,
0.050919998437166214,
-0.019310064613819122,
0.0844883918762207,
0.059705618768930435,
-0.04608790576457977,
-0.019804256036877632,
0.02165289595723152,
-0.018230164423584938,
0.04268347844481468,
0.014807432889938354,
-0.03333045169711113,
0.040047790855169296,
-0.017836641520261765,
0.006721915677189827,
0.04619772732257843,
0.07841167598962784,
0.0013086915714666247,
-0.005930294748395681,
-0.0003231690207030624,
0.07288405299186707,
0.018147800117731094,
0.05831456184387207,
-0.06907694786787033,
0.01812034472823143,
-0.08324376493692398,
-0.025588123127818108,
-0.01737905852496624,
0.03376973420381546,
0.04663700982928276,
-0.03495945408940315,
-0.038437094539403915,
-0.04173170402646065,
-0.0020270992536097765,
-0.023080559447407722,
-0.030530035495758057,
-0.02194575034081936,
0.06735642999410629,
0.026118921115994453,
0.011128454469144344,
0.005623713135719299,
0.06116988882422447,
0.0021071764640510082,
-0.02542339265346527,
0.024087246507406235,
0.0327630490064621,
0.021561380475759506,
0.019493097439408302,
-0.034410350024700165,
0.06501360237598419,
0.08712407946586609,
0.013187584467232227,
-0.03927905112504959,
0.02176271751523018,
-0.045978087931871414,
0.044257570058107376,
-0.010789841413497925,
0.01737905852496624,
-0.04638076201081276,
-0.009279812686145306,
0.04045046493411064,
0.07789918035268784,
-0.056118156760931015,
0.029285404831171036,
0.021414952352643013,
-0.0179373100399971,
-0.0538119338452816,
0.04817449301481247,
-0.0353621281683445,
0.04088974744081497,
0.007211531046777964,
0.03902280330657959,
0.002178102033212781,
-0.020005593076348305,
-0.03146350756287575,
-0.008945776149630547,
0.04744235798716545,
0.0020236673299223185,
0.03666166588664055,
-0.006863766815513372,
0.011146757751703262,
0.017552940174937248,
-0.016610315069556236,
-0.0013292828807607293,
0.0925418809056282,
-0.018047131597995758,
-0.04982179403305054,
0.01614357903599739,
0.015429748222231865,
-0.028150595724582672,
0.03495945408940315,
-0.020993974059820175,
0.007010194007307291,
0.019456490874290466,
0.002158654620870948,
0.023208683356642723,
-0.01233647670596838,
-0.10249891877174377,
-0.01923685148358345,
-0.006703612394630909,
0.07185906171798706,
-0.019438188523054123,
-0.028864428400993347,
-0.01996898651123047,
0.049565549939870834,
0.008739863522350788,
0.03807102516293526,
-0.009636729024350643,
0.011485369876027107,
-0.03226885572075844,
0.03722907230257988,
0.050736963748931885,
-0.02529526874423027,
-0.007971120998263359,
-0.04151206091046333,
0.013654320500791073,
-0.02498411200940609,
0.04352543503046036,
-0.02448992058634758,
-0.015988001599907875,
0.007097134832292795,
-0.015914786607027054,
-0.017845794558525085,
0.06783232092857361,
0.08595266193151474,
-0.006081297527998686,
0.014935556799173355,
0.018275924026966095,
0.016555406153202057,
-0.029724687337875366,
0.008872563019394875,
-0.050553932785987854,
0.0074494751170277596,
-0.030639855191111565,
-0.10857564210891724,
0.04451381787657738,
-0.03010905720293522,
-0.04638076201081276,
-0.03975493833422661,
-0.04389150068163872,
-0.014285787008702755,
-0.006117904093116522,
-0.01496301218867302,
-0.016683530062437057,
0.04045046493411064,
0.01978595182299614,
-0.05963240563869476,
-0.006859191227704287,
0.05150570720434189,
-0.0011107862228527665,
-0.04583165794610977,
0.018696900457143784,
0.02776622585952282,
0.032488495111465454,
-0.007307623978704214,
0.11677555739879608,
-0.010460380464792252,
-0.07105371356010437,
0.0004192617489024997,
0.000837379542645067,
-0.003253425471484661,
0.017040444537997246,
0.026320258155465126,
-0.04744235798716545,
-0.04649057984352112,
-0.02553321234881878,
0.07185906171798706,
0.070468008518219,
-0.022403335198760033,
0.026759538799524307,
0.002347408328205347,
-0.023464931175112724,
0.0023863029200583696,
0.08046165108680725,
-0.00490072974935174,
-0.04154866933822632,
0.011512825265526772,
0.015621933154761791,
0.04557541385293007,
-0.0306764617562294,
-0.03155502304434776,
0.016299158334732056,
0.017269236966967583,
-0.044623635709285736,
0.012995398603379726,
-0.03631390258669853,
0.026118921115994453,
0.00865292176604271,
0.08485446125268936,
-0.03226885572075844,
0.007454050704836845,
-0.04261026531457901,
0.04755217581987381,
0.012931336648762226,
-0.025203751400113106,
0.08075450360774994,
0.02337341383099556,
0.01645473763346672,
0.04286651313304901,
-0.01898060366511345,
0.013398072682321072,
0.03743040934205055,
-0.041841521859169006,
-0.07372600585222244,
-0.013096067123115063,
0.046600401401519775,
-0.05410478636622429,
0.02875460684299469,
0.01490810140967369,
0.036204081028699875,
-0.029138978570699692,
-0.0180013719946146,
-0.00190927111543715,
0.05622797831892967,
-0.047149501740932465,
0.0041434271261096,
0.03733889013528824,
0.025862673297524452,
-0.03294607996940613,
0.01614357903599739,
0.03902280330657959,
-0.03792459890246391,
-0.0431593656539917,
-0.014386455528438091,
0.03137199208140373,
-0.038803163915872574,
0.045355770736932755,
0.01650049537420273,
-0.04304954409599304,
0.011329791508615017,
0.027546584606170654,
-0.0033701094798743725,
0.014294938184320927,
0.0077240257523953915,
0.058094922453165054,
0.007129165809601545,
-0.007875028997659683,
-0.026009101420640945,
-0.010149223729968071,
-0.002528154058381915,
0.03803442046046257,
0.004198337439447641,
-0.0038048147689551115,
0.022348424419760704,
-0.02165289595723152,
0.020756030455231667,
-0.002262755064293742,
0.035838015377521515,
-0.021158704534173012,
0.053153011947870255,
0.006003507878631353,
-0.004255535546690226,
0.0168299563229084,
-0.029651472344994545,
-0.04707628861069679,
-0.03902280330657959,
0.03023718111217022,
0.010789841413497925,
-0.027308641001582146,
-0.003058952046558261,
-0.025643033906817436,
-0.050480715930461884,
-0.03450186923146248,
0.05289676412940025,
0.020005593076348305,
-0.04323257878422737,
-0.037631746381521225,
-0.028150595724582672,
0.005166128743439913,
0.030273787677288055,
0.005065459758043289,
0.00760505348443985,
-0.0053994967602193356,
0.07167603075504303,
-0.018962299451231956,
-0.0017045021522790194,
0.02987111359834671,
0.01583242230117321,
-0.012007015757262707,
0.004772605840116739,
-0.0031550447456538677,
-0.06362254172563553,
0.023464931175112724,
-0.04026743397116661,
-0.041768308728933334,
-0.012455448508262634,
0.023336807265877724,
0.00020062219118699431,
-0.02448992058634758,
-0.036204081028699875,
0.024636346846818924,
0.03140859678387642,
0.02207387425005436,
0.04766199737787247,
-0.03894959017634392,
-0.09993644803762436,
-0.05187177285552025,
0.0027981288731098175,
-0.030328698456287384,
0.0010930548887699842,
0.0024823956191539764,
-0.029651472344994545,
0.04187813028693199,
-0.038803163915872574,
0.046051301062107086,
0.08873477578163147,
0.016354069113731384,
0.03538043051958084,
-0.003047512611374259,
-0.00794366654008627,
-0.06592877209186554,
-0.010872206650674343,
-0.028480056673288345,
-0.022842615842819214,
-0.012684240937232971,
0.02573454938828945,
-0.034666597843170166,
0.025624729692935944,
-0.04304954409599304,
-0.02121361531317234,
-0.02313547022640705,
-0.08090092986822128,
0.01596054621040821,
-0.04630754888057709,
0.004120548255741596,
0.0006400462589226663,
-0.04546559229493141,
0.014185118488967419,
-0.007284744642674923,
-0.006914101075381041,
-0.06830820441246033,
0.0335317887365818,
0.054763708263635635,
-0.05857080966234207,
-0.0694064125418663,
-0.08712407946586609,
-0.020188625901937485,
-0.031811270862817764,
0.013617713935673237,
-0.027729617431759834,
0.058790452778339386,
0.007097134832292795,
0.06764928996562958,
-0.026503290981054306,
0.05893687903881073,
0.018596231937408447,
0.0120253199711442,
-0.000009884539394988678,
-0.06519663333892822,
0.009645880199968815,
-0.016161883249878883,
-0.034282226115465164,
0.06325647234916687,
0.022165391594171524,
-0.05578869581222534,
-0.008442433550953865,
0.0074677783995866776,
0.0165096465498209,
0.029102372005581856,
0.021854232996702194,
-0.04304954409599304,
-0.04539237916469574,
0.001730813179165125,
0.024160459637641907,
0.020426569506525993,
-0.004614739213138819,
0.0018349136225879192,
-0.016683530062437057,
-0.07562956213951111,
0.030163967981934547,
-0.058717235922813416,
-0.015191803686320782,
0.010808144696056843,
-0.007271016947925091,
-0.0509566068649292,
-0.056008338928222656,
0.031115742400288582,
0.03104252927005291,
0.0413290299475193,
0.05659404769539833,
0.009298115968704224,
0.028278719633817673,
0.0045392378233373165,
-0.05275033786892891,
0.009517756290733814,
0.021854232996702194,
-0.05059053748846054,
-0.020920760929584503,
-0.06973586976528168,
0.012977095320820808,
-0.03325723856687546,
-0.014020388014614582,
-0.03450186923146248,
0.02139665000140667,
0.016985535621643066,
-0.032488495111465454,
-0.03883976861834526,
-0.020426569506525993,
0.007518112659454346,
0.02555151656270027,
0.005564227234572172,
0.015933090820908546,
-0.02573454938828945,
-0.05275033786892891,
0.02732694335281849,
0.046161118894815445,
-0.005285100545734167,
-0.051176246255636215,
0.03197600319981575,
0.09598291665315628,
0.012995398603379726,
0.007939090020954609,
0.06208505854010582,
-0.05831456184387207,
-0.030841192230582237,
0.0011250857496634126,
0.017397360876202583,
-0.01240053866058588,
0.03283626213669777,
-0.04250044375658035,
0.0008145003230310977,
0.014020388014614582,
-0.024032335728406906,
0.02708899974822998,
0.04751557111740112,
-0.04330579191446304,
0.005596257746219635,
-0.06464753299951553,
0.016729287803173065,
-0.08646515756845474,
-0.013562803156673908,
-0.018092889338731766,
-0.008506495505571365,
-0.0021826778538525105,
0.013535348698496819,
-0.0462709404528141,
-0.019090423360466957,
0.023043952882289886,
-0.0023005057591944933,
0.013407224789261818,
0.022787706926465034,
-0.0077606323175132275,
0.04228080436587334,
-0.0426468700170517,
-0.02727203443646431,
-0.01425833161920309,
0.07570277154445648,
0.042317409068346024,
0.01923685148358345,
0.004740574862807989,
0.010716628283262253,
0.006053842604160309,
-0.027693010866642,
-0.023464931175112724,
0.014651854522526264,
0.03675318509340286,
-0.08075450360774994,
0.004628466907888651,
-0.052969977259635925,
-0.028846124187111855,
0.00241833389736712,
-0.05388514697551727,
-0.02919388934969902,
0.016738438978791237,
0.0074677783995866776,
-0.06270737200975418,
-0.02906576544046402,
0.009819762781262398,
-0.014340696856379509
]
|
31,517 | laspy.point.format | ExtraBytesParams | All parameters needed to create extra bytes | class ExtraBytesParams:
"""All parameters needed to create extra bytes"""
def __init__(
self,
name: str,
type: Union[str, np.dtype, Type[np.uint8]],
description: str = "",
offsets: Optional[Iterable[Number]] = None,
scales: Optional[Iterable[Number]] = None,
) -> None:
self.name = name
""" The name of the extra dimension """
if isinstance(type, str):
# Work around numpy deprecating support
# for '1type' strings
n = "".join(takewhile(lambda c: c.isdigit(), type))
if n == "1":
type = type[1:]
self.type = np.dtype(type)
""" The type of the extra dimension """
self.description = description
""" A description of the extra dimension """
self.offsets = np.array(offsets) if offsets is not None else offsets
""" The offsets to use if its a 'scaled dimension', can be none """
self.scales = np.array(scales) if scales is not None else scales
""" The scales to use if its a 'scaled dimension', can be none """
| (name: str, type: Union[str, numpy.dtype, Type[numpy.uint8]], description: str = '', offsets: Optional[Iterable[Union[numpy.number, float, int]]] = None, scales: Optional[Iterable[Union[numpy.number, float, int]]] = None) -> None | [
0.01331868302077055,
-0.013746908865869045,
-0.009141300804913044,
0.04806611314415932,
0.01814277283847332,
-0.036110758781433105,
-0.041564080864191055,
-0.020362554118037224,
-0.0007226302986964583,
-0.008061998523771763,
0.08417687565088272,
0.01346725132316351,
0.01111638080328703,
-0.017321279272437096,
-0.016132736578583717,
0.0339958518743515,
0.041354335844516754,
-0.0018177729798480868,
0.021411268040537834,
0.00507315993309021,
0.014157655648887157,
0.034118201583623886,
0.018474865704774857,
0.04282253608107567,
0.007957126945257187,
0.07320032268762589,
0.02378835715353489,
-0.013921694830060005,
0.020030461251735687,
-0.044360652565956116,
-0.07571724057197571,
-0.04757671430706978,
-0.012383578345179558,
0.08445653319358826,
-0.023963142186403275,
-0.03525431081652641,
0.029451418668031693,
0.029853425920009613,
-0.08382730185985565,
0.01789807341992855,
0.0038955400232225657,
-0.013633297756314278,
0.014411094598472118,
-0.07627655565738678,
0.03292965888977051,
0.0039042793214321136,
-0.021621011197566986,
0.02878723293542862,
-0.13402579724788666,
0.05278533324599266,
0.0501985028386116,
-0.04918474331498146,
0.05649079382419586,
-0.016185171902179718,
0.0004861232009716332,
0.04467526823282242,
0.04034058004617691,
0.06264325231313705,
-0.024627329781651497,
0.03736921772360802,
-0.01913905330002308,
0.05746959522366524,
0.05421857535839081,
-0.02618292346596718,
-0.05254063382744789,
0.02829783223569393,
-0.057259850203990936,
-0.010504630394279957,
-0.0015839969273656607,
0.05044320225715637,
0.046213384717702866,
-0.0232465211302042,
-0.03518439456820488,
0.017679590731859207,
-0.022127890959382057,
0.012138878926634789,
-0.04020075127482414,
-0.025868307799100876,
0.02864740416407585,
0.0017762613715603948,
0.004544432740658522,
0.03154885023832321,
-0.009665658697485924,
0.0018734859768301249,
0.07166220247745514,
-0.008013932034373283,
-0.0501985028386116,
0.01999550312757492,
0.05282028764486313,
-0.014559662900865078,
-0.05617617815732956,
0.030220476910471916,
-0.004266960080713034,
0.044255781918764114,
0.02268720604479313,
-0.04921970143914223,
0.017181450501084328,
-0.020624732598662376,
-0.010950334370136261,
-0.0032138752285391092,
-0.03848784789443016,
-0.07124271988868713,
0.04107467830181122,
-0.010994031094014645,
-0.016823139041662216,
-0.03305200859904289,
-0.009901619516313076,
-0.028857147321105003,
-0.02903193235397339,
-0.008236784487962723,
0.028909582644701004,
-0.006991434842348099,
-0.06680315732955933,
-0.008551398292183876,
-0.00007476192695321515,
0.00964817963540554,
-0.0012573658023029566,
-0.013886737637221813,
-0.02599065937101841,
0.013274986296892166,
0.03277235105633736,
0.036914777010679245,
-0.018002944067120552,
0.037509046494960785,
-0.015879295766353607,
0.013475990854203701,
0.041214507073163986,
0.029101846739649773,
-0.016263825818896294,
-0.05589652061462402,
0.0032138752285391092,
-0.025431344285607338,
-0.06477564573287964,
0.016106517985463142,
0.028123045340180397,
-0.035656318068504333,
0.06694298982620239,
0.0038933551404625177,
-0.03334914520382881,
0.003939236514270306,
0.0035481532104313374,
0.05096755921840668,
0.02364852838218212,
-0.009403479285538197,
-0.022722162306308746,
-0.0009187182295136154,
0.033314187079668045,
-0.10410246253013611,
-0.05477789044380188,
0.00919373705983162,
-0.08550524711608887,
0.012523407116532326,
-0.03757896274328232,
0.014026566408574581,
0.03345401585102081,
-0.03635546192526817,
0.017382454127073288,
-0.06823640316724777,
-0.0035700013395398855,
0.00552323367446661,
-0.050058674067258835,
-0.02048490382730961,
-0.029049411416053772,
-0.06603410094976425,
-0.02083447575569153,
0.04554919898509979,
-0.008564507588744164,
-0.026969458907842636,
-0.002835900755599141,
0.03957151994109154,
0.04663287103176117,
-0.009779269807040691,
0.013126418925821781,
0.022215284407138824,
-0.005951459053903818,
0.05991659685969353,
-0.015180152840912342,
-0.037753745913505554,
-0.04055032134056091,
-0.041214507073163986,
0.0570850633084774,
0.018282601609826088,
0.0002802035887725651,
-0.010303626768290997,
0.03618067502975464,
-0.03382106497883797,
0.013746908865869045,
0.04743688553571701,
0.025711001828312874,
-0.025676043704152107,
0.05998650938272476,
0.05614122003316879,
0.0338909812271595,
0.06274812668561935,
0.03163624182343483,
-0.017828159034252167,
0.04348672553896904,
0.015101498924195766,
0.02354365587234497,
0.07599689811468124,
-0.02529151551425457,
-0.0006685559637844563,
0.026322752237319946,
-0.05142200365662575,
0.00028648495208472013,
-0.03334914520382881,
0.023351391777396202,
-0.007852255366742611,
-0.09438437223434448,
-0.023526178672909737,
0.030814748257398605,
-0.0028992604929953814,
0.050408244132995605,
0.0035197504330426455,
0.04817098379135132,
-0.035464052110910416,
-0.02784338966012001,
0.03184598684310913,
-0.01609777845442295,
-0.022564856335520744,
0.09536316990852356,
0.012409796938300133,
0.010155059397220612,
0.041808780282735825,
0.01833503693342209,
-0.010058926418423653,
0.036005888134241104,
-0.023159127682447433,
0.027161724865436554,
0.013580862432718277,
-0.0029364025685936213,
0.015879295766353607,
-0.03507952392101288,
0.027004417032003403,
0.021568575873970985,
0.038557764142751694,
0.006611275486648083,
-0.025378908962011337,
0.06400658190250397,
-0.043661508709192276,
-0.004902743734419346,
0.02973107621073723,
-0.018964266404509544,
0.020152810961008072,
0.019366273656487465,
-0.06610401719808578,
0.0006368760368786752,
0.08012184500694275,
-0.007633772678673267,
0.0038780614268034697,
-0.012628278695046902,
-0.023980621248483658,
0.011168817058205605,
0.019121574237942696,
0.026707280427217484,
0.04778645560145378,
0.006423380691558123,
-0.0323004275560379,
0.03174111247062683,
-0.025308994576334953,
-0.010950334370136261,
0.011308645829558372,
0.023963142186403275,
0.03202077001333237,
-0.0027790952008217573,
-0.036809902638196945,
0.03128667175769806,
-0.010041448287665844,
-0.053064990788698196,
0.04114459455013275,
0.035761188715696335,
0.09389496594667435,
0.012331143021583557,
-0.015215110033750534,
0.005296011921018362,
-0.036110758781433105,
0.05949711054563522,
0.010067665949463844,
0.04729705676436424,
0.00782603770494461,
0.006759843323379755,
-0.07655621320009232,
-0.006947738118469715,
0.0009318271768279374,
0.018911831080913544,
0.013676994480192661,
-0.012872979044914246,
-0.008263002149760723,
-0.007445877883583307,
-0.028053132817149162,
-0.046562954783439636,
0.009316086769104004,
-0.00997153390198946,
-0.009053908288478851,
-0.005610626190900803,
-0.02814052440226078,
-0.04013083502650261,
0.026829630136489868,
0.05806386470794678,
-0.010504630394279957,
-0.01913905330002308,
0.04009587690234184,
0.040864937007427216,
0.03088466264307499,
-0.012444754131138325,
-0.0015009735943749547,
0.03792853280901909,
-0.022774599492549896,
0.011876699514687061,
0.03424055129289627,
0.019978024065494537,
0.019121574237942696,
0.004570650402456522,
0.03642537444829941,
0.0336812362074852,
0.02239006944000721,
0.06904041767120361,
0.025711001828312874,
0.0004787494253832847,
0.08634421974420547,
0.027913304045796394,
-0.008787359111011028,
-0.07557740807533264,
-0.04219330847263336,
0.016132736578583717,
-0.01913905330002308,
0.024155406281352043,
-0.039396733045578,
0.023980621248483658,
-0.010513369925320148,
-0.010740591213107109,
0.014332441613078117,
-0.005108117125928402,
0.009324826300144196,
-0.01824764534831047,
-0.007437138818204403,
-0.020012982189655304,
-0.007410920690745115,
-0.020712126046419144,
0.0005926333251409233,
-0.009455915540456772,
-0.040760066360235214,
-0.038313060998916626,
0.011588303372263908,
-0.02069464698433876,
-0.10864689946174622,
0.018020423129200935,
-0.036914777010679245,
-0.00589902326464653,
0.06711777299642563,
0.017172710970044136,
-0.020467424765229225,
-0.004841568414121866,
0.03427550941705704,
0.06662837415933609,
0.0006510773673653603,
-0.011430995538830757,
-0.008957775309681892,
0.024277757853269577,
0.023770878091454506,
0.07236135005950928,
0.020816996693611145,
0.04194860905408859,
-0.019645931199193,
-0.009324826300144196,
-0.004959548823535442,
0.020816996693611145,
-0.024819593876600266,
0.00015949210501275957,
0.015398634597659111,
-0.0005117948749102652,
-0.04138929396867752,
-0.020519860088825226,
-0.00564995314925909,
0.03123423457145691,
-0.015407374128699303,
-0.1259157359600067,
0.03195085749030113,
-0.07949261367321014,
-0.035516489297151566,
-0.014079001732170582,
-0.0354815311729908,
-0.011789306998252869,
0.009228694252669811,
0.018702087923884392,
0.016910532489418983,
0.039186991751194,
-0.00038534821942448616,
-0.016255086287856102,
0.02644510194659233,
-0.011404777877032757,
0.010338583961129189,
0.007533270865678787,
0.021428747102618217,
-0.03827810660004616,
-0.009788008406758308,
-0.046458084136247635,
0.04907987266778946,
-0.07949261367321014,
-0.026882067322731018,
-0.021184047684073448,
-0.10354314744472504,
-0.032055728137493134,
0.03497465327382088,
0.013589601032435894,
-0.0319858156144619,
-0.008472745306789875,
0.041214507073163986,
-0.02284451387822628,
0.07292066514492035,
-0.008123173378407955,
0.006794800516217947,
0.009482133202254772,
-0.00040938128950074315,
0.014349919743835926,
-0.002495068358257413,
-0.006969586480408907,
-0.049464400857686996,
0.017364976927638054,
0.009307347238063812,
0.019488625228405,
-0.0013633298221975565,
0.011343603022396564,
0.07271092385053635,
0.029259154573082924,
-0.0016386174829676747,
-0.0337861068546772,
0.0037163845263421535,
0.005667431745678186,
0.008380982093513012,
-0.04303228110074997,
0.032213035970926285,
-0.04712226986885071,
-0.02474967949092388,
0.01585307903587818,
-0.01719892956316471,
0.0004645480657927692,
-0.03289470076560974,
0.015809381380677223,
0.041913650929927826,
-0.019663410261273384,
0.009517090395092964,
0.006113135721534491,
-0.01166695635765791,
-0.012645757757127285,
-0.03137406334280968,
-0.05351943150162697,
0.03497465327382088,
-0.03897725045681,
-0.03212564438581467,
0.04768158495426178,
-0.021323876455426216,
0.055057547986507416,
-0.06456589698791504,
0.03806836158037186,
-0.057644378393888474,
0.014699491672217846,
-0.08508576452732086,
-0.0027878344990313053,
-0.03238782286643982,
0.013012807816267014,
0.02079951763153076,
-0.03375115245580673,
-0.02013533189892769,
0.009289869107306004,
0.0065981666557490826,
0.03382106497883797,
-0.030360305681824684,
0.00947339367121458,
0.02833278849720955,
0.039956048130989075,
0.01127368863672018,
0.0395016074180603,
-0.007319158408790827,
0.08732301741838455,
0.0214986614882946,
0.0038758765440434217,
0.025658564642071724,
-0.046562954783439636,
-0.0642862394452095,
0.00789595115929842,
-0.035656318068504333,
0.00031980351195670664,
-0.009184997528791428,
-0.006746734492480755,
0.02443506382405758,
-0.01129116676747799,
0.028455140069127083,
0.006917150691151619,
0.030972056090831757,
-0.07620663940906525,
0.07641638070344925,
-0.029678640887141228,
0.04572398215532303,
0.06082548201084137,
0.03128667175769806,
0.028560010716319084,
0.02120152674615383,
-0.010583284310996532,
0.011465952731668949,
0.013886737637221813,
-0.025361429899930954,
-0.0057854121550917625,
-0.0816599577665329,
0.013633297756314278,
-0.07292066514492035,
-0.01294289343059063,
0.02574595808982849,
0.009840444661676884,
0.017434891313314438,
-0.06201402470469475,
0.015442331321537495,
-0.024470021948218346,
0.020782040432095528,
0.00037879374576732516,
0.038662634789943695,
-0.04666782543063164,
0.013414815068244934,
0.04554919898509979,
-0.011894178576767445,
-0.002481959294527769,
0.07571724057197571,
0.02429523505270481,
-0.056910280138254166,
0.004190491046756506,
-0.0032291689421981573,
-0.05117730051279068,
-0.07914303988218307,
0.02814052440226078,
0.07131263613700867,
-0.017758244648575783,
0.0002471581392455846,
0.02564108744263649,
0.018317559733986855,
0.02448750101029873,
0.02403305657207966,
0.0063927932642400265,
0.03313940018415451,
0.03555144742131233,
-0.03957151994109154,
0.0033777370117604733,
-0.00804451946169138,
0.042612794786691666,
-0.060860440135002136,
-0.058098822832107544,
0.06505530327558517,
0.04002596437931061,
0.053449518978595734,
0.030010733753442764,
-0.0640764981508255,
-0.04212339594960213,
0.013406076468527317,
0.0015086205676198006,
0.009482133202254772,
0.022529898211359978,
-0.021114133298397064,
-0.010740591213107109,
-0.06474068760871887,
0.0010208587627857924,
0.018072858452796936,
-0.007437138818204403,
-0.0031133731827139854,
0.02723163738846779,
0.0005257230950519443,
-0.10333340615034103,
0.03493969514966011,
-0.03953656181693077,
0.009805487468838692,
-0.06523008644580841,
0.013572122901678085,
-0.04582885652780533,
0.04502483829855919,
-0.018457388505339622,
-0.003076231339946389,
-0.04334689676761627,
-0.015975428745150566,
-0.0214462261646986,
0.020432468503713608,
-0.017609676346182823,
-0.019873153418302536,
-0.0011983755975961685,
0.041913650929927826,
-0.0116232605651021,
-0.04009587690234184,
0.0036071434151381254,
-0.006921520456671715,
0.041564080864191055,
-0.01719892956316471,
-0.028105568140745163,
0.024662286043167114,
0.017172710970044136,
0.019383752718567848,
-0.008035779930651188,
-0.0015927362255752087,
0.0008914079517126083,
0.03004569001495838,
-0.030605005100369453,
-0.009630701504647732,
-0.019628452137112617,
-0.02223276160657406,
0.0017587827751412988,
0.027965739369392395,
-0.02424279972910881,
0.05289020389318466,
0.037718791514635086,
0.013607080094516277,
-0.02174336276948452,
0.04348672553896904,
-0.0005071521154604852,
-0.03838297724723816,
0.019803239032626152,
0.016071559861302376,
-0.00543584069237113,
-0.04334689676761627,
-0.025728479027748108,
-0.030622484162449837,
-0.05673549324274063,
0.01166695635765791,
0.04359159618616104,
-0.011125120334327221,
-0.057154979556798935,
0.05128217488527298,
-0.005212988704442978,
-0.015477288514375687,
-0.08424679189920425,
-0.030307870358228683,
-0.02099178358912468,
-0.060650695115327835,
-0.0037163845263421535,
-0.06442607194185257,
0.005663061980158091,
0.024574892595410347,
0.08284850418567657,
-0.05932232365012169,
-0.0012475341791287065,
-0.05012858659029007,
-0.03053509071469307,
-0.014183873310685158,
0.023473741486668587,
0.05212114751338959,
0.04694748297333717,
0.02204049751162529,
-0.0643911138176918,
0.023263998329639435,
-0.00410965271294117,
0.014463530853390694,
-0.00032499246299266815,
-0.08585482090711594,
0.004693000577390194,
-0.015713250264525414,
-0.025361429899930954,
0.0425778366625309,
0.011238731443881989,
-0.04516466706991196,
0.02079951763153076,
0.060650695115327835,
-0.03413568064570427,
0.036809902638196945,
0.0076818387024104595,
-0.03803340345621109,
-0.007135632913559675,
-0.0318809412419796,
0.013073982670903206,
-0.0006625477108173072,
-0.002120370976626873,
0.002447002101689577,
-0.0017456738278269768,
-0.04187869280576706,
0.05163174495100975,
-0.025466300547122955,
-0.0013786235358566046,
0.016202649101614952,
0.003076231339946389,
-0.034013330936431885,
-0.010382280685007572,
0.0016659278189763427,
-0.03415315970778465,
0.007909060455858707,
0.04037553444504738,
0.0247846357524395,
0.029206719249486923,
0.043661508709192276,
-0.00405940180644393,
0.013012807816267014,
0.012165096588432789,
-0.014411094598472118,
0.002447002101689577,
0.037753745913505554,
-0.060860440135002136,
-0.017828159034252167,
-0.0014496302464976907,
0.0159404706209898,
0.055756691843271255,
0.0054052527993917465,
-0.017522282898426056,
-0.05484780669212341,
0.012269968166947365,
-0.06152462586760521,
0.01894678734242916,
-0.027808431535959244,
-0.029468897730112076,
-0.029661161825060844,
-0.0816599577665329,
0.014935452491044998,
0.006414641160517931,
0.049953799694776535,
-0.024504978209733963,
-0.039152033627033234,
0.03179354965686798,
0.023351391777396202,
-0.007244874257594347,
0.06512521207332611,
0.057644378393888474,
-0.08277858793735504,
-0.06918025016784668,
0.07222151756286621,
0.027651123702526093,
0.009674398228526115,
-0.019016701728105545,
0.06722264736890793,
-0.017059100791811943,
0.06694298982620239,
0.07788458466529846,
0.029905861243605614,
-0.09557291120290756,
0.01894678734242916,
-0.02303677797317505,
-0.04859047010540962,
-0.0029866534750908613,
-0.02109665423631668,
0.02819295972585678,
0.004295362625271082,
-0.009779269807040691,
0.042368095368146896,
-0.01037354115396738,
-0.029923340305685997,
-0.034607600420713425,
-0.03722938895225525,
-0.0059077623300254345,
0.009403479285538197,
-0.021673448383808136,
0.04324202239513397,
0.004170827567577362,
0.03277235105633736,
-0.03834801912307739,
-0.0168930534273386,
0.04733201488852501,
0.05163174495100975,
0.0012092997785657644,
-0.008914079517126083,
0.02474967949092388,
0.0037994077429175377,
-0.08879122138023376,
0.017732026055455208,
0.007065718527883291,
-0.05792403593659401,
0.05082773044705391,
-0.016560960561037064,
-0.023613570258021355,
-0.05893779546022415,
-0.07166220247745514,
-0.025920744985342026,
0.015302502550184727,
0.0388723760843277,
0.0027703559026122093,
0.0033187465742230415,
0.002519101370126009,
0.030063169077038765
]
|
31,518 | laspy.point.format | __init__ | null | def __init__(
self,
name: str,
type: Union[str, np.dtype, Type[np.uint8]],
description: str = "",
offsets: Optional[Iterable[Number]] = None,
scales: Optional[Iterable[Number]] = None,
) -> None:
self.name = name
""" The name of the extra dimension """
if isinstance(type, str):
# Work around numpy deprecating support
# for '1type' strings
n = "".join(takewhile(lambda c: c.isdigit(), type))
if n == "1":
type = type[1:]
self.type = np.dtype(type)
""" The type of the extra dimension """
self.description = description
""" A description of the extra dimension """
self.offsets = np.array(offsets) if offsets is not None else offsets
""" The offsets to use if its a 'scaled dimension', can be none """
self.scales = np.array(scales) if scales is not None else scales
""" The scales to use if its a 'scaled dimension', can be none """
| (self, name: str, type: Union[str, numpy.dtype, Type[numpy.uint8]], description: str = '', offsets: Optional[Iterable[Union[numpy.number, float, int]]] = None, scales: Optional[Iterable[Union[numpy.number, float, int]]] = None) -> NoneType | [
0.0016963048838078976,
0.0011554376687854528,
0.022242456674575806,
0.025925343856215477,
0.04009447991847992,
0.0026465076953172684,
-0.01901312917470932,
-0.026433328166604042,
-0.03501463681459427,
0.02754000946879387,
0.05511630326509476,
0.03339996933937073,
0.026741746813058853,
-0.021190203726291656,
0.021135777235031128,
0.027068309485912323,
0.039550211280584335,
-0.006753470283001661,
0.013116881251335144,
0.0140874944627285,
0.006485871504992247,
-0.0042634401470422745,
0.028011707589030266,
0.03261985257267952,
0.021480480208992958,
0.06825132668018341,
0.02006538212299347,
-0.003306433791294694,
-0.005723895039409399,
-0.06349804252386093,
-0.10326596349477768,
-0.006875930819660425,
-0.02476423606276512,
0.05761994048953056,
-0.008127749897539616,
-0.03443408012390137,
-0.028428981080651283,
0.004424452781677246,
-0.02652403898537159,
0.06259092688560486,
0.05359235033392906,
-0.015992436558008194,
-0.02142605371773243,
-0.061683814972639084,
0.020537082105875015,
0.020482653751969337,
0.0013141827657818794,
-0.03020692616701126,
-0.12518185377120972,
0.036212027072906494,
0.019158266484737396,
-0.02305886149406433,
0.050834719091653824,
-0.02278672717511654,
-0.026977596804499626,
0.04626286029815674,
0.07169836014509201,
0.08534137159585953,
-0.017797594889998436,
0.012209766544401646,
-0.04934705048799515,
0.064405158162117,
0.007193421013653278,
-0.007660585455596447,
-0.05580570921301842,
0.03060605749487877,
-0.016219213604927063,
-0.020482653751969337,
-0.010912592522799969,
0.03886080160737038,
0.061030689626932144,
0.001700840424746275,
-0.03798997402191162,
-0.00968798715621233,
0.02893696539103985,
0.0020308035891503096,
-0.021135777235031128,
-0.03907851129770279,
0.05870847776532173,
-0.009343283250927925,
-0.005973351653665304,
0.07445599138736725,
-0.01749824732542038,
0.002682792255654931,
0.06182895228266716,
0.02621562033891678,
-0.04517432302236557,
0.017062831670045853,
0.011230082251131535,
0.007343095261603594,
-0.053193219006061554,
-0.017661526799201965,
-0.011402434669435024,
0.040239617228507996,
-0.011338936164975166,
-0.009306998923420906,
0.0210813507437706,
-0.07677820324897766,
0.03428894281387329,
0.02211546152830124,
-0.001629405189305544,
-0.07692334055900574,
0.026433328166604042,
-0.005955209489911795,
-0.04557345435023308,
-0.01711725816130638,
-0.009043935686349869,
0.01209184154868126,
-0.06977527588605881,
0.00511159235611558,
0.03062419965863228,
0.026941312476992607,
-0.03338182717561722,
0.01765245571732521,
-0.01344344299286604,
0.024746093899011612,
-0.006200130563229322,
-0.03138617426156998,
-0.025961628183722496,
0.009216287173330784,
-0.010622315108776093,
0.037554558366537094,
-0.01973881945014,
0.04709740728139877,
-0.015874510630965233,
0.007025605067610741,
-0.012817533686757088,
0.01292638760060072,
0.004748746752738953,
-0.042634401470422745,
0.01930340565741062,
-0.03626645356416702,
-0.06556626409292221,
0.04009447991847992,
0.017316823825240135,
0.004116033669561148,
0.0670902207493782,
0.005878104362636805,
-0.06269977986812592,
0.022242456674575806,
-0.01458640769124031,
0.04045732319355011,
0.019466685131192207,
-0.014132849872112274,
-0.049782466143369675,
0.027667004615068436,
0.020555224269628525,
-0.05188697203993797,
-0.03628459572792053,
-0.0009904560865834355,
-0.10805552452802658,
-0.006200130563229322,
-0.001962769776582718,
0.014912969432771206,
0.04045732319355011,
-0.0619015209376812,
-0.02111763507127762,
-0.06186523661017418,
0.032837558537721634,
0.028592262417078018,
-0.06901330500841141,
-0.00746102025732398,
-0.03659301623702049,
-0.05406404659152031,
-0.05990586802363396,
0.029698941856622696,
-0.01292638760060072,
-0.06255464255809784,
-0.007184349931776524,
0.0414007231593132,
0.054898593574762344,
-0.0251089408993721,
0.045718591660261154,
0.02857412025332451,
-0.053483493626117706,
0.0584544837474823,
0.001955966465175152,
0.009951050393283367,
-0.038497958332300186,
-0.03828024864196777,
0.057982783764600754,
0.02995293401181698,
-0.03445222228765488,
-0.009216287173330784,
0.0027848428580909967,
-0.030025502666831017,
-0.0037826690822839737,
0.024365106597542763,
0.0275037232786417,
0.052866656333208084,
0.05776507779955864,
0.053120650351047516,
0.012917316518723965,
0.01207369938492775,
0.045319460332393646,
0.004780495539307594,
0.01837814785540104,
0.0034833212848752737,
0.00015973726112861186,
0.029118388891220093,
-0.022587161511182785,
0.04985503479838371,
0.016854194924235344,
-0.0029912113677710295,
0.010912592522799969,
0.00020480953389778733,
0.028410838916897774,
0.008821692317724228,
-0.08251117169857025,
-0.0025648674927651882,
0.015239530242979527,
-0.0024673524312675,
0.02519965171813965,
0.010114330798387527,
0.028465265408158302,
-0.017053760588169098,
-0.06542112678289413,
0.011656426824629307,
0.009479350410401821,
-0.0024038543924689293,
0.07830215990543365,
0.019539255648851395,
0.013951427303254604,
0.0753268226981163,
-0.008681089617311954,
-0.012137197889387608,
0.03907851129770279,
-0.03127732127904892,
0.03492392227053642,
0.03730056434869766,
-0.023875264450907707,
-0.020301232114434242,
-0.040638748556375504,
-0.01736217923462391,
-0.016545776277780533,
0.02271415665745735,
0.003626191755756736,
0.004204477649182081,
0.04687969759106636,
-0.03390795364975929,
0.0019548325799405575,
0.022859295830130577,
-0.03911479562520981,
-0.004621750675141811,
-0.006835110951215029,
-0.027775857597589493,
-0.011647355742752552,
0.07619765400886536,
-0.006041385233402252,
-0.009842196479439735,
-0.020500797778367996,
-0.012137197889387608,
0.017280539497733116,
0.038497958332300186,
0.011348007246851921,
0.037953685969114304,
-0.01933968998491764,
-0.06959385424852371,
0.03809882700443268,
-0.07177092880010605,
-0.01906755566596985,
-0.00704374723136425,
0.03798997402191162,
0.036520447582006454,
-0.0320030152797699,
-0.04920191317796707,
0.06371574848890305,
-0.025598783046007156,
-0.03369024768471718,
-0.010123402811586857,
0.03875194862484932,
0.1366477906703949,
0.039985623210668564,
-0.016318997368216515,
-0.005451760720461607,
-0.0105406753718853,
0.05664025619626045,
-0.012164411135017872,
0.03463364765048027,
0.03251099959015846,
0.01610128954052925,
-0.05105242505669594,
-0.013933285139501095,
-0.0050753080286085606,
0.014005853794515133,
-0.023838980123400688,
0.007343095261603594,
0.002900499850511551,
-0.046008866280317307,
-0.024891233071684837,
-0.03555890545248985,
0.020936211571097374,
-0.002716809045523405,
-0.00008475854701828212,
0.010658600367605686,
-0.02382083795964718,
-0.0367925800383091,
0.06578397005796432,
0.00791457761079073,
-0.008935081772506237,
-0.0061003477312624454,
-0.001984313828870654,
0.038897085934877396,
0.031168468296527863,
-0.01968439295887947,
-0.022569019347429276,
0.02171633020043373,
-0.04067503288388252,
0.0429246760904789,
0.046045154333114624,
0.023639414459466934,
0.0555880032479763,
-0.06894073635339737,
0.0523223876953125,
0.016609273850917816,
0.054898593574762344,
0.05337464064359665,
0.005896246992051601,
0.017579887062311172,
0.08650247752666473,
0.029717084020376205,
-0.03271056339144707,
-0.06625567376613617,
-0.05849076807498932,
0.004249833524227142,
-0.0028528764378279448,
0.015801941975951195,
-0.05464460328221321,
0.031440604478120804,
0.005927995778620243,
-0.018759137019515038,
-0.01665462926030159,
-0.00040111487032845616,
0.0031136719044297934,
-0.020827358588576317,
-0.05304807797074318,
0.010268541052937508,
-0.015393739566206932,
-0.019920242950320244,
-0.011329865083098412,
-0.026651035994291306,
-0.012627039104700089,
-0.06357061117887497,
0.004880278371274471,
0.004451666492968798,
-0.07837472856044769,
0.0529029406607151,
-0.06774333864450455,
0.03189415857195854,
0.0718797817826271,
0.010994232259690762,
-0.03185787424445152,
-0.02543550170958042,
-0.003204383421689272,
0.07714105397462845,
0.012418403290212154,
-0.041981276124715805,
0.004544645547866821,
0.0011163182789459825,
0.006172916851937771,
0.056930530816316605,
0.009805912151932716,
0.03374467417597771,
0.00075347232632339,
-0.014813186600804329,
-0.039913054555654526,
0.026723604649305344,
-0.022895580157637596,
-0.00451289676129818,
0.01970253512263298,
0.003866577288135886,
-0.02343984879553318,
-0.038497958332300186,
-0.0022371720988303423,
0.027376728132367134,
-0.011166584677994251,
-0.03798997402191162,
0.010740240104496479,
-0.04597258195281029,
-0.07467369735240936,
-0.039223648607730865,
0.0029549268074333668,
-0.021680045872926712,
0.0002973636146634817,
0.0021804773714393377,
0.0003614285960793495,
-0.014668048359453678,
0.03809882700443268,
-0.04020333290100098,
0.016527634114027023,
0.020264947786927223,
-0.0032134545035660267,
0.03554076328873634,
0.0013822163455188274,
-0.033835384994745255,
0.0029753369744867086,
-0.0657476857304573,
0.028374554589390755,
-0.07656049728393555,
0.017507318407297134,
-0.04658942297101021,
-0.08628477156162262,
0.000770480721257627,
0.03711914271116257,
0.0023607665207237005,
-0.05972444638609886,
0.00576925091445446,
0.051850687712430954,
-0.009379568509757519,
0.08214832842350006,
0.0435052290558815,
0.017743168398737907,
0.016164787113666534,
-0.028174988925457,
0.0030161570757627487,
-0.00430652778595686,
0.0038053470198065042,
-0.035849180072546005,
0.012663324363529682,
0.02001095563173294,
-0.005429082550108433,
0.01670905575156212,
0.02276858501136303,
0.05446317791938782,
0.028701115399599075,
0.0053338357247412205,
-0.04698855057358742,
0.008545022457838058,
0.015747515484690666,
-0.010713026858866215,
-0.06839646399021149,
0.05613227188587189,
-0.01970253512263298,
-0.047387681901454926,
0.015430024825036526,
-0.019158266484737396,
-0.004893884994089603,
-0.05275780335068703,
-0.005043558776378632,
0.003952753264456987,
0.02273229882121086,
-0.019902100786566734,
0.005873568821698427,
-0.01342530082911253,
-0.03806254267692566,
-0.028410838916897774,
-0.03466993197798729,
0.033472541719675064,
-0.05373748764395714,
-0.07296832650899887,
0.057982783764600754,
0.044303491711616516,
0.07086381316184998,
-0.04550088196992874,
0.06603796780109406,
-0.05195954069495201,
-0.0278847124427557,
-0.06357061117887497,
0.03133174777030945,
-0.01703561842441559,
-0.048730213195085526,
0.02955380454659462,
-0.04586372897028923,
-0.04985503479838371,
0.007665120996534824,
0.052866656333208084,
0.036502305418252945,
-0.038534242659807205,
0.0056059700436890125,
-0.0022042891941964626,
0.016337139531970024,
0.0076106940396130085,
0.06052270531654358,
-0.0018720583757385612,
0.01703561842441559,
0.0016588864382356405,
0.011429647915065289,
0.024383248761296272,
-0.0004470375715754926,
-0.028283841907978058,
0.021498622372746468,
-0.016953976824879646,
-0.007538124918937683,
-0.014296131208539009,
-0.019992811605334282,
0.05065329745411873,
-0.019775105640292168,
0.008263817057013512,
-0.01627364195883274,
0.06436887383460999,
-0.07670563459396362,
0.07246033847332001,
-0.013416229747235775,
0.026397043839097023,
0.04492032900452614,
0.03318226337432861,
0.052794087678194046,
0.008046109229326248,
0.005805535241961479,
0.038969654589891434,
0.02953566052019596,
-0.021244630217552185,
-0.039949338883161545,
-0.048077091574668884,
0.03294641524553299,
-0.05674910917878151,
-0.012345833703875542,
0.029299812391400337,
-0.017008405178785324,
-0.01863214001059532,
-0.07137180119752884,
0.016228286549448967,
0.011592928320169449,
0.008345456793904305,
-0.0070029268972575665,
0.031023329123854637,
-0.0488753505051136,
0.028029849752783775,
0.030007360503077507,
-0.0010341110173612833,
0.0044289883226156235,
0.03907851129770279,
-0.004943776410073042,
-0.009642631746828556,
-0.011112157255411148,
0.009021257981657982,
0.0073748440481722355,
-0.03944135457277298,
0.036175742745399475,
0.06738049536943436,
0.029354238882660866,
-0.013633936643600464,
-0.01323480624705553,
0.03323668986558914,
0.014486624859273434,
0.024528387933969498,
-0.029971076175570488,
0.05018159747123718,
0.03875194862484932,
-0.011601999402046204,
0.017743168398737907,
-0.006390624679625034,
0.060994405299425125,
-0.057220809161663055,
-0.04013076424598694,
0.02579834870994091,
0.046008866280317307,
0.041255585849285126,
0.0590350367128849,
-0.042997244745492935,
-0.018886132165789604,
0.005243123974651098,
0.01055881753563881,
-0.003156759776175022,
0.038933370262384415,
0.023203998804092407,
-0.02382083795964718,
-0.06654594838619232,
0.005982422735542059,
0.011783422902226448,
-0.029662657529115677,
-0.007887364365160465,
0.05464460328221321,
0.03693771734833717,
-0.07217006385326385,
0.014468482695519924,
-0.04985503479838371,
0.011402434669435024,
-0.03838910162448883,
-0.020591508597135544,
-0.028991391882300377,
-0.0257802065461874,
-0.0021634690929204226,
0.013153166510164738,
-0.050762150436639786,
0.013470656238496304,
0.022224314510822296,
0.018849847838282585,
-0.04985503479838371,
-0.021915895864367485,
-0.03164016827940941,
0.03194858878850937,
-0.027413012459874153,
-0.02309514582157135,
-0.004435792099684477,
-0.04325123876333237,
0.033073410391807556,
-0.03806254267692566,
-0.03454293683171272,
0.018006231635808945,
0.046444281935691833,
-0.005714823957532644,
-0.011094015091657639,
0.04009447991847992,
0.002321080304682255,
0.0027508260682225227,
-0.01476783026009798,
-0.062373220920562744,
0.016591131687164307,
-0.009397710673511028,
-0.011674568988382816,
0.010785596445202827,
-0.05304807797074318,
0.024727951735258102,
0.008994044736027718,
-0.01444126944988966,
0.006363410968333483,
0.03396238386631012,
0.004812244791537523,
-0.06933986395597458,
0.03272870555520058,
0.024256251752376556,
-0.046335428953170776,
-0.023838980123400688,
0.001591986627317965,
-0.05707566812634468,
-0.044339776039123535,
0.026778031140565872,
0.05547914654016495,
-0.02273229882121086,
-0.03134988993406296,
0.034180089831352234,
0.020591508597135544,
-0.010586030781269073,
-0.06273606419563293,
-0.044630054384469986,
0.01584729738533497,
-0.09724272042512894,
0.029372381046414375,
-0.06654594838619232,
0.028447123244404793,
0.024546530097723007,
0.018777279183268547,
-0.09463022649288177,
-0.007846543565392494,
-0.0408201701939106,
-0.025254078209400177,
-0.005456296261399984,
0.044630054384469986,
0.057184524834156036,
0.02044636942446232,
0.011547572910785675,
0.012400261126458645,
0.042271554470062256,
-0.005914389155805111,
-0.011855991557240486,
0.03305526822805405,
-0.0734037384390831,
0.01930340565741062,
0.018559571355581284,
-0.02146233804523945,
0.038969654589891434,
-0.007007462438195944,
-0.02071850374341011,
0.020573366433382034,
0.07837472856044769,
-0.03730056434869766,
-0.0004442028293851763,
-0.013516011647880077,
-0.029463091865181923,
-0.011611070483922958,
-0.005016345530748367,
0.015321170911192894,
0.025997912511229515,
0.040239617228507996,
-0.005937066860496998,
0.03169459477066994,
-0.0488753505051136,
0.026397043839097023,
0.007574409246444702,
-0.038933370262384415,
0.01665462926030159,
0.025417359545826912,
-0.027939138934016228,
-0.01828743703663349,
0.012064628303050995,
-0.01630992628633976,
0.02280486933887005,
0.044666338711977005,
0.020210519433021545,
0.0007154868799261749,
0.032837558537721634,
0.005823677871376276,
-0.01477690227329731,
0.024709809571504593,
-0.02746743895113468,
0.004215816501528025,
-0.010132473893463612,
-0.03289198502898216,
-0.020319374278187752,
0.0036193884443491697,
0.038570526987314224,
0.04248926043510437,
-0.018922416493296623,
-0.017371250316500664,
-0.05765622481703758,
0.009642631746828556,
-0.07010184228420258,
0.001530756358988583,
0.006853253114968538,
0.01055881753563881,
0.0005000471137464046,
-0.07859243452548981,
0.03769969567656517,
0.009923837147653103,
0.0515604130923748,
-0.04938333481550217,
-0.005937066860496998,
0.05613227188587189,
0.002113577676936984,
-0.009325141087174416,
0.09223544597625732,
0.07721362262964249,
-0.07369401305913925,
-0.04473890736699104,
0.028356412425637245,
0.04111044853925705,
0.03318226337432861,
-0.015448166988790035,
0.04245297610759735,
0.019756963476538658,
0.04865764454007149,
0.048693928867578506,
0.03202115744352341,
-0.08693788945674896,
0.018024373799562454,
-0.04252554848790169,
-0.05087100341916084,
-0.005478973966091871,
-0.06280863285064697,
-0.018940558657050133,
0.01933968998491764,
0.01646413467824459,
0.038933370262384415,
-0.014150992967188358,
-0.028356412425637245,
-0.010885379277169704,
0.0014819989446550608,
0.0034107519313693047,
0.005288479849696159,
-0.03198487311601639,
0.02445581741631031,
0.0011951238848268986,
0.02209731936454773,
-0.05304807797074318,
-0.01579287089407444,
0.03911479562520981,
0.05870847776532173,
0.005329300183802843,
0.029626373201608658,
0.021262774243950844,
-0.04285210743546486,
-0.08214832842350006,
0.03730056434869766,
-0.015339313074946404,
-0.07764903455972672,
0.05849076807498932,
-0.0316220261156559,
0.00045525829773396254,
-0.06106697395443916,
-0.04009447991847992,
-0.02926352620124817,
0.017198897898197174,
0.036883290857076645,
-0.015112534165382385,
-0.02314957231283188,
0.024691667407751083,
0.00011870449088746682
]
|
31,519 | laspy.lasdata | LasData | Class synchronizing all the moving parts of LAS files.
It connects the point record, header, vlrs together.
To access points dimensions using this class you have two possibilities
.. code:: python
las = laspy.read('some_file.las')
las.classification
# or
las['classification']
| class LasData:
"""Class synchronizing all the moving parts of LAS files.
It connects the point record, header, vlrs together.
To access points dimensions using this class you have two possibilities
.. code:: python
las = laspy.read('some_file.las')
las.classification
# or
las['classification']
"""
def __init__(
self,
header: LasHeader,
points: Optional[
Union[record.PackedPointRecord, record.ScaleAwarePointRecord]
] = None,
) -> None:
if points is None:
points = record.ScaleAwarePointRecord.zeros(
header.point_count, header=header
)
if points.point_format != header.point_format:
raise errors.LaspyException("Incompatible Point Formats")
if isinstance(points, record.PackedPointRecord):
points = record.ScaleAwarePointRecord(
points.array,
header.point_format,
scales=header.scales,
offsets=header.offsets,
)
else:
assert np.all(header.scales, points.scales)
assert np.all(header.offsets, points.offsets)
self.__dict__["_points"] = points
self.points: record.ScaleAwarePointRecord
self.header: LasHeader = header
@property
def point_format(self) -> PointFormat:
"""Shortcut to get the point format"""
return self.points.point_format
@property
def xyz(self) -> np.ndarray:
"""Returns a **new** 2D numpy array with the x,y,z coordinates
>>> import laspy
>>> las = laspy.read("tests/data/simple.las")
>>> xyz = las.xyz
>>> xyz.ndim
2
>>> xyz.shape
(1065, 3)
>>> np.all(xyz[..., 0] == las.x)
True
"""
return np.vstack((self.x, self.y, self.z)).transpose()
@xyz.setter
def xyz(self, value) -> None:
self.points[("x", "y", "z")] = value
@property
def points(self) -> record.PackedPointRecord:
"""Returns the point record"""
return self._points
@points.setter
def points(self, new_points: record.PackedPointRecord) -> None:
if new_points.point_format != self.point_format:
raise errors.IncompatibleDataFormat(
"Cannot set points with a different point format, convert first"
)
self._points = new_points
self.update_header()
# make sure both point format point to the same object
self._points.point_format = self.header.point_format
@property
def vlrs(self) -> VLRList:
return self.header.vlrs
@vlrs.setter
def vlrs(self, vlrs) -> None:
self.header.vlrs = vlrs
@property
def evlrs(self) -> Optional[VLRList]:
return self.header.evlrs
@evlrs.setter
def evlrs(self, evlrs: VLRList) -> None:
self.header.evlrs = evlrs
def add_extra_dim(self, params: ExtraBytesParams) -> None:
"""Adds a new extra dimension to the point record
.. note::
If you plan on adding multiple extra dimensions,
prefer :meth:`.add_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
params : ExtraBytesParams
parameters of the new extra dimension to add
"""
self.add_extra_dims([params])
def add_extra_dims(self, params: List[ExtraBytesParams]) -> None:
"""Add multiple extra dimensions at once
Parameters
----------
params: list of parameters of the new extra dimensions to add
"""
self.header.add_extra_dims(params)
new_point_record = record.ScaleAwarePointRecord.zeros(
len(self.points), header=self.header
)
new_point_record.copy_fields_from(self.points)
self.points = new_point_record
def remove_extra_dims(self, names: Iterable[str]) -> None:
"""Remove multiple extra dimensions from this object
Parameters
----------
names: iterable,
names of the extra dimensions to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
"""
extra_dimension_names = list(self.point_format.extra_dimension_names)
not_extra_dimension = [
name for name in names if name not in extra_dimension_names
]
if not_extra_dimension:
raise errors.LaspyException(
f"'{not_extra_dimension}' are not extra dimensions and cannot be removed"
)
self.header.remove_extra_dims(names)
new_point_record = record.ScaleAwarePointRecord.zeros(
len(self.points), header=self.header
)
new_point_record.copy_fields_from(self.points)
self.points = new_point_record
def remove_extra_dim(self, name: str) -> None:
"""Remove an extra dimensions from this object
.. note::
If you plan on removing multiple extra dimensions,
prefer :meth:`.remove_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
name: str,
name of the extra dimension to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
"""
self.remove_extra_dims([name])
def update_header(self) -> None:
"""Update the information stored in the header
to be in sync with the actual data.
This method is called automatically when you save a file using
:meth:`laspy.lasdatas.base.LasBase.write`
"""
self.header.update(self.points)
self.header.point_format_id = self.points.point_format.id
self.header.point_data_record_length = self.points.point_size
if self.header.version.minor >= 4:
if self.evlrs is not None:
self.header.number_of_evlrs = len(self.evlrs)
self.header.start_of_waveform_data_packet_record = 0
# TODO
# if len(self.vlrs.get("WktCoordinateSystemVlr")) == 1:
# self.header.global_encoding.wkt = 1
else:
self.header.number_of_evlrs = 0
@overload
def write(
self,
destination: str,
laz_backend: Optional[Union[LazBackend, Sequence[LazBackend]]] = ...,
) -> None:
...
@overload
def write(
self,
destination: BinaryIO,
do_compress: Optional[bool] = ...,
laz_backend: Optional[Union[LazBackend, Sequence[LazBackend]]] = ...,
) -> None:
...
def write(self, destination, do_compress=None, laz_backend=None):
"""Writes to a stream or file
.. note::
When destination is a string, it will be interpreted as the path were the file should be written to,
and whether the file will be compressed depends on the extension used (case insensitive):
- .laz -> compressed
- .las -> uncompressed
And the do_compress option will be ignored
Parameters
----------
destination: str or file object
filename or stream to write to
do_compress: bool, optional
Flags to indicate if you want to compress the data
laz_backend: optional, the laz backend to use
By default, laspy detect available backends
"""
if isinstance(destination, (str, pathlib.Path)):
do_compress = pathlib.Path(destination).suffix.lower() == ".laz"
with open(destination, mode="wb+") as out:
self._write_to(out, do_compress=do_compress, laz_backend=laz_backend)
else:
self._write_to(
destination, do_compress=do_compress, laz_backend=laz_backend
)
def _write_to(
self,
out_stream: BinaryIO,
do_compress: Optional[bool] = None,
laz_backend: Optional[Union[LazBackend, Sequence[La | (header: laspy.header.LasHeader, points: Union[laspy.point.record.PackedPointRecord, laspy.point.record.ScaleAwarePointRecord, NoneType] = None) -> None | [
0.003292354056611657,
-0.024592967703938484,
-0.034593965858221054,
0.09957889467477798,
0.01592831127345562,
-0.0452631339430809,
-0.07828366756439209,
0.03213682398200035,
-0.022696228697896004,
0.0015195480082184076,
-0.03892629221081734,
-0.04203005135059357,
0.006094357464462519,
0.027998480945825577,
-0.04966012388467789,
0.0737573504447937,
-0.0026457379572093487,
0.024851614609360695,
-0.03041251376271248,
0.011197236366569996,
-0.00422455882653594,
-0.022200489416718483,
0.012759892269968987,
0.05091024562716484,
0.009893227368593216,
0.02573532424867153,
0.0427413284778595,
0.017684953287243843,
0.02472229115664959,
-0.0285804346203804,
-0.03429220989346504,
-0.020389962941408157,
-0.02327818237245083,
0.00009623467485653237,
0.0023992154747247696,
-0.016596481204032898,
0.03383957967162132,
-0.022760888561606407,
-0.03427065908908844,
0.03860298544168472,
0.004200310911983252,
-0.01046979334205389,
0.034593965858221054,
-0.01590675860643387,
0.0048307618126273155,
0.053194958716630936,
-0.03948669508099556,
0.03968067839741707,
-0.01200550701469183,
0.004060210660099983,
0.018385453149676323,
-0.03351627290248871,
0.02116590365767479,
0.017674176022410393,
-0.0039739953354001045,
-0.002558175241574645,
0.03929270803928375,
0.12768514454364777,
0.013611270114779472,
-0.014365656301379204,
0.020745601505041122,
0.012792223133146763,
0.011477436870336533,
-0.03666313737630844,
0.00559323001652956,
-0.011962398886680603,
-0.027438079938292503,
-0.018137583509087563,
0.012846107594668865,
0.023838583379983902,
0.011315783485770226,
-0.016294727101922035,
0.02332128956913948,
0.04724608734250069,
0.03924960270524025,
0.0142902173101902,
-0.05487615987658501,
-0.01071766298264265,
0.023967906832695007,
-0.07315384596586227,
0.005488154944032431,
0.010933201760053635,
0.003591414075344801,
0.020637832581996918,
0.020152870565652847,
0.021715527400374413,
0.08104255795478821,
0.02592930942773819,
0.006568542681634426,
0.011003252118825912,
-0.027308756485581398,
0.04179295897483826,
0.00588420731946826,
0.010383578017354012,
0.028020033612847328,
-0.06548066437244415,
-0.029636574909090996,
-0.04724608734250069,
-0.0007638153620064259,
0.025304246693849564,
-0.03183506801724434,
-0.026489708572626114,
-0.040284186601638794,
0.030800484120845795,
-0.013417285867035389,
-0.004642165265977383,
0.00868082232773304,
-0.014958387240767479,
0.0032357750460505486,
0.0007355259149335325,
-0.05655736103653908,
0.011865407228469849,
-0.048409998416900635,
-0.016262397170066833,
-0.03442153334617615,
-0.034637074917554855,
0.014311771839857101,
0.007209770381450653,
-0.09578540921211243,
0.011919291689991951,
0.02571376971900463,
0.016057634726166725,
-0.056471146643161774,
0.02263156697154045,
-0.002915161196142435,
-0.04138343408703804,
0.044616516679525375,
0.018428560346364975,
0.03787015378475189,
-0.0881553366780281,
-0.00014380474749486893,
0.008858641609549522,
-0.03929270803928375,
0.003664158284664154,
-0.012813777662813663,
-0.0522465854883194,
0.055996961891651154,
-0.013471170328557491,
-0.09578540921211243,
0.01175763737410307,
0.026813017204403877,
0.04233180731534958,
0.0523759089410305,
-0.020023547112941742,
-0.021586203947663307,
0.03168419376015663,
0.011800745502114296,
-0.06289420276880264,
-0.0594455823302269,
0.012759892269968987,
-0.02806314267218113,
-0.04019797220826149,
-0.018223799765110016,
-0.015389464795589447,
0.015551119111478329,
-0.08147364109754562,
-0.04875485971570015,
-0.04381902143359184,
0.00012006180622847751,
0.024075675755739212,
-0.0641443282365799,
-0.029830560088157654,
-0.012037837877869606,
-0.0053291949443519115,
-0.07755083590745926,
-0.013600493781268597,
-0.009559142403304577,
-0.017059890553355217,
-0.008379068225622177,
0.040305741131305695,
0.05026363208889961,
-0.0026255310513079166,
-0.029809005558490753,
0.06017841398715973,
-0.018859637901186943,
0.0664721429347992,
0.011843852698802948,
0.0009079568553715944,
0.015238587744534016,
-0.05677289888262749,
0.036533813923597336,
0.0013073771260678768,
-0.023860136047005653,
0.012210268527269363,
0.004084459040313959,
0.0332145169377327,
-0.009715408086776733,
-0.002626878209412098,
0.027050109580159187,
0.025174923241138458,
0.006617038976401091,
0.014764402993023396,
0.008745484054088593,
-0.004674496129155159,
0.026015523821115494,
0.022545350715517998,
0.017965152859687805,
-0.013514278456568718,
-0.00595425721257925,
0.0333438403904438,
-0.027481187134981155,
0.012188714928925037,
0.04254734516143799,
-0.06108367443084717,
-0.03308519348502159,
0.005808768793940544,
0.012932323850691319,
0.02523958496749401,
-0.10044104605913162,
0.04211626574397087,
0.06466161459684372,
-0.02379547618329525,
-0.007317539770156145,
-0.005119044799357653,
0.07328316569328308,
-0.0928540825843811,
-0.07224857807159424,
0.03743907809257507,
0.03711576759815216,
0.009979442693293095,
0.05401400476694107,
-0.002958269091323018,
-0.0619027204811573,
0.0089286919683218,
-0.003338156035169959,
0.0178573839366436,
0.04974633827805519,
-0.001904823468066752,
0.010157262906432152,
-0.04181451350450516,
0.011574429459869862,
-0.03899095579981804,
-0.05427265167236328,
-0.010265031829476357,
0.0594455823302269,
-0.023170413449406624,
-0.020874924957752228,
0.06798091530799866,
-0.013514278456568718,
-0.03161953017115593,
-0.009812400676310062,
-0.017975930124521255,
-0.003855448914691806,
-0.024571415036916733,
-0.0523759089410305,
-0.01809447631239891,
0.04724608734250069,
0.030735822394490242,
-0.044357869774103165,
0.008373679593205452,
0.011143351905047894,
-0.012393476441502571,
0.006757139228284359,
0.05091024562716484,
0.005566287785768509,
-0.0760851725935936,
0.0022025364451110363,
-0.040779925882816315,
0.030024545267224312,
-0.05526413023471832,
-0.032007500529289246,
-0.05164307728409767,
0.036792460829019547,
0.053626034408807755,
0.009699242189526558,
0.027761388570070267,
0.025972416624426842,
-0.009564531035721302,
0.015809765085577965,
0.017717283219099045,
0.046297717839479446,
0.03237391635775566,
-0.08500847220420837,
-0.0036776294000446796,
0.02642504684627056,
0.01128345262259245,
0.0035510004963725805,
-0.034593965858221054,
0.07173128426074982,
0.057893700897693634,
0.05427265167236328,
-0.00583032239228487,
0.012199492193758488,
0.0019843033514916897,
0.000122671845019795,
-0.020292971283197403,
-0.04539245739579201,
-0.03047717548906803,
-0.03429220989346504,
-0.04084458947181702,
-0.018223799765110016,
0.009807012043893337,
-0.007667790167033672,
-0.004811902064830065,
0.06336838752031326,
0.014063902199268341,
-0.06711875647306442,
-0.014484202489256859,
0.04733230546116829,
-0.06017841398715973,
0.003157642437145114,
-0.019818786531686783,
0.12966810166835785,
0.0297443438321352,
-0.03513281047344208,
-0.06267866492271423,
-0.0037045718636363745,
-0.039831556379795074,
0.013104754500091076,
0.00041524882544763386,
0.02065938711166382,
0.029550358653068542,
0.0000794378065620549,
0.008880195207893848,
0.04547867178916931,
0.019085954874753952,
0.0015006883768364787,
0.03524058312177658,
0.027265649288892746,
0.06280798465013504,
-0.04131877422332764,
-0.037719275802373886,
-0.01644560508430004,
0.0038473661988973618,
0.04974633827805519,
-0.04179295897483826,
0.04194383695721626,
-0.029550358653068542,
0.01878420077264309,
-0.008842476643621922,
-0.05073781684041023,
0.007419920526444912,
-0.021058132871985435,
0.03194284066557884,
-0.010561397299170494,
-0.024075675755739212,
-0.026015523821115494,
-0.01520625688135624,
0.036081183701753616,
-0.018040591850876808,
0.01535713393241167,
0.022739335894584656,
-0.0475478433072567,
0.028494220227003098,
0.03351627290248871,
-0.04823756590485573,
0.026080185547471046,
-0.042676668614149094,
-0.00258915894664824,
0.07474882900714874,
-0.0404781736433506,
-0.0012736991047859192,
-0.022911766543984413,
0.0691017135977745,
0.04399145394563675,
-0.028666650876402855,
-0.021467657759785652,
-0.04297842085361481,
0.024183444678783417,
0.001406390219926834,
0.029916774481534958,
-0.008357513695955276,
-0.0381072461605072,
0.014074678532779217,
-0.010981698520481586,
-0.021241340786218643,
-0.01951703242957592,
-0.06095435097813606,
0.011154129169881344,
-0.004475122783333063,
-0.018148360773921013,
-0.07905960083007812,
-0.018234577029943466,
-0.024442091584205627,
0.0261232927441597,
0.007355258800089359,
0.032266147434711456,
0.06134232133626938,
-0.05216037109494209,
-0.017501745373010635,
0.039637573063373566,
0.001325563178397715,
0.0011376403272151947,
0.05422954261302948,
0.0333653949201107,
0.00891791470348835,
-0.0033166022039949894,
0.0019762206356972456,
-0.006956512574106455,
0.031016021966934204,
0.02786915749311447,
0.03041251376271248,
0.007597740273922682,
-0.026726802811026573,
-0.010011773556470871,
0.02232981286942959,
-0.06862752884626389,
0.07082602381706238,
0.01259823888540268,
-0.04879796877503395,
-0.019215276464819908,
-0.08854331076145172,
-0.025821538642048836,
0.06604106724262238,
-0.04233180731534958,
-0.036555368453264236,
0.07237790524959564,
-0.01572355069220066,
-0.018967408686876297,
0.06772226840257645,
0.030132314190268517,
0.05448818951845169,
-0.017889713868498802,
-0.026511263102293015,
0.011326559819281101,
0.031037576496601105,
0.020508509129285812,
0.006794858258217573,
0.023924797773361206,
0.05211726203560829,
0.021349111571907997,
0.05211726203560829,
0.03405511751770973,
0.06048016622662544,
0.009715408086776733,
-0.022286703810095787,
-0.08005107939243317,
0.007026562467217445,
-0.025778431445360184,
0.018169915303587914,
0.006083580665290356,
0.01297543104737997,
-0.018450114876031876,
-0.04345260560512543,
-0.023838583379983902,
-0.005127127282321453,
0.007856386713683605,
-0.011617537587881088,
0.009392100386321545,
0.017641844227910042,
0.08199093490839005,
0.030390961095690727,
0.002089378423988819,
-0.009909393265843391,
-0.02993832901120186,
-0.004329634364694357,
-0.05207415670156479,
-0.007128943223506212,
-0.05073781684041023,
0.007484582252800465,
0.03377491980791092,
0.026489708572626114,
0.054100219160318375,
-0.02042229473590851,
-0.00831979513168335,
-0.045780424028635025,
-0.009790846146643162,
-0.095181904733181,
-0.01809447631239891,
-0.017652621492743492,
0.002761589828878641,
0.021047357469797134,
-0.004542478825896978,
-0.004275749437510967,
0.011466660536825657,
-0.002634960925206542,
0.020389962941408157,
-0.029313266277313232,
-0.05017741397023201,
-0.028364896774291992,
0.044573407620191574,
-0.06013530492782593,
0.0048981173895299435,
-0.01881653070449829,
0.03545612096786499,
0.018493222072720528,
-0.003971301019191742,
0.025024045258760452,
-0.020336078479886055,
-0.05371224880218506,
-0.0003440200234763324,
-0.08427564054727554,
-0.023860136047005653,
-0.0058518764562904835,
0.036770906299352646,
0.04690122604370117,
-0.003707266179844737,
0.017296982929110527,
0.010900870896875858,
-0.022502243518829346,
-0.052936311811208725,
0.043431054800748825,
-0.00855688750743866,
0.023623043671250343,
-0.020573170855641365,
0.04226714372634888,
0.034119781106710434,
-0.020379185676574707,
0.03621050715446472,
-0.04741851985454559,
0.0002901353291235864,
-0.048366889357566833,
-0.042676668614149094,
-0.060049090534448624,
0.06535134464502335,
0.002634960925206542,
-0.0026134070940315723,
0.026597479358315468,
-0.015626557171344757,
-0.021952619776129723,
-0.09104355424642563,
-0.0004903505905531347,
0.030046097934246063,
0.011542098596692085,
-0.01879497617483139,
0.0664721429347992,
-0.025519784539937973,
0.06535134464502335,
-0.029873667284846306,
-0.007533078547567129,
-0.0052106487564742565,
0.012080946005880833,
0.031317777931690216,
-0.02120901085436344,
-0.02780449576675892,
0.038430552929639816,
-0.03071426786482334,
-0.05974733456969261,
0.06492026150226593,
0.038667649030685425,
-0.012027060613036156,
-0.031080683693289757,
0.017490968108177185,
0.017803499475121498,
0.08306862413883209,
0.06599795818328857,
-0.005458518397063017,
-0.03256789967417717,
-0.0166395902633667,
-0.0714295357465744,
0.021532319486141205,
-0.01152054499834776,
-0.019818786531686783,
-0.055048588663339615,
-0.021327557042241096,
0.009472927078604698,
0.009979442693293095,
0.03633983060717583,
0.019592469558119774,
-0.013007761910557747,
0.02120901085436344,
-0.01999121718108654,
0.06211826205253601,
-0.003176501952111721,
0.05966112017631531,
-0.01784660667181015,
0.0007867163512855768,
-0.04239646717905998,
0.016704251989722252,
0.0018415090162307024,
-0.03644759953022003,
0.009920169599354267,
0.034809503704309464,
-0.007899493910372257,
-0.04336639121174812,
0.035111259669065475,
-0.0015168538084253669,
0.0014723988715559244,
-0.01757718250155449,
-0.0178358294069767,
0.05905761197209358,
0.04703054949641228,
-0.014333325438201427,
-0.021715527400374413,
-0.01668269746005535,
-0.01306164637207985,
-0.01080387830734253,
0.05159997195005417,
-0.0017566406168043613,
-0.03996087983250618,
0.046728797256946564,
0.04823756590485573,
-0.0005563593585975468,
-0.05664357542991638,
0.014688964001834393,
-0.0026336137671023607,
-0.023687705397605896,
0.039141833782196045,
0.041038572788238525,
0.02329973690211773,
-0.03894784674048424,
0.017070667818188667,
0.004542478825896978,
-0.05250523239374161,
-0.014010016806423664,
0.03875386342406273,
0.02422655187547207,
-0.017447859048843384,
0.039357371628284454,
0.036727797240018845,
-0.04858242720365524,
-0.005857265088707209,
-0.05039295554161072,
-0.021553872153162956,
-0.002539315726608038,
-0.03892629221081734,
-0.02185562625527382,
0.03903406485915184,
-0.00017613555246498436,
-0.015270918607711792,
0.025282692164182663,
0.06022151932120323,
-0.009381323121488094,
-0.07987865060567856,
-0.03069271519780159,
-0.0785854160785675,
-0.011143351905047894,
-0.009014907293021679,
0.07940446585416794,
-0.016122296452522278,
-0.019851116463541985,
-0.04026263579726219,
-0.0024746540002524853,
0.007290597539395094,
-0.05685911700129509,
-0.034593965858221054,
0.03681401535868645,
-0.053626034408807755,
0.020314525812864304,
-0.03860298544168472,
0.004593668971210718,
-0.03791326284408569,
0.0332145169377327,
-0.03825812414288521,
0.009828565642237663,
-0.015055379830300808,
-0.016068411991000175,
-0.00559323001652956,
0.03972378745675087,
0.07474882900714874,
0.05591074377298355,
-0.01438720989972353,
0.00553934508934617,
-0.02237292006611824,
-0.017243098467588425,
0.02261001244187355,
0.04655636474490166,
-0.03593030571937561,
0.0475047342479229,
0.03362404182553291,
-0.02879597432911396,
0.03877541795372963,
-0.04213782027363777,
-0.03713732212781906,
0.019667908549308777,
0.028688203543424606,
-0.003747679525986314,
0.014193224720656872,
0.006396111566573381,
-0.012134830467402935,
-0.01645638234913349,
-0.028257127851247787,
0.016370166093111038,
-0.013729817233979702,
0.014010016806423664,
-0.023946352303028107,
0.021230565384030342,
0.05047916993498802,
0.009990219958126545,
0.04565110057592392,
-0.05095335468649864,
-0.01464585680514574,
0.0012312650214880705,
0.005498931743204594,
0.0547899454832077,
-0.055307235568761826,
-0.005280698649585247,
-0.03931426256895065,
0.006891850847750902,
-0.012856884859502316,
0.029852112755179405,
0.0833272710442543,
-0.006557765882462263,
-0.022437581792473793,
-0.00845989491790533,
0.07586963474750519,
0.01758795976638794,
-0.008271298371255398,
0.0009638622286729515,
-0.0261232927441597,
0.009979442693293095,
0.04966012388467789,
0.05108267813920975,
0.016348611563444138,
-0.02547667734324932,
-0.057203978300094604,
-0.020831817761063576,
-0.02450675331056118,
-0.008185083046555519,
-0.022017281502485275,
0.004405072890222073,
-0.013158638961613178,
-0.03877541795372963,
0.037460628896951675,
0.006164407357573509,
0.054833050817251205,
-0.03896940127015114,
-0.009084957651793957,
-0.0023870912846177816,
-0.00294210365973413,
0.023213520646095276,
0.08531022816896439,
0.030778929591178894,
-0.07151574641466141,
-0.0006341553525999188,
0.03472328931093216,
-0.012037837877869606,
0.005401939153671265,
-0.030628053471446037,
0.049875661730766296,
-0.015992972999811172,
0.06116988882422447,
0.04612528905272484,
-0.004933142568916082,
-0.04000398889183998,
-0.0030714268796145916,
-0.01641327328979969,
-0.03386113420128822,
-0.019193723797798157,
0.010259643197059631,
-0.009472927078604698,
0.06754983961582184,
-0.027050109580159187,
0.06254933774471283,
-0.003653381485491991,
-0.016941344365477562,
0.005132515914738178,
0.02737341821193695,
0.029550358653068542,
0.03429220989346504,
-0.0049951099790632725,
-0.007112777791917324,
-0.039378926157951355,
-0.0066224271431565285,
-0.018676429986953735,
0.0333653949201107,
0.026295725256204605,
0.0499187670648098,
-0.049617014825344086,
0.002516414737328887,
0.051255110651254654,
0.0027912266086786985,
-0.05328117311000824,
0.0008938121609389782,
0.036727797240018845,
-0.06121299788355827,
0.023946352303028107,
0.01591753400862217,
0.017878936603665352,
-0.10095833986997604,
-0.048151351511478424,
-0.0427413284778595,
0.002812780439853668,
0.1021653562784195,
0.03851677104830742,
0.03754684701561928,
-0.07246411591768265,
0.06155785918235779
]
|
31,520 | laspy.lasdata | __getattr__ | Automatically called by Python when the attribute
named 'item' is no found. We use this function to forward the call the
point record. This is the mechanism used to allow the users to access
the points dimensions directly through a LasData.
Parameters
----------
item: str
name of the attribute, should be a dimension name
Returns
-------
The requested dimension if it exists
| def __getattr__(self, item):
"""Automatically called by Python when the attribute
named 'item' is no found. We use this function to forward the call the
point record. This is the mechanism used to allow the users to access
the points dimensions directly through a LasData.
Parameters
----------
item: str
name of the attribute, should be a dimension name
Returns
-------
The requested dimension if it exists
"""
try:
return self.points[item]
except ValueError:
raise AttributeError(
f"{self.__class__.__name__} object has no attribute '{item}'"
) from None
| (self, item) | [
0.0495416484773159,
0.005855240859091282,
0.010159018449485302,
0.06500369310379028,
0.04729772359132767,
0.004273098893463612,
0.05094410106539726,
-0.022719737142324448,
0.02713746391236782,
0.06086645647883415,
-0.03940892592072487,
0.016838200390338898,
0.018389662727713585,
-0.004104366060346365,
-0.024262435734272003,
0.057816121727228165,
-0.004728896077722311,
0.06672170013189316,
0.007761700078845024,
0.005916598252952099,
0.019546687602996826,
0.026278460398316383,
0.012385412119328976,
0.006828192621469498,
0.007849353365600109,
0.055186521261930466,
0.07376902550458908,
0.04144248366355896,
0.05679934099316597,
-0.053433455526828766,
-0.06549455225467682,
-0.011429990641772747,
-0.000365404732292518,
0.039198558777570724,
-0.006100669968873262,
0.0005730334669351578,
-0.014217366464436054,
-0.03705981746315956,
-0.06475826352834702,
0.013822926208376884,
0.009221128188073635,
-0.004593033343553543,
0.04382665455341339,
-0.02720758691430092,
-0.004706982523202896,
-0.02196591906249523,
0.004728896077722311,
0.027067340910434723,
-0.035411935299634933,
-0.02896065264940262,
0.011701716110110283,
0.022053571417927742,
0.059218574315309525,
0.0005346851539798081,
-0.024122189730405807,
0.03807659447193146,
-0.0052504329942166805,
0.0889856368303299,
0.004470318555831909,
0.031414944678545,
-0.010930366814136505,
0.03607809916138649,
0.003455731552094221,
-0.07762576639652252,
0.01177183911204338,
-0.052101124078035355,
0.007998364046216011,
0.025507112964987755,
-0.02843473292887211,
0.028329549357295036,
0.025419458746910095,
0.019353849813342094,
-0.027943873777985573,
0.01675931178033352,
0.07106930017471313,
-0.03863757848739624,
-0.013805395923554897,
-0.028680162504315376,
0.09852231293916702,
-0.010527161881327629,
-0.02711993269622326,
0.015076369047164917,
-0.03099420852959156,
0.00895816832780838,
-0.034640587866306305,
0.02562982589006424,
0.03327319398522377,
-0.013682681135833263,
-0.04803401231765747,
0.03649883717298508,
-0.045965392142534256,
0.030240390449762344,
-0.022684674710035324,
0.05164532735943794,
-0.03853239491581917,
-0.01049210038036108,
0.04361628368496895,
-0.03488601744174957,
0.04273975268006325,
0.027277708053588867,
0.026383645832538605,
-0.03898819163441658,
0.0014188878703862429,
0.018494848161935806,
-0.008844218216836452,
-0.026751788333058357,
0.01712745614349842,
-0.04547453671693802,
0.016995975747704506,
0.020861485973000526,
-0.00471574766561389,
0.025962909683585167,
-0.03325566276907921,
0.03646377474069595,
-0.021702958270907402,
0.009992476552724838,
0.003339590970426798,
-0.015751298516988754,
-0.03891806676983833,
0.005443270318210125,
-0.02475329302251339,
0.009624333120882511,
-0.041582729667425156,
-0.0012139983009546995,
0.029714470729231834,
-0.028925590217113495,
-0.032010987401008606,
-0.002914472483098507,
0.06139237433671951,
-0.02808411978185177,
0.04256444424390793,
-0.041582729667425156,
-0.033588748425245285,
0.015058837831020355,
-0.032291479408741,
0.025349335744976997,
0.10062599182128906,
0.01549710426479578,
-0.07152509689331055,
0.04287999868392944,
0.0009247423731721938,
0.01549710426479578,
-0.005079509224742651,
-0.020405689254403114,
-0.0192136038094759,
0.05725513771176338,
-0.006381160579621792,
0.031555190682411194,
0.0015317414654418826,
-0.03712993860244751,
-0.02694462612271309,
0.00908088218420744,
0.0018253801390528679,
-0.022000979632139206,
-0.0007275224197655916,
-0.044562939554452896,
-0.07113942503929138,
-0.01912595145404339,
-0.006775600370019674,
-0.05714995414018631,
-0.061322253197431564,
-0.017592018470168114,
-0.05147002264857292,
-0.03169543668627739,
0.0008348977426066995,
-0.014156009070575237,
-0.02063358761370182,
-0.026401175186038017,
0.0317830890417099,
0.04919103533029556,
0.019686931744217873,
-0.002243924653157592,
-0.011517644859850407,
0.01211368665099144,
0.0075776283629238605,
0.04547453671693802,
-0.03961929306387901,
0.010956663638353348,
0.07120954245328903,
-0.057816121727228165,
0.031046800315380096,
-0.006705477833747864,
-0.0357976108789444,
-0.034640587866306305,
0.0037493701092898846,
0.007275224197655916,
0.0001386702642776072,
0.008677677251398563,
-0.04564984142780304,
0.08092153072357178,
0.03267715126276016,
0.043546162545681,
0.025086376816034317,
-0.020090138539671898,
0.013533670455217361,
0.02992483787238598,
-0.0010113000171259046,
0.0031555190216749907,
-0.015514635480940342,
0.06121706962585449,
-0.009343842044472694,
0.020388159900903702,
-0.03888300806283951,
0.07601294666528702,
-0.06293507665395737,
0.014454030431807041,
0.02256196178495884,
0.019967423751950264,
-0.11254684627056122,
0.017618315294384956,
-0.013980702497065067,
0.010869010351598263,
0.03720006346702576,
0.013191822916269302,
0.030538411810994148,
-0.004908584989607334,
-0.05837710201740265,
0.0221412256360054,
0.037620797753334045,
0.02974953129887581,
0.04593033343553543,
-0.045965392142534256,
0.04628094658255577,
0.04144248366355896,
0.02354367822408676,
-0.023859230801463127,
0.04891054332256317,
-0.01211368665099144,
-0.05697464942932129,
-0.01269219908863306,
-0.0033045297022908926,
-0.009782109409570694,
-0.009492852725088596,
0.001596385845914483,
0.04382665455341339,
-0.03723512589931488,
0.01703103817999363,
0.0274705458432436,
-0.012753556482493877,
-0.028837937861680984,
-0.004619329236447811,
0.019529156386852264,
-0.017521895468235016,
0.018284479156136513,
-0.018284479156136513,
0.027768567204475403,
0.006915845908224583,
0.026839442551136017,
-0.06865006685256958,
-0.008796009235084057,
0.05381913110613823,
0.050979163497686386,
-0.013849222101271152,
0.05234655365347862,
-0.015646114945411682,
-0.08919600397348404,
-0.0618131123483181,
-0.021282222121953964,
0.006525788456201553,
-0.030573472380638123,
-0.05599293112754822,
-0.0080378083512187,
0.024367619305849075,
0.044738247990608215,
-0.004768339917063713,
0.03783116862177849,
0.03720006346702576,
0.019283726811408997,
0.010518396273255348,
0.04067113250494003,
-0.05164532735943794,
0.024735763669013977,
0.014769582077860832,
-0.02203604020178318,
0.0192136038094759,
0.04361628368496895,
0.016531413421034813,
0.010421978309750557,
0.011175796389579773,
0.019266197457909584,
0.06279482692480087,
-0.0024433359503746033,
-0.03979460150003433,
0.043546162545681,
-0.07236657291650772,
-0.015085133723914623,
0.046491313725709915,
0.05224137008190155,
-0.006955289747565985,
0.02775103598833084,
0.026629073545336723,
0.013375894166529179,
-0.006069991271942854,
0.008015895262360573,
0.019283726811408997,
0.009449026547372341,
-0.052031002938747406,
0.02440267987549305,
0.046561434864997864,
0.01678560860455036,
0.010921602137386799,
-0.030713718384504318,
0.008660146966576576,
0.03418479114770889,
-0.00947532244026661,
-0.011570236645638943,
0.027610791847109795,
0.009177301079034805,
-0.012455535121262074,
-0.029556695371866226,
0.022263940423727036,
0.053503576666116714,
-0.039549171924591064,
-0.0147958779707551,
0.06258445978164673,
0.010947898030281067,
-0.040530890226364136,
0.02617327682673931,
0.005807031411677599,
0.08940637111663818,
-0.01975705474615097,
0.008546197786927223,
-0.038497332483530045,
0.03944398835301399,
0.02308788150548935,
0.052732229232788086,
0.023245656862854958,
-0.027786098420619965,
-0.0015985771315172315,
0.032624561339616776,
-0.020177790895104408,
0.01940644159913063,
-0.055256642401218414,
-0.039023250341415405,
-0.030152738094329834,
-0.030433228239417076,
-0.024332556873559952,
0.049927324056625366,
0.04186321794986725,
0.024525394663214684,
0.0007708012708462775,
-0.0030196562875062227,
-0.031099392101168633,
0.00021913326054345816,
0.06703724712133408,
-0.00693775899708271,
0.03670920431613922,
0.004146001301705837,
0.041652850806713104,
0.009974946267902851,
-0.043511100113391876,
-0.03716500103473663,
-0.022263940423727036,
0.01772349886596203,
0.026541421189904213,
-0.001791414455510676,
0.00789756327867508,
0.013893049210309982,
-0.015269205905497074,
0.05076879635453224,
0.08365631848573685,
-0.02994236908853054,
-0.04645625129342079,
-0.007520653773099184,
-0.019862238317728043,
-0.04522910714149475,
0.009510383941233158,
-0.05970943346619606,
0.06314544379711151,
-0.02615574561059475,
-0.04536934942007065,
-0.05487097054719925,
-0.034027013927698135,
-0.008752183057367802,
0.004408961161971092,
0.032799866050481796,
0.08085140585899353,
0.026471298187971115,
0.004244611132889986,
-0.013367129489779472,
-0.02748807705938816,
-0.03527168929576874,
0.018302010372281075,
0.03926867991685867,
0.026471298187971115,
-0.00869520753622055,
-0.0732080414891243,
0.0027150611858814955,
-0.010676172561943531,
0.031064331531524658,
0.0022209156304597855,
-0.02985471673309803,
-0.01809164322912693,
-0.005605428945273161,
-0.012131217867136002,
-0.03267715126276016,
-0.00045360586955212057,
-0.05686946585774422,
-0.022351592779159546,
-0.04137235879898071,
-0.012604545801877975,
-0.054380111396312714,
-0.039829663932323456,
0.04249432310461998,
-0.003173049772158265,
-0.004393621813505888,
0.002982403850182891,
0.023999474942684174,
-0.03294011205434799,
-0.014822173863649368,
0.04498367756605148,
0.05339839309453964,
-0.027768567204475403,
-0.06588022410869598,
0.025927847251296043,
-0.021317284554243088,
0.02249183878302574,
0.04557972028851509,
0.0028224363923072815,
0.04358122497797012,
0.021492591127753258,
-0.020773833617568016,
0.0028443497139960527,
-0.0076389857567846775,
-0.025945378467440605,
-0.009598037227988243,
-0.048665113747119904,
-0.008936254307627678,
0.022754797711968422,
0.056588973850011826,
-0.0669320672750473,
-0.02485847845673561,
0.015085133723914623,
-0.07054337859153748,
-0.00366390822455287,
-0.03772598132491112,
-0.012587014585733414,
-0.04536934942007065,
-0.03162531182169914,
0.011140734888613224,
0.035078853368759155,
0.03046828880906105,
0.003718691412359476,
0.02967941015958786,
-0.06100670248270035,
-0.03255443647503853,
0.006381160579621792,
-0.016478821635246277,
-0.006775600370019674,
-0.06332074850797653,
-0.011140734888613224,
0.016198331490159035,
0.0885649025440216,
-0.00982593558728695,
0.03150259703397751,
-0.052276432514190674,
-0.11170537024736404,
-0.05427492782473564,
0.050172753632068634,
0.010229140520095825,
-0.06153262034058571,
0.005693082232028246,
-0.06346099078655243,
-0.07120954245328903,
-0.028732754290103912,
0.06170792877674103,
-0.0008414717158302665,
0.018302010372281075,
-0.031222106888890266,
-0.022947635501623154,
0.0178988054394722,
-0.01694338396191597,
-0.0011044316925108433,
-0.0715952217578888,
0.005736908875405788,
0.005833327304571867,
0.00820434931665659,
0.059043265879154205,
0.015391920693218708,
-0.04628094658255577,
-0.034360095858573914,
-0.06135731562972069,
0.03187074139714241,
-0.020756302401423454,
-0.028680162504315376,
0.06556466966867447,
-0.08239410817623138,
0.04424738883972168,
-0.016347341239452362,
0.0017136221285909414,
-0.0077879964374005795,
0.04834956303238869,
0.008274472318589687,
-0.007130596321076155,
0.030152738094329834,
-0.0033505475148558617,
0.060270413756370544,
-0.03343097120523453,
0.055712442845106125,
-0.014848469756543636,
-0.024350088089704514,
-0.039549171924591064,
0.013437251560389996,
-0.031414944678545,
0.03593785688281059,
-0.02142246812582016,
0.0030262304935604334,
0.06388173252344131,
0.01334959827363491,
-0.052732229232788086,
-0.013270710594952106,
-0.00000507601680510561,
0.05024287477135658,
0.008401568979024887,
0.007617072202265263,
0.025419458746910095,
0.006289124488830566,
0.0391634963452816,
-0.010553457774221897,
0.027014749124646187,
0.07201595604419708,
-0.040075089782476425,
0.01879286952316761,
-0.007191953714936972,
-0.05914844945073128,
0.024718232452869415,
0.016908323392271996,
-0.02343849465250969,
-0.03618328645825386,
0.026278460398316383,
0.05423986539244652,
-0.0012775469804182649,
-0.014506622217595577,
0.06928117573261261,
0.05988473817706108,
0.10399188101291656,
-0.03625340759754181,
-0.02704980969429016,
-0.0669320672750473,
0.01833707094192505,
0.07503122836351395,
-0.04452788084745407,
0.018810398876667023,
-0.05907832831144333,
0.018126703798770905,
-0.07404951006174088,
-0.06829945743083954,
0.00581579701974988,
0.05066360905766487,
-0.012262697331607342,
0.022965166717767715,
-0.012525657191872597,
-0.013717742636799812,
-0.0400400310754776,
0.07734527438879013,
0.02950410358607769,
-0.015225378796458244,
-0.02810164913535118,
0.0015700898366048932,
0.019371381029486656,
-0.04547453671693802,
-0.04323061183094978,
0.087092325091362,
0.02370145358145237,
-0.03996990621089935,
-0.03183567896485329,
-0.01572500355541706,
-0.015602288767695427,
-0.01316552609205246,
-0.033851705491542816,
0.026839442551136017,
0.001792510156519711,
-0.03418479114770889,
-0.014234896749258041,
-0.022579491138458252,
0.009694455191493034,
0.006157644558697939,
-0.03961929306387901,
-0.015120195224881172,
-0.03136235103011131,
0.014103417284786701,
0.022404184564948082,
-0.054029498249292374,
-0.0021453145891427994,
-0.02547205053269863,
-0.0196518711745739,
-0.0009943172335624695,
0.0011104578152298927,
-0.008178053423762321,
-0.0015700898366048932,
-0.04189828038215637,
-0.05381913110613823,
-0.028574977070093155,
0.0031467536464333534,
0.04063607379794121,
0.037971410900354385,
0.03148506581783295,
-0.02247430756688118,
0.013822926208376884,
0.006438135169446468,
-0.01391934510320425,
0.015383155085146427,
0.005105805117636919,
0.023052819073200226,
0.01251689251512289,
-0.017504366114735603,
-0.03979460150003433,
0.06233903020620346,
-0.0654594898223877,
-0.04319554939866066,
-0.024963662028312683,
-0.0018363367998972535,
0.010579753667116165,
0.062303971499204636,
-0.030696187168359756,
-0.05322308838367462,
0.012271462939679623,
0.04470318555831909,
0.053152963519096375,
-0.014716990292072296,
-0.040530890226364136,
-0.041933342814445496,
-0.033483561128377914,
-0.019879769533872604,
0.004224889446049929,
-0.04231901466846466,
0.06935129314661026,
-0.05220630764961243,
0.008852983824908733,
-0.00542135676369071,
0.011088143102824688,
0.02836460992693901,
0.011640358716249466,
-0.08330570161342621,
-0.02817177213728428,
0.01234158594161272,
0.008471691980957985,
0.0012337203370407224,
-0.013069108128547668,
0.048875484615564346,
0.016312280669808388,
0.018810398876667023,
-0.0344126895070076,
-0.015242910012602806,
0.030889024958014488,
0.004628094378858805,
-0.013638854026794434,
-0.015567227266728878,
0.07404951006174088,
0.04238913953304291,
-0.047543153166770935,
-0.04855993017554283,
-0.03870769962668419,
-0.006652886047959328,
0.06675675511360168,
-0.023929351940751076,
-0.015330563299357891,
-0.005171544849872589,
-0.00816928781569004,
-0.046316005289554596,
-0.07601294666528702,
-0.011824430897831917,
-0.040951624512672424,
0.00035663938615471125,
0.0317830890417099,
-0.05998992174863815,
0.00015257153427228332,
-0.031151985749602318,
-0.016750546172261238,
0.022404184564948082,
-0.005241667851805687,
0.022579491138458252,
-0.0004100531223230064,
0.010965428315103054,
0.00768281240016222,
-0.03488601744174957,
0.00908088218420744,
-0.020668650045990944,
0.02669919654726982,
-0.01562858372926712,
0.016575239598751068,
-0.009177301079034805,
-0.05806155130267143,
0.01632104627788067,
-0.0028049058746546507,
0.019809646531939507,
0.05750056728720665,
-0.055712442845106125,
0.004305968526750803,
-0.037270184606313705,
-0.01101802010089159,
-0.020212851464748383,
0.04417726770043373,
0.08141238987445831,
-0.05736032500863075,
-0.12369634211063385,
-0.014988715760409832,
0.026190808042883873,
0.028574977070093155,
0.007244545966386795,
0.01851237751543522,
0.0156373493373394,
-0.008024659939110279,
0.024017006158828735,
-0.0002826819254551083,
0.0050488305278122425,
-0.010299263522028923,
0.011079377494752407,
-0.005101422313600779,
-0.0007127309218049049,
-0.015856483951210976,
0.014936123043298721,
0.017162516713142395,
-0.054555416107177734,
0.011517644859850407,
0.036568958312273026,
-0.05771093815565109,
0.023385902866721153,
-0.0504181832075119,
0.029872246086597443,
-0.01250812690705061,
-0.0016654127975925803,
0.02668166719377041,
0.009685690514743328,
-0.011614062823355198,
0.009983711875975132,
-0.024332556873559952,
-0.021352345123887062,
-0.003845788771286607,
0.033045295625925064,
-0.022158754989504814,
0.0032409809064120054,
0.0004820931935682893,
0.05690452456474304,
0.037445493042469025,
-0.0008726982050575316,
0.006069991271942854,
0.020300505682826042,
0.01649635285139084,
0.029276203364133835,
-0.007529418915510178,
0.044037021696567535,
0.02983718551695347,
-0.021983448415994644,
0.03556971251964569,
0.03961929306387901,
-0.049927324056625366,
0.0768544152379036,
-0.03183567896485329,
-0.020879017189145088,
0.0786074846982956,
0.043861713260412216,
-0.016995975747704506,
0.04116199165582657,
0.0584472231566906,
-0.08000993728637695,
-0.0044374484568834305,
0.0037362221628427505,
0.07461049407720566,
-0.06556466966867447,
-0.09943391382694244,
-0.005294259637594223,
-0.006832575425505638,
0.0819733738899231,
-0.004606181290000677,
0.008975698612630367,
-0.023929351940751076,
0.028312018141150475
]
|
31,521 | laspy.lasdata | __getitem__ | null | def __getitem__(self, item):
try:
item_is_list_of_str = all(isinstance(el, str) for el in iter(item))
except TypeError:
item_is_list_of_str = False
if isinstance(item, str) or item_is_list_of_str:
return self.points[item]
else:
las = LasData(deepcopy(self.header), points=self.points[item])
las.update_header()
return las
| (self, item) | [
0.023799793794751167,
-0.01576736383140087,
-0.057227686047554016,
-0.008600380271673203,
-0.013432459905743599,
-0.028145059943199158,
0.013270188122987747,
0.037358466535806656,
0.08293867856264114,
0.004683330655097961,
-0.04417385905981064,
-0.01824650913476944,
-0.023926004767417908,
0.0016824380727484822,
-0.023240860551595688,
0.04539991170167923,
-0.03728634491562843,
0.032760776579380035,
-0.0696684867143631,
0.0375027060508728,
-0.024106306955218315,
0.03916148096323013,
0.040603891015052795,
0.046878382563591,
0.024791453033685684,
-0.006937099155038595,
0.0827944353222847,
-0.011124600656330585,
0.04114479571580887,
-0.03458182141184807,
0.00322965020313859,
-0.03061519004404545,
-0.03836815431714058,
0.04720292612910271,
-0.005584838334470987,
0.03955814242362976,
-0.048573218286037445,
-0.04139721766114235,
0.03995480760931969,
0.06083371862769127,
-0.03130033612251282,
-0.031480636447668076,
0.016263192519545555,
-0.014342982321977615,
-0.0034189666621387005,
0.01474866084754467,
-0.02830733172595501,
0.020013462752103806,
0.018066206946969032,
-0.04532779008150101,
-0.0037660470698028803,
-0.028595812618732452,
-0.008541782386600971,
-0.03286895900964737,
-0.033572133630514145,
0.008009892888367176,
0.0043587880209088326,
0.10608938336372375,
0.03981056436896324,
0.07100272178649902,
0.029533380642533302,
-0.013216097839176655,
0.000022801797967986204,
-0.03503257781267166,
0.03786331042647362,
-0.033427894115448,
0.0037795696407556534,
0.0063285818323493,
0.007040772587060928,
0.00039638151065446436,
0.05034017190337181,
0.032039571553468704,
-0.04839291423559189,
-0.006698199547827244,
0.027676276862621307,
0.0228081364184618,
-0.04240690544247627,
-0.008816742338240147,
0.04572445526719093,
0.009727264754474163,
-0.029064597561955452,
0.063430055975914,
-0.00828936044126749,
0.023547371849417686,
-0.0371781624853611,
-0.02268192544579506,
0.008429094217717648,
-0.015695244073867798,
-0.04150540009140968,
0.08632834255695343,
-0.006170818116515875,
-0.011899896897375584,
-0.040603891015052795,
0.01688523218035698,
-0.02877611480653286,
-0.02387191541492939,
0.04532779008150101,
-0.0778181180357933,
0.045291729271411896,
0.03191336244344711,
0.027351733297109604,
0.002355187898501754,
-0.0019427483202889562,
-0.006400702055543661,
-0.0335901640355587,
-0.00626547634601593,
0.02758612483739853,
0.008893369697034359,
0.01914801634848118,
0.018426811322569847,
-0.05470346659421921,
0.027946727350354195,
-0.06202370673418045,
0.03158881887793541,
-0.03121018409729004,
0.010069836862385273,
0.020951030775904655,
-0.01849893108010292,
-0.04915018007159233,
-0.00803693849593401,
-0.004872647114098072,
0.0023416653275489807,
-0.04965502396225929,
0.04384931921958923,
0.014315936714410782,
-0.029046567156910896,
-0.045291729271411896,
-0.031390488147735596,
0.04305599257349968,
-0.046950504183769226,
0.01757037825882435,
-0.0013105663238093257,
-0.04720292612910271,
-0.009357646107673645,
0.009429766796529293,
-0.023763734847307205,
0.014415103010833263,
-0.009961656294763088,
-0.05189076438546181,
0.019292257726192474,
0.007770993281155825,
0.01171959564089775,
0.03649301826953888,
-0.002860032021999359,
-0.00792875699698925,
0.011557324789464474,
0.025224175304174423,
0.03131836652755737,
-0.03721422329545021,
-0.026197804138064384,
-0.03021852672100067,
0.027189461514353752,
-0.012440801598131657,
0.025224175304174423,
-0.0042032781057059765,
-0.08019809424877167,
-0.06555761396884918,
-0.012485876679420471,
0.02169026806950569,
0.03721422329545021,
0.011881867423653603,
-0.036042265594005585,
-0.05052047222852707,
0.039666324853897095,
-0.03743058443069458,
-0.005300863180309534,
-0.037574827671051025,
-0.02480948343873024,
0.0037119565531611443,
0.011313917115330696,
0.024502970278263092,
-0.006792857777327299,
-0.07385148108005524,
0.04301993176341057,
-0.013080871663987637,
0.024106306955218315,
-0.05776859074831009,
0.08041445910930634,
0.07165180146694183,
-0.06577397882938385,
-0.016560690477490425,
0.016479555517435074,
-0.036853622645139694,
-0.04698656499385834,
-0.011304901912808418,
0.04377719759941101,
-0.016263192519545555,
0.04817655310034752,
-0.006351119372993708,
0.07266149669885635,
0.019761040806770325,
0.02646825648844242,
0.0014976290985941887,
-0.031354427337646484,
-0.006684677209705114,
0.021041180938482285,
-0.03312138095498085,
0.0004414568829815835,
-0.06270885467529297,
0.08430896699428558,
-0.014586389064788818,
-0.021546026691794395,
-0.017083564773201942,
0.0693800076842308,
-0.07889992743730545,
0.0036601198371499777,
0.018093252554535866,
0.006720737554132938,
-0.06638700515031815,
0.023727674037218094,
-0.028235210105776787,
0.03479818254709244,
-0.024629181250929832,
0.004257368389517069,
0.04485900700092316,
-0.03321153298020363,
-0.11892685294151306,
-0.012314590625464916,
0.03631271794438362,
0.004629240371286869,
0.05820131674408913,
-0.027333702892065048,
0.02050027810037136,
0.022501623257994652,
0.01393730379641056,
0.0019303526496514678,
0.008861817419528961,
-0.006887516472488642,
-0.056470420211553574,
0.04237084463238716,
-0.012386711314320564,
-0.04583263397216797,
0.0199954342097044,
-0.00032200716668739915,
0.009907566010951996,
-0.023637523874640465,
0.006233923602849245,
0.03427530825138092,
-0.024358728900551796,
0.015181384049355984,
-0.008586857467889786,
0.008271330036222935,
-0.019256196916103363,
-0.005643436219543219,
-0.039197541773319244,
0.04850109666585922,
0.01368488185107708,
0.031264275312423706,
-0.07118301838636398,
0.02021179534494877,
0.05733586847782135,
0.07572662085294724,
0.03065125085413456,
0.023078588768839836,
-0.011196721345186234,
-0.0593552440404892,
-0.0346900038421154,
-0.05077289417386055,
0.005161129869520664,
-0.047815948724746704,
-0.06148280203342438,
-0.02446690946817398,
0.05178258195519447,
0.05830949544906616,
-0.05946342647075653,
0.023889945819973946,
0.014370026998221874,
0.07323845475912094,
0.04767170920968056,
0.030813520774245262,
-0.006698199547827244,
0.040567830204963684,
-0.0128104193136096,
-0.013720941729843616,
0.051169559359550476,
0.049510784447193146,
0.01986922137439251,
-0.00209487765096128,
-0.014586389064788818,
0.03865663707256317,
0.03377046436071396,
0.049222301691770554,
-0.033698346465826035,
-0.02646825648844242,
0.01223345473408699,
-0.056975264102220535,
0.06169916316866875,
0.059535544365644455,
-0.031390488147735596,
0.015370700508356094,
-0.027550065889954567,
-0.0032138738315552473,
-0.03479818254709244,
-0.01573130302131176,
0.02699113078415394,
0.06757698953151703,
-0.025422507897019386,
0.04208236187696457,
0.05939130485057831,
-0.0020914971828460693,
-0.0052918484434485435,
-0.03200351074337959,
-0.004674315452575684,
-0.010745967738330364,
-0.015361685305833817,
-0.0303086768835783,
-0.027550065889954567,
0.0038516900967806578,
-0.04150540009140968,
-0.016100920736789703,
0.03492439538240433,
0.008906892500817776,
-0.04262326657772064,
-0.012323605827987194,
-0.0008727718377485871,
-0.0003983535571023822,
-0.06451186537742615,
0.041793882846832275,
-0.010601726360619068,
0.04626535624265671,
-0.058814339339733124,
-0.05034017190337181,
-0.01986922137439251,
-0.011422098614275455,
0.0743563249707222,
0.036132413893938065,
0.012900570407509804,
-0.023817824199795723,
0.009006058797240257,
0.07832296192646027,
0.06566579639911652,
-0.032923050224781036,
-0.04680626094341278,
-0.020644519478082657,
-0.0016982144443318248,
0.0003070759412366897,
-0.02924489974975586,
0.033013198524713516,
0.028487632051110268,
-0.04532779008150101,
-0.04424598067998886,
-0.02340313047170639,
-0.0029727204237133265,
0.060941897332668304,
0.04983532801270485,
-0.028884295374155045,
0.030975792557001114,
0.03512272611260414,
0.023637523874640465,
0.04933048412203789,
-0.061446741223335266,
-0.030633220449090004,
0.019598770886659622,
0.018057191744446754,
-0.001209146692417562,
-0.004534582141786814,
0.013468519784510136,
-0.029821863397955894,
0.008960982784628868,
0.018823474645614624,
0.10774815827608109,
-0.048104431480169296,
0.0002343919186387211,
0.007157968357205391,
-0.043885380029678345,
-0.03196744993329048,
-0.002188409212976694,
-0.012729284353554249,
0.07897204160690308,
0.00012642232468351722,
-0.034599851816892624,
0.0034617881756275892,
-0.039197541773319244,
-0.03133639693260193,
0.017326971516013145,
-0.0503041110932827,
0.061627041548490524,
0.026702648028731346,
-0.04954684525728226,
-0.05899464339017868,
-0.010908239521086216,
-0.01654266007244587,
0.0353030301630497,
0.06948819011449814,
0.04630141705274582,
-0.012864510528743267,
-0.012990721501410007,
0.014189725741744041,
-0.006242938339710236,
-0.01031324453651905,
-0.04161357879638672,
0.0019404946360737085,
0.011268842034041882,
-0.017372047528624535,
-0.055857397615909576,
-0.04006298631429672,
0.023078588768839836,
-0.04976320639252663,
-0.013820108026266098,
-0.01532562542706728,
0.01709257997572422,
-0.03191336244344711,
-0.043164171278476715,
0.04608505591750145,
-0.026378106325864792,
-0.020662548020482063,
0.01940043829381466,
0.020572397857904434,
-0.05470346659421921,
0.01785886101424694,
0.05798495188355446,
0.03880087658762932,
-0.0038201373536139727,
-0.08618410676717758,
-0.0181202981621027,
0.02540447749197483,
-0.02417842671275139,
0.07399572432041168,
-0.04063995182514191,
0.04846503585577011,
-0.008257807232439518,
-0.031174125149846077,
-0.01457737386226654,
0.010538620874285698,
-0.020283915102481842,
-0.0246832724660635,
-0.027730366215109825,
-0.0014469192828983068,
0.028722025454044342,
-0.036474987864494324,
-0.038692694157361984,
-0.05109743773937225,
0.020770730450749397,
-0.0752938985824585,
0.02268192544579506,
0.0008941825944930315,
-0.05149409919977188,
-0.03593408316373825,
0.013693897053599358,
-0.012567012570798397,
0.07897204160690308,
0.044390223920345306,
0.007964817807078362,
0.043632958084344864,
-0.02021179534494877,
-0.03146260604262352,
-0.03474409505724907,
-0.04796019196510315,
0.017281895503401756,
-0.06357429921627045,
-0.020085584372282028,
0.034293338656425476,
0.06126644089818001,
0.03238214552402496,
0.027766427025198936,
-0.014099575579166412,
-0.029064597561955452,
-0.017038488760590553,
0.06894728541374207,
0.01858908124268055,
-0.02255571447312832,
0.02574704959988594,
0.028469601646065712,
-0.03580787405371666,
0.022880256175994873,
-0.00837500300258398,
-0.028451573103666306,
0.007441943045705557,
-0.00008641793101560324,
0.0081225810572505,
-0.016164027154445648,
-0.031733058393001556,
0.019941342994570732,
-0.06703608483076096,
0.03533908724784851,
0.023907974362373352,
0.01683114282786846,
0.037322405725717545,
0.023691613227128983,
-0.013360339216887951,
-0.04630141705274582,
-0.09736279398202896,
0.011115585453808308,
-0.024989783763885498,
-0.023547371849417686,
0.0209330003708601,
-0.03887299820780754,
0.04817655310034752,
-0.03995480760931969,
0.028163090348243713,
0.0011004024418070912,
0.032850928604602814,
-0.029407169669866562,
0.03478015586733818,
0.010141957551240921,
0.04590475559234619,
0.02630598470568657,
-0.03862057626247406,
0.013053826987743378,
0.026792798191308975,
0.06678366661071777,
-0.028469601646065712,
0.029948074370622635,
-0.05358559638261795,
0.05657860264182091,
-0.020229825749993324,
0.01104346476495266,
0.024070246145129204,
-0.042695388197898865,
-0.05798495188355446,
-0.05268409103155136,
0.0012474608374759555,
0.05913888290524483,
-0.02178041823208332,
-0.01387419831007719,
0.04392143711447716,
-0.048825640231370926,
0.07839508354663849,
-0.04720292612910271,
0.010998389683663845,
0.056758902966976166,
-0.02553068846464157,
-0.008708560839295387,
-0.04568839445710182,
-0.00010092656884808093,
0.03128230571746826,
0.011890881694853306,
-0.03598817437887192,
-0.018264539539813995,
0.04024329036474228,
-0.017146669328212738,
0.0029839894268661737,
0.007685350254178047,
0.05070077255368233,
0.04262326657772064,
0.07291391491889954,
0.032652597874403,
0.004196516703814268,
-0.021383754909038544,
0.009970671497285366,
0.03952208161354065,
-0.04143327847123146,
0.021167393773794174,
-0.09743491560220718,
0.03995480760931969,
-0.03319350257515907,
-0.03577181324362755,
0.029064597561955452,
-0.0016260938718914986,
0.02493569441139698,
-0.006499867886304855,
-0.0559295155107975,
-0.029190808534622192,
0.015632137656211853,
0.038512393832206726,
0.020392095670104027,
-0.08741015195846558,
-0.001254222122952342,
-0.007212059106677771,
-0.0036511048674583435,
-0.01298170629888773,
0.0013533879537135363,
0.003876481670886278,
0.07738538831472397,
-0.040820252150297165,
0.025891290977597237,
-0.03306728973984718,
0.009799385443329811,
0.012675193138420582,
-0.040603891015052795,
0.05823737382888794,
-0.037755127996206284,
-0.04990744590759277,
0.0110164200887084,
-0.005116054322570562,
-0.006725245155394077,
-0.004331742879003286,
-0.046698082238435745,
-0.023889945819973946,
-0.01931028813123703,
0.0029907505959272385,
0.04777989163994789,
0.015505926683545113,
0.009037611074745655,
0.02753203548491001,
-0.013585715554654598,
0.005873320624232292,
0.01922013610601425,
-0.03167896717786789,
0.00019776818226091564,
0.007852128706872463,
-0.0527922697365284,
-0.0004211729683447629,
0.03351804241538048,
0.05340529605746269,
0.004056782927364111,
0.019328318536281586,
-0.01743515208363533,
-0.004590926226228476,
-0.011647474952042103,
-0.015271535143256187,
0.02864990383386612,
-0.01828256994485855,
-0.0016486316453665495,
0.05318893492221832,
-0.010150972753763199,
0.011935957707464695,
-0.0012621103087440133,
-0.00009627817053114995,
-0.03739452362060547,
0.03245426341891289,
0.027946727350354195,
0.007635767571628094,
-0.0019100686768069863,
-0.019851192831993103,
-0.05106137692928314,
-0.0025377431884407997,
0.019724981859326363,
0.04918624088168144,
-0.03916148096323013,
0.009240450337529182,
-0.018039163202047348,
-0.01063778717070818,
0.035194847732782364,
-0.032923050224781036,
-0.09462220966815948,
0.06869485974311829,
-0.04208236187696457,
0.06054523587226868,
-0.08301080018281937,
0.0446787066757679,
-0.002416039817035198,
0.036763470619916916,
-0.01554198656231165,
-0.04792413115501404,
0.06483641266822815,
0.02574704959988594,
-0.008893369697034359,
0.02174435742199421,
0.08207322657108307,
-0.012512922286987305,
0.025134025141596794,
-0.010196047835052013,
-0.011286872439086437,
0.01607387699186802,
-0.0181202981621027,
0.012909585610032082,
-0.006193355657160282,
0.03699786216020584,
0.045003246515989304,
-0.026540376245975494,
0.0512416772544384,
-0.029948074370622635,
0.007527586538344622,
-0.0028397482819855213,
-0.0009420752176083624,
0.03409500792622566,
-0.018769383430480957,
-0.037827249616384506,
-0.023258889093995094,
-0.06036493182182312,
0.002373218070715666,
-0.006878501269966364,
-0.04446234181523323,
0.030470948666334152,
-0.037538766860961914,
0.008045952767133713,
0.049943506717681885,
0.020896941423416138,
0.021221483126282692,
-0.04283963143825531,
-0.0014210009248927236,
-0.04348871484398842,
0.010863163508474827,
0.09072770178318024,
-0.014342982321977615,
0.009483857080340385,
-0.05340529605746269,
0.02208692952990532,
0.01332427840679884,
0.02664855681359768,
-0.027820516377687454,
-0.043885380029678345,
0.027099311351776123,
-0.012675193138420582,
0.06101401895284653,
0.019634829834103584,
-0.028415512293577194,
-0.03797148913145065,
-0.055785275995731354,
0.015587062574923038,
0.014505253173410892,
0.015695244073867798,
-0.01709257997572422,
0.03312138095498085,
-0.008045952767133713,
-0.034004855901002884,
-0.00582824507728219,
-0.016254177317023277,
0.013711926527321339,
-0.007153460755944252,
-0.0018176642479375005,
0.026540376245975494,
0.043200232088565826,
0.027676276862621307,
-0.033103350549936295,
-0.02187056839466095,
0.008600380271673203,
-0.004464715253561735,
-0.011764670722186565,
0.006049114279448986,
0.004913215059787035,
0.009001551195979118,
-0.011773685924708843,
0.027387794107198715,
-0.01606486178934574,
-0.03121018409729004,
-0.017750680446624756,
-0.007392360363155603,
0.024737361818552017,
0.03503257781267166,
-0.016614779829978943,
0.024881603196263313,
0.09245859831571579,
-0.014541313983500004,
-0.012792389839887619,
-0.031877301633358,
-0.0011573100928217173,
-0.05077289417386055,
0.052287425845861435,
-0.003171052085235715,
0.013585715554654598,
0.004854617174714804,
-0.0011297013843432069,
-0.014703584834933281,
0.0023935020435601473,
-0.00045385261182673275,
0.05145804211497307,
0.005607375875115395,
0.022519653663039207,
-0.008000877685844898,
0.0399908684194088,
-0.021347694098949432,
-0.0022864481434226036,
-0.0771690309047699,
-0.02886626496911049,
-0.013847152702510357,
0.06800971180200577,
-0.03721422329545021,
-0.021942690014839172,
0.04814049229025841,
0.024106306955218315,
-0.02946126088500023,
0.05434286221861839,
0.06346611678600311,
-0.07114695757627487,
0.0029096149373799562,
0.011313917115330696,
0.031660936772823334,
-0.034383490681648254,
-0.03214775398373604,
-0.008365988731384277,
0.021365724503993988,
0.07493329048156738,
-0.07796235382556915,
-0.01018703356385231,
-0.05073683336377144,
0.07168786227703094
]
|
31,522 | laspy.lasdata | __init__ | null | def __init__(
self,
header: LasHeader,
points: Optional[
Union[record.PackedPointRecord, record.ScaleAwarePointRecord]
] = None,
) -> None:
if points is None:
points = record.ScaleAwarePointRecord.zeros(
header.point_count, header=header
)
if points.point_format != header.point_format:
raise errors.LaspyException("Incompatible Point Formats")
if isinstance(points, record.PackedPointRecord):
points = record.ScaleAwarePointRecord(
points.array,
header.point_format,
scales=header.scales,
offsets=header.offsets,
)
else:
assert np.all(header.scales, points.scales)
assert np.all(header.offsets, points.offsets)
self.__dict__["_points"] = points
self.points: record.ScaleAwarePointRecord
self.header: LasHeader = header
| (self, header: laspy.header.LasHeader, points: Union[laspy.point.record.PackedPointRecord, laspy.point.record.ScaleAwarePointRecord, NoneType] = None) -> NoneType | [
-0.020046614110469818,
-0.01836998760700226,
-0.0014340162742882967,
0.05168381705880165,
-0.026734894141554832,
-0.035610076040029526,
-0.0035696642007678747,
0.083685502409935,
-0.031181596219539642,
0.05215764418244362,
-0.029085814952850342,
0.009722608141601086,
0.02595125325024128,
0.0209578238427639,
-0.043446481227874756,
0.0641491636633873,
0.011371897533535957,
0.0010712409857660532,
-0.041441816836595535,
-0.0018121683970093727,
0.011572363786399364,
0.0061688898131251335,
0.008369461633265018,
0.06163422763347626,
-0.00877950619906187,
0.04413899779319763,
0.027409188449382782,
0.0070573193952441216,
0.016784483566880226,
-0.05248568207025528,
0.005271348170936108,
0.03805211931467056,
-0.04658104106783867,
0.025586768984794617,
0.0038726413622498512,
0.008045981638133526,
-0.007471919991075993,
-0.028356846421957016,
-0.002058194950222969,
0.06068656966090202,
-0.00011511141929076985,
0.0036653410643339157,
-0.008702052757143974,
-0.021777912974357605,
-0.015700142830610275,
0.056239865720272064,
-0.004751958884298801,
0.003253018716350198,
0.011535915546119213,
-0.014916502870619297,
-0.008483362384140491,
-0.014351553283631802,
0.04935111850500107,
-0.022105947136878967,
-0.0446128286421299,
0.010606481693685055,
0.04275396093726158,
0.15410378575325012,
-0.03426148742437363,
0.045888520777225494,
0.00844691414386034,
0.04180630296468735,
-0.0006851158104836941,
-0.03994743525981903,
0.03878108784556389,
-0.04512310400605202,
0.006200782023370266,
-0.0446857251226902,
0.018561342731118202,
0.03059842251241207,
0.05798938870429993,
0.01827886700630188,
-0.05634921044111252,
0.054308101534843445,
0.06283701956272125,
0.0031915120780467987,
-0.07486499100923538,
0.024712007492780685,
0.009813728742301464,
-0.02405593730509281,
0.025896580889821053,
-0.005950199440121651,
-0.024329299107193947,
0.009080205112695694,
0.004829411394894123,
-0.0037929106038063765,
0.06597158312797546,
-0.010260221548378468,
0.0013850388349965215,
0.09418264031410217,
-0.03458952158689499,
-0.005982091650366783,
-0.023545660078525543,
-0.003161897649988532,
0.03375120833516121,
-0.013923284597694874,
0.006364800035953522,
-0.003330471459776163,
-0.028411518782377243,
0.03345962241292,
-0.012027968652546406,
-0.0726780891418457,
-0.04209788888692856,
0.01944521628320217,
-0.024912474676966667,
0.011162319220602512,
0.04931467026472092,
-0.04162406176328659,
0.006938862148672342,
-0.005380693357437849,
-0.010907180607318878,
0.0209578238427639,
-0.053724925965070724,
0.02318117581307888,
-0.07216781377792358,
-0.04891373962163925,
0.03617502748966217,
-0.013294549658894539,
-0.07865562289953232,
0.00905286893248558,
-0.013905060477554798,
0.02846619114279747,
-0.046216558665037155,
0.02775544859468937,
0.013604361563920975,
-0.07471919804811478,
0.02201482653617859,
-0.026042373850941658,
0.015691030770540237,
-0.045378245413303375,
0.054308101534843445,
0.006064100656658411,
-0.03466241806745529,
-0.006164333783090115,
-0.047601595520973206,
-0.059082839637994766,
0.0300152488052845,
0.032511964440345764,
-0.08120701462030411,
0.03493577986955643,
0.022743795067071915,
0.04381096363067627,
0.04082219675183296,
-0.02653442695736885,
-0.008601820096373558,
0.06484168767929077,
0.024967147037386894,
-0.007790843024849892,
-0.050080087035894394,
0.027864793315529823,
-0.02279846742749214,
-0.04446703568100929,
-0.003911367617547512,
0.009841064922511578,
0.004164228681474924,
-0.1257469356060028,
0.004576550796627998,
-0.0215956699103117,
0.041150230914354324,
0.03859884291887283,
0.020392874255776405,
0.021358756348490715,
0.005968423560261726,
-0.015982618555426598,
-0.08864248543977737,
0.015736592933535576,
-0.0613790862262249,
-0.04187919944524765,
0.018388211727142334,
0.005285016261041164,
0.043154891580343246,
-0.02921338379383087,
-0.029905904084444046,
0.05970245972275734,
-0.006355687975883484,
-0.015144305303692818,
0.003177843987941742,
0.013075859285891056,
0.034024570137262344,
-0.0698351114988327,
0.08404998481273651,
0.007262341678142548,
-0.01861601509153843,
-0.001984159229323268,
0.001125913579016924,
0.041514717042446136,
-0.014287768863141537,
0.027263395488262177,
-0.042280130088329315,
0.01033311802893877,
0.017085181549191475,
0.053980063647031784,
-0.013604361563920975,
-0.02985122986137867,
-0.0077452827244997025,
0.021960154175758362,
-0.008437802083790302,
-0.051209986209869385,
-0.04975205287337303,
0.02833862230181694,
-0.011964183300733566,
-0.009841064922511578,
-0.004027546849101782,
-0.036794647574424744,
-0.002423817990347743,
0.03411569073796272,
0.017713917419314384,
0.04946046322584152,
-0.08273784071207047,
0.012456237338483334,
0.0585361123085022,
-0.03493577986955643,
-0.06531551480293274,
-0.00026410844293422997,
-0.013385671190917492,
-0.03194701299071312,
-0.07960328459739685,
-0.005945643410086632,
0.0223428625613451,
0.002533162944018841,
0.1003059670329094,
-0.00806876178830862,
-0.009349011816084385,
-0.002612893935292959,
0.03256663680076599,
0.037869878113269806,
0.06250898540019989,
-0.02443864569067955,
-0.04712776839733124,
-0.021103616803884506,
-0.014333329163491726,
-0.05605762079358101,
-0.09906671941280365,
-0.01609196327626705,
-0.00037672827602364123,
-0.0489501878619194,
0.01953633688390255,
0.04545114189386368,
-0.03943715617060661,
-0.03307691216468811,
0.04829411581158638,
0.028539089486002922,
-0.018880264833569527,
-0.03735959902405739,
-0.0229807086288929,
-0.012027968652546406,
-0.018679799512028694,
0.0020980604458600283,
-0.049861397594213486,
0.00027435956872068346,
0.022415759041905403,
0.007449139375239611,
0.010998301208019257,
0.00364711694419384,
0.006287347059696913,
-0.04180630296468735,
-0.008478806354105473,
-0.07038184255361557,
0.01735854521393776,
-0.031035803258419037,
-0.05117353796958923,
-0.009923074394464493,
0.03287644684314728,
0.04545114189386368,
0.013868612237274647,
0.020301753655076027,
0.0026197279803454876,
-0.006838629022240639,
0.038380153477191925,
-0.00017184845637530088,
0.051829610019922256,
-0.018142186105251312,
-0.04206144064664841,
-0.01523542683571577,
0.04978850111365318,
0.01915362849831581,
-0.01831531524658203,
-0.03497222810983658,
0.061852917075157166,
0.05758845433592796,
0.09746298938989639,
-0.005667724646627903,
0.03433438390493393,
0.020174182951450348,
0.043154891580343246,
0.012766048312187195,
-0.007891076616942883,
0.039218466728925705,
-0.05168381705880165,
-0.041186679154634476,
-0.01895316317677498,
0.0696164220571518,
0.010469799861311913,
0.015034960582852364,
0.03331382945179939,
0.031673651188611984,
-0.020101286470890045,
0.026024149730801582,
0.06509682536125183,
-0.04876794293522835,
0.006861409172415733,
-0.05295950919389725,
0.09279759973287582,
0.03023393824696541,
-0.03991098701953888,
-0.06881456077098846,
-0.037869878113269806,
-0.027226947247982025,
0.0078409593552351,
-0.012820720672607422,
0.06298281997442245,
0.08594530075788498,
0.01181839033961296,
-0.032839998602867126,
0.01656579226255417,
0.03790632635354996,
-0.0042006769217550755,
-0.01915362849831581,
0.001530832378193736,
0.041441816836595535,
-0.028484415262937546,
-0.04351937770843506,
-0.013139644637703896,
-0.028119932860136032,
0.020684460178017616,
0.01213731337338686,
-0.002045665867626667,
-0.08886117488145828,
-0.015244538895785809,
0.05051746591925621,
-0.04599786549806595,
0.03068954311311245,
0.0034398166462779045,
0.0025422752369195223,
-0.046216558665037155,
0.0031391174998134375,
-0.043446481227874756,
0.017759477719664574,
-0.021012496203184128,
-0.03231149539351463,
-0.009385460056364536,
-0.025349855422973633,
-0.046508144587278366,
0.009759056381881237,
0.03714090958237648,
-0.0682678297162056,
-0.011262551881372929,
-0.06320150941610336,
0.030379733070731163,
-0.009567702189087868,
-0.09403684735298157,
-0.018934939056634903,
0.03127271682024002,
0.03101757913827896,
0.05911928787827492,
-0.01416931115090847,
-0.011836614459753036,
-0.027609655633568764,
0.026261065155267715,
-0.01609196327626705,
0.0779995545744896,
-0.0072714537382125854,
-0.038635291159152985,
-0.007244117558002472,
-0.038125015795230865,
0.0018987333169206977,
0.0023190288338810205,
-0.039218466728925705,
-0.01794171892106533,
0.03633904457092285,
0.0038498612120747566,
-0.040093228220939636,
-0.07060053199529648,
0.022616226226091385,
0.013194316998124123,
0.007850071415305138,
0.0461072139441967,
0.0655706524848938,
-0.06535196304321289,
-0.05186605826020241,
-0.0017939441604539752,
-0.0020103564020246267,
0.0328582227230072,
0.047091320157051086,
-0.01496206410229206,
-0.010715826414525509,
-0.03369653597474098,
0.01768658123910427,
0.017877934500575066,
0.03324092924594879,
0.0063784681260585785,
-0.000007857403943489771,
-0.0018679799977689981,
-0.056531451642513275,
0.0022746073082089424,
0.011608812026679516,
0.022415759041905403,
0.05715107545256615,
0.015700142830610275,
-0.04741935431957245,
0.022543327882885933,
-0.06761176139116287,
-0.023454537615180016,
0.027318067848682404,
-0.05729686841368675,
-0.02469378337264061,
0.03668530285358429,
-0.05084550380706787,
0.0067794001661241055,
0.03369653597474098,
0.06546130776405334,
0.03677642345428467,
-0.01915362849831581,
-0.05463613569736481,
-0.028101708739995956,
0.00010293822560925037,
0.02489425055682659,
0.009503917768597603,
-0.014570243656635284,
0.018096625804901123,
0.04100443795323372,
0.01626509428024292,
-0.01125343982130289,
0.03320448100566864,
0.06221739947795868,
0.0005791877047158778,
-0.05922863259911537,
-0.03207458183169365,
0.04217078536748886,
-0.04351937770843506,
-0.026516202837228775,
0.0007608601008541882,
-0.0034808211494237185,
-0.017258312553167343,
0.0031254494097083807,
0.018032841384410858,
0.007645049598067999,
0.011052973568439484,
-0.03178299590945244,
-0.004310022108256817,
0.047346457839012146,
-0.030452629551291466,
0.009768168441951275,
0.02791946567595005,
-0.0016640967223793268,
-0.033095136284828186,
-0.003968318458646536,
-0.038416601717472076,
-0.050918400287628174,
-0.00590919516980648,
0.034607745707035065,
0.008032313548028469,
0.044539932161569595,
-0.029122263193130493,
0.009950410574674606,
-0.05642210692167282,
-0.01713985577225685,
-0.034061018377542496,
0.0229807086288929,
-0.005494594573974609,
-0.0071211038157343864,
0.00748103205114603,
-0.008437802083790302,
-0.0517202652990818,
-0.03885398432612419,
0.027299843728542328,
0.016875604167580605,
-0.03524559363722801,
-0.019171852618455887,
-0.029104039072990417,
0.02779189683496952,
-0.006656386889517307,
0.012984738685190678,
-0.013239877298474312,
0.005558379460126162,
0.00644680904224515,
0.04111378267407417,
0.02431107498705387,
-0.04556048661470413,
-0.013422119431197643,
-0.0009151962585747242,
-0.04690907523036003,
0.0021276746410876513,
-0.0038134127389639616,
0.0279559139162302,
0.03400634601712227,
-0.06586223840713501,
-0.013613473623991013,
-0.022452207282185555,
0.04687262699007988,
-0.021705016493797302,
0.04931467026472092,
-0.04406610131263733,
0.03345962241292,
-0.0004259905545040965,
0.024712007492780685,
0.08346681296825409,
0.013422119431197643,
0.03232971951365471,
-0.017631908878684044,
-0.012756936252117157,
-0.04614366218447685,
-0.0377240814268589,
-0.06666410714387894,
0.04599786549806595,
0.006592602469027042,
0.008670160546898842,
0.018269754946231842,
-0.001242662314325571,
-0.010241997428238392,
-0.05467258393764496,
0.0003166453680023551,
-0.00205363892018795,
0.004893196281045675,
0.007995865307748318,
0.06888745725154877,
-0.03633904457092285,
0.014716037549078465,
-0.04129602387547493,
-0.00144882348831743,
0.029796557500958443,
0.04238947480916977,
0.04913242906332016,
-0.03298579156398773,
-0.03094468265771866,
0.007991309277713299,
-0.015253650955855846,
-0.03320448100566864,
0.0613790862262249,
0.01827886700630188,
0.018752695992588997,
-0.047856733202934265,
-0.030744215473532677,
0.0473829060792923,
0.03030683472752571,
0.10256576538085938,
-0.017622796818614006,
-0.004307744093239307,
-0.020593339577317238,
-0.04690907523036003,
-0.011134983040392399,
0.023782573640346527,
-0.011754605919122696,
-0.015709254890680313,
0.01213731337338686,
-0.0286302100867033,
-0.020465770736336708,
0.042571719735860825,
0.0028110819403082132,
0.012538245879113674,
0.013586137443780899,
-0.056531451642513275,
0.02398304082453251,
0.011608812026679516,
0.036539509892463684,
0.013959732837975025,
-0.005690504796802998,
-0.0321110300719738,
-0.012383339926600456,
0.024001264944672585,
-0.02411060966551304,
0.0020524999126791954,
0.05237633362412453,
0.025641441345214844,
-0.07078277319669724,
0.000650375965051353,
0.013440343551337719,
-0.024256402626633644,
0.0003602126089390367,
0.0307259913533926,
0.03417036309838295,
0.015417668968439102,
-0.05419875308871269,
0.02494892291724682,
0.016319766640663147,
-0.009649710729718208,
-0.016319766640663147,
0.05113708972930908,
-0.03174654766917229,
-0.007736170664429665,
0.012456237338483334,
0.04628945514559746,
-0.020283527672290802,
-0.05758845433592796,
0.008100654929876328,
-0.011226103641092777,
-0.04100443795323372,
-0.01079783495515585,
0.007203112822026014,
0.051209986209869385,
-0.027846569195389748,
-0.02502181939780712,
-0.0004997415817342699,
0.013996181078255177,
-0.03130916506052017,
0.017795925959944725,
0.014378889463841915,
-0.05620341747999191,
0.04741935431957245,
0.03695866838097572,
-0.013932396657764912,
0.02389191836118698,
-0.060139842331409454,
0.00142034818418324,
0.052595026791095734,
-0.04249882325530052,
-0.0229807086288929,
0.06342019885778427,
-0.031090475618839264,
-0.026898911222815514,
0.03517269715666771,
0.058754801750183105,
-0.005945643410086632,
-0.019426992163062096,
-0.016037290915846825,
-0.06061366945505142,
-0.017194528132677078,
-0.012027968652546406,
0.07705189287662506,
-0.000878747901879251,
-0.021650342270731926,
-0.05842676758766174,
-0.009740832261741161,
0.06444074958562851,
-0.03537316247820854,
-0.014552019536495209,
0.04720066487789154,
-0.05751555785536766,
0.027992362156510353,
-0.001160653424449265,
0.05693238228559494,
0.0003075332788284868,
0.005740621127188206,
-0.0171034075319767,
0.005134666804224253,
0.013640809804201126,
-0.004462649580091238,
0.001107119838707149,
0.08456026017665863,
0.09410974383354187,
0.009075649082660675,
-0.02921338379383087,
0.03384232893586159,
-0.019171852618455887,
0.01416931115090847,
-0.0031208933796733618,
-0.011599699966609478,
-0.020848479121923447,
0.04548759013414383,
0.05197540298104286,
0.005945643410086632,
0.01769569329917431,
-0.045378245413303375,
-0.03954650089144707,
0.019882597029209137,
-0.0007084655808284879,
-0.03231149539351463,
-0.008082429878413677,
0.005398917477577925,
-0.02037465013563633,
-0.05675014108419418,
-0.022269966080784798,
0.052303437143564224,
0.002749575302004814,
0.004421645309776068,
0.007157552521675825,
-0.008424133993685246,
0.020702684298157692,
-0.04545114189386368,
0.0711837038397789,
-0.05500061810016632,
-0.002820194000378251,
-0.015262763015925884,
0.0045287124812603,
0.0668463483452797,
-0.01486183051019907,
-0.024420421570539474,
-0.0654977560043335,
-0.0006999229663051665,
-0.020228855311870575,
0.06812203675508499,
0.03493577986955643,
-0.040603507310152054,
-0.03227504715323448,
-0.03163720294833183,
0.0419156476855278,
-0.011499466374516487,
-0.011271663941442966,
-0.01634710282087326,
-0.04825766757130623,
0.06148843094706535,
0.009941298514604568,
0.035318490117788315,
-0.0072714537382125854,
-0.047091320157051086,
-0.02904936671257019,
-0.0642220601439476,
-0.04978850111365318,
0.022944260388612747,
0.008451470173895359,
-0.006492369342595339,
0.017795925959944725,
-0.044795069843530655,
0.0626547783613205,
-0.01982792280614376,
0.019044283777475357,
0.010132651776075363,
0.03014281764626503,
0.03816146403551102,
-0.01765013299882412,
0.011845726519823074,
0.047820284962654114,
0.012119089253246784,
-0.0922873243689537,
0.005266792140901089,
0.054344549775123596,
0.010661154054105282,
0.0008998195989988744,
-0.01228310726583004,
0.025331631302833557,
0.004476317670196295,
-0.003371475962921977,
0.02363678067922592,
-0.012310443446040154,
0.014515571296215057,
-0.049824949353933334,
0.009968634694814682,
0.015244538895785809,
0.021322308108210564,
-0.010633817873895168,
-0.012438013218343258,
0.06994445621967316,
-0.05857256054878235,
0.04246237501502037,
-0.01062470581382513,
-0.017303872853517532,
-0.004920532461255789,
0.02150454930961132,
0.07741637527942657,
0.03610213100910187,
-0.02343631349503994,
-0.017367657274007797,
0.034735314548015594,
-0.010424239560961723,
-0.011891286820173264,
0.02704470418393612,
-0.008979971520602703,
-0.0014226261992007494,
-0.030361508950591087,
0.02221529372036457,
-0.012191985733807087,
0.020447546616196632,
-0.007235005032271147,
0.019937269389629364,
0.026479754596948624,
-0.08047804236412048,
-0.009130321443080902,
0.03551895543932915,
0.010825171135365963,
-0.06254543364048004,
-0.0571875236928463,
-0.013075859285891056,
0.03395167365670204,
0.057406213134527206,
0.012729600071907043,
0.03243906795978546,
-0.020520443096756935,
0.060139842331409454
]
|
31,523 | laspy.lasdata | __len__ | null | def __len__(self):
return len(self.points)
| (self) | [
-0.00903480313718319,
-0.022405019029974937,
-0.015958519652485847,
0.08301989734172821,
-0.0038966129068285227,
0.02974933572113514,
0.0019078641198575497,
0.024152124300599098,
0.034877415746450424,
0.03772455081343651,
-0.015157763846218586,
-0.05166904628276825,
-0.003000816563144326,
-0.003425460308790207,
-0.0017865373520180583,
0.026400715112686157,
0.04772188141942024,
-0.017826953902840614,
-0.005087637808173895,
0.024653607979416847,
-0.019169636070728302,
0.011615020222961903,
0.04040991887450218,
-0.02818017452955246,
-0.03914811834692955,
0.025462454184889793,
0.0637693703174591,
-0.004064448177814484,
0.0476895272731781,
0.03274206444621086,
-0.11945029348134995,
0.017147522419691086,
0.031771447509527206,
0.028568420559167862,
0.031383201479911804,
-0.0008482766570523381,
0.0030675462912768126,
0.012084150686860085,
0.027791928499937057,
0.045845359563827515,
-0.019282875582575798,
-0.02576981484889984,
-0.018360791727900505,
0.010822352021932602,
0.04141288623213768,
-0.01070911344140768,
0.011024563573300838,
0.02085203491151333,
-0.03429504483938217,
-0.06761948019266129,
-0.0038642589934170246,
0.03240234777331352,
0.035265661776065826,
0.03406856954097748,
-0.0156511589884758,
0.036980412900447845,
0.052122000604867935,
0.0794609785079956,
-0.042351145297288895,
0.03481270745396614,
-0.023537402972579002,
0.013119473122060299,
0.041154056787490845,
-0.08515524864196777,
0.02714485302567482,
-0.03607450798153877,
-0.013418746180832386,
0.04092757776379585,
0.05361027643084526,
0.03814515098929405,
0.03588038310408592,
0.04296587035059929,
-0.0245403703302145,
0.05354556813836098,
0.011097359471023083,
-0.004885426256805658,
-0.00032505474518984556,
0.05826922506093979,
0.07389611750841141,
-0.06444880366325378,
0.0016156687634065747,
0.008064188994467258,
0.026530129835009575,
0.03898635134100914,
0.03597744554281235,
0.0005757968174293637,
0.0006051174714230001,
0.006992468610405922,
-0.06347818672657013,
0.0679430142045021,
-0.022582964971661568,
0.07855506986379623,
0.016282059252262115,
-0.01218930073082447,
-0.028633128851652145,
-0.014462156221270561,
-0.03275823965668678,
-0.06480469554662704,
0.019735828042030334,
-0.027630159631371498,
-0.022146187722682953,
0.036462750285863876,
0.007781093008816242,
0.03659216687083244,
-0.01495555229485035,
0.002485177479684353,
0.001918985741212964,
-0.05797804147005081,
-0.02746839076280594,
0.037336304783821106,
0.005140212830156088,
0.05584269016981125,
0.019185813143849373,
0.03293618559837341,
-0.01114588975906372,
-0.031027311459183693,
0.003617561189457774,
-0.012035620398819447,
-0.012569458223879337,
-0.0033223326317965984,
0.012076062150299549,
0.045295342803001404,
-0.019978482276201248,
-0.040992286056280136,
0.028665482997894287,
0.02311680279672146,
-0.012852554209530354,
0.009123776108026505,
-0.014818048104643822,
-0.06286346912384033,
0.06072811409831047,
-0.002515509258955717,
-0.006199800409376621,
0.038177505135536194,
0.019218167290091515,
-0.032111164182424545,
0.07059603184461594,
-0.034683290868997574,
-0.020285842940211296,
0.040798164904117584,
0.019735828042030334,
0.04257762432098389,
0.05917513370513916,
0.007303874474018812,
-0.031415555626153946,
0.04998664930462837,
-0.0012466330081224442,
0.04070110246539116,
-0.009091422893106937,
-0.017859308049082756,
-0.0015792706981301308,
0.0034719689283519983,
0.03963342681527138,
-0.05060137063264847,
-0.021272635087370872,
-0.042221732437610626,
-0.013564337976276875,
-0.04717186465859413,
0.015756309032440186,
-0.06247521936893463,
-0.06897833943367004,
-0.0018522560130804777,
-0.03746572136878967,
-0.018668152391910553,
-0.037983380258083344,
0.02751692198216915,
0.02421683259308338,
-0.019363759085536003,
-0.046039480715990067,
0.07143723219633102,
0.036106858402490616,
-0.028455182909965515,
-0.0198652446269989,
0.04125111550092697,
0.04128346964716911,
0.03112437203526497,
-0.011412808671593666,
0.06066340580582619,
0.02575363777577877,
-0.04121876507997513,
0.00612700404599309,
-0.06076046824455261,
-0.027743399143218994,
-0.04639537259936333,
0.05166904628276825,
-0.002464956371113658,
0.021677058190107346,
0.024103593081235886,
-0.025802168995141983,
0.03148026391863823,
-0.06415762007236481,
-0.002990705892443657,
-0.03186850994825363,
-0.007801314350217581,
0.005892438814043999,
-0.0011788922129198909,
-0.014114352874457836,
0.012342981062829494,
-0.060113392770290375,
0.010781909339129925,
-0.08217869699001312,
-0.05302790552377701,
-0.030574357137084007,
-0.048271894454956055,
0.008331107906997204,
0.034715645015239716,
-0.04471297562122345,
0.009447314776480198,
0.008897299878299236,
-0.03982754796743393,
-0.0024912438821047544,
-0.05338379740715027,
0.011954735033214092,
0.011550312861800194,
0.059595730155706406,
-0.06004868447780609,
-0.019557882100343704,
-0.04523063823580742,
-0.017325468361377716,
0.022712379693984985,
0.0989379733800888,
-0.026028646156191826,
0.0115745784714818,
-0.016759278252720833,
-0.009730410762131214,
-0.00574684701859951,
0.009689968079328537,
0.01479378342628479,
-0.043257053941488266,
-0.06457822024822235,
0.009414960630238056,
0.0053262473084032536,
-0.020949097350239754,
0.026869844645261765,
0.016613684594631195,
0.0077527835965156555,
0.012148858048021793,
0.01688869297504425,
-0.04798071086406708,
-0.007603147067129612,
-0.04798071086406708,
-0.01383125688880682,
-0.00014811982691753656,
-0.007028867024928331,
-0.04121876507997513,
0.01567542366683483,
0.015068789944052696,
0.036300983279943466,
-0.001228434033691883,
0.019784359261393547,
-0.011153978295624256,
-0.06250757724046707,
-0.060436930507421494,
-0.036462750285863876,
0.028568420559167862,
-0.10314396768808365,
-0.03183615580201149,
-0.020916743203997612,
0.008141029626131058,
-0.008557585068047047,
0.007554616313427687,
-0.0038056178018450737,
-0.00790646392852068,
0.06697240471839905,
-0.00808440987020731,
0.04717186465859413,
0.03985990211367607,
0.01806960627436638,
-0.05412793532013893,
0.024960970506072044,
0.008630380965769291,
-0.014146707020699978,
-0.037983380258083344,
-0.04458355903625488,
-0.013766549527645111,
0.024119770154356956,
0.002224324969574809,
0.015254824422299862,
-0.004946089815348387,
0.016298236325383186,
0.05215435475111008,
-0.018150491639971733,
-0.026740429922938347,
-0.012084150686860085,
-0.05684565752744675,
0.02088438905775547,
0.025138916447758675,
0.01703428477048874,
-0.04400119185447693,
-0.02229177951812744,
-0.0033223326317965984,
0.015303355641663074,
0.016807807609438896,
0.01772989146411419,
0.06470763683319092,
-0.005334335844963789,
-0.005310070235282183,
0.030315527692437172,
0.010741467587649822,
0.03114054910838604,
-0.017649007961153984,
-0.04574829712510109,
-0.038209859281778336,
0.011825320310890675,
-0.00106666493229568,
-0.028455182909965515,
0.04293351620435715,
-0.008104631677269936,
0.058042749762535095,
-0.02921549789607525,
0.021094689145684242,
0.04875720292329788,
-0.01295770425349474,
0.045651234686374664,
0.10036154091358185,
0.03914811834692955,
-0.012763581238687038,
-0.019072575494647026,
-0.026352183893322945,
0.07324904203414917,
-0.034553878009319305,
-0.011606931686401367,
-0.008500965312123299,
-0.012318716384470463,
-0.0030493473168462515,
0.01667839288711548,
0.02259914204478264,
0.007259387988597155,
0.022340310737490654,
0.018134314566850662,
-0.029814042150974274,
-0.043936483561992645,
0.01617690920829773,
0.014049645513296127,
-0.0459100678563118,
-0.009139953181147575,
0.009366430342197418,
0.018150491639971733,
-0.017357822507619858,
0.004145332612097263,
0.007586969994008541,
-0.002206125995144248,
-0.013151826336979866,
0.018862275406718254,
0.05361027643084526,
0.007259387988597155,
0.01950935274362564,
-0.018716683611273766,
0.06800772249698639,
0.03918047249317169,
-0.05726625770330429,
0.021143220365047455,
0.024071240797638893,
0.009746587835252285,
0.019800536334514618,
0.0004944067914038897,
0.033324431627988815,
0.05765450373291969,
0.0013871699338778853,
0.0605987012386322,
0.0431276373565197,
-0.03791867569088936,
-0.009382607415318489,
-0.0045578437857329845,
-0.012666519731283188,
0.014179060235619545,
0.015869546681642532,
-0.0846375897526741,
-0.02122410386800766,
-0.008630380965769291,
-0.05341615155339241,
-0.031399380415678024,
-0.05344850569963455,
-0.029474327340722084,
0.024815378710627556,
0.014316564425826073,
-0.007631456479430199,
0.07079014927148819,
-0.003025081939995289,
-0.02575363777577877,
-0.0009503933833912015,
-0.011372366920113564,
-0.009649526327848434,
0.01417097169905901,
-0.018312260508537292,
0.028244882822036743,
-0.07040190696716309,
-0.027031613513827324,
-0.002624703338369727,
0.02994345873594284,
-0.006988424342125654,
-0.013168003410100937,
-0.06664886325597763,
-0.05538973584771156,
-0.05901336297392845,
0.01339448057115078,
0.025009499862790108,
-0.020091719925403595,
-0.007020778488367796,
-0.003257625037804246,
0.05328673869371414,
-0.0245403703302145,
0.017875483259558678,
0.043224699795246124,
-0.04170406982302666,
-0.007562704849988222,
0.005617431364953518,
0.007222989574074745,
-0.032467056065797806,
-0.0032616693060845137,
0.03675393760204315,
0.04138053208589554,
0.009414960630238056,
-0.06066340580582619,
0.0015499501023441553,
-0.05231612175703049,
-0.027630159631371498,
-0.011153978295624256,
0.0626046359539032,
0.051798462867736816,
0.007684031501412392,
0.02733897604048252,
-0.003148430958390236,
0.06962541490793228,
-0.0421246699988842,
0.011275305412709713,
-0.05412793532013893,
-0.00021156363072805107,
0.03772455081343651,
-0.0015550053212791681,
-0.047074805945158005,
-0.009803206659853458,
0.0196711216121912,
-0.04066874831914902,
-0.040992286056280136,
-0.0011303614592179656,
0.008832592517137527,
-0.056813303381204605,
-0.008238091133534908,
0.06871950626373291,
0.062184035778045654,
0.03688335046172142,
0.03545978292822838,
0.05755744129419327,
0.05791333317756653,
-0.06962541490793228,
-0.012148858048021793,
-0.08399050682783127,
0.018490206450223923,
-0.03727159649133682,
-0.017649007961153984,
0.007720429450273514,
0.050536662340164185,
-0.045651234686374664,
0.008800238370895386,
0.010102479718625546,
-0.10560286045074463,
-0.04678361862897873,
-0.038727518171072006,
-0.01183340884745121,
-0.02750074490904808,
0.05914277955889702,
-0.0637693703174591,
-0.013742283917963505,
-0.029183143749833107,
-0.046007126569747925,
-0.008064188994467258,
0.002984639722853899,
-0.020431434735655785,
0.03204645588994026,
0.0790727287530899,
-0.05655447393655777,
-0.03513624519109726,
-0.08573761582374573,
0.0072472551837563515,
0.04387177526950836,
0.020431434735655785,
0.05461324378848076,
0.009431137703359127,
-0.01950935274362564,
-0.06541942059993744,
-0.034909769892692566,
-0.023084448650479317,
-0.015101144090294838,
-0.001991781871765852,
0.02366681769490242,
-0.11828555911779404,
-0.008331107906997204,
-0.013289330527186394,
0.00966570246964693,
-0.004849028307944536,
-0.030542002990841866,
-0.01635485514998436,
-0.02054467424750328,
0.00861420389264822,
0.04086286947131157,
0.09130246937274933,
-0.02751692198216915,
0.006470763590186834,
-0.01688869297504425,
-0.030331702902913094,
0.05031018704175949,
0.032467056065797806,
-0.03866280987858772,
-0.008994361385703087,
-0.019929951056838036,
0.05946631729602814,
-0.009358341805636883,
-0.0175842996686697,
-0.003498256439343095,
0.006159358192235231,
-0.029312558472156525,
0.048983678221702576,
0.011340012773871422,
0.05396616831421852,
0.02505803108215332,
0.016104113310575485,
0.010895147919654846,
-0.032968539744615555,
0.018651975318789482,
0.029118435457348824,
-0.005945013836026192,
0.004254526924341917,
-0.015101144090294838,
-0.0570397786796093,
0.05393381416797638,
-0.02122410386800766,
-0.045521821826696396,
0.032094985246658325,
0.04781894013285637,
0.06127813085913658,
0.013564337976276875,
0.005540591198951006,
0.03762748837471008,
0.0233432799577713,
0.08211398869752884,
-0.008727442473173141,
-0.061342839151620865,
-0.009261280298233032,
0.09091422706842422,
0.03094642609357834,
-0.06017810106277466,
0.03727159649133682,
-0.060113392770290375,
-0.03565390780568123,
0.018409322947263718,
0.009778941050171852,
-0.041671715676784515,
0.0302993506193161,
-0.0013972804881632328,
0.016613684594631195,
0.006082517560571432,
0.03901870548725128,
-0.013556249439716339,
0.08968478441238403,
0.03465093672275543,
-0.01009439118206501,
-0.054386768490076065,
0.02903755195438862,
0.023019740357995033,
-0.009803206659853458,
-0.03943930193781853,
0.04005402699112892,
-0.0025417967699468136,
-0.07117839902639389,
0.0112267741933465,
-0.022194718942046165,
0.056975074112415314,
0.0026449246797710657,
0.02051232010126114,
-0.005957146640866995,
0.02557569183409214,
-0.06943129003047943,
-0.039568718522787094,
0.029264027252793312,
-0.0004074558964930475,
-0.026238946244120598,
0.006644665263593197,
-0.024410955607891083,
-0.05597210302948952,
-0.022825617343187332,
0.044615913182497025,
0.03060671128332615,
-0.011234862729907036,
-0.01568351313471794,
0.03914811834692955,
-0.057848624885082245,
-0.0077002085745334625,
-0.015537920407950878,
0.031771447509527206,
-0.044260021299123764,
0.015109232626855373,
-0.013904052786529064,
-0.04005402699112892,
0.015319532714784145,
-0.0005414208862930536,
-0.0014033467741683125,
-0.03355090692639351,
-0.004137244541198015,
0.02120792679488659,
0.05335144326090813,
0.010385575704276562,
-0.04571594297885895,
0.04639537259936333,
0.006567825097590685,
-0.05441911891102791,
-0.02575363777577877,
0.08832591772079468,
-0.013815079815685749,
0.016985753551125526,
0.014842313714325428,
-0.012359158135950565,
0.04024814814329147,
-0.09719086438417435,
-0.06506352871656418,
-0.012383423745632172,
0.007627412211149931,
0.0584309957921505,
0.05694271996617317,
0.07247254997491837,
-0.000055197382607730106,
-0.000823505746666342,
-0.00042691873386502266,
0.040474627166986465,
-0.03985990211367607,
-0.053836751729249954,
0.028940489515662193,
-0.012480485253036022,
0.004553799983114004,
-0.019962305203080177,
0.007995436899363995,
-0.0259315837174654,
0.014454067684710026,
-0.07247254997491837,
-0.011550312861800194,
-0.027791928499937057,
-0.042901162058115005,
-0.01383125688880682,
0.019719650968909264,
0.038015734404325485,
0.011849585920572281,
0.020431434735655785,
-0.03552449122071266,
0.010442194528877735,
-0.00947966892272234,
-0.004893514793366194,
-0.013281241990625858,
0.03824221342802048,
0.03908341005444527,
-0.013766549527645111,
-0.004222173243761063,
0.00039431214099749923,
0.00422621751204133,
-0.02348887175321579,
-0.00879214983433485,
-0.028794897720217705,
0.0007481820066459477,
0.0028168042190372944,
-0.03316266089677811,
-0.05894865468144417,
-0.04781894013285637,
-0.015117321163415909,
-0.004189819563180208,
-0.03335678577423096,
0.05102197080850601,
-0.0021454624366015196,
0.006135092582553625,
0.010935590602457523,
-0.017616653814911842,
0.031609680503606796,
-0.03249941021203995,
0.04623360559344292,
-0.021644704043865204,
-0.0011354167945683002,
0.010668671689927578,
-0.0017622719751670957,
-0.03097878023982048,
-0.010976032353937626,
-0.004885426256805658,
-0.004250482656061649,
0.02539774589240551,
0.03500682860612869,
-0.06981953978538513,
-0.005520369857549667,
0.025446277111768723,
0.05548679828643799,
-0.02352122589945793,
0.004145332612097263,
0.05914277955889702,
-0.021838827058672905,
-0.018571091815829277,
-0.04875720292329788,
0.03659216687083244,
0.051216091960668564,
0.005022929981350899,
-0.023763878270983696,
-0.034003861248493195,
0.021822649985551834,
0.024669785052537918,
-0.024427132681012154,
0.004074559081345797,
0.02885960415005684,
-0.04215702414512634,
0.019800536334514618,
-0.01933140493929386,
0.004776232410222292,
-0.03966578096151352,
0.015740131959319115,
-0.0043394556269049644,
-0.001699586515314877,
-0.032790593802928925,
0.08994361013174057,
0.011291482485830784,
-0.10527931898832321,
-0.05412793532013893,
0.03791867569088936,
0.046524789184331894,
0.03788632154464722,
0.00430710194632411,
0.021693235263228416,
-0.007813447155058384,
0.01581292785704136,
0.029312558472156525,
0.025187447667121887,
-0.04849837347865105,
0.02229177951812744,
-0.0033809738233685493,
-0.04319234564900398,
-0.04519828408956528,
-0.02488008514046669,
-0.030865542590618134,
-0.02696690708398819,
-0.01582101732492447,
0.024637432768940926,
-0.020091719925403595,
0.021466758102178574,
0.029280204325914383,
0.0080965431407094,
0.01409008726477623,
0.02033437415957451,
0.0637693703174591,
-0.028746366500854492,
0.020415259525179863,
-0.02263149432837963,
0.07383140921592712,
-0.02455654740333557,
-0.000416049879277125,
0.056263286620378494,
-0.05409558117389679,
-0.04474532976746559,
0.056619178503751755,
0.07389611750841141,
0.019929951056838036,
-0.03707747533917427,
0.010919413529336452,
0.00015342787082772702,
-0.02140204980969429,
-0.006911584176123142,
-0.014437890611588955,
-0.02955521270632744,
-0.07758445292711258,
-0.008500965312123299,
-0.021143220365047455,
0.0646105706691742,
-0.018846098333597183,
0.0794609785079956,
-0.016112200915813446,
0.03494212403893471
]
|
31,524 | laspy.lasdata | __repr__ | null | def __repr__(self) -> str:
return "<LasData({}.{}, point fmt: {}, {} points, {} vlrs)>".format(
self.header.version.major,
self.header.version.minor,
self.points.point_format,
len(self.points),
len(self.vlrs),
)
| (self) -> str | [
0.022494634613394737,
-0.02755184844136238,
0.050572145730257034,
0.027116820216178894,
0.04314039647579193,
-0.045496802777051926,
0.004298178944736719,
-0.009516263380646706,
0.02434350922703743,
0.027298081666231155,
-0.03569051995873451,
-0.028566917404532433,
-0.02532232366502285,
0.04455424100160599,
-0.03188401460647583,
0.03105020895600319,
-0.008723241277039051,
-0.060251545161008835,
-0.03813755884766579,
0.029473228380084038,
-0.007735362742096186,
0.042850375175476074,
-0.0035232834052294493,
0.00045060639968141913,
0.006824520416557789,
0.016313595697283745,
0.020047595724463463,
-0.003518751822412014,
-0.014510036446154118,
-0.009416569024324417,
-0.06978593021631241,
-0.04150903597474098,
-0.03351537510752678,
-0.035255491733551025,
-0.0327540747821331,
0.024542897939682007,
0.007191576529294252,
-0.04981084167957306,
-0.0105222687125206,
-0.01128356996923685,
0.040058936923742294,
-0.008165860548615456,
-0.035962413996458054,
-0.02276652865111828,
-0.03485671430826187,
-0.018534056842327118,
0.008836530148983002,
-0.008478538133203983,
-0.025938615202903748,
-0.07656513899564743,
-0.0015928412321954966,
0.05343608558177948,
-0.012860550545156002,
0.0072958022356033325,
-0.04759944602847099,
-0.018833138048648834,
0.06869836151599884,
0.08700583875179291,
0.022984042763710022,
0.05118843540549278,
-0.012325827032327652,
0.048433251678943634,
0.01398437563329935,
-0.03244592621922493,
0.0009385981247760355,
-0.03146711364388466,
-0.014319711364805698,
0.00630792323499918,
-0.007096413988620043,
0.035998664796352386,
0.043539173901081085,
0.00979722011834383,
-0.04013144224882126,
0.04672938585281372,
0.009199054911732674,
0.004971114918589592,
-0.01847061514854431,
-0.00021397431555669755,
0.016839254647493362,
-0.0451342798769474,
0.008854656480252743,
-0.008546510711312294,
-0.003351084189489484,
-0.001897588255815208,
0.01959444023668766,
-0.047309424728155136,
0.008791214786469936,
-0.023672839626669884,
-0.03518298640847206,
0.041400279849767685,
-0.012443647719919682,
0.018688129261136055,
-0.04448173567652702,
0.009824409149587154,
-0.03244592621922493,
-0.020790770649909973,
0.004576869774609804,
-0.03821006417274475,
0.0655081495642662,
0.002467431128025055,
0.0408564917743206,
-0.06496436148881912,
-0.051224686205387115,
0.0030882542487233877,
-0.08200300484895706,
0.011763914488255978,
-0.003910731058567762,
0.020265109837055206,
-0.015407283790409565,
0.015198832377791405,
-0.008668863214552402,
0.08142296224832535,
-0.008854656480252743,
0.007667389698326588,
0.01698426529765129,
-0.03853633627295494,
0.018742507323622704,
-0.01000567153096199,
0.00018437761173117906,
0.0009555915021337569,
0.010757909156382084,
0.03868134692311287,
-0.023980984464287758,
0.02829502336680889,
-0.07772521674633026,
0.004495301749557257,
-0.03821006417274475,
-0.012117375619709492,
0.0033329580910503864,
-0.12231571227312088,
0.07286739349365234,
0.008261023089289665,
-0.047128163278102875,
0.0014489644672721624,
0.0431041419506073,
-0.0431041419506073,
0.07504253834486008,
0.01601451262831688,
-0.012588657438755035,
0.09831659495830536,
0.010640089400112629,
-0.012035807594656944,
0.03918888047337532,
0.008478538133203983,
-0.03393227607011795,
0.022549012675881386,
0.020373867824673653,
0.04332165792584419,
-0.006017903797328472,
-0.04669313505291939,
0.03969641402363777,
-0.003795176511630416,
0.031865887343883514,
-0.03268156945705414,
0.01209924928843975,
-0.030778314918279648,
0.002408521017059684,
-0.08352560549974442,
0.04912204667925835,
-0.006226355209946632,
-0.02238587662577629,
-0.02410786785185337,
0.015108201652765274,
-0.008374311961233616,
-0.047780707478523254,
-0.006756547372788191,
-0.03434918075799942,
-0.05455991253256798,
-0.008795746602118015,
0.012035807594656944,
0.02722557634115219,
-0.04379294067621231,
-0.0756225734949112,
0.07051098346710205,
0.0060813454911112785,
0.020682012662291527,
-0.003641103859990835,
0.09063108265399933,
0.027950625866651535,
-0.06590692698955536,
0.02448851801455021,
-0.013005560263991356,
-0.03402290865778923,
0.020518876612186432,
0.002603377914056182,
-0.06840834021568298,
0.0020969766192138195,
-0.006534500978887081,
-0.00024427910102531314,
-0.007590353023260832,
0.009026856161653996,
0.01712927408516407,
-0.015806060284376144,
0.009942229837179184,
-0.012271448969841003,
-0.003747595241293311,
-0.003113177604973316,
-0.04245159775018692,
-0.030415792018175125,
-0.017745565623044968,
0.006493716966360807,
0.002558062318712473,
-0.009960356168448925,
-0.006384959910064936,
-0.007590353023260832,
-0.020863275974988937,
0.010803225450217724,
-0.03201089799404144,
-0.014600667171180248,
0.007880372926592827,
0.059744007885456085,
0.013884682208299637,
-0.018724381923675537,
0.007739894557744265,
0.011292632669210434,
-0.041726551949977875,
-0.0925162062048912,
0.0006729357992298901,
-0.023437198251485825,
0.008048039861023426,
0.05441490188241005,
-0.044517986476421356,
0.017337726429104805,
-0.0030406727455556393,
-0.07043847441673279,
0.005002835765480995,
0.05691631883382797,
0.01450097281485796,
-0.036741841584444046,
-0.019938837736845016,
0.01825309917330742,
-0.04263286292552948,
-0.038427580147981644,
0.023908479139208794,
-0.039732664823532104,
0.016594551503658295,
-0.042524103075265884,
0.05184097960591316,
-0.04560556262731552,
-0.012606783770024776,
-0.004776258021593094,
0.019866332411766052,
0.007957409135997295,
-0.032844703644514084,
0.04694690182805061,
-0.058438923209905624,
-0.0036796219646930695,
0.0312858484685421,
-0.026699917390942574,
-0.020591381937265396,
0.010875729843974113,
-0.01867000386118889,
0.007653794717043638,
0.0082157077267766,
0.021189546212553978,
-0.10223186016082764,
-0.01652204617857933,
-0.010676341131329536,
0.034421686083078384,
-0.004649374634027481,
-0.018960023298859596,
-0.04332165792584419,
-0.033442869782447815,
0.026174256578087807,
0.05869268998503685,
0.0290381982922554,
-0.044844258576631546,
0.012788046151399612,
0.061085350811481476,
0.008156797848641872,
0.09730152785778046,
-0.011990492232143879,
-0.06851709634065628,
0.009208117611706257,
-0.0065118432976305485,
-0.04585932940244675,
-0.010377258993685246,
-0.029545733705163002,
0.037303753197193146,
-0.016540173441171646,
0.04633060842752457,
-0.004008159507066011,
-0.013857492245733738,
-0.010050986893475056,
0.02653678134083748,
-0.019956964999437332,
0.011347011663019657,
-0.02974512055516243,
-0.04886827990412712,
0.005777731537818909,
0.029545733705163002,
0.039950180798769,
-0.048940785229206085,
0.004565540701150894,
0.09200867265462875,
0.010884793475270271,
0.05213099718093872,
0.05097091943025589,
0.020174479112029076,
0.015516041778028011,
-0.014917876571416855,
-0.06289797276258469,
0.10737970471382141,
0.018515929579734802,
-0.06028779596090317,
-0.04593183100223541,
-0.01315056998282671,
-0.0019134486792609096,
0.021570198237895966,
-0.01356747280806303,
0.023382820188999176,
0.054487407207489014,
0.05804014578461647,
0.014437531121075153,
0.02564859576523304,
0.04448173567652702,
-0.03471170365810394,
-0.027243703603744507,
0.02671804279088974,
0.038101308047771454,
-0.019050654023885727,
0.0016324924072250724,
-0.01973944902420044,
0.0059952461160719395,
0.046620629727840424,
-0.022984042763710022,
-0.009280622936785221,
-0.0356723926961422,
0.034095413982868195,
0.01833466812968254,
-0.0018647345714271069,
-0.05213099718093872,
0.017337726429104805,
0.041364025324583054,
0.02452477067708969,
0.03253655880689621,
-0.0035164859145879745,
-0.001963295741006732,
-0.04604059085249901,
-0.042052824050188065,
0.06478309631347656,
0.0050526829436421394,
-0.02834940329194069,
0.004055740777403116,
0.012570531107485294,
-0.006702168378978968,
0.008283681236207485,
-0.019485682249069214,
0.005741478875279427,
0.03141273185610771,
-0.0917186588048935,
-0.010395385324954987,
0.003278579330071807,
0.021262051537632942,
0.014917876571416855,
-0.004758131690323353,
-0.006874367594718933,
0.029618237167596817,
-0.01496319193392992,
0.03918888047337532,
0.035581763833761215,
-0.0073864334262907505,
-0.0075450376607477665,
0.00986972451210022,
-0.07174356281757355,
-0.04372043535113335,
-0.006543564144521952,
-0.037303753197193146,
0.06935090571641922,
0.04691064730286598,
-0.06840834021568298,
-0.010649152100086212,
-0.042995385825634,
-0.05851142853498459,
0.004078398924320936,
0.023110926151275635,
0.021008284762501717,
0.0049801780842244625,
-0.07210608571767807,
-0.14167450368404388,
-0.006416680756956339,
0.0003446813498158008,
0.021280178800225258,
0.028838809579610825,
0.027207450941205025,
0.042705364525318146,
-0.006924214772880077,
0.007060161326080561,
-0.00979722011834383,
0.014790992252528667,
-0.03382351994514465,
0.014555351808667183,
0.023527828976511955,
0.00546958576887846,
-0.041871558874845505,
-0.022748401388525963,
0.033261608332395554,
-0.0018737976206466556,
-0.009389379993081093,
-0.030216403305530548,
0.035908035933971405,
-0.030615178868174553,
-0.03886260837316513,
-0.013105254620313644,
-0.024307256564497948,
-0.03868134692311287,
0.0635867640376091,
-0.030723936855793,
-0.04527929052710533,
-0.008977008983492851,
0.033170975744724274,
0.028965694829821587,
-0.022077731788158417,
-0.05749635770916939,
0.06373177468776703,
0.017328662797808647,
0.008460411801934242,
0.012452710419893265,
-0.0072958022356033325,
0.014772866852581501,
-0.03039766475558281,
0.026754295453429222,
0.0175008624792099,
0.05970775708556175,
0.006466527935117483,
0.05724259093403816,
-0.06554439663887024,
0.019340673461556435,
0.04241534695029259,
0.024724159389734268,
-0.004610856529325247,
0.030379539355635643,
0.02541295625269413,
-0.014727550558745861,
0.004998304415494204,
-0.03987767547369003,
0.0035096886567771435,
-0.03360600396990776,
-0.04212532564997673,
0.040566474199295044,
0.07946532964706421,
-0.00947094801813364,
0.02555796504020691,
0.05184097960591316,
-0.02387222647666931,
-0.0010836079018190503,
-0.0328628309071064,
-0.04361167550086975,
0.0027302613016217947,
-0.010449763387441635,
0.011618904769420624,
0.028566917404532433,
0.009248902089893818,
-0.0248147901147604,
-0.03146711364388466,
-0.0333159863948822,
-0.02787812054157257,
-0.06420306116342545,
-0.003858618438243866,
-0.016775812953710556,
-0.05242101848125458,
0.01899627409875393,
-0.009257964789867401,
0.030452044680714607,
-0.0009074436966329813,
-0.06851709634065628,
0.040566474199295044,
-0.03280845284461975,
-0.06014278531074524,
-0.026881178840994835,
0.03289908170700073,
-0.025702975690364838,
0.015144454315304756,
0.002342813415452838,
0.006742952391505241,
0.052203502506017685,
-0.013295579701662064,
-0.006466527935117483,
-0.04836074635386467,
-0.03308034688234329,
-0.05405237898230553,
-0.0687708631157875,
-0.005292855203151703,
0.009235307574272156,
0.008270086720585823,
0.05524870753288269,
-0.03650619834661484,
0.051877230405807495,
-0.02829502336680889,
-0.014392215758562088,
0.000052891733503201976,
0.07837776094675064,
-0.09889663755893707,
0.03262719139456749,
0.022984042763710022,
0.06304298341274261,
0.05013711377978325,
-0.044046707451343536,
-0.04781695827841759,
0.016585487872362137,
-0.00884106196463108,
-0.03503797575831413,
0.0225671399384737,
-0.06275296211242676,
0.04781695827841759,
0.008723241277039051,
0.07032971829175949,
0.009257964789867401,
0.009058577008545399,
0.0013821240281686187,
-0.022694023326039314,
-0.06971342861652374,
0.04970208555459976,
0.018633751198649406,
-0.029763247817754745,
0.018597498536109924,
0.01637703739106655,
0.04241534695029259,
-0.0613391175866127,
0.010096302255988121,
0.008922629989683628,
0.0115645257756114,
-0.021987101063132286,
-0.061701640486717224,
-0.04477175325155258,
0.0633692517876625,
-0.025938615202903748,
-0.00958876870572567,
-0.018307479098439217,
0.07489752769470215,
0.013639978133141994,
-0.0008417361532337964,
0.011555463075637817,
0.015525104478001595,
0.0033080345019698143,
0.08403313905000687,
-0.029708869755268097,
0.052529774606227875,
-0.0020527939777821302,
-0.0017151932697743177,
0.028748178854584694,
-0.05782262980937958,
-0.032282792031764984,
-0.062354184687137604,
0.0026124408468604088,
-0.02555796504020691,
0.05031837522983551,
0.04912204667925835,
0.04274161905050278,
-0.037630025297403336,
0.04216158017516136,
-0.0252679456025362,
0.017047706991434097,
-0.039950180798769,
0.02336469292640686,
0.07116352766752243,
-0.011718599125742912,
0.004418265074491501,
0.013195885345339775,
0.0086099524050951,
-0.01605982705950737,
0.014990380965173244,
0.060251545161008835,
-0.0006752015906386077,
-0.029527606442570686,
0.06152037903666496,
0.014111259952187538,
-0.018633751198649406,
-0.040421463549137115,
-0.0036275091115385294,
0.054813679307699203,
-0.00823836587369442,
-0.006702168378978968,
-0.02066388726234436,
-0.01876063458621502,
-0.010395385324954987,
-0.0019349736394360662,
0.057460106909275055,
0.030542675405740738,
0.007830525748431683,
0.005510369781404734,
0.021443314850330353,
-0.0052248816937208176,
-0.05100717395544052,
0.00653903279453516,
0.049593329429626465,
-0.053037308156490326,
0.012978371232748032,
0.05452365800738335,
-0.003029343904927373,
-0.024651654064655304,
-0.037956297397613525,
-0.0035368779208511114,
-0.016404226422309875,
0.020174479112029076,
0.010893856175243855,
0.012208007276058197,
-0.0047082845121622086,
0.03592615947127342,
0.06115785613656044,
0.036234308034181595,
0.04343041405081749,
-0.0279687512665987,
0.047454435378313065,
0.033352237194776535,
-0.0328628309071064,
0.012026744894683361,
0.04567806422710419,
-0.023799723014235497,
0.026881178840994835,
0.03755751997232437,
0.0516597181558609,
-0.02784186787903309,
-0.09556141495704651,
-0.03583553060889244,
-0.04183530807495117,
0.013621851801872253,
-0.02606549859046936,
-0.007712705060839653,
0.010504142381250858,
0.023618459701538086,
0.0221139844506979,
-0.043502919375896454,
0.0285850428044796,
-0.010014734230935574,
-0.008211175911128521,
-0.005601000972092152,
0.007921156473457813,
0.07388246059417725,
-0.04607684165239334,
0.04901329055428505,
-0.015226022340357304,
-0.004844231531023979,
-0.04150903597474098,
-0.052239757031202316,
0.004717347677797079,
-0.016096079722046852,
0.013331832364201546,
0.01610514335334301,
0.0709097608923912,
0.035871781408786774,
-0.011691410094499588,
-0.045170530676841736,
-0.012688351795077324,
0.000844001944642514,
0.01463691983371973,
0.003736266400665045,
-0.05115218460559845,
0.030524548143148422,
0.011482957750558853,
-0.035817403346300125,
-0.033352237194776535,
0.02816813997924328,
-0.026409897953271866,
-0.01964881829917431,
0.023201556876301765,
-0.03224653750658035,
0.02927383966743946,
-0.04216158017516136,
-0.019431304186582565,
-0.07366494089365005,
-0.04622185230255127,
0.026609286665916443,
-0.058620184659957886,
0.05510369688272476,
0.016494857147336006,
-0.003890339285135269,
0.05775012448430061,
-0.0009827808244153857,
-0.0043661524541676044,
-0.07406371831893921,
0.03929763659834862,
-0.010893856175243855,
-0.002322421409189701,
-0.005215818993747234,
-0.020138226449489594,
-0.028548790141940117,
-0.0022974980529397726,
0.019395051524043083,
-0.010785099118947983,
0.0145462891086936,
0.02494167350232601,
-0.04462674632668495,
-0.07932032644748688,
-0.022077731788158417,
0.04082024097442627,
-0.018398109823465347,
0.030035139992833138,
0.013784987851977348,
-0.032518431544303894,
-0.04067523032426834,
-0.013504031114280224,
0.04053021967411041,
-0.0145190991461277,
0.04672938585281372,
-0.03411354124546051,
0.03900761902332306,
-0.03211965411901474,
0.022331498563289642,
-0.012044871225953102,
0.02582985907793045,
0.022494634613394737,
0.0005902349366806448,
0.06782830506563187,
0.03411354124546051,
0.009140145033597946,
0.04807072505354881,
0.0006853975355625153,
-0.037956297397613525,
-0.0039039338007569313,
0.02443413995206356,
0.12217070162296295,
-0.0006576417945325375,
-0.07576758414506912,
-0.0041350433602929115,
0.02876630611717701,
-0.007948345504701138,
0.011129496619105339,
-0.01375779788941145,
0.02787812054157257,
-0.02164270170032978,
0.030778314918279648,
0.05412488430738449,
0.027026189491152763,
-0.000739209761377424,
0.07808773964643478,
-0.03327973186969757,
0.00768098421394825,
-0.019993217661976814,
-0.00979722011834383,
-0.0026985404547303915,
0.05898270756006241,
-0.03095957823097706,
-0.019521934911608696,
0.026283014565706253,
0.019848207011818886,
0.007345649413764477,
0.024289129301905632,
0.03966016322374344,
0.03886260837316513,
0.004234737250953913,
0.05611876770853996,
-0.007934750989079475,
-0.003847289364784956,
0.011247317306697369,
0.02698993682861328,
-0.009770031087100506,
0.07301239669322968,
-0.04556930810213089,
0.010313817299902439,
0.039913929998874664,
0.022911537438631058,
-0.039768919348716736,
-0.01619577407836914,
0.030035139992833138,
-0.06587067246437073,
0.04879577457904816,
0.041364025324583054,
0.03813755884766579,
-0.08330809324979782,
-0.01275179348886013,
-0.04314039647579193,
0.011673283763229847,
0.061230357736349106,
-0.050064608454704285,
0.04053021967411041,
-0.04201656952500343,
0.009851599112153053
]
|
31,525 | laspy.lasdata | __setattr__ | This is called on every access to an attribute of the instance.
Again we use this to forward the call the the points record
But this time checking if the key is actually a dimension name
so that an error is raised if the user tries to set a valid
LAS dimension even if it is not present in the field.
eg: user tries to set the red field of a file with point format 0:
an error is raised
| def __setattr__(self, key, value):
"""This is called on every access to an attribute of the instance.
Again we use this to forward the call the the points record
But this time checking if the key is actually a dimension name
so that an error is raised if the user tries to set a valid
LAS dimension even if it is not present in the field.
eg: user tries to set the red field of a file with point format 0:
an error is raised
"""
if key in ("x", "y", "z"):
# It is possible that user created a `LasData` object
# via `laspy.create`, and changed the headers offsets and scales
# values afterwards. So we need to sync the points's record.
self.points.offsets = self.header.offsets
self.points.scales = self.header.scales
self.points[key] = value
return
name_validity = self.points.validate_dimension_name(key)
if name_validity == DimensionNameValidity.Valid:
self[key] = value
elif name_validity == DimensionNameValidity.Unsupported:
raise ValueError(
f"Point format {self.point_format} does not support {key} dimension"
)
else:
super().__setattr__(key, value)
| (self, key, value) | [
0.024143582209944725,
-0.010666362941265106,
0.003981270827353001,
0.09329809993505478,
0.008027694188058376,
0.01037783082574606,
-0.036671437323093414,
-0.0005712460842914879,
0.016734834760427475,
0.022207627072930336,
-0.06403540819883347,
-0.032669227570295334,
0.04698411747813225,
0.028499478474259377,
-0.019154777750372887,
0.030212054029107094,
-0.010024147108197212,
0.03358135744929314,
-0.002466480014845729,
-0.01371921319514513,
0.03603852912783623,
-0.023380368947982788,
0.0071388306096196175,
0.018829016014933586,
0.013607523404061794,
0.038570161908864975,
0.020532282069325447,
0.05428117513656616,
0.046276748180389404,
-0.021779483184218407,
-0.015562092885375023,
-0.013104920275509357,
-0.0011500545078888535,
0.03049127757549286,
0.05126555263996124,
-0.056626658886671066,
-0.017386356368660927,
-0.031291719526052475,
-0.05100494623184204,
0.027121972292661667,
0.014314891770482063,
0.005137724336236715,
0.00036386397550813854,
-0.01717228628695011,
0.0030458702240139246,
0.037025123834609985,
-0.0434100478887558,
0.08354386687278748,
0.011625031940639019,
-0.0030924074817448854,
-0.010489520616829395,
-0.015859931707382202,
0.036932047456502914,
0.003930079750716686,
-0.020774276927113533,
0.010629132390022278,
0.045941680669784546,
0.10953032970428467,
-0.009828690439462662,
-0.016176385805010796,
0.009395892731845379,
0.020308902487158775,
-0.01973184011876583,
-0.059158291667699814,
-0.015450403094291687,
-0.056403279304504395,
-0.022673001512885094,
0.013784365728497505,
0.024348346516489983,
0.03175709396600723,
0.03950091078877449,
-0.02360374853014946,
-0.01989937387406826,
0.015161871910095215,
0.030733272433280945,
0.03605714440345764,
-0.07714032381772995,
0.02045782282948494,
0.027196431532502174,
-0.02872285805642605,
-0.012648854404687881,
-0.00221285130828619,
-0.026135381311178207,
0.009158552624285221,
-0.044191874563694,
0.034865789115428925,
0.01908031664788723,
0.0217050239443779,
0.027643190696835518,
0.022189011797308922,
-0.026842748746275902,
0.039910439401865005,
-0.006789800710976124,
0.026563525199890137,
-0.005770632531493902,
-0.004223265219479799,
0.017069902271032333,
-0.05312705039978027,
0.02200286276638508,
0.03901692107319832,
0.005742710083723068,
-0.01593439094722271,
0.021816713735461235,
0.03819786384701729,
-0.01871732622385025,
-0.03953814134001732,
0.015496940352022648,
-0.03242723271250725,
-0.0077531239949166775,
-0.0018603309290483594,
-0.02472064457833767,
0.01615777052938938,
-0.04255376011133194,
0.03592684119939804,
-0.03868185356259346,
-0.042144231498241425,
0.014063590206205845,
-0.020699817687273026,
-0.049515750259160995,
0.0024757874198257923,
0.013039767742156982,
0.028443634510040283,
-0.024478651583194733,
0.04754256457090378,
0.016865137964487076,
0.012937385588884354,
0.041064564138650894,
0.03300429508090019,
0.06142931431531906,
-0.059791199862957,
0.011932178400456905,
0.008939826861023903,
-0.0255397018045187,
0.02950468473136425,
0.04244207218289375,
-0.03976152092218399,
0.044601403176784515,
0.027512885630130768,
-0.07550220936536789,
0.036801744252443314,
0.028350558131933212,
0.030733272433280945,
0.03890523314476013,
-0.02864839881658554,
0.0035973377525806427,
0.0638120248913765,
0.006501269061118364,
0.02747565694153309,
-0.04795209318399429,
-0.023287294432520866,
0.013644753955304623,
0.0053192200139164925,
0.010675669647753239,
0.0016858158633112907,
-0.02980252541601658,
-0.049292370676994324,
-0.05491408333182335,
-0.028238870203495026,
0.029560530558228493,
0.017516661435365677,
-0.060796406120061874,
-0.01960153505206108,
-0.03629913926124573,
-0.05733402445912361,
-0.03413980454206467,
0.009256280958652496,
-0.030398203060030937,
-0.04195808246731758,
0.03842124342918396,
0.026209840551018715,
0.034270111471414566,
-0.015208409167826176,
0.010796667076647282,
0.09463836997747421,
0.012257940135896206,
0.011550572700798512,
-0.007804315071552992,
-0.009856612421572208,
0.03346966952085495,
-0.0388680025935173,
0.05383441597223282,
0.01989937387406826,
-0.028462247923016548,
-0.00149966636672616,
0.0001537187199573964,
0.008548912592232227,
-0.01740497164428234,
0.023659592494368553,
-0.018410179764032364,
0.06530122458934784,
0.06168992444872856,
0.005021381191909313,
-0.022337932139635086,
-0.027978260070085526,
-0.017302589491009712,
0.03153371438384056,
-0.004749137442559004,
-0.05275474861264229,
-0.052010152488946915,
0.09664878994226456,
-0.005053956992924213,
0.02652629464864731,
-0.00030423796852119267,
-0.0031668671872466803,
0.010107913985848427,
-0.03140341117978096,
0.053648266941308975,
0.026414604857563972,
-0.08220358937978745,
0.0072412132285535336,
0.04273990914225578,
-0.03333936259150505,
0.000613129697740078,
0.02150025963783264,
0.049590207636356354,
-0.0822780504822731,
-0.03875631093978882,
0.03252030536532402,
0.04136240482330322,
0.00535179628059268,
0.08644779771566391,
-0.0003792794595938176,
0.016046080738306046,
0.009661155752837658,
0.007906697690486908,
-0.018084418028593063,
0.05335042625665665,
-0.06634365767240524,
-0.03849570453166962,
0.0003129637334495783,
-0.008856059052050114,
-0.007785700261592865,
-0.07781046628952026,
0.010843204334378242,
0.061354853212833405,
-0.008660602383315563,
0.060200728476047516,
0.026135381311178207,
-0.030826346948742867,
-0.0315895602107048,
0.018168184906244278,
0.02403189241886139,
-0.0019964526873081923,
-0.018810400739312172,
-0.07040171325206757,
-0.004690965637564659,
0.01102935429662466,
0.056924495846033096,
-0.0656362920999527,
-0.005672904197126627,
0.030379587784409523,
0.02075566165149212,
0.0015147910453379154,
0.07654464989900589,
-0.024106351658701897,
-0.08704347908496857,
-0.036206066608428955,
0.0144917331635952,
0.03225969523191452,
-0.052010152488946915,
-0.08674563467502594,
-0.03451210632920265,
0.00631046574562788,
0.03298567980527878,
0.026842748746275902,
-0.001000553253106773,
0.041064564138650894,
0.02442280575633049,
0.005477447062730789,
0.0036275871098041534,
-0.005454178433865309,
0.021053500473499298,
-0.0531642772257328,
-0.000053372532420326024,
0.022412391379475594,
0.021891172975301743,
0.0024129620287567377,
-0.018791785463690758,
0.044080186635255814,
0.030398203060030937,
0.07159307599067688,
-0.022989455610513687,
0.005938166752457619,
0.03516362980008125,
-0.022840535268187523,
-0.00678514689207077,
0.004458278883248568,
0.009242319501936436,
0.008185921236872673,
-0.02674967423081398,
-0.020867351442575455,
0.042702678591012955,
0.0013309684582054615,
0.018577713519334793,
0.019098931923508644,
0.0090980539098382,
-0.05591928958892822,
0.021295495331287384,
0.026824133470654488,
-0.022673001512885094,
0.03144063800573349,
-0.01924785226583481,
0.06206222251057625,
0.06708825379610062,
-0.0008964258595369756,
-0.0759117379784584,
0.023324524983763695,
0.006375618278980255,
0.009125975891947746,
-0.0035833765286952257,
0.03389781340956688,
0.09195782244205475,
-0.028462247923016548,
-0.00885140523314476,
0.08897943049669266,
0.03879354149103165,
-0.004665370099246502,
-0.000427852850407362,
-0.012267247773706913,
0.09158552438020706,
-0.01842879317700863,
-0.03341382369399071,
-0.0669393390417099,
-0.006887529045343399,
0.05271752178668976,
-0.0027108010835945606,
0.05699895694851875,
-0.011894948780536652,
0.018810400739312172,
0.01317938044667244,
-0.09731892496347427,
-0.0017509681638330221,
-0.024608954787254333,
0.014417273923754692,
-0.051191095262765884,
-0.021183805540204048,
-0.04590445011854172,
0.004621159750968218,
0.018512561917304993,
0.0132910693064332,
-0.0023536270018666983,
0.01694890670478344,
-0.07781046628952026,
-0.040171049535274506,
0.026731058955192566,
-0.034996092319488525,
0.01494779996573925,
-0.010740822181105614,
0.02687997929751873,
0.03062158264219761,
-0.07848060131072998,
-0.03244584798812866,
-0.005398333538323641,
0.0179354976862669,
0.058860450983047485,
-0.04136240482330322,
0.006505922880023718,
-0.03838401287794113,
-0.012630239129066467,
-0.026172609999775887,
0.07099739462137222,
-0.0452343113720417,
-0.026209840551018715,
0.002871355041861534,
-0.02239377610385418,
0.0027410504408180714,
-0.030770501121878624,
-0.06559906154870987,
0.06630642712116241,
-0.011773951351642609,
-0.011187581345438957,
-0.04966466873884201,
-0.033786121755838394,
0.010442983359098434,
0.027717649936676025,
0.04143686592578888,
0.047058578580617905,
0.03434457257390022,
-0.05305258929729462,
-0.04110179468989372,
0.04259099066257477,
-0.018447408452630043,
0.042144231498241425,
0.08183129131793976,
0.03812340274453163,
-0.0298955999314785,
0.009437776170670986,
-0.008790907450020313,
0.04586721956729889,
0.04255376011133194,
0.017283974215388298,
0.01602746546268463,
0.03819786384701729,
-0.0091306297108531,
-0.006757224444299936,
-0.0016067023389041424,
-0.04199531301856041,
0.006007973104715347,
0.011020046658813953,
-0.03553592786192894,
-0.024106351658701897,
-0.07300780713558197,
-0.0182612594217062,
0.042144231498241425,
0.015171178616583347,
-0.0013402759796008468,
0.03186878189444542,
0.004421049263328314,
-0.027196431532502174,
0.04195808246731758,
0.0033227673266083,
0.016678988933563232,
0.02166779339313507,
-0.08547981828451157,
0.02589338645339012,
-0.02855532243847847,
0.029746679589152336,
0.0002752975560724735,
-0.008055617101490498,
0.05986565724015236,
0.007892736233770847,
0.005728749092668295,
-0.022189011797308922,
0.04151132330298424,
-0.003550800494849682,
0.004590910393744707,
-0.06273236125707626,
-0.016008852049708366,
0.013039767742156982,
0.02632153034210205,
-0.030100364238023758,
0.02976529486477375,
0.03698789328336716,
-0.03157094493508339,
-0.02252408117055893,
-0.03140341117978096,
0.01878247782588005,
-0.008823483251035213,
-0.04582999274134636,
0.00473750289529562,
0.030863575637340546,
-0.02609815075993538,
-0.003392573446035385,
0.0386073924601078,
-0.046202290803194046,
-0.036336369812488556,
-0.03201770409941673,
0.01823333650827408,
0.00015749987505842,
-0.0000202328446903266,
0.0181961078196764,
0.04255376011133194,
0.04277713969349861,
0.008628026582300663,
0.03144063800573349,
-0.0072412132285535336,
-0.06321635097265244,
-0.10938140749931335,
0.04698411747813225,
0.027643190696835518,
-0.03669005259871483,
0.0006800271803513169,
-0.061019785702228546,
0.021853944286704063,
-0.028071334585547447,
0.03752772510051727,
0.02589338645339012,
0.01671621948480606,
-0.022691616788506508,
-0.03326490521430969,
0.003185482230037451,
-0.04720749706029892,
0.01901516504585743,
-0.03812340274453163,
-0.03097526542842388,
-0.005724095273762941,
0.01102935429662466,
0.048436082899570465,
-0.045718301087617874,
-0.04303774982690811,
-0.028462247923016548,
-0.0643332451581955,
0.023101145401597023,
-0.005281990393996239,
0.019136162474751472,
0.047319184988737106,
-0.019285080954432487,
0.03451210632920265,
-0.019657380878925323,
0.07233767211437225,
-0.01490126270800829,
0.015106027014553547,
-0.007348248735070229,
0.01842879317700863,
-0.00395800219848752,
0.009084092453122139,
0.026768289506435394,
-0.004595564212650061,
0.008725754916667938,
-0.018829016014933586,
-0.05104217678308487,
-0.04776594415307045,
-0.048733923584222794,
-0.024311115965247154,
0.07900182157754898,
0.023380368947982788,
-0.030658811330795288,
0.036336369812488556,
0.0034716869704425335,
-0.042107000946998596,
-0.0431494377553463,
-0.024106351658701897,
0.02596784569323063,
0.0061336238868534565,
-0.01711644046008587,
0.013961208052933216,
-0.018642865121364594,
0.02635876089334488,
-0.06716271489858627,
-0.010833896696567535,
0.01380298100411892,
0.007995118387043476,
0.038830772042274475,
-0.03838401287794113,
-0.0431494377553463,
0.03382335230708122,
0.014640653505921364,
-0.048175472766160965,
0.001323987846262753,
0.016483532264828682,
0.014528963714838028,
-0.021611949428915977,
-0.014063590206205845,
0.051414474844932556,
0.07714032381772995,
0.12047591060400009,
-0.015813395380973816,
-0.014715112745761871,
-0.013011845760047436,
-0.025186019018292427,
0.01773073337972164,
-0.005668250378221273,
-0.025595547631382942,
-0.042926058173179626,
0.03358135744929314,
-0.050893254578113556,
-0.028406403958797455,
-0.007585589308291674,
0.02166779339313507,
-0.053946107625961304,
0.004262822214514017,
-0.005402987357228994,
0.02176086977124214,
-0.015357328578829765,
-0.00550071569159627,
-0.007911350578069687,
0.021332725882530212,
-0.03609437495470047,
0.007087639532983303,
0.020346133038401604,
-0.04999973997473717,
-0.021332725882530212,
0.08704347908496857,
0.03369304910302162,
-0.06262066960334778,
-0.032408617436885834,
-0.024218041449785233,
-0.013412066735327244,
-0.018577713519334793,
-0.0026549564208835363,
0.04069226607680321,
0.01766558177769184,
-0.021649179980158806,
-0.01003345474600792,
-0.0289834663271904,
0.0189127828925848,
-0.004928306210786104,
0.008362763561308384,
-0.039687059819698334,
-0.029858369380235672,
0.010740822181105614,
0.04988804832100868,
-0.06675318628549576,
-0.02042059227824211,
0.004060384351760149,
0.020606743171811104,
-0.010489520616829395,
0.046276748180389404,
-0.0008213843684643507,
0.005886975675821304,
-0.09270241856575012,
-0.000550595112144947,
-0.03533116355538368,
-0.030807731673121452,
0.004362877458333969,
0.015562092885375023,
0.037322960793972015,
-0.05573314055800438,
0.05826477333903313,
0.015496940352022648,
-0.03979874774813652,
-0.019098931923508644,
-0.050930485129356384,
0.006491961423307657,
0.0009656501933932304,
-0.045681070536375046,
-0.007641434203833342,
0.07632126659154892,
-0.021165190264582634,
-0.04422910511493683,
0.0023059260565787554,
0.03875631093978882,
0.009791459888219833,
-0.012202095240354538,
-0.0002928944886662066,
-0.051712311804294586,
-0.011960101313889027,
0.011690184473991394,
0.05845092236995697,
-0.030602967366576195,
-0.021295495331287384,
-0.02829471416771412,
-0.0361316055059433,
-0.004179054871201515,
-0.04136240482330322,
-0.05658942833542824,
0.0516006238758564,
-0.03871908411383629,
0.014110127463936806,
-0.06734886765480042,
0.006966642569750547,
0.004404760897159576,
0.011969408951699734,
-0.07107185572385788,
0.012323092669248581,
0.018875552341341972,
0.012174173258244991,
0.018698710948228836,
0.019527075812220573,
0.039426449686288834,
0.046239521354436874,
-0.020178599283099174,
0.027754880487918854,
-0.016474224627017975,
-0.013114227913320065,
0.032762300223112106,
0.030044518411159515,
-0.0595305897295475,
0.046276748180389404,
0.030658811330795288,
-0.03358135744929314,
-0.023063914850354195,
-0.034996092319488525,
-0.03330213576555252,
0.06846576184034348,
-0.0030109670478850603,
-0.03207354620099068,
-0.011010739021003246,
0.0361316055059433,
-0.04411741718649864,
-0.0822780504822731,
0.005184261593967676,
-0.0179354976862669,
-0.01649283990263939,
0.039128612726926804,
-0.03101249597966671,
-0.006771185901015997,
0.022579926997423172,
-0.005333181470632553,
0.06872636824846268,
-0.03931476175785065,
-0.04307498037815094,
-0.03773248940706253,
0.027326736599206924,
0.03790002316236496,
-0.0579669326543808,
0.002594457706436515,
-0.045383233577013016,
0.02127688005566597,
-0.011494727805256844,
-0.02248685248196125,
0.046276748180389404,
-0.007701932918280363,
0.011941486038267612,
-0.0181961078196764,
0.046239521354436874,
0.0584881529211998,
-0.039984896779060364,
0.019787684082984924,
-0.02740119770169258,
-0.00039876700611785054,
-0.01583200879395008,
0.017916882410645485,
0.02661936916410923,
-0.08495860546827316,
-0.11459359526634216,
-0.010563980787992477,
-0.014603422954678535,
-0.010796667076647282,
0.00251999800093472,
-0.0010308024939149618,
0.032631997019052505,
-0.012202095240354538,
0.005668250378221273,
-0.014100819826126099,
-0.021891172975301743,
-0.02747565694153309,
0.010498828254640102,
0.021090731024742126,
0.0022768403869122267,
0.03983597829937935,
0.041585784405469894,
0.004118556156754494,
-0.08644779771566391,
0.019955219700932503,
0.03816063329577446,
-0.046239521354436874,
-0.014352121390402317,
-0.024757875129580498,
0.04225592315196991,
-0.005081879440695047,
0.025614162907004356,
0.04504816234111786,
-0.011755337007343769,
-0.02386435680091381,
-0.04422910511493683,
-0.002722435398027301,
0.0011948466999456286,
-0.007022487465292215,
-0.00832553394138813,
0.0009348191670142114,
0.07293334603309631,
-0.0505581870675087,
0.07021556794643402,
0.0048631541430950165,
-0.022244857624173164,
-0.011038661934435368,
0.016464916989207268,
0.03235277161002159,
0.06504061073064804,
0.008809521794319153,
0.028276098892092705,
-0.0026130727492272854,
-0.014221817255020142,
0.0012530183885246515,
0.06660427153110504,
-0.02808994986116886,
0.05320150777697563,
-0.02734535187482834,
0.037192657589912415,
0.03879354149103165,
0.023287294432520866,
-0.041287943720817566,
0.01878247782588005,
0.07006664574146271,
-0.10617963969707489,
0.008362763561308384,
0.031291719526052475,
0.06504061073064804,
-0.06221114099025726,
-0.06638088822364807,
-0.036336369812488556,
-0.023063914850354195,
0.07338010519742966,
0.012341707944869995,
0.016734834760427475,
-0.01711644046008587,
0.02596784569323063
]
|
31,526 | laspy.lasdata | __setitem__ | null | def __setitem__(self, key, value):
self.points[key] = value
| (self, key, value) | [
0.0433034785091877,
-0.03474310040473938,
-0.06724578887224197,
0.0633334293961525,
-0.03399072214961052,
0.012857288122177124,
-0.03501061350107193,
0.05226512625813484,
0.03240237012505531,
-0.0004023127257823944,
-0.05922043323516846,
-0.027419963851571083,
0.03608065843582153,
0.05226512625813484,
-0.036013782024383545,
0.004060746170580387,
0.06941932439804077,
0.03094777651131153,
-0.028590327128767967,
0.008058793842792511,
0.0009028524509631097,
-0.026784623041749,
0.06420283764600754,
-0.00912048202008009,
-0.008476781658828259,
0.005667907185852528,
0.04684801027178764,
0.023691516369581223,
0.0671120285987854,
-0.02792154811322689,
-0.05380331724882126,
-0.027687475085258484,
0.009471590630710125,
0.013935694471001625,
0.034609343856573105,
-0.027637315914034843,
-0.02315649390220642,
0.011519728228449821,
0.0021839833352714777,
0.07497019320726395,
0.02738652378320694,
0.02175205573439598,
-0.01682816632091999,
-0.022905701771378517,
0.08526939898729324,
0.08787763863801956,
-0.004223761148750782,
0.07550521939992905,
0.07396702468395233,
-0.044941987842321396,
-0.06082550436258316,
-0.032887235283851624,
0.036448486149311066,
-0.01350098755210638,
-0.01986275427043438,
0.058250702917575836,
0.03875577822327614,
0.03905672952532768,
-0.012815488502383232,
0.03858858346939087,
0.01274861115962267,
-0.004288549069315195,
-0.020865922793745995,
-0.07931725680828094,
0.0142032066360116,
-0.019929632544517517,
-0.013375591486692429,
0.027904829010367393,
0.03273675963282585,
-0.002606150461360812,
0.07069000601768494,
0.004236300941556692,
-0.0017534565413370728,
-0.04454072192311287,
-0.0036657480522990227,
0.0481855683028698,
-0.06935244053602219,
0.05992265045642853,
0.028155621141195297,
-0.0013824928319081664,
-0.004969868343323469,
0.009354554116725922,
0.019879473373293877,
0.019662119448184967,
-0.03711726889014244,
0.048887789249420166,
0.018006891012191772,
-0.0009394263615831733,
-0.018207523971796036,
0.044139452278614044,
0.01106830220669508,
0.013893895782530308,
-0.01579991728067398,
-0.008953286334872246,
-0.014913785271346569,
-0.034509025514125824,
0.03588002547621727,
-0.08239364624023438,
0.004572780337184668,
0.05136227235198021,
0.015682881698012352,
-0.026182720437645912,
0.0135260671377182,
-0.01634330116212368,
-0.03362289443612099,
-0.05005815252661705,
0.0194782055914402,
-0.004664737731218338,
-0.037317901849746704,
0.01624298468232155,
0.008472601883113384,
0.05992265045642853,
-0.033422261476516724,
0.02939286269247532,
-0.03955831378698349,
0.04928905516862869,
-0.0210999958217144,
-0.03664912283420563,
0.025898490101099014,
0.039324238896369934,
-0.03838794678449631,
0.015448808670043945,
0.0032352213747799397,
0.0622299425303936,
-0.014788388274610043,
-0.03728446364402771,
0.0017231524689123034,
0.06273152679204941,
-0.002641679486259818,
-0.09168968349695206,
-0.0028485830407589674,
-0.03414119780063629,
-0.012723531574010849,
0.028640486299991608,
0.04146433621644974,
-0.03181719034910202,
-0.0027461762074381113,
-0.03725102171301842,
-0.01753874495625496,
0.021517982706427574,
0.020765606313943863,
0.01829112134873867,
0.02327352948486805,
0.005529971327632666,
0.01850847527384758,
-0.012288824655115604,
-0.038989849388599396,
0.059454504400491714,
-0.022203482687473297,
-0.0035278124269098043,
-0.008393184281885624,
0.054472096264362335,
0.03892297297716141,
0.004522622097283602,
0.006002296693623066,
-0.042668137699365616,
-0.008593818172812462,
0.00860217772424221,
0.02153470367193222,
0.03882265463471413,
-0.007912498898804188,
-0.023089615628123283,
0.01996307075023651,
-0.0008051479235291481,
-0.059822335839271545,
0.03205126151442528,
-0.0002899786632042378,
-0.0011912636691704392,
-0.011829039081931114,
0.03604722023010254,
0.027520280331373215,
-0.08901456743478775,
-0.03166671469807625,
0.05611060932278633,
0.05992265045642853,
-0.01374342106282711,
-0.02966037578880787,
0.058484774082899094,
0.0351778082549572,
-0.012756970711052418,
0.03561251237988472,
-0.006562399677932262,
-0.03765229135751724,
0.0018171995179727674,
-0.02987772785127163,
-0.0205649733543396,
0.04357099160552025,
0.04574452340602875,
0.012631574645638466,
0.06293215602636337,
0.02484516240656376,
0.0011149810161441565,
-0.010491480119526386,
-0.04340379685163498,
0.0052248407155275345,
0.010081852786242962,
-0.023992467671632767,
-0.02787138894200325,
-0.05838445946574211,
0.12760314345359802,
-0.023089615628123283,
-0.059822335839271545,
0.023892151191830635,
-0.0010209338506683707,
0.017889853566884995,
0.00711414311081171,
0.034709662199020386,
-0.02564769797027111,
-0.020899362862110138,
-0.006650177296251059,
0.00669615576043725,
-0.03608065843582153,
0.01518129650503397,
-0.027536999434232712,
0.04290221258997917,
-0.06517256796360016,
-0.059454504400491714,
0.00792503822594881,
-0.010014974512159824,
0.025580819696187973,
0.054572414606809616,
0.0032498508226126432,
0.03929080069065094,
-0.020414497703313828,
0.017522025853395462,
-0.00922915805131197,
0.014520877040922642,
-0.0584513358771801,
-0.06380157172679901,
-0.015080980025231838,
0.02375839464366436,
0.01682816632091999,
-0.010508199222385883,
-0.02252115309238434,
0.03614753857254982,
-0.06029048189520836,
0.008786091580986977,
-0.025396905839443207,
-0.0197457168251276,
0.04246750473976135,
0.025179551914334297,
0.05731441080570221,
0.016033990308642387,
0.014813467860221863,
-0.06935244053602219,
0.053335171192884445,
0.03210141882300377,
0.04551045224070549,
-0.039524875581264496,
0.04714896157383919,
0.039157044142484665,
-0.0079877357929945,
-0.04390538111329079,
0.018090488389134407,
0.01434532180428505,
-0.014136328361928463,
-0.032385651022195816,
0.012021313421428204,
0.006073354743421078,
-0.004714895971119404,
-0.08373120427131653,
0.02446061372756958,
-0.013935694471001625,
0.025463782250881195,
0.005183042027056217,
0.03430839255452156,
0.035645950585603714,
0.053769879043102264,
-0.010984704829752445,
0.02489531971514225,
0.05557558313012123,
0.006010656710714102,
-0.026166001334786415,
0.012088190764188766,
0.01850847527384758,
0.053602684289216995,
-0.005304258316755295,
0.026884939521551132,
0.0042425706051290035,
-0.016318222507834435,
0.07818033546209335,
-0.021885812282562256,
-0.024343576282262802,
0.022822104394435883,
-0.031031373888254166,
0.000909122230950743,
0.018424877896904945,
0.08359745144844055,
0.01720435544848442,
-0.010006614960730076,
0.0009101672330871224,
0.021501263603568077,
-0.031850628554821014,
0.05012502893805504,
0.02126719057559967,
0.019678840413689613,
-0.06413596123456955,
0.035579074174165726,
0.015766479074954987,
0.0687505453824997,
0.033572737127542496,
-0.022638188675045967,
-0.04841964319348335,
0.07349887490272522,
0.029626935720443726,
-0.017739377915859222,
0.03551219776272774,
0.022002847865223885,
-0.011268936097621918,
-0.018909743055701256,
0.04296908900141716,
0.022470993921160698,
-0.06343374401330948,
0.05590997263789177,
0.0681820809841156,
-0.016167746856808662,
-0.04209967702627182,
-0.0330209918320179,
-0.024377016350626945,
0.06881742179393768,
-0.0394914336502552,
-0.09075339138507843,
-0.08633944392204285,
-0.023942308500409126,
0.03885609284043312,
0.017505306750535965,
0.03340554237365723,
-0.017923293635249138,
0.016493776813149452,
0.043270040303468704,
-0.03128216415643692,
-0.026400074362754822,
-0.008004455827176571,
0.029576776549220085,
-0.041263699531555176,
0.0016468696994706988,
-0.05687970295548439,
0.0064997016452252865,
-0.0009101672330871224,
-0.005738964769989252,
-0.02078232541680336,
0.010658674873411655,
-0.04393881931900978,
-0.02641679346561432,
0.0632999911904335,
-0.005053465720266104,
-0.0015078890137374401,
0.00255808187648654,
0.024310138076543808,
0.020832484588027,
-0.04367130622267723,
0.010967985726892948,
0.0034274954814463854,
0.005584309808909893,
0.004079555626958609,
-0.000867846014443785,
0.05005815252661705,
-0.06343374401330948,
-0.03995957970619202,
-0.035478755831718445,
0.07945101708173752,
-0.02961021661758423,
-0.0010857218876481056,
-0.006466262508183718,
-0.05152946710586548,
0.033522576093673706,
-0.009103761985898018,
-0.03561251237988472,
0.03614753857254982,
-0.01845831610262394,
0.0048361122608184814,
-0.029961325228214264,
-0.045109182596206665,
0.07135878503322601,
0.017873134464025497,
-0.02252115309238434,
0.017923293635249138,
0.07222819328308105,
-0.009613706730306149,
-0.04811869189143181,
0.03805355727672577,
-0.017187636345624924,
0.03181719034910202,
0.059120114892721176,
0.012614854611456394,
0.015783198177814484,
0.03541187942028046,
0.001692848396487534,
0.04885435104370117,
0.012196867726743221,
-0.020481374114751816,
0.0002006338763749227,
-0.013133158907294273,
-0.02262146957218647,
-0.03755197301506996,
-0.024159662425518036,
0.023574480786919594,
-0.04892122745513916,
-0.0362478531897068,
-0.029560057446360588,
0.05233200266957283,
-0.02240411564707756,
-0.014270084910094738,
0.03131560608744621,
0.04795149713754654,
-0.039692070335149765,
-0.03922392427921295,
0.04430664703249931,
-0.0036406689323484898,
-0.012456020340323448,
0.004915529862046242,
0.010616876184940338,
0.0023114695213735104,
-0.09015148878097534,
0.016811447218060493,
-0.03775260969996452,
-0.05136227235198021,
-0.05751504376530647,
0.0028799320571124554,
0.04350411146879196,
-0.006478802300989628,
-0.0033627073280513287,
-0.04587827995419502,
0.045209500938653946,
-0.036983512341976166,
-0.021768774837255478,
-0.01039116270840168,
-0.028757521882653236,
0.0035382620990276337,
0.018759267404675484,
-0.01374342106282711,
-0.036013782024383545,
0.04069523885846138,
0.022220201790332794,
-0.01667769066989422,
-0.016318222507834435,
0.046613939106464386,
-0.06319966912269592,
-0.026751182973384857,
0.029142070561647415,
0.009454871527850628,
0.018491756170988083,
0.0197457168251276,
0.01807376928627491,
-0.0038559322711080313,
-0.047750864177942276,
-0.04751678928732872,
-0.04985751956701279,
0.0330209918320179,
-0.03307114914059639,
0.03728446364402771,
0.04567764699459076,
0.03909016773104668,
0.02457764931023121,
0.06370125710964203,
-0.016418538987636566,
-0.1088104397058487,
-0.08914832025766373,
0.038287632167339325,
0.023089615628123283,
-0.019896192476153374,
0.018692389130592346,
-0.053335171192884445,
-0.01590859517455101,
-0.03614753857254982,
0.015131138265132904,
0.007833081297576427,
0.024310138076543808,
0.010692114010453224,
0.008685775101184845,
0.0012257476337254047,
-0.042735014110803604,
-0.034442149102687836,
-0.06296560168266296,
-0.06380157172679901,
0.01539865043014288,
0.018959902226924896,
0.035645950585603714,
-0.045276377350091934,
-0.0227217860519886,
-0.048954665660858154,
-0.059989530593156815,
-0.0025476322043687105,
0.00568044651299715,
0.009647145867347717,
0.029509900137782097,
-0.027737634256482124,
0.009923017583787441,
-0.01523145567625761,
0.0503256656229496,
0.0003406596079003066,
-0.03454246744513512,
-0.012146709486842155,
-0.005563410464674234,
-0.008460061624646187,
0.03131560608744621,
-0.0013751779915764928,
0.01633494161069393,
0.012155069038271904,
-0.04484167322516441,
-0.013592945411801338,
-0.00018979233573190868,
-0.006788112688809633,
-0.054572414606809616,
0.03235221281647682,
-0.013333792798221111,
0.01882614567875862,
0.022554591298103333,
-0.039591751992702484,
-0.032552845776081085,
0.02782123163342476,
-0.029526619240641594,
0.030997933819890022,
-0.02024730294942856,
0.047750864177942276,
-0.002464034827426076,
-0.0649050623178482,
0.001926921191625297,
-0.05216480791568756,
-0.02538018487393856,
0.04935593530535698,
-0.010466400533914566,
0.07430141419172287,
-0.01104322262108326,
-0.026316476985812187,
0.0046354783698916435,
-0.013108080253005028,
-0.031365763396024704,
-0.006917688995599747,
0.04042772576212883,
-0.011787240393459797,
0.031900785863399506,
-0.010399522259831429,
0.05380331724882126,
0.04250094294548035,
0.09737430512905121,
0.054739609360694885,
-0.014295163564383984,
-0.016928482800722122,
0.014010932296514511,
-0.022220201790332794,
-0.016201185062527657,
0.04811869189143181,
-0.11402691900730133,
0.030011484399437904,
-0.0024494051467627287,
-0.044507283717393875,
-0.059454504400491714,
0.008861329406499863,
-0.053669560700654984,
-0.007561389356851578,
-0.017672501504421234,
0.02792154811322689,
0.006441183388233185,
0.022771945223212242,
-0.006482982076704502,
-0.008761012926697731,
-0.041698407381772995,
0.025831611827015877,
0.027954986318945885,
-0.03415791690349579,
0.0022780303843319416,
0.06704515218734741,
0.043805062770843506,
-0.011645124293863773,
0.005496532190591097,
-0.07176005095243454,
0.00814657099545002,
0.019143816083669662,
-0.02344072423875332,
0.05156290531158447,
0.00955518800765276,
0.00018417563114780933,
-0.04734959453344345,
-0.04360442981123924,
0.018057048320770264,
0.0037556153256446123,
0.0055425106547772884,
-0.033305224031209946,
-0.0433034785091877,
-0.05691314488649368,
0.0979762077331543,
0.009722383692860603,
0.005040926393121481,
0.024477332830429077,
0.013400671072304249,
0.026450233533978462,
0.04303596541285515,
-0.03611409664154053,
0.03467622026801109,
-0.03888953477144241,
-0.018157366663217545,
-0.02046465501189232,
-0.023173213005065918,
0.0284064132720232,
-0.057983189821243286,
-0.004581140354275703,
-0.040728677064180374,
-0.01710403896868229,
0.0022738506086170673,
0.015490607358515263,
-0.012848927639424801,
-0.029961325228214264,
-0.004127623979002237,
-0.004288549069315195,
-0.027185890823602676,
-0.025129392743110657,
0.03885609284043312,
-0.017078958451747894,
-0.023524321615695953,
-0.019611962139606476,
0.019879473373293877,
0.019728997722268105,
-0.014470718801021576,
-0.004069105722010136,
-0.01877598650753498,
0.02104983851313591,
0.0373513400554657,
-0.006236369721591473,
0.018592072650790215,
-0.020748887211084366,
0.002831863472238183,
-0.03892297297716141,
0.0037639751099050045,
-0.0039290799759328365,
-0.123389832675457,
0.037418216466903687,
-0.02608240395784378,
0.00621129060164094,
-0.04551045224070549,
-0.011678563430905342,
0.014219925738871098,
-0.013183318078517914,
-0.06012328714132309,
0.01817408576607704,
-0.00046945191570557654,
-0.01090946700423956,
0.01125221699476242,
0.04203279688954353,
0.05601029098033905,
0.016443617641925812,
0.011829039081931114,
0.027637315914034843,
-0.010048413649201393,
-0.013985853642225266,
0.029192229732871056,
-0.022170042619109154,
0.01959524117410183,
0.011703643016517162,
0.011787240393459797,
-0.014913785271346569,
-0.029426302760839462,
-0.045477014034986496,
-0.011302375234663486,
0.015273254364728928,
0.01534013170748949,
0.018709108233451843,
-0.012589775957167149,
-0.040996190160512924,
-0.028857840225100517,
-0.07242882996797562,
0.031031373888254166,
-0.06487162411212921,
-0.008677415549755096,
0.03962519019842148,
-0.006445363163948059,
-0.034509025514125824,
0.009053603745996952,
-0.04263469949364662,
0.06941932439804077,
0.0063993846997618675,
-0.061393965035676956,
-0.0801197960972786,
-0.006039915606379509,
0.03962519019842148,
-0.07490331679582596,
-0.03332194313406944,
0.013567865826189518,
-0.020481374114751816,
0.023072896525263786,
0.015933673828840256,
0.038989849388599396,
-0.01797345094382763,
0.03057994693517685,
-0.024811722338199615,
0.11696954816579819,
0.02370823733508587,
0.012414220720529556,
-0.021768774837255478,
-0.040728677064180374,
0.0330209918320179,
-0.017622342333197594,
0.009429791942238808,
-0.00011396683839848265,
-0.063901886343956,
-0.02001322992146015,
-0.025748014450073242,
-0.04350411146879196,
0.034876856952905655,
-0.025564100593328476,
-0.024343576282262802,
0.044239770621061325,
-0.007795461919158697,
-0.002165173878893256,
0.004765054676681757,
-0.02424325980246067,
-0.024644527584314346,
0.014788388274610043,
0.02397574856877327,
-0.00042112215305678546,
0.015616003423929214,
0.029292546212673187,
-0.018692389130592346,
-0.050024714320898056,
-0.009613706730306149,
0.01742170751094818,
-0.016201185062527657,
-0.036983512341976166,
-0.01694520376622677,
0.035144366323947906,
-0.00023799149494152516,
-0.012163428589701653,
0.02305617555975914,
-0.019712278619408607,
-0.023357126861810684,
-0.03430839255452156,
0.02257131040096283,
-0.051763541996479034,
-0.04734959453344345,
0.017221074551343918,
-0.004292728845030069,
0.02024730294942856,
-0.004075375851243734,
0.016318222507834435,
-0.008380644023418427,
-0.00860217772424221,
-0.02603224478662014,
-0.009170640259981155,
0.041664969176054,
0.0730976089835167,
0.0029551698826253414,
-0.021635020151734352,
-0.01590023562312126,
-0.05731441080570221,
-0.007147581782191992,
-0.002673028502613306,
-0.014562675729393959,
0.054472096264362335,
-0.03862202167510986,
0.04728271812200546,
0.015156217850744724,
0.08968334645032883,
-0.030981214717030525,
0.04734959453344345,
0.05808350816369057,
-0.07162629067897797,
0.0008845655247569084,
0.028072023764252663,
0.07102439552545547,
-0.020748887211084366,
-0.09115465730428696,
-0.0034609343856573105,
-0.014955583959817886,
-0.002027238253504038,
-0.024443894624710083,
0.03220173716545105,
-0.02354104071855545,
0.039424557238817215
]
|
31,527 | laspy.lasdata | _write_to | null | def _write_to(
self,
out_stream: BinaryIO,
do_compress: Optional[bool] = None,
laz_backend: Optional[Union[LazBackend, Sequence[LazBackend]]] = None,
) -> None:
with LasWriter(
out_stream,
self.header,
do_compress=do_compress,
closefd=False,
laz_backend=laz_backend,
) as writer:
writer.write_points(self.points)
if self.header.version.minor >= 4 and self.evlrs is not None:
writer.write_evlrs(self.evlrs)
| (self, out_stream: <class 'BinaryIO'>, do_compress: Optional[bool] = None, laz_backend: Union[laspy._compression.backend.LazBackend, Sequence[laspy._compression.backend.LazBackend], NoneType] = None) -> NoneType | [
-0.015883466228842735,
-0.017577091231942177,
-0.014629267156124115,
0.016002478078007698,
0.011910310946404934,
-0.030412031337618828,
-0.06957598775625229,
0.056210074573755264,
-0.05811426043510437,
-0.0003564625221770257,
-0.000482054048916325,
-0.021367153152823448,
-0.005762905813753605,
-0.011791299097239971,
0.005927691236138344,
0.059579018503427505,
-0.027372658252716064,
-0.008564255200326443,
0.027336040511727333,
0.08510242402553558,
-0.009987816214561462,
0.018483411520719528,
-0.019847465679049492,
-0.005584388505667448,
-0.011827917769551277,
0.017110200598835945,
-0.009141003713011742,
0.021531937643885612,
0.0021937035489827394,
-0.0272078737616539,
0.016762319952249527,
-0.09059526026248932,
0.039401981979608536,
-0.009383603930473328,
0.03498939797282219,
0.041379403322935104,
0.020817868411540985,
0.03885269537568092,
0.020781248807907104,
0.019517896696925163,
0.05902973562479019,
0.003272817935794592,
0.00464373966678977,
0.006801968440413475,
-0.029917676001787186,
0.03465982899069786,
-0.031950026750564575,
0.04533424973487854,
0.06617042422294617,
-0.011324407532811165,
-0.037754129618406296,
-0.053829845041036606,
0.029423318803310394,
-0.019920704886317253,
0.025230450555682182,
0.0038816079031676054,
0.048337001353502274,
0.06232544034719467,
0.014318006113171577,
0.0019991653971374035,
-0.039365362375974655,
0.022026292979717255,
0.0007483996450901031,
-0.03493446856737137,
0.009530079551041126,
-0.0037969264667481184,
-0.06492538005113602,
-0.032316215336322784,
-0.06375357508659363,
0.059871967881917953,
0.033158451318740845,
-0.03914564847946167,
0.03094300627708435,
0.06660985201597214,
-0.02764730155467987,
0.03383590281009674,
-0.08231937885284424,
-0.008788545615971088,
-0.02764730155467987,
-0.036930203437805176,
0.012258190661668777,
-0.007685400545597076,
-0.035593610256910324,
0.017604555934667587,
0.014574338681995869,
-0.02312486246228218,
0.05928606539964676,
0.018263697624206543,
0.0015826248563826084,
0.0036412959452718496,
-0.07005203515291214,
0.034000687301158905,
0.033250000327825546,
-0.0028700095135718584,
0.028672631829977036,
-0.04742152988910675,
-0.016826404258608818,
-0.004499552305787802,
-0.019041849300265312,
0.06891684979200363,
0.010189220309257507,
-0.009557543322443962,
0.009987816214561462,
0.019865775480866432,
0.04449201375246048,
-0.00012673587480094284,
0.022776981815695763,
-0.0003913649416062981,
-0.015361646190285683,
-0.021769961342215538,
-0.022960076108574867,
0.0023710764944553375,
-0.025212140753865242,
-0.0701252743601799,
-0.024974118918180466,
-0.019261563196778297,
0.049179237335920334,
0.020122108981013298,
-0.0618860125541687,
0.0001388944947393611,
-0.003403272945433855,
0.020872795954346657,
0.02887403592467308,
0.021147439256310463,
-0.031986646354198456,
-0.005199889652431011,
0.012120869942009449,
0.007493150886148214,
0.029807819053530693,
-0.02303331345319748,
-0.036838654428720474,
0.04665253311395645,
-0.010509636253118515,
-0.0031629609875380993,
-0.014537720009684563,
0.025614948943257332,
-0.012917331419885159,
-0.012642689980566502,
-0.0973331481218338,
0.000009217316801368725,
0.02841629832983017,
-0.04419906437397003,
-0.028178276494145393,
-0.04031745344400406,
0.002503820229321718,
0.05719878524541855,
0.007516037672758102,
-0.017485544085502625,
0.026145923882722855,
-0.028288131579756737,
0.05404955893754959,
-0.011617358773946762,
-0.024076953530311584,
0.029020510613918304,
-0.020451679825782776,
-0.04335682839155197,
0.0017496987711638212,
0.004888628609478474,
-0.0210742000490427,
0.06543804705142975,
-0.022099532186985016,
0.03465982899069786,
-0.005529460031539202,
0.020433370023965836,
-0.06064096838235855,
-0.052108753472566605,
-0.03713160753250122,
0.029423318803310394,
0.04782433807849884,
-0.03299366682767868,
0.030595125630497932,
-0.011324407532811165,
-0.017183437943458557,
0.11212719976902008,
-0.008335386402904987,
0.042258258908987045,
0.0320965014398098,
0.014519410207867622,
-0.014144065789878368,
-0.04240473359823227,
0.004925247747451067,
0.034366875886917114,
-0.04782433807849884,
0.0559537410736084,
-0.007392448838800192,
-0.00721850898116827,
-0.026457184925675392,
-0.01153496652841568,
0.0210742000490427,
-0.01775103248655796,
0.026054376736283302,
0.055880505591630936,
-0.004604831803590059,
-0.046359580010175705,
0.023289646953344345,
-0.02801349014043808,
0.017375687137246132,
-0.053793225437402725,
0.009342407807707787,
0.01893199235200882,
-0.030174007639288902,
0.040939975529909134,
-0.021129129454493523,
-0.01813553087413311,
0.008028702810406685,
0.022099532186985016,
0.046396199613809586,
0.005978042259812355,
-0.06950274854898453,
0.002895185025408864,
0.06704927980899811,
0.011351872235536575,
-0.06060434877872467,
-0.0056850905530154705,
0.028928963467478752,
-0.049179237335920334,
-0.06657323241233826,
0.02636563777923584,
-0.0025267070159316063,
0.00556150171905756,
-0.02594451978802681,
0.003318591509014368,
-0.038559745997190475,
0.013072961941361427,
0.025285379961133003,
0.04079350084066391,
0.0988711416721344,
-0.052548181265592575,
0.003815236035734415,
-0.016798939555883408,
0.011892001144587994,
0.020360130816698074,
-0.042294878512620926,
0.018483411520719528,
-0.03088807687163353,
0.00801497045904398,
-0.0486665740609169,
0.025706497952342033,
-0.09118116647005081,
0.002602233551442623,
0.0003515990683808923,
-0.08612775057554245,
0.008234684355556965,
-0.049252476543188095,
-0.015187705866992474,
0.006023815833032131,
-0.006486129947006702,
-0.012029322795569897,
-0.016222191974520683,
0.04811729118227959,
0.01651514321565628,
-0.035209111869335175,
0.01770525798201561,
-0.024626238271594048,
-0.012120869942009449,
-0.0534636564552784,
-0.001476201112382114,
-0.09528248757123947,
0.04321034997701645,
-0.02839798852801323,
-0.03584994375705719,
-0.019719300791621208,
0.01089413557201624,
-0.043832872062921524,
0.039731550961732864,
0.015187705866992474,
-0.021257296204566956,
-0.07199283689260483,
0.034403495490550995,
0.054635461419820786,
-0.02473609521985054,
0.016295429319143295,
-0.06741546839475632,
0.00825757160782814,
0.0534636564552784,
-0.008532213047146797,
0.0030691251158714294,
0.007099497132003307,
0.038523126393556595,
0.07056470215320587,
0.07777862995862961,
-0.0007689977646805346,
0.011800453998148441,
-0.01442786306142807,
0.024955809116363525,
0.009173044934868813,
0.00060364039381966,
0.05104680359363556,
-0.005625585094094276,
-0.07400687783956528,
-0.02065308392047882,
0.052474942058324814,
-0.009722328744828701,
0.035282351076602936,
0.022575577720999718,
0.0724322646856308,
-0.002350478433072567,
-0.036966823041439056,
0.0641930028796196,
-0.055404458194971085,
-0.00028365376056171954,
-0.025395236909389496,
0.11527642607688904,
0.0011437697103247046,
-0.006870628800243139,
0.001933937892317772,
0.005021372344344854,
-0.028141656890511513,
-0.038999173790216446,
-0.007483995985239744,
0.005927691236138344,
0.014647576957941055,
-0.01567290723323822,
-0.015361646190285683,
0.008788545615971088,
0.03244438394904137,
0.020085489377379417,
0.006563945207744837,
-0.034366875886917114,
0.054196033626794815,
-0.06906332075595856,
-0.03740624710917473,
0.031071171164512634,
-0.05240170657634735,
0.08041519671678543,
-0.0086695346981287,
0.018455946817994118,
-0.05309746414422989,
0.04734829068183899,
-0.021275606006383896,
-0.020085489377379417,
0.02469947561621666,
0.04192868992686272,
0.048044051975011826,
0.009076920337975025,
0.009099806658923626,
-0.0003802076098509133,
-0.005181580316275358,
-0.025303687900304794,
-0.035282351076602936,
-0.023729074746370316,
0.006243529729545116,
0.029148677363991737,
0.02426004968583584,
-0.040976595133543015,
-0.05144961178302765,
-0.10700054466724396,
-0.07162664830684662,
-0.02550509199500084,
0.07448292523622513,
-0.030265554785728455,
0.05353689193725586,
0.021367153152823448,
0.05800440534949303,
0.06148320436477661,
-0.0003873597306665033,
-0.017467234283685684,
-0.013256057165563107,
-0.02722618356347084,
0.014043363742530346,
0.013329294510185719,
-0.003261374542489648,
0.04163573682308197,
0.021678414195775986,
0.0040006195195019245,
-0.0363076813519001,
0.01607571542263031,
-0.007122383918613195,
0.057125549763441086,
0.0328655019402504,
0.005538614932447672,
-0.0486665740609169,
0.016670772805809975,
0.003256797092035413,
0.032371144741773605,
0.008092786185443401,
0.018455946817994118,
0.008101941086351871,
-0.03617951273918152,
-0.01979253813624382,
0.024882571771740913,
0.003517707111313939,
0.021293913945555687,
-0.006165714468806982,
0.02552340179681778,
-0.01424476783722639,
0.015828536823391914,
-0.001973989885300398,
-0.008989949710667133,
0.016762319952249527,
-0.002373365219682455,
0.03471475839614868,
0.0075206151232123375,
-0.04039069265127182,
0.022978385910391808,
0.028928963467478752,
-0.06657323241233826,
0.05529460310935974,
0.007740329019725323,
0.007493150886148214,
-0.0038655870594084263,
-0.07748568058013916,
-0.019133396446704865,
0.05525798350572586,
-0.01213002484291792,
-0.05357351154088974,
0.00906318798661232,
-0.005845298524945974,
0.0477144792675972,
0.04240473359823227,
-0.004888628609478474,
0.02061646431684494,
-0.009186777286231518,
-0.026145923882722855,
-0.019224943593144417,
0.015553895384073257,
0.023820621892809868,
-0.006184023804962635,
0.00391364935785532,
0.00027335467166267335,
0.045041296631097794,
0.06997879594564438,
0.06650000065565109,
0.040207598358392715,
0.04163573682308197,
-0.08451651781797409,
-0.02228262647986412,
-0.01808060333132744,
-0.021641794592142105,
0.019115086644887924,
0.042221639305353165,
0.011873692274093628,
-0.010408934205770493,
0.03130919486284256,
0.04742152988910675,
0.015956703573465347,
-0.016734857112169266,
-0.0017714413115754724,
0.011223705485463142,
0.011223705485463142,
0.13248732686042786,
0.024022025987505913,
-0.054672081023454666,
-0.009429377503693104,
-0.0004368525405880064,
0.00965824630111456,
0.0025198408402502537,
-0.007717441767454147,
0.01237720251083374,
0.015773609280586243,
0.05470870062708855,
-0.030393721535801888,
0.027098016813397408,
-0.014482791535556316,
-0.026988159865140915,
-0.04745814949274063,
0.040610406547784805,
-0.11322576552629471,
-0.02310655266046524,
-0.011269479058682919,
0.01602994091808796,
-0.017796805128455162,
0.0006774504436179996,
-0.008101941086351871,
0.020909415557980537,
-0.05639316886663437,
-0.03509925678372383,
-0.004467511083930731,
0.007950888015329838,
-0.02303331345319748,
0.03998788446187973,
-0.023729074746370316,
0.01401589997112751,
0.01362224668264389,
0.04533424973487854,
-0.0012576318113133311,
-0.048849668353796005,
0.005799524951726198,
-0.033616188913583755,
-0.021678414195775986,
-0.05199889838695526,
-0.0014739123871549964,
0.005154116079211235,
-0.006531903520226479,
0.032023265957832336,
0.02226431667804718,
0.03744286671280861,
-0.010143446736037731,
0.06657323241233826,
0.023143170401453972,
0.008001239039003849,
0.0238572396337986,
-0.03498939797282219,
0.0006185168167576194,
-0.00638542789965868,
0.038047078996896744,
0.004467511083930731,
-0.0226121973246336,
-0.026713518425822258,
-0.040683645755052567,
-0.027354350313544273,
-0.07100412994623184,
-0.053719986230134964,
-0.07909691333770752,
0.05108342319726944,
0.010619493201375008,
0.009566698223352432,
-0.0267318282276392,
-0.016826404258608818,
0.00783645361661911,
-0.051742564886808395,
0.020946035161614418,
-0.04335682839155197,
0.022337554022669792,
-0.039694931358098984,
0.060421254485845566,
-0.01977422833442688,
0.020524917170405388,
-0.026182543486356735,
0.021147439256310463,
0.0003069697122555226,
0.02220938727259636,
0.02848953567445278,
-0.014995456673204899,
-0.00226579699665308,
-0.018043983727693558,
-0.028928963467478752,
-0.015535585582256317,
0.0436863973736763,
-0.026310710236430168,
-0.052108753472566605,
-0.053280558437108994,
-0.011873692274093628,
-0.0054607996717095375,
0.035685159265995026,
0.014217304065823555,
-0.0017897507641464472,
0.006449511274695396,
-0.00241456157527864,
-0.12355230748653412,
0.0025129748973995447,
-0.021531937643885612,
-0.05514812469482422,
-0.07536178082227707,
0.0007907402468845248,
0.027354350313544273,
-0.0030691251158714294,
-0.000364758976502344,
0.029935983940958977,
-0.017888352274894714,
-0.008719885721802711,
-0.026109306141734123,
0.07400687783956528,
0.0628381073474884,
-0.0015299851074814796,
0.004783349111676216,
-0.01485813595354557,
0.04028083756566048,
0.00021027283219154924,
0.026896612718701363,
-0.01770525798201561,
0.053353797644376755,
0.020708011463284492,
0.025651568546891212,
0.0039342474192380905,
0.050900328904390335,
0.026713518425822258,
-0.040170978754758835,
0.004112764727324247,
0.018785517662763596,
0.050827089697122574,
0.01732991449534893,
-0.0021422081626951694,
-0.057125549763441086,
0.07180974632501602,
-0.022758672013878822,
-0.026695208624005318,
0.10260627418756485,
0.026274090632796288,
-0.0387062206864357,
-0.06529157608747482,
0.02393047884106636,
-0.019462967291474342,
-0.027354350313544273,
0.04361315816640854,
-0.01933480054140091,
0.009150157682597637,
0.018803827464580536,
0.0018801537808030844,
0.037314701825380325,
-0.04976514354348183,
-0.03910902887582779,
-0.0069209798239171505,
-0.07049146294593811,
0.003989175893366337,
-0.018236232921481133,
0.0029501134995371103,
-0.07063794136047363,
0.025029046460986137,
0.07254212349653244,
-0.03418378159403801,
0.025889592245221138,
-0.04123292863368988,
-0.020781248807907104,
0.0226121973246336,
0.018840445205569267,
-0.021605174988508224,
-0.0002174249675590545,
-0.022007983177900314,
0.0013880867045372725,
0.0013880867045372725,
0.11000330001115799,
0.0030416608788073063,
-0.025779735296964645,
-0.034348566085100174,
-0.053793225437402725,
0.019115086644887924,
0.022557267919182777,
-0.0036641829647123814,
-0.014986301772296429,
0.031968336552381516,
-0.043027255684137344,
-0.005181580316275358,
-0.02477271482348442,
-0.05763821303844452,
-0.0025312842335551977,
0.05902973562479019,
-0.016377821564674377,
0.041489262133836746,
0.018437637016177177,
-0.014574338681995869,
0.00843608845025301,
0.00783645361661911,
-0.01403420977294445,
-0.020415060222148895,
-0.015892621129751205,
-0.049582045525312424,
-0.014876444824039936,
0.021367153152823448,
0.014592648483812809,
-0.005941423121839762,
0.00679739098995924,
0.05276789516210556,
-0.08356442302465439,
0.043100494891405106,
0.0030920119024813175,
0.07129707932472229,
-0.005744596477597952,
-0.037241462618112564,
-0.019700990989804268,
-0.0018961746245622635,
0.03746117651462555,
-0.02303331345319748,
0.010839207097887993,
0.04613986611366272,
0.020323513075709343,
0.040170978754758835,
0.045077916234731674,
0.031913407146930695,
-0.016377821564674377,
0.054635461419820786,
-0.07393364608287811,
0.06730561703443527,
-0.045151155441999435,
-0.007136116269975901,
0.006339654326438904,
0.0038816079031676054,
0.031089480966329575,
-0.012221571989357471,
-0.012560296803712845,
-0.0009292056201957166,
0.02469947561621666,
-0.02187981829047203,
-0.011003991588950157,
0.0666830912232399,
-0.052584800869226456,
-0.02848953567445278,
-0.03253592923283577,
-0.028361370787024498,
-0.07129707932472229,
-0.024827642366290092,
0.03590487316250801,
-0.0026525845751166344,
-0.020817868411540985,
-0.049618665128946304,
0.003467356087639928,
0.0005650188541039824,
0.024095263332128525,
-0.0034719333052635193,
-0.06741546839475632,
-0.005772060714662075,
0.00699421763420105,
0.007552656810730696,
0.023985406383872032,
0.00784560851752758,
0.000852534722071141,
0.00472842063754797,
0.00016120917280204594,
0.033597879111766815,
-0.012963104993104935,
0.005433335434645414,
-0.026713518425822258,
0.04379625245928764,
0.048044051975011826,
0.023802312090992928,
0.008953331038355827,
0.0063030351884663105,
-0.05188903957605362,
0.023729074746370316,
-0.022337554022669792,
-0.042587827891111374,
0.0452243946492672,
0.002911205869168043,
-0.032316215336322784,
-0.045590583235025406,
-0.015517276711761951,
-0.027775466442108154,
0.0526946559548378,
-0.006815700326114893,
-0.036124587059020996,
-0.027848705649375916,
0.0144187081605196,
0.016267964616417885,
-0.047604624181985855,
-0.022319244220852852,
-0.08136729151010513,
-0.050131332129240036,
0.025816353037953377,
0.02967965230345726,
0.025321997702121735,
0.020817868411540985,
0.003741997992619872,
0.003577212803065777,
0.009603317826986313,
-0.02228262647986412,
0.06393667310476303,
-0.03740624710917473,
0.04698210209608078,
0.022191079333424568,
0.009850495494902134,
0.028269823640584946,
0.02599944919347763,
-0.016158107668161392,
-0.026896612718701363,
0.029881056398153305,
0.023161480203270912,
0.024443143978714943,
0.03130919486284256,
-0.053866464644670486,
0.041196309030056,
0.016277119517326355,
0.014281387440860271,
-0.03550206497311592,
0.03574008867144585,
0.08246585726737976,
-0.001682182657532394,
0.022923458367586136,
0.00045630635577254,
-0.0017142242286354303,
-0.10092180222272873,
-0.02021365612745285,
0.007378716953098774,
-0.027134636417031288,
0.02354597859084606,
0.06792813539505005,
0.036838654428720474,
-0.10626816749572754,
0.019664371386170387
]
|
31,528 | laspy.lasdata | add_extra_dim | Adds a new extra dimension to the point record
.. note::
If you plan on adding multiple extra dimensions,
prefer :meth:`.add_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
params : ExtraBytesParams
parameters of the new extra dimension to add
| def add_extra_dim(self, params: ExtraBytesParams) -> None:
"""Adds a new extra dimension to the point record
.. note::
If you plan on adding multiple extra dimensions,
prefer :meth:`.add_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
params : ExtraBytesParams
parameters of the new extra dimension to add
"""
self.add_extra_dims([params])
| (self, params: laspy.point.format.ExtraBytesParams) -> NoneType | [
0.006773550063371658,
0.03168328106403351,
-0.017035478726029396,
0.10925736278295517,
0.027399010956287384,
0.0029105099383741617,
-0.022318847477436066,
0.006180864758789539,
0.008636276237666607,
0.017882172018289566,
0.04331685230135918,
-0.029058530926704407,
0.015680769458413124,
-0.022522054612636566,
-0.008704012259840965,
0.011218693107366562,
0.024469450116157532,
-0.003196269040927291,
-0.02182776667177677,
-0.00015280177467502654,
0.0009197211475111544,
0.015181219205260277,
0.03501925617456436,
0.021404419094324112,
-0.006235899869352579,
0.036340098828077316,
0.009212028235197067,
0.0031073661521077156,
0.0322759672999382,
-0.03708518669009209,
-0.05476415529847145,
-0.09692950546741486,
-0.039760738611221313,
0.04897276684641838,
-0.05141124501824379,
0.02753448113799095,
0.0015716752968728542,
-0.01039739977568388,
-0.05032747983932495,
0.02236964926123619,
0.015587632544338703,
0.025468548759818077,
0.06130063161253929,
-0.023707425221800804,
0.055136699229478836,
0.019711030647158623,
0.03915112093091011,
0.01728948764503002,
-0.06651626527309418,
0.021235080435872078,
0.023825963959097862,
-0.03874470666050911,
0.030684182420372963,
-0.006693114526569843,
-0.0017896989593282342,
0.004483243450522423,
0.04335072264075279,
0.04738098382949829,
-0.021184278652071953,
0.012065386399626732,
-0.005880288314074278,
-0.001157853752374649,
0.021235080435872078,
-0.027263540774583817,
0.0037339197006076574,
0.014673203229904175,
-0.035324063152074814,
-0.01688307337462902,
-0.0008519856492057443,
0.014944145455956459,
0.05584792047739029,
-0.04023488983511925,
0.004398574121296406,
0.024638788774609566,
-0.03915112093091011,
0.04318138211965561,
-0.0002649886882863939,
-0.012954414822161198,
0.02838117629289627,
0.03481604903936386,
-0.03261464461684227,
0.02416464127600193,
0.017230218276381493,
0.05574632063508034,
0.038372162729501724,
0.046500422060489655,
-0.07498320192098618,
0.02702646516263485,
0.012962881475687027,
0.005588178988546133,
0.033833883702754974,
0.039963945746421814,
-0.0048811896704137325,
-0.01462240144610405,
0.06512768566608429,
-0.050733890384435654,
0.010558271780610085,
0.022115642204880714,
-0.008695545606315136,
0.04561986029148102,
-0.036373965442180634,
-0.06360363960266113,
0.012353261932730675,
-0.010439733974635601,
-0.009931717999279499,
-0.05913309380412102,
0.009525304660201073,
-0.06268920749425888,
-0.030260836705565453,
0.06177477911114693,
0.014757872559130192,
-0.006671946961432695,
-0.04751645401120186,
-0.01994810625910759,
-0.004610247444361448,
0.05371425300836563,
0.059573374688625336,
-0.01087154820561409,
-0.0207778662443161,
0.05432387441396713,
0.03369841352105141,
0.04043809697031975,
-0.007378936279565096,
0.004138215910643339,
-0.04145412892103195,
-0.026230573654174805,
0.04314751550555229,
0.016180317848920822,
-0.02956654690206051,
-0.09449102729558945,
0.010016387328505516,
-0.04328298568725586,
-0.046602025628089905,
-0.0405396968126297,
-0.006362903863191605,
-0.03915112093091011,
0.10336437821388245,
-0.020219048485159874,
-0.013479365035891533,
-0.04995493218302727,
-0.021607626229524612,
0.056626878678798676,
-0.011074754409492016,
0.028635183349251747,
-0.05252888426184654,
0.013005216605961323,
-0.041318655014038086,
-0.032970257103443146,
-0.0067396825179457664,
0.010558271780610085,
-0.08033430576324463,
-0.0012837994145229459,
-0.03300412371754646,
-0.01017725933343172,
0.005710949655622244,
-0.012116188183426857,
0.019355420023202896,
-0.017899107187986374,
0.022183377295732498,
0.0034227597061544657,
-0.021235080435872078,
-0.05036134645342827,
0.01297981571406126,
-0.003947709687054157,
-0.03881244361400604,
0.04064130038022995,
-0.043215252459049225,
0.008678611367940903,
-0.035324063152074814,
0.03810121864080429,
0.09510064870119095,
-0.01551989745348692,
0.062418267130851746,
-0.007192663848400116,
0.009203561581671238,
0.04917597398161888,
0.005638980772346258,
-0.02121814712882042,
-0.026213640347123146,
-0.013936580158770084,
0.08033430576324463,
0.026755522936582565,
0.02734820917248726,
0.0017822904046624899,
0.030988993123173714,
-0.05666074901819229,
0.010058722458779812,
0.05679621919989586,
0.0040641301311552525,
-0.000038167367165442556,
0.06600824743509293,
0.05730423703789711,
0.024215443059802055,
0.016789937391877174,
0.014131319709122181,
0.018085379153490067,
0.054628681391477585,
0.017314888536930084,
0.002817373489961028,
0.05141124501824379,
-0.015240488573908806,
-0.01855952851474285,
-0.0054611749947071075,
-0.037423864006996155,
0.02247125282883644,
-0.016527462750673294,
-0.015469095669686794,
-0.019761832430958748,
-0.08216316252946854,
-0.030870456248521805,
0.05825253203511238,
-0.007721847388893366,
0.03789801523089409,
0.005943790543824434,
0.0367126427590847,
-0.027788490056991577,
-0.10431267321109772,
0.013648703694343567,
0.01740802451968193,
-0.017314888536930084,
0.05005653575062752,
-0.025773359462618828,
0.0011208108626306057,
0.019981972873210907,
0.015782373026013374,
-0.012632671743631363,
0.06421325355768204,
-0.047245513647794724,
0.010575205087661743,
0.01761123165488243,
-0.010050254873931408,
0.007103760726749897,
-0.06367137283086777,
-0.02374129369854927,
0.08202769607305527,
0.0356966108083725,
-0.02025291509926319,
-0.01972796581685543,
0.11575997620820999,
-0.03627236187458038,
-0.0007255107630044222,
0.053443312644958496,
-0.013716439716517925,
0.021506022661924362,
-0.03071805089712143,
-0.013377761468291283,
0.004851555451750755,
0.03627236187458038,
0.005935323424637318,
0.03041324019432068,
0.012700406834483147,
0.002207753947004676,
0.035527270287275314,
0.05764291435480118,
0.021065741777420044,
0.014478463679552078,
-0.00024382135597988963,
0.0008366393158212304,
-0.0025697157252579927,
-0.025570152327418327,
-0.03396935388445854,
0.06600824743509293,
0.05733810365200043,
0.06058940663933754,
-0.006616911850869656,
0.02436784654855728,
0.02468959055840969,
-0.009982519783079624,
0.0010848264209926128,
0.023301012814044952,
-0.017865238711237907,
0.06411164999008179,
0.02670472115278244,
-0.011870646849274635,
0.004100114572793245,
-0.05764291435480118,
0.03640783205628395,
0.02375822700560093,
0.006718515418469906,
0.00017304303764831275,
-0.03153087571263313,
-0.055576980113983154,
0.009762379340827465,
0.03164941444993019,
-0.04368939995765686,
0.020608527585864067,
0.03860923647880554,
0.032038893550634384,
-0.0405396968126297,
-0.04324911907315254,
-0.06529702246189117,
0.017797503620386124,
0.003901141695678234,
0.06072487682104111,
-0.044908639043569565,
0.01251413393765688,
-0.018745800480246544,
0.06607598066329956,
0.006604211404919624,
0.03212356194853783,
0.013056018389761448,
0.03437576815485954,
0.01192991528660059,
0.04423128440976143,
-0.006426405627280474,
0.040370360016822815,
0.04030262306332588,
-0.030447108671069145,
-0.023301012814044952,
-0.003882091026753187,
-0.011184824630618095,
0.041013848036527634,
-0.041860539466142654,
0.047855131328105927,
0.022555923089385033,
0.012234725058078766,
0.03029470331966877,
0.038033485412597656,
0.003280938370153308,
0.033816948533058167,
0.029905224218964577,
-0.03759320452809334,
-0.04592467099428177,
-0.0361030213534832,
0.024232376366853714,
0.005160598549991846,
0.02871985360980034,
-0.045552127063274384,
0.03439270332455635,
-0.0020172479562461376,
0.011311829090118408,
-0.021929368376731873,
-0.013767240568995476,
0.009609974920749664,
-0.04616174474358559,
-0.039963945746421814,
-0.052935294806957245,
-0.004995493218302727,
-0.000678413372952491,
0.052190203219652176,
-0.006659246515482664,
-0.02584109455347061,
-0.025163739919662476,
0.001858492847532034,
0.02206484042108059,
-0.07234151661396027,
0.00923742912709713,
-0.015011880546808243,
-0.01889820583164692,
0.02617977187037468,
-0.00855160690844059,
-0.01413978636264801,
-0.01930461823940277,
0.010067189112305641,
0.071799635887146,
0.04389260709285736,
-0.017196351662278175,
0.04097997769713402,
0.004487477242946625,
0.012429464608430862,
0.017230218276381493,
0.005964957643300295,
0.04809220880270004,
-0.008496572263538837,
-0.028787588700652122,
0.034341901540756226,
0.018745800480246544,
-0.045653730630874634,
0.015917843207716942,
0.013978914357721806,
-0.01930461823940277,
-0.058625075966119766,
0.014283724129199982,
0.04284270480275154,
0.030260836705565453,
0.017594296485185623,
-0.05422227084636688,
0.028262639418244362,
-0.0182547178119421,
0.01049900334328413,
-0.026247506961226463,
-0.037728674709796906,
0.01040586642920971,
-0.003915958572179079,
0.03945593163371086,
0.020219048485159874,
0.01509654987603426,
-0.015181219205260277,
-0.030260836705565453,
-0.009474503807723522,
0.0019981972873210907,
0.03259770944714546,
-0.006121595855802298,
0.0038926745764911175,
-0.06428099423646927,
-0.028584381565451622,
-0.053680386394262314,
0.006045393645763397,
-0.09110425412654877,
-0.021065741777420044,
-0.00817906204611063,
-0.10038401186466217,
-0.009728511795401573,
0.03617075830698013,
-0.006815885193645954,
-0.06018299609422684,
-0.10742850601673126,
0.06651626527309418,
-0.025722557678818703,
0.047008439898490906,
-0.0006837052060291171,
0.016527462750673294,
0.021810831502079964,
0.016146451234817505,
0.019389288499951363,
-0.0036196159198880196,
0.008797148242592812,
-0.06976756453514099,
-0.010168792679905891,
0.008073225617408752,
0.04815994203090668,
-0.03999781608581543,
-0.016281921416521072,
0.09022369235754013,
-0.01960942894220352,
0.002967661712318659,
-0.045653730630874634,
0.013250757940113544,
0.036340098828077316,
-0.00924589578062296,
-0.040776774287223816,
0.0013176671927794814,
0.02025291509926319,
0.0000027534085802471964,
-0.010939283296465874,
-0.00578291853889823,
0.02091333642601967,
-0.02048998884856701,
0.004690683446824551,
0.025299210101366043,
0.02352115325629711,
-0.0024935132823884487,
-0.011074754409492016,
-0.035086989402770996,
-0.0036577172577381134,
-0.018068445846438408,
-0.03786414489150047,
-0.015765437856316566,
-0.038270559161901474,
-0.055576980113983154,
0.07044492661952972,
-0.022555923089385033,
0.07396716624498367,
-0.04172506928443909,
0.028855323791503906,
-0.04677136614918709,
-0.01898287422955036,
-0.09577800333499908,
-0.009262830018997192,
-0.003433343255892396,
-0.00828913226723671,
0.019270749762654305,
-0.07925053685903549,
-0.03197115659713745,
0.010515936650335789,
0.027568349614739418,
-0.002648034831508994,
-0.04897276684641838,
-0.004521344788372517,
0.056525278836488724,
0.06143610179424286,
0.015740036964416504,
0.01641739159822464,
-0.0451795794069767,
0.06265533715486526,
0.02585802786052227,
0.03881244361400604,
0.01520662009716034,
-0.006752382963895798,
-0.008365334942936897,
-0.04219921678304672,
-0.01964329555630684,
-0.018017644062638283,
-0.0006254950421862304,
-0.004356239456683397,
0.08223090320825577,
-0.056626878678798676,
0.012361729517579079,
0.028431978076696396,
0.018745800480246544,
-0.016231119632720947,
0.04541665315628052,
-0.018627263605594635,
0.012649605050683022,
0.05185152590274811,
0.00456791277974844,
0.011142490431666374,
-0.0168407391756773,
0.03390162065625191,
-0.0007895419839769602,
-0.009059623815119267,
-0.02267445996403694,
-0.028669051826000214,
-0.05696555972099304,
-0.011879113502800465,
-0.0352901965379715,
-0.011701308190822601,
0.08643050491809845,
-0.015943244099617004,
0.03153087571263313,
-0.06367137283086777,
-0.0014266790822148323,
0.015917843207716942,
0.033816948533058167,
0.014385327696800232,
0.009389834478497505,
-0.009389834478497505,
0.02987135760486126,
0.023284079506993294,
-0.02816103585064411,
0.046602025628089905,
0.023453418165445328,
0.038270559161901474,
-0.0338846854865551,
0.01003332156687975,
0.00891568511724472,
-0.09279763698577881,
-0.06922568380832672,
-0.0032872885931283236,
0.08195995539426804,
0.0018955357372760773,
0.05649140849709511,
0.04582306742668152,
-0.02291153371334076,
0.030430175364017487,
0.007408570498228073,
0.056931689381599426,
-0.02067626267671585,
0.010922349989414215,
-0.027399010956287384,
0.02216644398868084,
-0.09720044583082199,
0.04673749580979347,
-0.07037718594074249,
-0.03959140181541443,
0.03501925617456436,
0.02025291509926319,
-0.005211400333791971,
0.04219921678304672,
-0.06119902804493904,
-0.018017644062638283,
0.01625652052462101,
-0.04243629425764084,
0.045552127063274384,
0.06285854429006577,
0.004766886122524738,
-0.003367724595591426,
-0.052190203219652176,
-0.01764509826898575,
-0.007006390951573849,
-0.02131974883377552,
-0.03725452721118927,
0.048905033618211746,
0.03153087571263313,
-0.07166416198015213,
-0.011007019318640232,
-0.07782809436321259,
-0.028584381565451622,
-0.07328981161117554,
0.0068243518471717834,
-0.01932155154645443,
0.023792095482349396,
-0.02015131153166294,
-0.028431978076696396,
-0.0399300791323185,
-0.044163547456264496,
-0.018440989777445793,
0.047008439898490906,
0.007870018482208252,
-0.019998908042907715,
-0.06990303844213486,
0.04328298568725586,
-0.0003122183261439204,
0.01762816496193409,
-0.014478463679552078,
0.014207521453499794,
0.031175265088677406,
-0.02048998884856701,
-0.003393125254660845,
-0.0000021250029931252357,
0.003926542587578297,
0.00006723939441144466,
0.003056564601138234,
-0.024875862523913383,
0.017475759610533714,
-0.016451260074973106,
-0.03881244361400604,
-0.021489087492227554,
0.00933903269469738,
-0.00025083302170969546,
0.016866140067577362,
0.0036005652509629726,
-0.0075736758299171925,
-0.0034269930329173803,
-0.0025739490520209074,
-0.018525660037994385,
-0.03545953705906868,
0.06780324131250381,
-0.035493403673172,
-0.028110234066843987,
0.001237231306731701,
0.02900772914290428,
-0.045552127063274384,
-0.04158959910273552,
-0.0459924079477787,
-0.031497009098529816,
-0.040133286267519,
0.03195422515273094,
0.07505093514919281,
0.026636986061930656,
-0.025519350543618202,
0.000051727696700254455,
0.0001211830458487384,
0.011608172208070755,
-0.0292448028922081,
-0.041521862149238586,
-0.010803813114762306,
-0.04494250565767288,
-0.006794717628508806,
-0.0500226691365242,
-0.02816103585064411,
0.05158058553934097,
0.00784461759030819,
-0.07457678765058517,
0.04145412892103195,
-0.06035233289003372,
-0.030972057953476906,
-0.0679725781083107,
0.020659327507019043,
0.02270832657814026,
0.05415453389286995,
0.036373965442180634,
-0.0707836002111435,
-0.03674650937318802,
0.03222516551613808,
0.054831888526678085,
-0.03083658777177334,
-0.05422227084636688,
0.008492338471114635,
0.009144293144345284,
-0.0025252641644328833,
-0.04223308712244034,
-0.019575560465455055,
-0.013792641460895538,
0.06424712389707565,
0.07958921790122986,
-0.052291806787252426,
0.036441702395677567,
-0.016866140067577362,
-0.015316690318286419,
0.0066380794160068035,
-0.051343511790037155,
-0.00972004421055317,
-0.007637178059667349,
-0.0015833174111321568,
-0.0076414113864302635,
-0.020117444917559624,
-0.06384070962667465,
0.005689782090485096,
-0.022928467020392418,
-0.03705132007598877,
-0.025299210101366043,
-0.011769043281674385,
-0.006282467860728502,
0.013767240568995476,
-0.02048998884856701,
-0.036780379712581635,
0.044400621205568314,
0.02616283856332302,
0.03173408284783363,
0.010634473524987698,
0.0011356280883774161,
0.06035233289003372,
-0.007734547834843397,
0.014283724129199982,
0.024520251899957657,
-0.011100155301392078,
0.015756972134113312,
-0.041217055171728134,
0.026840193197131157,
0.005008193664252758,
-0.008593942038714886,
0.04307977855205536,
0.042910441756248474,
-0.0074890065006911755,
-0.07579603046178818,
-0.0022331548389047384,
-0.04389260709285736,
0.010016387328505516,
-0.023148607462644577,
-0.0365094356238842,
0.02323327772319317,
-0.06086035072803497,
0.016366591677069664,
0.049650125205516815,
0.046805232763290405,
-0.0077260807156562805,
-0.013428563252091408,
-0.015147351659834385,
0.015138885006308556,
-0.05625433474779129,
0.042266953736543655,
0.04003168269991875,
-0.056626878678798676,
-0.038033485412597656,
0.08758200705051422,
0.05161445215344429,
-0.020286783576011658,
-0.023351814597845078,
0.03738999739289284,
-0.024672657251358032,
0.04409581422805786,
0.050835493952035904,
0.005033594556152821,
-0.0459924079477787,
-0.010363532230257988,
-0.03237757086753845,
-0.05679621919989586,
-0.0007096352055668831,
-0.022742195054888725,
-0.007450905162841082,
0.005787151865661144,
-0.003964643459767103,
0.07640564441680908,
-0.004411274567246437,
0.025265343487262726,
-0.03188648819923401,
0.007738781161606312,
0.01039739977568388,
-0.029820555821061134,
-0.04338458925485611,
0.013479365035891533,
0.007870018482208252,
-0.031259935349226,
0.007510174065828323,
-0.019338486716151237,
0.03888017684221268,
0.050835493952035904,
-0.04365553334355354,
0.03103979490697384,
0.05764291435480118,
0.02626444213092327,
-0.041962143033742905,
0.03921885788440704,
-0.023504219949245453,
0.0102873295545578,
0.0643487274646759,
-0.0004834092396777123,
0.006561876740306616,
-0.08182448893785477,
-0.0506322868168354,
-0.04995493218302727,
0.03251304104924202,
-0.0009668184793554246,
-0.0033994754776358604,
0.017678966745734215,
0.017899107187986374,
0.04423128440976143
]
|
31,529 | laspy.lasdata | add_extra_dims | Add multiple extra dimensions at once
Parameters
----------
params: list of parameters of the new extra dimensions to add
| def add_extra_dims(self, params: List[ExtraBytesParams]) -> None:
"""Add multiple extra dimensions at once
Parameters
----------
params: list of parameters of the new extra dimensions to add
"""
self.header.add_extra_dims(params)
new_point_record = record.ScaleAwarePointRecord.zeros(
len(self.points), header=self.header
)
new_point_record.copy_fields_from(self.points)
self.points = new_point_record
| (self, params: List[laspy.point.format.ExtraBytesParams]) -> NoneType | [
-0.020712915807962418,
0.00708363763988018,
-0.05214992165565491,
0.07291663438081741,
-0.016059234738349915,
-0.004631264600902796,
-0.011719386093318462,
-0.008962146937847137,
-0.003154012141749263,
0.057852696627378464,
0.020372183993458748,
-0.032817866653203964,
0.019798319786787033,
-0.024084368720650673,
0.003638210240751505,
0.008540715090930462,
0.04569394886493683,
-0.011378653347492218,
-0.011459353379905224,
-0.0027863802388310432,
0.004281566012650728,
0.002701197285205126,
0.023044239729642868,
0.0377674475312233,
0.006133174989372492,
0.039596639573574066,
0.03600998595356941,
0.0036718351766467094,
0.03500572592020035,
-0.02214757725596428,
-0.0500696636736393,
-0.053441114723682404,
-0.041174765676259995,
0.023994702845811844,
-0.03229780122637749,
0.029392613098025322,
-0.014292808249592781,
-0.029159480705857277,
-0.020461849868297577,
0.06735732406377792,
0.037731580436229706,
0.010679256170988083,
0.053907379508018494,
-0.03159840404987335,
0.04730794206261635,
0.03496985882520676,
0.030934873968362808,
0.01607716828584671,
-0.024209901690483093,
0.011629719287157059,
0.03852064162492752,
-0.046267811208963394,
0.03830544278025627,
-0.0013662902638316154,
-0.008652797900140285,
0.019188588485121727,
0.056453902274370193,
0.08801644295454025,
-0.024658232927322388,
-0.008509332314133644,
0.0011835951590910554,
0.02612875960767269,
0.014463174156844616,
-0.039775971323251724,
0.011629719287157059,
-0.010105391964316368,
-0.038628242909908295,
-0.04669820889830589,
-0.04178449511528015,
0.008729014545679092,
0.026971623301506042,
-0.043506089597940445,
-0.00799823459237814,
0.01650756597518921,
-0.04798940569162369,
0.05423017963767052,
-0.007608185522258282,
-0.001555710332468152,
0.00031467268127016723,
0.00041470665019005537,
-0.030827274546027184,
0.03844891116023064,
0.00835689902305603,
0.07359810173511505,
0.0551627092063427,
0.06287401169538498,
-0.05222165584564209,
0.034252528101205826,
0.0009353316272608936,
0.028280751779675484,
0.011342787183821201,
0.03891517594456673,
-0.01870439015328884,
-0.004176207818090916,
0.07969541102647781,
-0.01795119419693947,
-0.020551515743136406,
0.0013528403360396624,
-0.02422783523797989,
0.0352209247648716,
-0.05455297976732254,
-0.08234953135251999,
0.0058058928698301315,
-0.0023447738494724035,
-0.014391441829502583,
-0.038161978125572205,
0.015727469697594643,
-0.0657433345913887,
-0.04034983739256859,
0.0419996976852417,
0.009105612523853779,
-0.011226220987737179,
-0.021448180079460144,
-0.013270612806081772,
-0.00708363763988018,
0.023223571479320526,
0.05871349573135376,
-0.0017686678329482675,
-0.008630381897091866,
0.042107295244932175,
-0.00047663244185969234,
0.042143162339925766,
0.014463174156844616,
-0.012598115019500256,
-0.04938820004463196,
-0.016776565462350845,
0.04777420684695244,
0.028370417654514313,
-0.028495950624346733,
-0.09963719546794891,
-0.017171096056699753,
-0.05268792062997818,
-0.061618681997060776,
-0.030271343886852264,
-0.024460967630147934,
-0.07474582642316818,
0.08184739947319031,
-0.04203556105494499,
-0.0027236139867454767,
-0.07191237062215805,
-0.029930612072348595,
0.06567160040140152,
0.02248830907046795,
0.0326744019985199,
-0.06538467109203339,
0.02655915915966034,
-0.006227324716746807,
-0.0305403433740139,
-0.016570333391427994,
0.013817576691508293,
-0.07205583900213242,
0.006720489356666803,
-0.06803879141807556,
-0.017108330503106117,
0.0128312474116683,
-0.043506089597940445,
0.005187195725739002,
-0.009253562428057194,
0.01891958899796009,
0.051432590931653976,
-0.038197845220565796,
-0.06441627442836761,
-0.017960160970687866,
0.00310245412401855,
-0.0568484365940094,
0.019959717988967896,
-0.05749403312802315,
-0.012015284039080143,
-0.01985211856663227,
0.03423459455370903,
0.10501717031002045,
-0.0012284283293411136,
0.06728558987379074,
0.001414485857822001,
0.022326909005641937,
0.019098922610282898,
-0.008746948093175888,
-0.04268116131424904,
-0.011719386093318462,
-0.043075691908597946,
0.06972451508045197,
0.0012228242121636868,
0.051755391061306,
-0.023313239216804504,
0.019547253847122192,
-0.002813280327245593,
0.00527237867936492,
0.04483314976096153,
-0.006200424861162901,
-0.005151329096406698,
0.06305334717035294,
0.0568484365940094,
0.005223061889410019,
0.031078340485692024,
0.00693568866699934,
0.04246595874428749,
0.04160516336560249,
0.01926032081246376,
-0.008249299600720406,
0.02239864133298397,
-0.025106564164161682,
-0.026523292064666748,
0.006191458087414503,
-0.06764426082372665,
0.022111710160970688,
0.008845580741763115,
-0.018650591373443604,
-0.03007407858967781,
-0.07248623669147491,
-0.03513125702738762,
0.06646066159009933,
0.006850505247712135,
0.010822722688317299,
-0.03360693156719208,
0.03147287294268608,
-0.0049719964154064655,
-0.10214785486459732,
0.014911506325006485,
0.012373949401080608,
-0.030683808028697968,
0.046734075993299484,
-0.021448180079460144,
-0.023384971544146538,
0.0237615704536438,
0.01147728692740202,
0.02388710342347622,
0.06724972277879715,
-0.04526354745030403,
-0.011315886862576008,
0.023151839151978493,
-0.014651473611593246,
-0.026720557361841202,
-0.08450151979923248,
-0.02044391632080078,
0.028478017076849937,
0.0632326751947403,
-0.005787959787994623,
-0.009405994787812233,
0.07101570814847946,
0.0020376667380332947,
-0.0227035079151392,
0.035615455359220505,
-0.01542260404676199,
0.0018650591373443604,
-0.011342787183821201,
-0.018435392528772354,
0.0037816762924194336,
0.021914444863796234,
0.005635526962578297,
0.03448566049337387,
0.03568718954920769,
0.022075843065977097,
0.053441114723682404,
0.02994854561984539,
-0.0023627071641385555,
0.007433336228132248,
-0.0015904559986665845,
-0.019798319786787033,
0.007141920737922192,
-0.0538715124130249,
-0.009181829169392586,
0.04874260351061821,
0.05171952396631241,
0.029876811429858208,
0.005236512050032616,
0.03812611103057861,
0.028460083529353142,
0.014400407671928406,
-0.030827274546027184,
0.014624574221670628,
0.007558869197964668,
0.06007642298936844,
-0.00419862475246191,
-0.00370770157314837,
0.032172270119190216,
-0.02019285038113594,
0.022560041397809982,
-0.0012530866079032421,
0.012454649433493614,
0.007195720914751291,
0.023510504513978958,
-0.03174187242984772,
0.013925177045166492,
0.02367190457880497,
0.011423487216234207,
0.025178298354148865,
0.036117587238550186,
0.03963250666856766,
-0.044653818011283875,
-0.042824625968933105,
-0.07596529275178909,
0.03898690640926361,
0.02184271067380905,
0.014687340706586838,
-0.03163427114486694,
0.0005427613505162299,
-0.019708653911948204,
0.04924473166465759,
0.0205694492906332,
0.026272226125001907,
0.0128312474116683,
0.021824777126312256,
0.045837413519620895,
0.05935909226536751,
-0.004187416285276413,
-0.008038584142923355,
0.03787504509091377,
-0.03970423713326454,
-0.012589149177074432,
-0.02914154902100563,
0.010553724132478237,
0.07488929480314255,
-0.04451035335659981,
0.01828295923769474,
0.02596736140549183,
0.02146611176431179,
0.030002344399690628,
0.043075691908597946,
0.007626119069755077,
0.03938144072890282,
0.0008910588803701103,
-0.050715260207653046,
-0.04680581018328667,
-0.000547244620975107,
0.01963691972196102,
0.02795795351266861,
0.035400256514549255,
-0.040923699736595154,
0.023815369233489037,
-0.005631043575704098,
-0.0020847416017204523,
-0.024245768785476685,
0.010455090552568436,
0.037695713341236115,
-0.044008221477270126,
-0.01926032081246376,
-0.0657792016863823,
-0.010742022655904293,
0.022452441975474358,
0.023008372634649277,
-0.030092010274529457,
-0.023976769298315048,
-0.0339297279715538,
-0.004207591060549021,
0.0012138575548306108,
-0.0657433345913887,
0.0318315364420414,
0.005837276112288237,
-0.032728198915719986,
0.013638244941830635,
-0.018901657313108444,
-0.031419072300195694,
-0.0023358070757240057,
0.018354691565036774,
0.08543404936790466,
0.021519912406802177,
-0.027509622275829315,
0.02363603748381138,
0.033068932592868805,
-0.0037928845267742872,
0.050679393112659454,
-0.011970451101660728,
0.035023655742406845,
0.009504628367722034,
-0.022165508940815926,
0.02065911516547203,
0.022452441975474358,
-0.044869016855955124,
0.01480390690267086,
0.024084368720650673,
-0.010329557582736015,
-0.05458884313702583,
0.007980301044881344,
0.04576567932963371,
0.03602791950106621,
0.01612200029194355,
-0.04519181698560715,
0.0256624948233366,
-0.02214757725596428,
0.012867114506661892,
-0.05889282748103142,
-0.048168737441301346,
0.013476844877004623,
-0.014158309437334538,
0.044402752071619034,
0.029751278460025787,
0.026917824521660805,
-0.005761059932410717,
-0.040923699736595154,
-0.013772743754088879,
0.040278103202581406,
0.02503483183681965,
-0.010464057326316833,
-0.012499482370913029,
-0.051862988620996475,
-0.011118621565401554,
-0.04124649986624718,
0.026756424456834793,
-0.0678953230381012,
-0.04020636901259422,
-0.01632823422551155,
-0.10889075696468353,
-0.006653239484876394,
0.04784593731164932,
-0.027222689241170883,
-0.07011904567480087,
-0.07725648581981659,
0.05986122414469719,
-0.022560041397809982,
0.043757155537605286,
-0.002575664548203349,
0.02189651131629944,
0.04404408857226372,
0.01882992312312126,
0.0030038210097700357,
0.04225075989961624,
0.0036314851604402065,
-0.038377176970243454,
0.003006062703207135,
0.020121118053793907,
0.0648825392127037,
-0.011979417875409126,
-0.038843441754579544,
0.11993764340877533,
-0.012983680702745914,
-0.018139492720365524,
-0.060901351273059845,
0.0033512781374156475,
0.020981915295124054,
-0.023044239729642868,
-0.033409662544727325,
-0.005240995436906815,
-0.0060793752782046795,
-0.010177125222980976,
-0.027384089305996895,
-0.004205349367111921,
0.01969072036445141,
0.005492060910910368,
0.003189878771081567,
0.02528589777648449,
-0.005030279513448477,
-0.004487798549234867,
-0.017798760905861855,
-0.037050116807222366,
0.026326026767492294,
-0.026236359030008316,
-0.06344787776470184,
-0.024640299379825592,
-0.05900042504072189,
-0.056920167058706284,
0.06079375371336937,
-0.0026989555917680264,
0.0793367475271225,
-0.042573560029268265,
0.04594501480460167,
-0.0419996976852417,
0.0017126263119280338,
-0.11226221174001694,
0.0023268405348062515,
-0.021914444863796234,
0.03495192527770996,
-0.002085862448439002,
-0.057207100093364716,
-0.01433764211833477,
0.0033198948949575424,
0.035149190574884415,
-0.01587093621492386,
-0.05308245122432709,
-0.023151839151978493,
0.045371148735284805,
0.0742436945438385,
-0.007128471042960882,
0.04225075989961624,
-0.044904883950948715,
0.047236207872629166,
0.018650591373443604,
0.06057855486869812,
0.007464719470590353,
-0.012338083237409592,
-0.012678815051913261,
-0.014355574734508991,
-0.029679546132683754,
-0.014624574221670628,
0.0011824743123725057,
-0.009657060727477074,
0.07582182437181473,
-0.05032072961330414,
-0.013647210784256458,
-0.008850064128637314,
0.031150072813034058,
-0.005850726272910833,
0.032566800713539124,
-0.024460967630147934,
0.022004110738635063,
0.049962062388658524,
0.009002496488392353,
0.03249506652355194,
-0.022255176678299904,
0.04124649986624718,
-0.021627511829137802,
0.001546743675135076,
-0.035023655742406845,
-0.004095508251339197,
-0.05193472281098366,
-0.0014447482535615563,
-0.014508008025586605,
0.00848243199288845,
0.06301748007535934,
-0.0428604930639267,
0.019332055002450943,
-0.07589355856180191,
-0.021735111251473427,
0.005626560654491186,
0.036512117832899094,
-0.005702776834368706,
0.02010318450629711,
-0.025465229526162148,
0.0343780592083931,
0.050464194267988205,
-0.004662647843360901,
0.05308245122432709,
0.012732614763081074,
0.023044239729642868,
-0.014158309437334538,
-0.004362265579402447,
0.020461849868297577,
-0.08026927709579468,
-0.05874936282634735,
0.034216661006212234,
0.06592266261577606,
0.0026698140427470207,
0.05774509906768799,
0.025877695530653,
-0.02774275466799736,
0.039130374789237976,
0.013369245454668999,
0.06882785260677338,
-0.019708653911948204,
0.03995530307292938,
-0.053907379508018494,
0.032136403024196625,
-0.06753665953874588,
0.007760618347674608,
-0.043003957718610764,
-0.035059522837400436,
0.020174918696284294,
0.00941496156156063,
-0.018399525433778763,
0.047917671501636505,
-0.05168365687131882,
-0.043039824813604355,
0.010822722688317299,
-0.025877695530653,
0.040242236107587814,
0.04644714295864105,
-0.01820226013660431,
0.016857264563441277,
-0.0598253570497036,
-0.036045853048563004,
-0.002707922365516424,
0.0032571284100413322,
-0.0424300953745842,
0.05634630471467972,
0.023940902203321457,
-0.07969541102647781,
-0.004588672891259193,
-0.07302423566579819,
-0.004481073468923569,
-0.06430867314338684,
0.0043039824813604355,
-0.018632657825946808,
0.04103130102157593,
-0.04382888972759247,
-0.03905864059925079,
-0.017000731080770493,
-0.07969541102647781,
-0.004689547698944807,
0.054911643266677856,
-0.019618986174464226,
-0.032728198915719986,
-0.045120082795619965,
0.02516036480665207,
-0.00839724950492382,
-0.01612200029194355,
0.015960602089762688,
0.002719130599871278,
0.030199609696865082,
-0.008204466663300991,
0.014113475568592548,
0.037516381591558456,
-0.03470085933804512,
0.02817315235733986,
0.02087431587278843,
-0.008684181608259678,
0.004243457689881325,
-0.02125091291964054,
-0.0339476615190506,
-0.023151839151978493,
-0.022165508940815926,
-0.00008791501022642478,
0.017574595287442207,
0.007760618347674608,
0.0006108516827225685,
0.008715564385056496,
0.004998896270990372,
-0.046985141932964325,
-0.025823894888162613,
0.047487273812294006,
-0.043075691908597946,
-0.0128312474116683,
0.022434508427977562,
0.04849153757095337,
-0.024371301755309105,
-0.0360637865960598,
-0.04569394886493683,
-0.02634396031498909,
-0.05527030676603317,
0.04755900800228119,
0.10329557955265045,
0.023492570966482162,
-0.03624311834573746,
-0.02239864133298397,
-0.015637803822755814,
0.021322647109627724,
-0.034593258053064346,
-0.03324826434254646,
-0.010320591740310192,
-0.010580623522400856,
0.010912388563156128,
-0.002173287095502019,
0.008437599055469036,
0.011002055369317532,
0.02426370047032833,
-0.043506089597940445,
0.040744367986917496,
-0.03554372116923332,
-0.026612957939505577,
-0.06326854228973389,
0.03525678813457489,
0.037014249712228775,
0.06212081387639046,
0.02358223684132099,
-0.025267964228987694,
-0.03373246267437935,
0.02345670387148857,
0.030343076214194298,
-0.03740878030657768,
-0.06624546647071838,
0.021699244156479836,
0.03369659557938576,
0.015306037850677967,
-0.019654853269457817,
-0.047666605561971664,
-0.009253562428057194,
0.057207100093364716,
0.06563573330640793,
-0.06427280604839325,
0.018758190795779228,
-0.014158309437334538,
-0.022129643708467484,
0.00019474400323815644,
-0.04981859773397446,
0.046769943088293076,
-0.0227035079151392,
-0.018973389640450478,
0.000869202718604356,
-0.02659502439200878,
-0.018507124856114388,
0.018094658851623535,
-0.006106275133788586,
-0.04110303148627281,
-0.0475231409072876,
-0.021788911893963814,
0.03453946113586426,
0.015601936727762222,
-0.0284242182970047,
-0.039094507694244385,
0.018560923635959625,
0.016068201512098312,
0.028065552935004234,
0.004779214039444923,
0.02087431587278843,
0.04063676670193672,
-0.011656619608402252,
0.021053647622466087,
-0.031042473390698433,
0.013432011939585209,
0.021358512341976166,
-0.04598087817430496,
0.03106040693819523,
0.03661971911787987,
-0.017700128257274628,
0.06341201066970825,
0.025267964228987694,
-0.026505358517169952,
-0.046554744243621826,
0.024371301755309105,
-0.06269467622041702,
-0.0007537573692388833,
-0.009872259572148323,
-0.06258708238601685,
0.016346167773008347,
-0.09102922677993774,
0.026702623814344406,
0.05774509906768799,
0.05889282748103142,
-0.005402394570410252,
0.0029948544688522816,
0.006083858665078878,
-0.005998675711452961,
-0.04221489652991295,
0.048348069190979004,
0.03452152758836746,
-0.031670138239860535,
-0.03873584419488907,
0.06717799603939056,
0.07155370712280273,
-0.01236498262733221,
0.02854975126683712,
0.03317653015255928,
-0.01603233441710472,
0.054409511387348175,
0.059753622859716415,
-0.01969072036445141,
-0.05204232037067413,
-0.0102847246453166,
-0.031921204179525375,
-0.04892193526029587,
0.0009751210454851389,
-0.022631773725152016,
-0.024281634017825127,
-0.00840173289179802,
-0.004353298805654049,
0.0666041299700737,
-0.008141700178384781,
0.005267895292490721,
-0.020981915295124054,
-0.006702556274831295,
-0.021286780014634132,
-0.01888372376561165,
-0.044438619166612625,
-0.017682194709777832,
0.02074878290295601,
-0.017529761418700218,
-0.03873584419488907,
-0.009773626923561096,
0.04436688497662544,
0.00835689902305603,
-0.03755224868655205,
0.019152721390128136,
0.06542053073644638,
0.03636865317821503,
-0.04824047163128853,
0.017045563086867332,
-0.016238566488027573,
-0.013046447187662125,
0.06473907083272934,
0.018022926524281502,
0.0023783985525369644,
-0.08242126554250717,
-0.040457434952259064,
-0.007370570208877325,
0.020892247557640076,
0.028316618874669075,
0.009522560983896255,
0.015252238139510155,
0.016489632427692413,
0.04483314976096153
]
|
31,530 | laspy.lasdata | change_scaling | This changes the scales and/or offset used for the x,y,z
dimensions.
It recomputes the internal, non-scaled X,Y,Z dimensions
to match the new scales and offsets.
It also updates the header with the new values of scales and offsets.
Parameters
----------
scales: optional
New scales to be used. If not provided, the scales won't change.
offsets: optional
New offsets to be used. If not provided, the offsets won't change.
Example
-------
>>> import laspy
>>> header = laspy.LasHeader()
>>> header.scales = np.array([0.1, 0.1, 0.1])
>>> header.offsets = np.array([0, 0 ,0])
>>> las = laspy.LasData(header=header)
>>> las.x = [10.0]
>>> las.y = [20.0]
>>> las.z = [30.0]
>>> # X = (x - x_offset) / x_scale
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [100])
>>> assert np.all(las.Y == [200])
>>> assert np.all(las.Z == [300])
We change the scales (only changing x_scale here)
but not the offsets.
The xyz coordinates (double) are the same (minus possible rounding with actual coordinates)
However the integer coordinates changed
>>> las.change_scaling(scales=[0.01, 0.1, 0.1])
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [1000])
>>> assert np.all(las.Y == [200])
>>> assert np.all(las.Z == [300])
Same idea if we change the offsets, the xyz do not change
but XYZ does
>>> las.change_scaling(offsets=[0, 10, 15])
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [1000])
>>> assert np.all(las.Y == [100])
>>> assert np.all(las.Z == [150])
| def change_scaling(self, scales=None, offsets=None) -> None:
"""This changes the scales and/or offset used for the x,y,z
dimensions.
It recomputes the internal, non-scaled X,Y,Z dimensions
to match the new scales and offsets.
It also updates the header with the new values of scales and offsets.
Parameters
----------
scales: optional
New scales to be used. If not provided, the scales won't change.
offsets: optional
New offsets to be used. If not provided, the offsets won't change.
Example
-------
>>> import laspy
>>> header = laspy.LasHeader()
>>> header.scales = np.array([0.1, 0.1, 0.1])
>>> header.offsets = np.array([0, 0 ,0])
>>> las = laspy.LasData(header=header)
>>> las.x = [10.0]
>>> las.y = [20.0]
>>> las.z = [30.0]
>>> # X = (x - x_offset) / x_scale
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [100])
>>> assert np.all(las.Y == [200])
>>> assert np.all(las.Z == [300])
We change the scales (only changing x_scale here)
but not the offsets.
The xyz coordinates (double) are the same (minus possible rounding with actual coordinates)
However the integer coordinates changed
>>> las.change_scaling(scales=[0.01, 0.1, 0.1])
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [1000])
>>> assert np.all(las.Y == [200])
>>> assert np.all(las.Z == [300])
Same idea if we change the offsets, the xyz do not change
but XYZ does
>>> las.change_scaling(offsets=[0, 10, 15])
>>> assert np.all(las.xyz == [[10.0, 20., 30]])
>>> assert np.all(las.X == [1000])
>>> assert np.all(las.Y == [100])
>>> assert np.all(las.Z == [150])
"""
self.points.change_scaling(scales, offsets)
if scales is not None:
self.header.scales = scales
if offsets is not None:
self.header.offsets = offsets
| (self, scales=None, offsets=None) -> NoneType | [
0.01964442990720272,
-0.017852602526545525,
0.015169552527368069,
0.020788947120308876,
-0.042553551495075226,
0.0025751651264727116,
-0.04765697568655014,
0.009981696493923664,
-0.02487919293344021,
0.06116603687405586,
-0.04322900250554085,
-0.05152206867933273,
0.0675453171133995,
0.004753971006721258,
-0.032440513372421265,
0.03427924960851669,
0.009235884062945843,
-0.006834272760897875,
0.05441150441765785,
0.004782114643603563,
0.04270365089178085,
-0.037694040685892105,
0.03812557831406593,
0.03298462927341461,
-0.0061541288159787655,
0.002088510664179921,
0.006820200942456722,
-0.0008091366034932435,
0.04859510436654091,
-0.04244097322225571,
-0.022196142002940178,
0.011069927364587784,
-0.0005578938289545476,
0.03521737828850746,
0.01614520698785782,
-0.018199710175395012,
0.01930670253932476,
-0.05489933490753174,
0.018134040758013725,
0.04390445724129677,
0.013593494892120361,
0.02521691843867302,
0.042478498071432114,
-0.04307890310883522,
0.040039364248514175,
0.05099671334028244,
-0.05985265597701073,
0.05456160753965378,
-0.04225334897637367,
0.03538624197244644,
0.043829407542943954,
-0.0759134292602539,
0.028650471940636635,
-0.039138760417699814,
-0.003072373801842332,
0.035405002534389496,
0.06870859861373901,
0.082555390894413,
0.06371775269508362,
-0.04720667377114296,
0.061128512024879456,
0.01168909203261137,
-0.07156050950288773,
-0.07002197951078415,
0.0013028272660449147,
-0.04060224071145058,
0.01882825791835785,
-0.019832056015729904,
0.021239249035716057,
0.013884315267205238,
-0.010910444892942905,
0.025198156014084816,
-0.029870040714740753,
-0.019381754100322723,
0.00132158980704844,
0.03587406873703003,
-0.04484258592128754,
-0.00604155333712697,
-0.03285329043865204,
-0.027018127962946892,
-0.009099855087697506,
0.00290820118971169,
0.010891682468354702,
0.03553634136915207,
0.03388523310422897,
-0.03142733499407768,
0.05662549287080765,
0.020451221615076065,
0.06822077184915543,
0.01512264646589756,
-0.005553726106882095,
-0.01823723502457142,
0.043941982090473175,
-0.0031427335925400257,
0.010075509548187256,
0.012627221643924713,
-0.01194238755851984,
-0.041990671306848526,
0.04180304706096649,
-0.002331251511350274,
0.012420833110809326,
-0.018105898052453995,
0.018331049010157585,
0.03253432735800743,
0.019569380208849907,
0.007950646802783012,
0.009517323225736618,
-0.007467510178685188,
-0.02227119170129299,
-0.004967395216226578,
0.01322762481868267,
0.01888454519212246,
-0.07043475657701492,
-0.016323450952768326,
-0.044392284005880356,
-0.048895303159952164,
0.0031732227653265,
-0.009934790432453156,
-0.06870859861373901,
-0.004582762252539396,
-0.02482290379703045,
0.020732659846544266,
0.03002014197409153,
-0.02210232987999916,
0.02309674583375454,
-0.015582329593598843,
0.01743982546031475,
0.04442980885505676,
0.006956229452043772,
-0.04052719101309776,
-0.008696459233760834,
-0.03101455792784691,
-0.06709501892328262,
0.04135274514555931,
0.07392460107803345,
-0.07557570189237595,
0.02433507703244686,
0.02767481841146946,
-0.04731924831867218,
0.02883809804916382,
-0.015329034999012947,
0.060790784657001495,
0.042103249579668045,
-0.007021898869425058,
-0.02544206939637661,
0.05065898969769478,
0.1255592405796051,
-0.01229887641966343,
-0.0848068967461586,
-0.0035062585957348347,
0.0041582584381103516,
0.013321437872946262,
0.011623423546552658,
-0.0424034483730793,
-0.017195912078022957,
-0.07321161776781082,
-0.030995795503258705,
-0.03548005595803261,
0.006215107161551714,
0.07797731459140778,
-0.0110230203717947,
0.0220460407435894,
-0.017908889800310135,
-0.0513344407081604,
-0.05497438460588455,
-0.014991307631134987,
-0.04457990825176239,
0.0035484745167195797,
0.018781350925564766,
0.02046998403966427,
0.03018900379538536,
0.003933107480406761,
-0.027543479576706886,
0.027018127962946892,
0.05155959352850914,
0.027093177661299706,
-0.03538624197244644,
-0.019325466826558113,
0.02337818406522274,
-0.021182961761951447,
0.020413696765899658,
-0.0003432967350818217,
0.030564256012439728,
0.015788717195391655,
-0.04983343556523323,
0.07167308777570724,
-0.05193484574556351,
0.0251043438911438,
-0.07426232099533081,
-0.035573866218328476,
0.02812512032687664,
-0.009507942013442516,
-0.02069513499736786,
-0.030545493587851524,
-0.021970991045236588,
0.019325466826558113,
-0.012430214323103428,
-0.07077248394489288,
0.03833196684718132,
0.013068142347037792,
0.013218243606388569,
-0.011745380237698555,
0.049683332443237305,
-0.002396920695900917,
0.034054096788167953,
-0.005380172282457352,
0.050133634358644485,
0.005295740440487862,
-0.05137196555733681,
0.006618503015488386,
0.015572948381304741,
0.014756775461137295,
-0.020169781520962715,
-0.030057666823267937,
0.008302445523440838,
0.014250185340642929,
-0.10484534502029419,
-0.008879395201802254,
0.022665206342935562,
0.0007264639716595411,
0.02812512032687664,
0.009540775790810585,
-0.04514278843998909,
0.04476753622293472,
0.012580315582454205,
0.044992685317993164,
0.09178657829761505,
-0.045217838138341904,
0.004024574998766184,
-0.03444811329245567,
-0.011482704430818558,
-0.0485575795173645,
-0.06011533364653587,
-0.02940097637474537,
0.048745203763246536,
-0.03058301843702793,
0.021689552813768387,
0.045067738741636276,
0.021952228620648384,
-0.014775537885725498,
-0.003386647207662463,
0.014165754429996014,
-0.0023253883700817823,
0.03108960948884487,
-0.045780714601278305,
-0.00279797101393342,
-0.036136746406555176,
0.03940143436193466,
-0.04619349166750908,
-0.02382848784327507,
0.004033956676721573,
0.0022984170354902744,
0.018481150269508362,
0.05396120250225067,
0.020563796162605286,
-0.019850818440318108,
-0.04694399610161781,
0.008912228979170322,
0.01013179775327444,
-0.07227349281311035,
-0.047056570649147034,
-0.09689000248908997,
-0.023622099310159683,
0.010610243305563927,
0.04307890310883522,
-0.010929207317531109,
0.020376170054078102,
0.029082011431455612,
0.008926301263272762,
0.016304688528180122,
0.032609377056360245,
0.05606261268258095,
-0.06934652477502823,
0.018471768125891685,
0.06109098717570305,
0.049570757895708084,
0.016492314636707306,
-0.02671792544424534,
0.09606444835662842,
0.04000183939933777,
0.085932657122612,
-0.012636602856218815,
-0.017421063035726547,
0.015028833411633968,
0.048745203763246536,
-0.06176644191145897,
-0.02410992607474327,
0.039138760417699814,
-0.010413236916065216,
0.02923211269080639,
-0.031840112060308456,
0.04390445724129677,
-0.008579193614423275,
-0.05685064196586609,
-0.014606675133109093,
0.003351467428728938,
-0.009057639166712761,
0.009564229287207127,
0.03354750946164131,
-0.042103249579668045,
0.00801162514835596,
-0.03928885981440544,
0.0348796509206295,
0.010535193607211113,
0.007823999039828777,
-0.026980601251125336,
0.002065057400614023,
-0.07193576544523239,
0.05351090058684349,
0.04300385341048241,
0.042215824127197266,
0.04251602664589882,
-0.05178474262356758,
-0.027543479576706886,
0.0270556528121233,
-0.007641064003109932,
0.03739383816719055,
0.026736687868833542,
0.015610473230481148,
0.06296724826097488,
-0.042478498071432114,
-0.02382848784327507,
-0.04067729040980339,
-0.006585668306797743,
0.033453695476055145,
-0.013133811764419079,
0.023903537541627884,
0.0014974890509620309,
0.016220256686210632,
-0.016839422285556793,
-0.03703735023736954,
-0.020057206973433495,
0.0038228773046284914,
-0.011295078322291374,
-0.054261405020952225,
-0.06326744705438614,
-0.013912458904087543,
0.03227165341377258,
0.030545493587851524,
-0.01057271845638752,
0.009550157003104687,
-0.027318328619003296,
-0.06446824967861176,
0.0031661868561059237,
0.027074415236711502,
0.004962704610079527,
0.05793887376785278,
-0.009775308892130852,
-0.04026451334357262,
0.015835624188184738,
-0.03358503431081772,
-0.04870767891407013,
0.00778178358450532,
0.00846661813557148,
0.051859792321920395,
-0.004327122122049332,
0.04026451334357262,
-0.07670146226882935,
0.04746934771537781,
-0.03895113244652748,
0.060340482741594315,
-0.04536793753504753,
-0.05178474262356758,
-0.022533869370818138,
0.0020603667944669724,
-0.0028824026230722666,
-0.02309674583375454,
-0.02281530760228634,
0.060227908194065094,
0.012786704115569592,
0.024128688499331474,
-0.04675636813044548,
-0.026961838826537132,
0.015066358260810375,
0.006534071173518896,
0.005764805246144533,
-0.05422388017177582,
0.016445409506559372,
-0.059064626693725586,
-0.01531965285539627,
0.023734673857688904,
-0.02516063116490841,
0.0020064243581146,
0.053210701793432236,
0.040827393531799316,
0.004055064171552658,
0.01724281907081604,
-0.02075142227113247,
0.0009340250981040299,
-0.0001448237308068201,
0.034954700618982315,
0.039814211428165436,
0.05831412598490715,
-0.01797455921769142,
-0.048294901847839355,
0.0075378697365522385,
-0.0006760394899174571,
0.07580085843801498,
0.002943380968645215,
-0.047394298017024994,
-0.01383740920573473,
-0.04596834257245064,
-0.023978587239980698,
0.022515105083584785,
-0.044279709458351135,
-0.044730011373758316,
0.03135228529572487,
0.040827393531799316,
-0.025291968137025833,
0.07790226489305496,
0.0001233493530889973,
0.019044026732444763,
0.0005901420372538269,
-0.05943987891077995,
0.01863124966621399,
0.006163510028272867,
-0.00949855986982584,
0.019147220999002457,
-0.006093150470405817,
0.0108823012560606,
-0.020057206973433495,
0.01707395538687706,
0.022683968767523766,
0.09111113101243973,
0.0496458075940609,
-0.06172891706228256,
-0.05625024065375328,
-0.032665666192770004,
-0.015507278963923454,
0.0107415821403265,
-0.0010659495601430535,
-0.02046998403966427,
0.023021696135401726,
0.007434675469994545,
0.010769725777208805,
-0.0076551358215510845,
0.010535193607211113,
0.06904632598161697,
-0.06709501892328262,
-0.03170877322554588,
0.08157973736524582,
-0.027543479576706886,
-0.027412140741944313,
-0.0037947334349155426,
-0.05527458339929581,
0.0033843019045889378,
-0.03084569424390793,
-0.027993781492114067,
-0.05703826993703842,
-0.008438474498689175,
0.002490733517333865,
0.05396120250225067,
0.023697149008512497,
-0.005117496009916067,
0.012486502528190613,
-0.07279884070158005,
-0.05309812352061272,
-0.07332419604063034,
0.030057666823267937,
-0.010385092347860336,
-0.011923625133931637,
-0.01455976814031601,
-0.01992586813867092,
-0.008738675154745579,
0.025367019698023796,
0.02182088978588581,
0.04585576429963112,
0.0006443776655942202,
-0.006482474040240049,
-0.039814211428165436,
0.03401657193899155,
-0.04660626873373985,
0.009235884062945843,
0.007345553487539291,
0.02052627131342888,
-0.007045351900160313,
-0.039138760417699814,
0.04551804065704346,
-0.05865184962749481,
0.02645524963736534,
0.01331205666065216,
-0.06514370441436768,
0.04420465975999832,
0.032834529876708984,
0.017308488488197327,
-0.029438501223921776,
-0.015751192346215248,
0.015244603157043457,
-0.03812557831406593,
0.02482290379703045,
-0.006365207955241203,
-0.0035813089925795794,
-0.02493548020720482,
0.04116511717438698,
-0.05583746358752251,
-0.008991970680654049,
0.05099671334028244,
-0.05110929161310196,
-0.00024186148948501796,
-0.0063276831060647964,
0.010760344564914703,
-0.04731924831867218,
-0.013237006030976772,
-0.019400516524910927,
0.05317317694425583,
0.019287940114736557,
-0.03634313493967056,
0.026642875745892525,
-0.02013225667178631,
-0.009052949026226997,
-0.07880286872386932,
-0.025291968137025833,
0.0014881078386679292,
0.0008542840951122344,
0.009554848074913025,
0.007012517191469669,
-0.08045397698879242,
0.06964673101902008,
0.024785378947854042,
-0.012993092648684978,
-0.014747394248843193,
0.01769312098622322,
0.03225288912653923,
-0.00438810046762228,
0.00853697769343853,
0.04593081772327423,
-0.002661942271515727,
-0.06645708531141281,
0.04758192226290703,
0.03951401263475418,
-0.02058255858719349,
-0.029607364907860756,
-0.010460142977535725,
0.08248034119606018,
0.062479417771101,
0.043829407542943954,
-0.03354750946164131,
-0.05763867124915123,
-0.02739337831735611,
-0.02561093308031559,
-0.0008372804732061923,
0.02097657322883606,
-0.009550157003104687,
-0.01414699200540781,
-0.004603870213031769,
-0.005544344894587994,
0.0001221034035552293,
0.012045581825077534,
0.04769450053572655,
-0.0343167744576931,
-0.04390445724129677,
-0.013396487571299076,
0.03985173627734184,
0.05073403939604759,
0.00710163963958621,
0.01707395538687706,
-0.005436460021883249,
-0.030451681464910507,
-0.041090067476034164,
-0.002654906129464507,
-0.024353839457035065,
0.0025399853475391865,
0.10131797939538956,
0.033284831792116165,
-0.04915798082947731,
0.010732200928032398,
-0.018068373203277588,
0.04022698849439621,
0.03217783942818642,
-0.007805236615240574,
0.029363451525568962,
0.04960828274488449,
0.017589926719665527,
0.006698243785649538,
-0.03075188212096691,
-0.014043797738850117,
0.038650933653116226,
-0.009465726092457771,
-0.018781350925564766,
-0.034673262387514114,
0.035517580807209015,
-0.033453695476055145,
-0.05820154771208763,
-0.039026182144880295,
0.03835073113441467,
0.015845006331801414,
-0.045067738741636276,
0.03287205472588539,
0.024128688499331474,
0.04251602664589882,
-0.05261029675602913,
0.028050068765878677,
-0.05812649801373482,
0.0017027049325406551,
-0.029157062992453575,
0.031070847064256668,
0.0337538979947567,
-0.04548051208257675,
0.012796085327863693,
0.04401703178882599,
-0.05658796802163124,
-0.0019700718112289906,
-0.00968149583786726,
0.006787366233766079,
-0.01823723502457142,
-0.04769450053572655,
0.0646934062242508,
0.007354934699833393,
0.0028777120169252157,
-0.022777782753109932,
0.022852832451462746,
0.034222960472106934,
-0.013846790418028831,
-0.0524601973593235,
0.003297524992376566,
-0.02846284583210945,
-0.03257185220718384,
-0.026605350896716118,
0.09246203303337097,
-0.046568743884563446,
-0.012233207933604717,
-0.015010070987045765,
-0.02193346619606018,
-0.0001226897438755259,
-0.06401795148849487,
-0.00876212865114212,
0.035742729902267456,
-0.023903537541627884,
-0.03531119227409363,
-0.05902710184454918,
0.04942065849900246,
-0.0223087165504694,
0.05718836933374405,
-0.05572488531470299,
0.03514232859015465,
0.018950214609503746,
-0.034391824156045914,
-0.013790502212941647,
0.027186989784240723,
0.017786933109164238,
0.09756545722484589,
-0.04754439741373062,
0.06690739095211029,
-0.0053848628886044025,
0.014878732152283192,
-0.006318301428109407,
0.038801033049821854,
-0.026361435651779175,
0.013631020672619343,
0.007584776263684034,
-0.024372601881623268,
0.03966411203145981,
-0.04052719101309776,
-0.005600632634013891,
0.05553726106882095,
-0.006074388045817614,
-0.012233207933604717,
-0.009972315281629562,
0.021689552813768387,
-0.056212715804576874,
-0.021633263677358627,
-0.012261351570487022,
0.02255263179540634,
0.008818416856229305,
0.052422672510147095,
-0.05351090058684349,
-0.0024719710927456617,
0.06281714886426926,
0.004425625316798687,
0.04431723430752754,
-0.019400516524910927,
-0.05429892987012863,
-0.05073403939604759,
-0.0037478269077837467,
0.05204742029309273,
-0.03842578083276749,
0.012852372601628304,
-0.057451047003269196,
-0.025010529905557632,
0.017768170684576035,
-0.025911133736371994,
0.03527366742491722,
-0.014400286599993706,
0.029419738799333572,
0.017852602526545525,
0.03683096170425415,
0.0474318228662014,
-0.025179393589496613,
-0.0029785609804093838,
0.04525536298751831,
0.049570757895708084,
-0.01735539361834526,
-0.0006983201019465923,
-0.02275902032852173,
-0.00009527876682113856,
-0.041540369391441345,
-0.04311642795801163,
-0.0017179495189338923,
0.023622099310159683,
-0.0011292733252048492,
0.012355164624750614,
-0.0009944172343239188,
-0.05474923178553581,
0.052647821605205536,
-0.02097657322883606,
-0.007242359220981598,
-0.02634267322719097,
-0.03564891591668129,
-0.013509063981473446,
0.006951538845896721,
0.017768170684576035,
0.06341754645109177,
0.050246212631464005,
-0.04548051208257675,
0.0061541288159787655,
-0.03002014197409153,
-0.053210701793432236,
0.009024805389344692,
0.024316314607858658,
0.048632629215717316,
0.02823769487440586,
0.037074875086545944,
0.03638065978884697,
-0.05377357825636864,
-0.008457236923277378,
-0.042666126042604446,
0.006749840918928385,
0.008424402214586735,
-0.018781350925564766,
-0.02232748083770275,
0.01755240187048912,
0.046718843281269073,
0.008278992027044296,
0.01314319297671318,
-0.009944171644747257,
0.011792286299169064,
-0.017421063035726547,
-0.03129599615931511,
-0.01896897703409195,
0.0040128487162292,
-0.007974100299179554,
-0.01860310696065426,
-0.001801208476535976,
-0.027881206944584846,
-0.04930808022618294,
0.02405363880097866,
-0.04446733370423317,
0.02165202610194683,
0.00968149583786726,
0.04469248652458191,
0.03581777960062027,
-0.00597119377925992,
-0.037300024181604385,
-0.04758192226290703,
0.047056570649147034,
-0.07020960748195648,
0.026661638170480728,
0.008161725476384163,
0.03883855789899826,
-0.03951401263475418,
-0.005478675942867994,
0.0007927193655632436,
-0.00499553931877017,
0.08248034119606018,
0.05662549287080765,
0.00015845592133700848,
-0.00445846002548933,
0.03274071589112282
]
|
31,531 | laspy.lasdata | remove_extra_dim | Remove an extra dimensions from this object
.. note::
If you plan on removing multiple extra dimensions,
prefer :meth:`.remove_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
name: str,
name of the extra dimension to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
| def remove_extra_dim(self, name: str) -> None:
"""Remove an extra dimensions from this object
.. note::
If you plan on removing multiple extra dimensions,
prefer :meth:`.remove_extra_dims` as it will
save re-allocations and data copy
Parameters
----------
name: str,
name of the extra dimension to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
"""
self.remove_extra_dims([name])
| (self, name: str) -> NoneType | [
-0.015659837052226067,
0.019638556987047195,
-0.012284724973142147,
0.050499144941568375,
0.015498307533562183,
0.008208236657083035,
-0.026728840544819832,
0.00506691774353385,
0.07760205864906311,
0.01737714745104313,
0.03856298327445984,
-0.023719295859336853,
-0.010346373543143272,
-0.023362232372164726,
-0.0026907373685389757,
-0.01492020208388567,
0.07773808389902115,
0.030010435730218887,
0.0034452490508556366,
-0.0010090265423059464,
-0.0020106141455471516,
0.0014601395232602954,
0.005330465268343687,
-0.011655610986053944,
0.012624786235392094,
0.04920691251754761,
0.06991666555404663,
0.022801129147410393,
0.010507903061807156,
-0.06614197790622711,
-0.09487718343734741,
-0.01486919354647398,
-0.012641789391636848,
0.04692849889397621,
-0.03965118154883385,
-0.0008666256908327341,
-0.024518441408872604,
-0.01060141995549202,
-0.037814848124980927,
-0.0009436709224246442,
0.037814848124980927,
0.02686486579477787,
0.061925217509269714,
-0.03533240035176277,
0.0364886075258255,
-0.01622943952679634,
0.030520528554916382,
0.02023366466164589,
-0.08889210224151611,
0.04393595829606056,
0.017581183463335037,
0.005215694662183523,
0.02795306220650673,
0.03805289417505264,
0.00811471976339817,
-0.025147555395960808,
0.029976429417729378,
0.048492781817913055,
0.031353678554296494,
-0.041759565472602844,
-0.025453610345721245,
0.032084811478853226,
0.016042405739426613,
-0.018975436687469482,
-0.02407636120915413,
-0.0006301766261458397,
-0.0014558887341991067,
0.03482230752706528,
-0.050567157566547394,
-0.017870236188173294,
-0.01051640510559082,
-0.003270967397838831,
-0.0007306010811589658,
0.012539771385490894,
-0.020675744861364365,
-0.00047156980144791305,
0.0054324837401509285,
-0.045534245669841766,
0.02120283991098404,
-0.02501153014600277,
0.001223159022629261,
0.017598187550902367,
0.006677959579974413,
0.05543003976345062,
0.002067999681457877,
0.024756483733654022,
-0.013806500472128391,
0.013134879060089588,
0.013542952947318554,
-0.04308580234646797,
0.035842493176460266,
0.030197469517588615,
-0.03652261570096016,
0.003970219288021326,
0.0325268916785717,
-0.01934950426220894,
0.018584366887807846,
-0.01621243730187416,
0.041759565472602844,
-0.003453750628978014,
-0.014520630240440369,
-0.041657544672489166,
-0.017921246588230133,
0.007931936532258987,
-0.017054088413715363,
-0.003810815280303359,
0.03327502682805061,
-0.059884846210479736,
-0.021763941273093224,
0.05104324594140053,
0.00909664761275053,
0.030962608754634857,
-0.01625494472682476,
0.016526993364095688,
0.013789497315883636,
0.021610913798213005,
-0.013849008828401566,
-0.034261204302310944,
-0.021746939048171043,
0.03368310257792473,
-0.016773538663983345,
0.01726662740111351,
-0.014325094409286976,
-0.018924428150057793,
-0.005105174612253904,
0.029993431642651558,
0.007417593616992235,
-0.0007523862877860665,
-0.0074941073544323444,
-0.0479486845433712,
0.01715610735118389,
-0.0500570647418499,
-0.032050807029008865,
-0.02671183831989765,
0.010320869274437428,
-0.00237830588594079,
0.08324708044528961,
-0.057062335312366486,
0.010881970636546612,
-0.032254841178655624,
-0.039005063474178314,
0.05403578653931618,
-0.022461067885160446,
0.028327131643891335,
-0.02507954277098179,
-0.004807620774954557,
-0.03276493400335312,
-0.04720054939389229,
0.0037938121240586042,
-0.018873417750000954,
-0.10480698198080063,
0.02676284685730934,
-0.0400252491235733,
-0.05726637318730354,
0.012106192298233509,
0.03240786865353584,
-0.004097742028534412,
-0.029381321743130684,
-0.030911598354578018,
-0.01919647678732872,
-0.031370680779218674,
-0.03835894912481308,
-0.002703489735722542,
-0.051519330590963364,
-0.06998467445373535,
-0.05546404421329498,
0.04604433849453926,
-0.0071965535171329975,
-0.05355970188975334,
0.08351913094520569,
0.046520426869392395,
0.0419635996222496,
0.04223565012216568,
-0.015362282283604145,
-0.06406760215759277,
0.07127691060304642,
-0.01436760276556015,
0.000591388379689306,
-0.007948939688503742,
-0.028293125331401825,
0.004442054778337479,
-0.017870236188173294,
-0.013534451834857464,
-0.030282484367489815,
0.028208108618855476,
-0.05097523331642151,
-0.029619364067912102,
0.028174102306365967,
0.012777814641594887,
0.05451187491416931,
0.03453325480222702,
0.03283294662833214,
0.03920910134911537,
0.015880877152085304,
0.03334303945302963,
0.01807427406311035,
0.028225112706422806,
0.013279405422508717,
0.04318782314658165,
-0.032951969653367996,
-0.015659837052226067,
0.0423036627471447,
-0.0037066712975502014,
0.014053045772016048,
0.011196527630090714,
0.027374958619475365,
-0.001493082963861525,
-0.026354772970080376,
-0.02887122891843319,
0.02111782506108284,
0.04594232141971588,
0.03347906470298767,
0.06753623485565186,
-0.021644920110702515,
0.08902812749147415,
-0.01290533784776926,
-0.04192959517240524,
0.013245399110019207,
0.07773808389902115,
0.013593962416052818,
-0.04352788254618645,
0.010320869274437428,
0.03536640480160713,
0.04903688281774521,
-0.03621656075119972,
-0.009938299655914307,
0.017479166388511658,
-0.0028607682324945927,
0.06791029870510101,
-0.01929849572479725,
0.014656654559075832,
-0.017666200175881386,
-0.008463283069431782,
-0.05468190461397171,
0.017802223563194275,
0.07046075910329819,
-0.034193191677331924,
-0.06552986800670624,
0.061959221959114075,
-0.0384269617497921,
-0.033173009753227234,
0.006465421058237553,
-0.029398323968052864,
0.07202504575252533,
0.007217807229608297,
0.013279405422508717,
-0.015141242183744907,
0.057062335312366486,
-0.0006179556949064136,
0.009071143344044685,
-0.005683279596269131,
-0.0074515994638204575,
0.03757680580019951,
0.06372754275798798,
0.017045587301254272,
-0.012471758760511875,
-0.05400178208947182,
-0.02411036752164364,
-0.02893924154341221,
-0.03733876347541809,
-0.015778858214616776,
-0.02786804735660553,
0.01048239879310131,
0.026677832007408142,
-0.0008166791521944106,
0.011791635304689407,
0.03182976692914963,
-0.0015185875818133354,
0.0024208135437220335,
-0.015030722133815289,
-0.03757680580019951,
0.06709415465593338,
0.057912491261959076,
-0.011723623611032963,
0.012692798860371113,
-0.03337704390287399,
0.025283578783273697,
0.047608621418476105,
0.00359402596950531,
0.042813755571842194,
0.022682107985019684,
-0.05362771451473236,
-0.012820322066545486,
0.06155114993453026,
-0.059102706611156464,
-0.018057269975543022,
0.02309018187224865,
-0.0516553558409214,
-0.03276493400335312,
-0.015260264277458191,
-0.017615189775824547,
-0.0002805508265737444,
0.020505713298916817,
0.021678926423192024,
-0.015226257964968681,
-0.002089253393933177,
-0.06433965265750885,
0.05291358381509781,
-0.007043525576591492,
0.07318125665187836,
0.07372535020112991,
0.0326119065284729,
-0.05485193431377411,
0.004956397693604231,
0.042643722146749496,
-0.0366586409509182,
0.028446152806282043,
0.013287906534969807,
-0.02206999808549881,
0.04716654121875763,
-0.004518568515777588,
-0.011672614142298698,
-0.06692412495613098,
0.047608621418476105,
0.024501437321305275,
0.029143279418349266,
0.09739363938570023,
-0.002363428007811308,
0.00475661177188158,
0.06025891378521919,
0.03087759204208851,
-0.0497170053422451,
-0.09650947898626328,
-0.03380212187767029,
-0.00025942979846149683,
-0.019383510574698448,
0.009717260487377644,
-0.02786804735660553,
0.020658742636442184,
0.00041338737355545163,
-0.03267991915345192,
-0.029976429417729378,
-0.02790205366909504,
-0.03526438772678375,
0.006223127245903015,
-0.07250113040208817,
0.0138830142095685,
0.01149408146739006,
0.0035727720241993666,
0.00405098358169198,
-0.01909445784986019,
0.013160383328795433,
-0.033207014203071594,
0.028429148718714714,
0.03628457337617874,
-0.02123684622347355,
0.01807427406311035,
-0.01048239879310131,
0.027459973469376564,
0.030520528554916382,
0.06056496873497963,
-0.005997836589813232,
-0.05648422986268997,
0.003906457684934139,
0.09433308243751526,
0.07420144230127335,
-0.030095450580120087,
0.08236292004585266,
-0.014784177765250206,
-0.02288614585995674,
-0.0001952697493834421,
-0.003912833519279957,
0.030435511842370033,
-0.003130692057311535,
-0.013815002515912056,
-0.07209305465221405,
-0.0026949881576001644,
-0.0153792854398489,
-0.0025887188967317343,
-0.01094148214906454,
-0.04998905584216118,
-0.04128347709774971,
0.014435614459216595,
0.011995673179626465,
-0.029466336593031883,
0.030503524467349052,
0.003657787572592497,
0.013636469841003418,
-0.01711359992623329,
-0.002603596542030573,
-0.010006312280893326,
0.010431389324367046,
0.0086375642567873,
-0.02292015217244625,
0.018907424062490463,
0.015855371952056885,
-0.06709415465593338,
-0.020862778648734093,
-0.017904242500662804,
-0.011324050836265087,
0.020709751173853874,
-0.018550360575318336,
0.006456919480115175,
0.023328226059675217,
-0.02385532110929489,
-0.011034999042749405,
-0.09392501413822174,
0.008799093775451183,
-0.11412467062473297,
0.019434520974755287,
0.0034558759070932865,
-0.04056934639811516,
-0.007744902744889259,
0.03910708427429199,
-0.027544988319277763,
-0.03669264540076256,
-0.05077119544148445,
0.10310667753219604,
-0.0238893274217844,
0.03910708427429199,
0.034465242177248,
0.03767882287502289,
-0.009929798543453217,
0.007132791914045811,
0.03907307609915733,
0.05104324594140053,
0.05094122514128685,
-0.03336004167795181,
0.0325268916785717,
0.013815002515912056,
-0.007885178551077843,
0.014265583828091621,
-0.007311324123293161,
0.03580848500132561,
-0.02312418818473816,
0.010754448361694813,
-0.07379336655139923,
0.017445160076022148,
-0.02320920303463936,
0.0020563099533319473,
-0.08134273439645767,
-0.03931111842393875,
0.020845776423811913,
-0.014554636552929878,
-0.02001262456178665,
-0.02193397283554077,
-0.008994629606604576,
-0.01740265265107155,
-0.036896683275699615,
0.015362282283604145,
0.02392333373427391,
0.009487718343734741,
0.01909445784986019,
-0.038120903074741364,
0.007868175394833088,
-0.0024186880327761173,
-0.03176175430417061,
0.03635258600115776,
0.0072858198545873165,
-0.08011851459741592,
0.07107287645339966,
0.025181561708450317,
0.017717208713293076,
-0.05111125856637955,
0.04737057909369469,
-0.05451187491416931,
-0.014274084940552711,
-0.06399959325790405,
-0.00958973728120327,
-0.0011094509391114116,
-0.039719194173812866,
0.05403578653931618,
-0.06301341205835342,
-0.021763941273093224,
0.049512967467308044,
0.039889223873615265,
0.018601369112730026,
-0.03458426520228386,
0.006061597727239132,
-0.026405783370137215,
0.04879884049296379,
-0.019468525424599648,
0.03281594440340996,
-0.013500445522367954,
0.028344133868813515,
-0.014665156602859497,
-0.006864993367344141,
0.03948115184903145,
0.07950639724731445,
0.031064625829458237,
0.015804363414645195,
-0.050329115241765976,
0.004824623931199312,
-0.017598187550902367,
0.004875632934272289,
0.03482230752706528,
-0.04995504766702652,
-0.026269758120179176,
0.05015908554196358,
0.02504553645849228,
-0.05179138109087944,
0.00743459677323699,
-0.008765087462961674,
-0.01722411997616291,
0.040807392448186874,
-0.008527044206857681,
-0.012233715504407883,
-0.025232570245862007,
0.04964899271726608,
0.03999124467372894,
-0.02677985094487667,
-0.020641738548874855,
-0.014359100721776485,
-0.02021666243672371,
0.010652429424226284,
-0.016008399426937103,
0.0023549264296889305,
0.049478963017463684,
-0.009343191981315613,
-0.0021498268470168114,
-0.07624180614948273,
0.0057045333087444305,
0.017496168613433838,
0.054137807339429855,
0.041725557297468185,
-0.009275180287659168,
-0.051315292716026306,
0.035060349851846695,
0.07637783139944077,
0.008816096931695938,
0.0021689552813768387,
0.007706645876169205,
-0.003800188424065709,
0.041691552847623825,
-0.03065655194222927,
0.001961730420589447,
-0.021525898948311806,
-0.0481187142431736,
0.033139001578092575,
0.09147656708955765,
0.03543441742658615,
0.041895586997270584,
-0.01301585789769888,
-0.0026014712639153004,
0.03276493400335312,
0.00014266646758187562,
-0.07549367100000381,
-0.006860742811113596,
0.00300741964019835,
0.01902644708752632,
0.021508896723389626,
-0.05689230561256409,
0.07148094475269318,
-0.017819227650761604,
-0.09603339433670044,
0.034006159752607346,
0.006422913167625666,
0.04883284494280815,
0.021695930510759354,
-0.026592817157506943,
-0.04043332487344742,
-0.013058365322649479,
-0.03863099589943886,
-0.035060349851846695,
0.09684953838586807,
-0.04730256646871567,
-0.043697915971279144,
-0.029160281643271446,
-0.021899966523051262,
-0.007766156457364559,
-0.015566319227218628,
-0.046452414244413376,
0.11555293202400208,
-0.019774582237005234,
-0.022512078285217285,
0.029177283868193626,
-0.06121108680963516,
-0.02783404104411602,
-0.037032708525657654,
-0.016994578763842583,
-0.04621437191963196,
-0.03443123772740364,
0.01838032901287079,
0.03336004167795181,
-0.048560794442892075,
0.017819227650761604,
0.06808032840490341,
0.06229928508400917,
-0.024280397221446037,
0.006950008682906628,
0.005117927212268114,
0.014699161984026432,
-0.01826130785048008,
0.016909562051296234,
-0.04699651151895523,
0.0026078473310917616,
0.05502196401357651,
-0.036080535501241684,
-0.027034897357225418,
0.05080520361661911,
0.06668607890605927,
-0.029177283868193626,
0.051179271191358566,
-0.027442971244454384,
0.017768219113349915,
0.018924428150057793,
-0.009258177131414413,
-0.04805070161819458,
-0.0022274034563452005,
0.03267991915345192,
-0.014214574359357357,
-0.04298378527164459,
0.03924310952425003,
0.030996615067124367,
-0.012709802016615868,
0.041861582547426224,
-0.01620393432676792,
-0.008697074837982655,
-0.030197469517588615,
-0.039957236498594284,
-0.016526993364095688,
0.015761854127049446,
-0.07358933240175247,
-0.008293252438306808,
-0.010278361849486828,
-0.008901111781597137,
0.03193178400397301,
-0.01911146193742752,
-0.0006423976155929267,
0.00645266892388463,
0.0061891209334135056,
-0.029398323968052864,
-0.02002962864935398,
-0.03927711397409439,
-0.023702293634414673,
-0.03716873377561569,
0.019587548449635506,
-0.00916466023772955,
-0.034176189452409744,
-0.018669381737709045,
-0.05087321624159813,
-0.027357954531908035,
-0.019621554762125015,
-0.08290701359510422,
-0.009402703493833542,
-0.017581183463335037,
-0.03291796147823334,
-0.059884846210479736,
-0.02399134635925293,
0.025368595495820045,
0.05539603531360626,
0.02786804735660553,
-0.04431002587080002,
0.04206562042236328,
-0.05845658853650093,
0.009810777381062508,
0.00024016850511543453,
-0.037066712975502014,
0.023260213434696198,
0.013092371635138988,
-0.0135259497910738,
-0.005508997943252325,
0.002967037493363023,
-0.017011580988764763,
0.015889378264546394,
0.054341841489076614,
-0.023821314796805382,
0.025198563933372498,
-0.03580848500132561,
-0.02023366466164589,
0.0258276779204607,
-0.02392333373427391,
0.008004199713468552,
0.0597488209605217,
0.040841396898031235,
-0.002493076492100954,
-0.014520630240440369,
-0.04318782314658165,
0.03477129712700844,
-0.03567245975136757,
-0.04519418627023697,
-0.004896887112408876,
-0.010439891368150711,
-0.04597632586956024,
-0.014231577515602112,
0.011740626767277718,
-0.017649196088314056,
0.02385532110929489,
0.05556606501340866,
0.01541329175233841,
-0.05583811551332474,
0.025691652670502663,
0.055226001888513565,
-0.011307047680020332,
0.019825590774416924,
0.035026345402002335,
-0.003668414428830147,
0.025436608120799065,
-0.024739481508731842,
0.03181276097893715,
-0.04638440161943436,
0.019570544362068176,
0.03060554340481758,
0.00959823839366436,
0.009530225768685341,
-0.02118583768606186,
0.020947793498635292,
-0.03196578845381737,
0.006656705867499113,
-0.012514266185462475,
-0.00045616074930876493,
0.03288395702838898,
-0.05451187491416931,
-0.011009493842720985,
0.022631099447607994,
0.04964899271726608,
0.021593911573290825,
-0.03203380107879639,
-0.03077557496726513,
-0.003296472132205963,
-0.041657544672489166,
0.0191284641623497,
0.08793992549180984,
0.003190202871337533,
-0.014002036303281784,
0.05264153331518173,
0.0289902500808239,
-0.041725557297468185,
-0.023566268384456635,
0.05400178208947182,
0.004973400849848986,
0.06882846355438232,
0.02975538931787014,
0.019672563299536705,
-0.08127471804618835,
-0.011120013892650604,
-0.031217655166983604,
-0.09004831314086914,
0.007978695444762707,
-0.005989335011690855,
-0.0629454031586647,
0.019434520974755287,
0.007736401166766882,
0.08875607699155807,
0.029364319518208504,
0.039787206798791885,
0.0306735560297966,
0.03948115184903145,
-0.023447247222065926,
-0.05080520361661911,
0.0004513786407187581,
0.003804438980296254,
0.00013841569307260215,
-0.006397408898919821,
0.03829093649983406,
-0.012888334691524506,
0.024569449946284294,
0.09208867698907852,
-0.04009326174855232,
0.018907424062490463,
0.10174643248319626,
-0.01838032901287079,
-0.018584366887807846,
0.034023161977529526,
-0.05597413703799248,
-0.0327819362282753,
0.05372973158955574,
-0.029534349218010902,
0.0016216686926782131,
-0.03761081397533417,
-0.02215501293540001,
0.015574821271002293,
0.0011795886093750596,
0.03662463277578354,
-0.0014229451771825552,
-0.018856415525078773,
0.03167673572897911,
-0.01641647331416607
]
|
31,532 | laspy.lasdata | remove_extra_dims | Remove multiple extra dimensions from this object
Parameters
----------
names: iterable,
names of the extra dimensions to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
| def remove_extra_dims(self, names: Iterable[str]) -> None:
"""Remove multiple extra dimensions from this object
Parameters
----------
names: iterable,
names of the extra dimensions to be removed
Raises
------
LaspyException: if you try to remove an extra dimension that do not exist.
"""
extra_dimension_names = list(self.point_format.extra_dimension_names)
not_extra_dimension = [
name for name in names if name not in extra_dimension_names
]
if not_extra_dimension:
raise errors.LaspyException(
f"'{not_extra_dimension}' are not extra dimensions and cannot be removed"
)
self.header.remove_extra_dims(names)
new_point_record = record.ScaleAwarePointRecord.zeros(
len(self.points), header=self.header
)
new_point_record.copy_fields_from(self.points)
self.points = new_point_record
| (self, names: Iterable[str]) -> NoneType | [
-0.041807591915130615,
-0.0015670987777411938,
-0.03445559740066528,
0.038186460733413696,
-0.041661281138658524,
-0.015088041312992573,
-0.008705342188477516,
0.035004254430532455,
0.05940116196870804,
0.06715550273656845,
-0.0004957907367497683,
-0.030011486262083054,
0.0023054983466863632,
-0.03068816103041172,
0.0066204494796693325,
0.0014459373196586967,
0.07275179028511047,
0.015526966191828251,
0.015106329694390297,
-0.025165023282170296,
0.0003689140430651605,
-0.02145245112478733,
-0.012481925077736378,
0.0066615985706448555,
0.014667404815554619,
0.04312436282634735,
0.06232732534408569,
0.02748766727745533,
0.02123298868536949,
-0.01708149164915085,
-0.07534876465797424,
0.020501447841525078,
-0.031986646354198456,
0.04897669702768326,
-0.011229160241782665,
-0.014475375413894653,
-0.02286066859960556,
-0.001763700507581234,
-0.017200367525219917,
0.04513610526919365,
0.0370342843234539,
0.00551856542006135,
0.046635761857032776,
-0.036650221794843674,
0.0280911885201931,
0.01768501289188862,
0.03165745362639427,
0.01987963728606701,
-0.046855226159095764,
0.03469334915280342,
0.034016676247119904,
-0.0030130359809845686,
0.03924719616770744,
0.05925485119223595,
-0.0020208831410855055,
0.00981179904192686,
0.07128870487213135,
0.1224600300192833,
0.001145891030319035,
-0.048245154321193695,
-0.023427613079547882,
0.02746937982738018,
0.0210501030087471,
-0.031163662672042847,
-0.005271669942885637,
-0.03686968609690666,
0.021342720836400986,
0.004492121282964945,
-0.06492429971694946,
-0.00661130528897047,
-0.01986134797334671,
-0.03655878081917763,
-0.03185862675309181,
0.045831069350242615,
0.01422847993671894,
0.0036622791085392237,
0.0030038917902857065,
-0.012070433236658573,
0.02567710354924202,
-0.041039470583200455,
-0.024744387716054916,
0.0033536599949002266,
-0.008184119127690792,
0.08456618338823318,
0.03535173833370209,
0.05047635734081268,
0.012216741219162941,
0.046416301280260086,
0.0401250459253788,
-0.008485879749059677,
0.0028690139297395945,
0.03202322497963905,
-0.04129550978541374,
-0.014219335280358791,
0.0340898297727108,
0.010945688001811504,
-0.009683779440820217,
-0.02767055295407772,
0.03107221983373165,
-0.00869162566959858,
-0.0017385538667440414,
-0.09670977294445038,
-0.0016219643875956535,
0.018480563536286354,
-0.010799380019307137,
-0.00048664648784324527,
0.033815499395132065,
-0.05435352399945259,
-0.03355946019291878,
0.02309841848909855,
0.003742291359230876,
0.01622192934155464,
0.012811118736863136,
0.026737837120890617,
-0.011357179842889309,
-0.015810437500476837,
-0.0041514975018799305,
-0.03749149665236473,
-0.03350459411740303,
0.006213529501110315,
-0.04751361161470413,
0.023006975650787354,
-0.024817541241645813,
-0.011384612880647182,
-0.023756805807352066,
0.03796699643135071,
0.03551633283495903,
0.015526966191828251,
-0.0021694775205105543,
-0.06243705749511719,
0.0042452262714505196,
-0.038223035633563995,
-0.046452876180410385,
-0.02103181555867195,
-0.026006296277046204,
-0.04498979449272156,
0.06485114246606827,
-0.060681357979774475,
0.03946665674448013,
-0.04773307591676712,
-0.051244474947452545,
0.06591188162565231,
-0.006419275887310505,
0.04594079777598381,
-0.05091528221964836,
0.038808271288871765,
0.008600183762609959,
-0.05102501064538956,
-0.007214826997369528,
0.0004917901242151856,
-0.0862487256526947,
0.015609264373779297,
-0.056657880544662476,
-0.05881592631340027,
-0.011357179842889309,
-0.01253679022192955,
0.006492429878562689,
-0.026372067630290985,
-0.012180164456367493,
0.025037003681063652,
-0.025914853438735008,
-0.06368067860603333,
-0.016816306859254837,
-0.021745067089796066,
-0.0661313384771347,
-0.039210617542266846,
0.03566264361143112,
-0.02448834851384163,
-0.031437989324331284,
0.08061586320400238,
0.06514376401901245,
0.06463167816400528,
0.06748469173908234,
0.00042006478179246187,
-0.032590169459581375,
0.027780283242464066,
0.006227246019989252,
-0.047440458089113235,
0.015929313376545906,
-0.035406604409217834,
0.03337657451629639,
-0.036796532571315765,
0.0004034907906316221,
-0.032206110656261444,
0.029170213267207146,
0.009048252366483212,
-0.02845695987343788,
0.02169020287692547,
-0.012244174256920815,
0.025165023282170296,
0.0381133072078228,
0.03549804538488388,
0.012481925077736378,
0.05449983477592468,
0.023354459553956985,
0.044038791209459305,
0.002574111334979534,
-0.0068810610100626945,
0.01433821115642786,
-0.029773734509944916,
-0.0662044957280159,
0.03006635047495365,
-0.021909665316343307,
-0.04458744823932648,
0.030761314556002617,
0.05289044231176376,
0.0180507842451334,
-0.0401250459253788,
-0.02587827667593956,
0.007914363406598568,
0.06869173794984818,
0.01795019581913948,
0.04308778792619705,
-0.016697432845830917,
0.060900818556547165,
0.01505146361887455,
-0.06942328065633774,
0.018041638657450676,
0.03328513354063034,
-0.0016631135949864984,
-0.0030358966905623674,
0.005340252071619034,
0.01674315333366394,
0.03825961425900459,
-0.01002211682498455,
0.018197091296315193,
0.04996427521109581,
-0.01193326897919178,
0.032608456909656525,
-0.016898605972528458,
0.0020300273317843676,
-0.03324855491518974,
-0.05837700143456459,
-0.0321146659553051,
0.009071113541722298,
0.030011486262083054,
-0.0027798572555184364,
-0.06397329270839691,
0.06053505092859268,
0.0028095762245357037,
-0.040856584906578064,
0.004992770031094551,
-0.03877169266343117,
0.02126956544816494,
0.022750936448574066,
-0.011722950264811516,
-0.039027731865644455,
0.031419701874256134,
-0.00009565761138219386,
0.028219208121299744,
0.011055419221520424,
0.007246831897646189,
0.046855226159095764,
0.05139078199863434,
0.008888227865099907,
-0.027652263641357422,
-0.014877722598612309,
-0.046635761857032776,
-0.0041080620139837265,
-0.0760803073644638,
0.0018540001474320889,
-0.012893416918814182,
0.024415193125605583,
0.034181270748376846,
0.02309841848909855,
0.02028198540210724,
0.06203471124172211,
0.0022677783854305744,
-0.005006486549973488,
-0.005395117681473494,
-0.07322729378938675,
0.054646141827106476,
0.0025329620111733675,
-0.00501563074067235,
0.030651584267616272,
0.015225204639136791,
0.012792830355465412,
0.004478404764086008,
0.01312202401459217,
0.026152605190873146,
0.07304440438747406,
-0.032004933804273605,
-0.004556131083518267,
0.06700918823480606,
0.004549272824078798,
0.023592209443449974,
0.016011612489819527,
-0.039430081844329834,
-0.030395545065402985,
-0.0200625229626894,
-0.02264120616018772,
0.02026369608938694,
0.053439099341630936,
-0.018142227083444595,
-0.05230521038174629,
-0.0023706513457000256,
-0.04436798393726349,
0.04155154898762703,
-0.01573728397488594,
0.05475587397813797,
0.025786833837628365,
-0.002679270226508379,
0.017575282603502274,
0.027048742398619652,
0.061303168535232544,
-0.06075451150536537,
0.022988688200712204,
-0.026408644393086433,
0.001009298488497734,
0.021909665316343307,
-0.005623724311590195,
0.025585660710930824,
-0.06532664597034454,
0.009121406823396683,
0.05135420709848404,
0.07055716961622238,
0.08046954870223999,
0.004588135983794928,
0.006263823248445988,
0.05676761269569397,
0.01587444730103016,
-0.08076217025518417,
-0.08068901300430298,
-0.0020174540113657713,
-0.030980776995420456,
0.00833042711019516,
-0.012472780421376228,
-0.012125298380851746,
0.008531601168215275,
0.004309236072003841,
-0.04868407920002937,
-0.03928377106785774,
-0.0017785599920898676,
-0.0008504168363288045,
0.030797893181443214,
-0.055085066705942154,
-0.017995918169617653,
0.014795424416661263,
0.051061589270830154,
-0.012984859757125378,
-0.03553462401032448,
-0.012820262461900711,
-0.06002297252416611,
0.01565498486161232,
0.0002420373202767223,
-0.0032827919349074364,
0.04060054570436478,
0.009089401923120022,
0.04067369922995567,
0.0280911885201931,
0.00046292852493934333,
-0.005459127482026815,
-0.03184033930301666,
0.040417660027742386,
0.08566349744796753,
0.041624706238508224,
-0.040820010006427765,
0.06119343638420105,
0.015490388497710228,
-0.03655878081917763,
0.03635760769248009,
0.0007778342114761472,
0.042612284421920776,
0.014511952176690102,
0.0024826684966683388,
-0.040417660027742386,
0.003854308743029833,
-0.038625385612249374,
-0.023592209443449974,
-0.036229588091373444,
-0.05292702093720436,
-0.03213295713067055,
0.0070502301678061485,
0.01495087705552578,
-0.028950750827789307,
0.023957980796694756,
0.006181524600833654,
0.03394351899623871,
-0.019605308771133423,
0.011759527958929539,
-0.050622664391994476,
-0.014795424416661263,
0.009756932966411114,
0.0029650286305695772,
0.032206110656261444,
0.01716378889977932,
-0.042209938168525696,
-0.03130996972322464,
-0.03968612104654312,
0.007178249768912792,
0.05073239654302597,
-0.024945560842752457,
0.007736050058156252,
0.014703981578350067,
-0.03154772147536278,
-0.008115537464618683,
-0.08346886932849884,
0.017803888767957687,
-0.06774073094129562,
0.009500893764197826,
0.008801356889307499,
-0.05735284462571144,
-0.04312436282634735,
0.058486733585596085,
-0.04056397080421448,
-0.035644352436065674,
-0.028365517035126686,
0.05471929535269737,
-0.014786280691623688,
0.05318306013941765,
0.04572133719921112,
0.05691391974687576,
0.021708490327000618,
-0.008444731123745441,
0.028146054595708847,
0.07542191445827484,
0.013524371199309826,
-0.004284089431166649,
0.029023904353380203,
0.02068433351814747,
0.03675995394587517,
-0.02165362425148487,
-0.0200442336499691,
0.03705257177352905,
-0.011448622681200504,
-0.010552484542131424,
-0.09568561613559723,
-0.003515970893204212,
0.013314053416252136,
0.006679887417703867,
-0.08595611155033112,
-0.038186460733413696,
-0.016084766015410423,
-0.036650221794843674,
-0.011393757537007332,
-0.007507443428039551,
-0.014036450535058975,
0.010954832658171654,
-0.03474821522831917,
0.015115473419427872,
-0.016990048810839653,
-0.004425825551152229,
-0.003808587323874235,
-0.05556056648492813,
0.0049150437116622925,
-0.0160207562148571,
-0.04700153321027756,
0.0003034753608517349,
-0.013286620378494263,
-0.04056397080421448,
0.05171997472643852,
0.022622916847467422,
0.03732689842581749,
-0.09041851758956909,
0.057316266000270844,
-0.030962489545345306,
-0.0018962924368679523,
-0.0641195997595787,
-0.0028141483198851347,
-0.015508677810430527,
0.0023523627314716578,
-0.002452949760481715,
-0.04648945480585098,
-0.0035639782436192036,
0.01535322517156601,
0.023921404033899307,
-0.0010733084054663777,
-0.06251021474599838,
-0.013588380999863148,
0.006035216618329287,
0.0682162344455719,
-0.05643841624259949,
0.06368067860603333,
-0.0027569965459406376,
-0.003890885738655925,
-0.009958107024431229,
0.016916895285248756,
0.05076897144317627,
0.0381498821079731,
0.0008835648186504841,
-0.007310841698199511,
-0.04780622944235802,
-0.015801293775439262,
-0.024927273392677307,
0.009674634784460068,
0.048428039997816086,
-0.07381252944469452,
-0.027359647676348686,
0.02030027285218239,
0.06353437155485153,
-0.010296445339918137,
-0.004979053512215614,
-0.008184119127690792,
-0.027012165635824203,
0.04572133719921112,
-0.005934629589319229,
0.020922083407640457,
-0.024415193125605583,
0.05168339982628822,
0.011466911062598228,
-0.020172253251075745,
-0.028402093797922134,
0.024031134322285652,
-0.03515056520700455,
0.039649542421102524,
-0.03008463978767395,
0.05998639389872551,
0.029810311272740364,
-0.04312436282634735,
-0.023409323766827583,
-0.09685607999563217,
-0.036211296916007996,
0.013314053416252136,
0.05373171344399452,
0.04250255599617958,
0.006903921719640493,
-0.04078343138098717,
0.05797465518116951,
0.047623343765735626,
0.02684756927192211,
0.016514547169208527,
-0.020757487043738365,
-0.023829961195588112,
0.05793807655572891,
-0.04509952664375305,
0.008284706622362137,
-0.013826131820678711,
-0.03193178027868271,
0.043234094977378845,
0.03866196051239967,
0.02267778292298317,
0.0521588996052742,
-0.01114686205983162,
-0.02748766727745533,
0.06144947558641434,
0.021434161812067032,
-0.051098164170980453,
-0.019897926598787308,
0.041405241936445236,
0.014676549471914768,
0.04513610526919365,
-0.0311087965965271,
0.024195730686187744,
0.012052143923938274,
-0.08332256227731705,
0.009683779440820217,
-0.006885633338242769,
-0.002821006579324603,
0.04992770031094551,
-0.01795019581913948,
-0.033230267465114594,
-0.018361689522862434,
-0.0071233841590583324,
-0.027615686878561974,
0.06346121430397034,
-0.04129550978541374,
-0.013460361398756504,
-0.0350591205060482,
-0.03407153859734535,
0.0017396968323737383,
-0.007964656688272953,
-0.05289044231176376,
0.13292106986045837,
-0.006593016907572746,
-0.07253232598304749,
0.023756805807352066,
-0.05991324037313461,
-0.028950750827789307,
-0.051829706877470016,
0.010296445339918137,
-0.02163533680140972,
0.022385166957974434,
-0.008645905181765556,
0.01766672357916832,
-0.02628062479197979,
-0.032791342586278915,
0.06316860020160675,
0.0440753698348999,
-0.046452876180410385,
0.015261782333254814,
0.009564903564751148,
0.002795859705656767,
-0.013094590976834297,
-0.02326301671564579,
-0.006222673691809177,
0.014649116434156895,
0.01524349395185709,
-0.024799253791570663,
0.03090762346982956,
0.07286152243614197,
0.03924719616770744,
-0.003207351779565215,
0.0661313384771347,
-0.04912300407886505,
-0.013917574658989906,
0.009647201746702194,
0.0003889171057380736,
-0.025768544524908066,
-0.020995236933231354,
0.0017214083345606923,
-0.02209254913032055,
-0.016871172934770584,
0.03275476396083832,
0.023738518357276917,
0.0010755944531410933,
-0.0461236834526062,
-0.02629891224205494,
0.02525646612048149,
-0.035187140107154846,
-0.0230801310390234,
0.008847078308463097,
0.049854546785354614,
-0.004197218921035528,
-0.024378616362810135,
0.0075531648471951485,
0.011393757537007332,
0.016816306859254837,
-0.008243557065725327,
0.02587827667593956,
-0.022970398887991905,
-0.033778924494981766,
-0.07666553556919098,
-0.04733072593808174,
-0.014466230757534504,
-0.020007656887173653,
-0.0371440127491951,
0.011869259178638458,
-0.0034702494740486145,
-0.01434735581278801,
0.006519862450659275,
-0.02329959347844124,
-0.03515056520700455,
-0.0030793319456279278,
-0.05790150165557861,
-0.004357243422418833,
0.00028090045088902116,
-0.03125510737299919,
-0.03858880698680878,
-0.0031593444291502237,
0.038186460733413696,
0.08544403314590454,
-0.02450663596391678,
-0.01796848513185978,
0.03227926418185234,
-0.04930588975548744,
0.011869259178638458,
-0.0033673765137791634,
-0.04948877543210983,
0.05790150165557861,
0.03946665674448013,
0.002987889340147376,
0.020318562164902687,
-0.05735284462571144,
-0.025823410600423813,
-0.007182822097092867,
0.04433140903711319,
-0.05376829206943512,
0.00736570730805397,
-0.002107753651216626,
-0.04034450650215149,
0.02026369608938694,
-0.0401250459253788,
0.05095185711979866,
0.0440753698348999,
0.04129550978541374,
0.015435523353517056,
-0.009775221347808838,
0.004405250772833824,
0.032974228262901306,
-0.009409450925886631,
-0.03888142481446266,
-0.018206236883997917,
-0.005504848901182413,
-0.004254370462149382,
-0.01883719116449356,
0.0002393226168351248,
-0.029737157747149467,
0.00826184544712305,
0.02450663596391678,
0.02724991738796234,
-0.054097484797239304,
0.03246214985847473,
0.032626744359731674,
-0.02028198540210724,
0.0021157548762857914,
-0.0003189063281752169,
0.01714550144970417,
0.043014634400606155,
-0.05098843574523926,
0.039612967520952225,
0.010653071105480194,
-0.0046224272809922695,
0.07959170639514923,
0.016852885484695435,
-0.04352671280503273,
-0.0009007103508338332,
0.03633931651711464,
-0.0743246078491211,
-0.004172071814537048,
-0.0006309544551186264,
-0.027140185236930847,
0.04038108512759209,
-0.09861177951097488,
0.00962891336530447,
0.01613963209092617,
0.05841358006000519,
0.0021203269716352224,
0.017703302204608917,
0.01883719116449356,
0.0015305217821151018,
-0.05157366767525673,
0.041405241936445236,
0.05973035469651222,
-0.013021436519920826,
-0.031145375221967697,
0.02430546283721924,
0.03072473779320717,
-0.050256893038749695,
0.055853184312582016,
0.038442499935626984,
0.004076057113707066,
0.07739707827568054,
0.027981458231806755,
-0.007676612585783005,
-0.07900647073984146,
-0.012015567161142826,
-0.01706320233643055,
-0.06949643045663834,
0.0020757487509399652,
-0.0030336107593029737,
-0.03527858480811119,
0.03745491802692413,
-0.021415874361991882,
0.1003674790263176,
-0.005184799432754517,
0.012335616163909435,
0.03489452227950096,
0.03291936218738556,
-0.007489155046641827,
-0.03858880698680878,
-0.028749575838446617,
-0.017794745042920113,
0.03666851297020912,
0.00901624746620655,
-0.0033788068685680628,
-0.00887451134622097,
0.007137100677937269,
0.05643841624259949,
-0.04872065782546997,
-0.006529006641358137,
0.09115006029605865,
0.04316094145178795,
-0.03771095722913742,
-0.022769225761294365,
-0.02364707551896572,
-0.0642659142613411,
0.028548402711749077,
-0.02990175411105156,
-0.009500893764197826,
-0.05962062254548073,
-0.02267778292298317,
0.023775095120072365,
-0.006753041408956051,
0.06861858069896698,
0.009491749107837677,
0.021214699372649193,
0.01282940711826086,
0.005971206352114677
]
|
31,533 | laspy.lasdata | update_header | Update the information stored in the header
to be in sync with the actual data.
This method is called automatically when you save a file using
:meth:`laspy.lasdatas.base.LasBase.write`
| def update_header(self) -> None:
"""Update the information stored in the header
to be in sync with the actual data.
This method is called automatically when you save a file using
:meth:`laspy.lasdatas.base.LasBase.write`
"""
self.header.update(self.points)
self.header.point_format_id = self.points.point_format.id
self.header.point_data_record_length = self.points.point_size
if self.header.version.minor >= 4:
if self.evlrs is not None:
self.header.number_of_evlrs = len(self.evlrs)
self.header.start_of_waveform_data_packet_record = 0
# TODO
# if len(self.vlrs.get("WktCoordinateSystemVlr")) == 1:
# self.header.global_encoding.wkt = 1
else:
self.header.number_of_evlrs = 0
| (self) -> NoneType | [
-0.01657693274319172,
0.00012132567644584924,
-0.05259506404399872,
0.023934513330459595,
-0.016147293150424957,
-0.059182874858379364,
-0.04496895894408226,
0.0714276060461998,
-0.05692726746201515,
0.02200113609433174,
-0.035785410553216934,
-0.09867392480373383,
0.016227850690484047,
0.028750060126185417,
-0.020586904138326645,
0.05166418105363846,
0.036232952028512955,
0.030880356207489967,
-0.05624700337648392,
-0.050518471747636795,
-0.00002758673144853674,
-0.03859597072005272,
-0.049730800092220306,
0.011994109489023685,
0.00912089366465807,
-0.008758384734392166,
0.005249660462141037,
-0.004468700848519802,
0.03737865760922432,
-0.04629368335008621,
-0.011322797276079655,
-0.03036120906472206,
-0.03999229893088341,
-0.022126447409391403,
-0.023880809545516968,
0.013658963143825531,
0.05284568667411804,
-0.06541264802217484,
0.0034080278128385544,
0.05767913535237312,
-0.010042829439043999,
-0.02081962674856186,
-0.004676807671785355,
-0.01654113084077835,
-0.01496578473597765,
0.04188987612724304,
-0.04446771368384361,
0.02157149463891983,
0.05954090878367424,
0.025903696194291115,
-0.016344211995601654,
-0.02216224931180477,
0.01607568748295307,
-0.011680830270051956,
-0.0037190690636634827,
-0.04289236664772034,
0.051127128303050995,
0.06956583261489868,
-0.01039191149175167,
0.017892705276608467,
0.03741446137428284,
0.006860809866338968,
-0.010955813340842724,
-0.020586904138326645,
0.008279516361653805,
-0.02323634922504425,
0.023504873737692833,
-0.02672717161476612,
-0.006708645727485418,
0.004770791158080101,
0.005187004804611206,
0.030414912849664688,
-0.001900932053104043,
0.02629753202199936,
0.006408792920410633,
0.02354067750275135,
-0.10046409070491791,
-0.0328674390912056,
-0.0074605150148272514,
-0.06043599173426628,
0.057500120252370834,
0.0024972809478640556,
0.009541582316160202,
0.03143530711531639,
0.011600272729992867,
0.0024771415628492832,
0.07017449289560318,
0.013193520717322826,
0.017579426988959312,
0.03444278612732887,
-0.01002492755651474,
-0.007814073003828526,
0.003499773796647787,
-0.02173260971903801,
0.038667578250169754,
-0.05846680700778961,
-0.0027232894208282232,
-0.012835487723350525,
-0.04636529088020325,
0.012020962312817574,
-0.05148516222834587,
-0.02414933405816555,
-0.012387946248054504,
0.011492863297462463,
-0.03390573710203171,
-0.009053762070834637,
0.05306050926446915,
-0.016138343140482903,
-0.014034898020327091,
-0.01868932880461216,
-0.00972059927880764,
-0.07046091556549072,
-0.05059007927775383,
-0.02432835102081299,
0.024990711361169815,
-0.06827691942453384,
0.06304962933063507,
0.02083752676844597,
-0.032115571200847626,
0.017113983631134033,
0.021481987088918686,
0.019226377829909325,
-0.03659098595380783,
-0.030611831694841385,
-0.00509302131831646,
-0.07275232672691345,
0.05030365288257599,
0.02733582817018032,
0.039133019745349884,
-0.06756085157394409,
0.012092568911612034,
0.001886387006379664,
-0.03906141221523285,
-0.02565307356417179,
0.019226377829909325,
-0.08113030344247818,
0.029716748744249344,
-0.021947430446743965,
-0.039598461240530014,
0.00793490931391716,
-0.01084840390831232,
0.019172674044966698,
0.03752187266945839,
-0.009080614894628525,
0.01757047511637211,
0.06240517273545265,
0.002535321982577443,
-0.031399503350257874,
-0.06652255356311798,
-0.00874495878815651,
0.013202471658587456,
-0.022359168156981468,
-0.029412420466542244,
-0.014142308384180069,
0.01533276867121458,
-0.10762475430965424,
-0.023504873737692833,
-0.055817361921072006,
-0.019172674044966698,
0.06956583261489868,
0.03444278612732887,
0.0006925702909938991,
0.02690618857741356,
-0.007509744726121426,
-0.08170315623283386,
0.010535124689340591,
-0.03898980841040611,
-0.0018304443219676614,
0.011385452933609486,
-0.005997054744511843,
0.044575124979019165,
-0.003446068847551942,
-0.040493544191122055,
0.0367341972887516,
0.0008643143228255212,
0.013793226331472397,
-0.04024292156100273,
-0.005741956178098917,
0.016066735610365868,
-0.05230863764882088,
0.07085475325584412,
0.011295945383608341,
-0.02690618857741356,
0.0385601669549942,
-0.017749492079019547,
0.02400612086057663,
0.017722640186548233,
-0.0025442729238420725,
0.05119873583316803,
-0.02094493806362152,
0.015610244125127792,
0.0040972414426505566,
-0.02169680781662464,
0.006811580155044794,
0.02764015644788742,
0.009134319610893726,
0.04167505353689194,
-0.054456837475299835,
0.01556549035012722,
-0.0022253997158259153,
0.00687871128320694,
-0.028499435633420944,
0.006193973124027252,
-0.031489014625549316,
-0.017749492079019547,
0.016872311010956764,
0.07389803230762482,
-0.0037772494833916426,
-0.08778972178697586,
0.04783322662115097,
0.05531611666083336,
-0.006270055193454027,
-0.0057106283493340015,
-0.01360525842756033,
-0.003038806142285466,
-0.07862406969070435,
-0.10927170515060425,
0.015422276221215725,
0.03037911094725132,
0.008122876286506653,
0.001922190305776894,
0.03870338201522827,
-0.02354067750275135,
-0.04743938893079758,
0.04357263073325157,
0.007447089068591595,
0.02869635447859764,
-0.021535692736506462,
-0.04239112138748169,
-0.06992387026548386,
0.032294586300849915,
0.005920972675085068,
-0.0771203339099884,
-0.005867267958819866,
0.014759914949536324,
-0.02094493806362152,
-0.0070711541920900345,
0.026995697990059853,
-0.05109132453799248,
-0.03628665581345558,
0.008346647024154663,
0.004614152014255524,
0.015762407332658768,
0.008145253174006939,
-0.05710628256201744,
-0.05388398468494415,
0.008082597516477108,
0.02157149463891983,
-0.0464726984500885,
0.0003641868242993951,
-0.011278043501079082,
-0.0195844117552042,
0.01655903272330761,
0.018599821254611015,
0.020712215453386307,
-0.05835939943790436,
-0.021840021014213562,
-0.006122366525232792,
0.0028866420034319162,
-0.04450351744890213,
-0.04267754778265953,
-0.04009971022605896,
0.021231364458799362,
-0.008767335675656796,
0.037736691534519196,
0.02747904136776924,
0.02035418339073658,
0.04296397417783737,
0.010221845470368862,
-0.008404827676713467,
0.06856334209442139,
0.0005980271962471306,
-0.099031962454319,
-0.033798325806856155,
0.06208294257521629,
-0.037450265139341354,
-0.002378682605922222,
-0.024095628410577774,
0.08105869591236115,
0.06201133504509926,
0.08556991815567017,
-0.02626173011958599,
0.02201903611421585,
0.03283163532614708,
-0.011850896291434765,
0.017561525106430054,
-0.02812350168824196,
0.019942445680499077,
-0.07525856047868729,
-0.03284953907132149,
-0.02035418339073658,
0.05957671254873276,
-0.01353365182876587,
0.029215503484010696,
0.005267562344670296,
0.027264222502708435,
-0.00477974209934473,
0.010875255800783634,
0.06161750108003616,
0.03130999580025673,
-0.029358716681599617,
0.019083164632320404,
0.04389486089348793,
-0.014222865924239159,
-0.042140498757362366,
-0.053239524364471436,
-0.006977170240134001,
-0.013309881091117859,
-0.0003146775416098535,
-0.040779970586299896,
0.0132919792085886,
0.04357263073325157,
0.029519829899072647,
-0.005007988307625055,
0.04253433644771576,
0.006368514150381088,
-0.007133809849619865,
0.047475192695856094,
0.017427261918783188,
0.03931203484535217,
-0.0519506074488163,
-0.04285656288266182,
-0.01039191149175167,
-0.026530254632234573,
0.03188284859061241,
-0.04446771368384361,
0.044718336313962936,
-0.03478291630744934,
-0.001559681724756956,
0.010866304859519005,
-0.05391978845000267,
-0.007617154624313116,
0.020909134298563004,
0.04704555124044418,
0.011358601041138172,
0.006001530215144157,
-0.02717471309006214,
-0.017480967566370964,
0.01466145645827055,
-0.012916045263409615,
-0.023594383150339127,
0.007080105133354664,
-0.02432835102081299,
0.019673919305205345,
-0.011224337853491306,
-0.0716424286365509,
0.0030567077919840813,
-0.008601745590567589,
-0.01913687027990818,
0.039849087595939636,
-0.07490053027868271,
-0.0013291980139911175,
0.027461139485239983,
0.05280988663434982,
0.06731022894382477,
-0.016120441257953644,
-0.004464225377887487,
-0.06720281392335892,
0.05570995435118675,
0.005791185889393091,
0.04668751731514931,
0.05116293206810951,
-0.032885342836380005,
0.023451169952750206,
-0.04088738188147545,
-0.01540437527000904,
-0.05298890173435211,
0.027998190373182297,
0.008865795098245144,
-0.005916497204452753,
-0.051735784858465195,
-0.02416723594069481,
0.008275040425360203,
0.008986631408333778,
0.029859961941838264,
0.0058717429637908936,
0.02429254725575447,
0.047761619091033936,
-0.06673737615346909,
-0.07891049981117249,
0.01458984985947609,
-0.012916045263409615,
-0.040028102695941925,
0.017749492079019547,
-0.00047299530706368387,
-0.02033628150820732,
0.025420350953936577,
-0.0008385807159356773,
-0.02337956242263317,
0.013864832930266857,
0.004018921870738268,
0.030021077021956444,
-0.026369139552116394,
-0.003428167197853327,
0.008427204564213753,
0.044718336313962936,
-0.028785862028598785,
0.03809472545981407,
-0.012898143380880356,
-0.0416034497320652,
0.04507637023925781,
-0.0817747637629509,
-0.02914389595389366,
0.054600052535533905,
-0.025706777349114418,
-0.07590302079916,
0.030146388337016106,
-0.053704969584941864,
0.024220939725637436,
-0.011412305757403374,
0.02065851166844368,
0.026333335787057877,
-0.004873726051300764,
0.004914004355669022,
0.007026399951428175,
0.06383730471134186,
0.032294586300849915,
0.0030768471769988537,
0.023003628477454185,
0.07253751158714294,
0.030611831694841385,
0.05349014699459076,
-0.017158737406134605,
0.10740993916988373,
0.027711763978004456,
-0.006816055625677109,
-0.04765420779585838,
0.0017398172058165073,
-0.03386993333697319,
-0.007048776838928461,
0.0016984195681288838,
0.02416723594069481,
-0.030182192102074623,
0.02579628676176071,
-0.03512305021286011,
0.0201930683106184,
0.015834014862775803,
0.006104464642703533,
-0.023970317095518112,
0.052774082869291306,
0.07762157917022705,
-0.009299910627305508,
-0.04242692515254021,
-0.005992579273879528,
-0.03254520893096924,
-0.016021981835365295,
-0.019405394792556763,
-0.03193655610084534,
-0.04009971022605896,
-0.0031506915111094713,
0.03154271841049194,
0.027908680960536003,
0.006216350011527538,
-0.03702062368392944,
-0.004596250131726265,
-0.03277793154120445,
0.005683775991201401,
-0.046723321080207825,
0.008471958339214325,
-0.051556769758462906,
0.007773794233798981,
0.05030365288257599,
-0.007330728229135275,
0.025563564151525497,
0.03386993333697319,
-0.03068343922495842,
0.0287142563611269,
-0.0452553853392601,
-0.015055292285978794,
-0.019512804225087166,
0.045935649424791336,
-0.03830954432487488,
-0.0020363132935017347,
0.00460072560235858,
0.03261681646108627,
0.011206436902284622,
-0.009125369600951672,
0.04074417054653168,
-0.04217630252242088,
-0.019548607990145683,
-0.009595287963747978,
-0.05076909810304642,
-0.04339361563324928,
-0.019566509872674942,
0.0726449191570282,
0.028893273323774338,
-0.03428167104721069,
-0.019852936267852783,
-0.019208477810025215,
-0.03702062368392944,
0.008579368703067303,
0.0036161344032734632,
-0.0677756667137146,
0.018214935436844826,
0.03383412957191467,
0.04636529088020325,
0.02706730365753174,
-0.0011255666613578796,
0.014088603667914867,
-0.015296964906156063,
0.02674507349729538,
-0.06949422508478165,
-0.035946525633335114,
-0.05549513176083565,
0.0004229266196489334,
0.011215387843549252,
0.015252211131155491,
-0.00531679205596447,
0.009026910178363323,
0.012164175510406494,
-0.05528031289577484,
-0.0026897238567471504,
-0.003987594041973352,
0.04726037010550499,
0.02674507349729538,
0.060865629464387894,
-0.069816455245018,
0.049874015152454376,
-0.013918537646532059,
0.018420804291963577,
-0.017883755266666412,
0.01663958840072155,
0.05359755828976631,
-0.061581697314977646,
-0.02887537144124508,
0.045470207929611206,
-0.050482671707868576,
-0.046544305980205536,
0.057786546647548676,
0.03179334104061127,
-0.04149603843688965,
-0.0033565605990588665,
0.018214935436844826,
0.040171317756175995,
0.08184637129306793,
0.01617414690554142,
0.02035418339073658,
-0.0195844117552042,
-0.07855246961116791,
-0.07969817519187927,
0.015055292285978794,
-0.03755767270922661,
-0.0031350275967270136,
-0.052774082869291306,
0.012781782075762749,
0.01881464011967182,
0.013095061294734478,
-0.0036161344032734632,
-0.019512804225087166,
-0.030468618497252464,
-0.05180739238858223,
-0.02021097019314766,
0.0470813550055027,
-0.009098516777157784,
-0.008659926243126392,
0.012414798140525818,
0.020389985293149948,
-0.01942329667508602,
0.020551100373268127,
0.01047246903181076,
-0.01590562053024769,
-0.0034259294625371695,
0.04507637023925781,
0.034245867282152176,
-0.05907546356320381,
0.04539860039949417,
0.012405847199261189,
0.008892647922039032,
-0.012763881124556065,
0.00956843513995409,
0.04607886075973511,
0.06759665161371231,
-0.026064811274409294,
-0.011385452933609486,
0.001512689981609583,
-0.0148136205971241,
0.007939384318888187,
0.0844242125749588,
0.012164175510406494,
-0.017113983631134033,
0.040994793176651,
0.011483912356197834,
0.05334693565964699,
-0.06380150467157364,
0.016934966668486595,
-0.013685815967619419,
-0.008794188499450684,
0.034120555967092514,
0.05327532812952995,
0.030182192102074623,
-0.10476049035787582,
-0.046401090919971466,
0.002096731448546052,
-0.06072241812944412,
-0.03451439365744591,
0.04994561895728111,
0.008677828125655651,
-0.036841608583927155,
-0.01307715941220522,
0.06509041786193848,
0.0005653007538057864,
-0.011904601007699966,
-0.026530254632234573,
0.011394403874874115,
0.014178111217916012,
-0.0440380722284317,
-0.02611851692199707,
0.0722510814666748,
-0.02398821897804737,
-0.02975255250930786,
0.04711715877056122,
0.044897351413965225,
-0.005894120316952467,
-0.05148516222834587,
-0.021213462576270103,
-0.02461477741599083,
0.027228418737649918,
-0.07339678704738617,
0.055674150586128235,
0.02368389070034027,
-0.021535692736506462,
-0.019548607990145683,
-0.031202586367726326,
0.01503739133477211,
-0.04027872532606125,
-0.006408792920410633,
0.040028102695941925,
-0.017543623223900795,
0.02977045439183712,
-0.004052487201988697,
0.017140835523605347,
-0.0363224595785141,
0.02371969446539879,
-0.02660186029970646,
0.026369139552116394,
0.06287061423063278,
-0.05556673929095268,
0.007957286201417446,
0.04385905712842941,
0.08514027297496796,
0.09308861196041107,
0.013390438631176949,
0.0464726984500885,
-0.01708712987601757,
0.000012447245353541803,
0.07590302079916,
0.007814073003828526,
-0.05760752782225609,
0.015305915847420692,
0.003947315271943808,
-0.03465760499238968,
-0.011313846334815025,
-0.013399389572441578,
-0.006784727796912193,
0.050948113203048706,
-0.039562661200761795,
-0.052953097969293594,
-0.011063223704695702,
0.00853461492806673,
-0.04357263073325157,
0.007796171121299267,
-0.05456424877047539,
0.07855246961116791,
-0.05635441467165947,
0.0299315694719553,
0.012208929285407066,
-0.017122933641076088,
0.038202133029699326,
-0.007908056490123272,
-0.04006390646100044,
-0.03474711254239082,
-0.005540562327951193,
-0.008556991815567017,
0.027246320620179176,
0.049301162362098694,
-0.026673467829823494,
-0.02248447947204113,
-0.051413554698228836,
0.0161293912678957,
0.031220488250255585,
0.039598461240530014,
0.07962656766176224,
0.017910607159137726,
-0.05306050926446915,
0.00843167956918478,
0.03540947660803795,
-0.013990144245326519,
-0.0016961819492280483,
-0.03277793154120445,
-0.0008794188615866005,
0.021840021014213562,
0.004168848041445017,
0.011501814238727093,
0.031381603330373764,
-0.0002068480389425531,
-0.04188987612724304,
0.005249660462141037,
-0.008073646575212479,
-0.026548156514763832,
0.019996149465441704,
-0.010132336989045143,
-0.0023697316646575928,
-0.0028060844633728266,
0.058860644698143005,
-0.019996149465441704,
0.0440380722284317,
0.002622592495754361,
-0.0010489250998944044,
-0.04264174401760101,
0.006954793352633715,
0.019405394792556763,
0.03909721598029137,
-0.017382508143782616,
0.0008150847861543298,
0.02003195323050022,
0.05997054651379585,
-0.04797643795609474,
-0.007742466405034065,
0.024185137823224068,
0.047761619091033936,
0.011430207639932632,
0.05664084106683731,
0.03276003152132034,
0.027264222502708435,
-0.023290054872632027,
-0.02234126627445221,
-0.010794698260724545,
-0.006883186753839254,
-0.044145483523607254,
0.02398821897804737,
0.02081962674856186,
0.03691321611404419,
-0.05753592401742935,
0.06369408965110779,
0.035606395453214645,
0.030003175139427185,
0.004354577977210283,
0.05753592401742935,
0.012110469862818718,
0.03254520893096924,
-0.01974552683532238,
0.007644006982445717,
-0.0287142563611269,
0.007840924896299839,
-0.008910548873245716,
0.035910721868276596,
0.05026784911751747,
-0.0010718615958467126,
-0.02323634922504425,
0.044897351413965225,
0.023469071835279465,
0.0011949355248361826,
0.009523681364953518,
-0.01724824495613575,
0.023970317095518112,
-0.03240199759602547,
-0.02067641355097294,
0.04965919256210327,
0.054313626140356064,
-0.020622707903385162,
0.016755949705839157,
-0.04299977794289589,
-0.007241219747811556,
0.07475731521844864,
0.027443239465355873,
0.05116293206810951,
-0.04357263073325157,
0.04615046828985214
]
|
31,534 | laspy.lasdata | write | Writes to a stream or file
.. note::
When destination is a string, it will be interpreted as the path were the file should be written to,
and whether the file will be compressed depends on the extension used (case insensitive):
- .laz -> compressed
- .las -> uncompressed
And the do_compress option will be ignored
Parameters
----------
destination: str or file object
filename or stream to write to
do_compress: bool, optional
Flags to indicate if you want to compress the data
laz_backend: optional, the laz backend to use
By default, laspy detect available backends
| def write(self, destination, do_compress=None, laz_backend=None):
"""Writes to a stream or file
.. note::
When destination is a string, it will be interpreted as the path were the file should be written to,
and whether the file will be compressed depends on the extension used (case insensitive):
- .laz -> compressed
- .las -> uncompressed
And the do_compress option will be ignored
Parameters
----------
destination: str or file object
filename or stream to write to
do_compress: bool, optional
Flags to indicate if you want to compress the data
laz_backend: optional, the laz backend to use
By default, laspy detect available backends
"""
if isinstance(destination, (str, pathlib.Path)):
do_compress = pathlib.Path(destination).suffix.lower() == ".laz"
with open(destination, mode="wb+") as out:
self._write_to(out, do_compress=do_compress, laz_backend=laz_backend)
else:
self._write_to(
destination, do_compress=do_compress, laz_backend=laz_backend
)
| (self, destination, do_compress=None, laz_backend=None) | [
-0.014844116754829884,
0.011360938660800457,
-0.021783404052257538,
0.019401125609874725,
0.07110738009214401,
-0.02100735902786255,
-0.07500565052032471,
0.03474155068397522,
-0.01417635753750801,
-0.04750117287039757,
0.020917121320962906,
0.025753866881132126,
-0.02151268906891346,
-0.0016062327194958925,
0.025483153760433197,
0.07471689581871033,
-0.020574217662215233,
0.007182928267866373,
0.01617061346769333,
0.1144937127828598,
-0.01252500619739294,
0.007670212537050247,
0.0343625508248806,
0.006736251059919596,
-0.018471676856279373,
-0.03030185028910637,
-0.02517634443938732,
0.020574217662215233,
-0.011117296293377876,
0.016757158562541008,
0.012155030854046345,
-0.06500730663537979,
0.037972062826156616,
0.004710413049906492,
0.018282176926732063,
0.050713639706373215,
0.024508584290742874,
0.044866230338811874,
-0.007205487694591284,
-0.06836415082216263,
0.006876119878143072,
-0.015737472102046013,
0.016748134046792984,
0.039524152874946594,
0.025266582146286964,
0.037466730922460556,
-0.05818532779812813,
0.02967018634080887,
0.0260967705398798,
-0.012488910928368568,
0.019148459658026695,
0.0008527471218258142,
-0.031150085851550102,
-0.03649216517806053,
0.029904805123806,
0.0458047054708004,
0.0546841025352478,
0.049558594822883606,
-0.01947331614792347,
0.010088585317134857,
-0.005991789512336254,
-0.03927148878574371,
0.02227068692445755,
-0.03129446506500244,
0.0069934288039803505,
-0.0017066223081201315,
-0.08337972313165665,
0.004446467384696007,
-0.033406030386686325,
0.034669362008571625,
0.008987683802843094,
-0.059737417846918106,
0.033893316984176636,
0.028063952922821045,
-0.01284986175596714,
0.07392279803752899,
-0.0813583955168724,
-0.013156670145690441,
-0.0032485604751855135,
-0.01825510524213314,
-0.01673911139369011,
-0.05760780721902847,
-0.029561901465058327,
-0.013337145559489727,
-0.007670212537050247,
-0.034290362149477005,
0.02113369107246399,
0.0013050640700384974,
-0.009881038218736649,
-0.006014348939061165,
-0.03858568146824837,
0.03880225121974945,
0.03221489116549492,
0.021945832297205925,
0.018516795709729195,
-0.04432480409741402,
-0.05010002478957176,
-0.0012746088905259967,
0.03257584199309349,
0.0776045024394989,
-0.02237897366285324,
0.024490537121891975,
0.06424930691719055,
0.009109505452215672,
0.05789656937122345,
-0.040787484496831894,
-0.00015876212273724377,
0.024382252246141434,
-0.03898272663354874,
-0.06197531521320343,
-0.005924111232161522,
0.019310887902975082,
-0.019563553854823112,
-0.06374397873878479,
-0.011938460171222687,
-0.01413123868405819,
0.04984735697507858,
-0.029110712930560112,
-0.07229851931333542,
0.013544692657887936,
-0.011099248193204403,
0.0023642301093786955,
0.021819498389959335,
0.009249374270439148,
0.005608278792351484,
-0.03396550565958023,
-0.002355206524953246,
-0.0002997586561832577,
0.0203756932169199,
0.01589989848434925,
-0.03463326394557953,
0.010341251268982887,
0.016621802002191544,
0.019653791561722755,
0.009556182660162449,
0.041545480489730835,
0.01667594350874424,
-0.01502459216862917,
-0.06060370057821274,
0.04692365229129791,
0.03826082497835159,
-0.09211473912000656,
-0.022631637752056122,
0.017424918711185455,
0.06298597902059555,
0.012561100535094738,
0.021548785269260406,
-0.037611111998558044,
0.03396550565958023,
0.0014810278080403805,
0.027576670050621033,
0.029850661754608154,
-0.007796545512974262,
0.004751019645482302,
-0.03165541961789131,
-0.0343264564871788,
-0.009037314914166927,
0.04309757053852081,
-0.047537270933389664,
0.029688233509659767,
-0.0241837278008461,
0.010043466463685036,
-0.05241011083126068,
0.01667594350874424,
-0.016459373757243156,
-0.061903126537799835,
0.001751741161569953,
0.05266277492046356,
0.032377321273088455,
-0.030897419899702072,
-0.009285468608140945,
-0.038224730640649796,
-0.05883504077792168,
0.07428374886512756,
0.01688349060714245,
0.0260967705398798,
0.0260967705398798,
0.02887609414756298,
-0.0009491887758485973,
-0.0171812754124403,
0.030247708782553673,
-0.008784648962318897,
-0.09464139491319656,
0.02685476653277874,
0.024328108876943588,
-0.032395366579294205,
-0.05190477892756462,
0.007634117268025875,
0.023732539266347885,
0.03898272663354874,
0.021584879606962204,
-0.0011674514971673489,
-0.0033139828592538834,
-0.06071198731660843,
0.01229038741439581,
-0.06374397873878479,
0.031168133020401,
-0.0865560919046402,
-0.002193906344473362,
0.057174667716026306,
-0.016224754974246025,
0.0019795915577560663,
0.05450362712144852,
0.00966446753591299,
0.038369107991456985,
0.028298571705818176,
-0.022631637752056122,
0.026277245953679085,
-0.04309757053852081,
-0.03208855912089348,
0.05410658195614815,
0.01858898624777794,
-0.006907702889293432,
0.0055496240966022015,
0.045479848980903625,
-0.03232317790389061,
-0.06172265112400055,
0.04226738214492798,
0.018309248611330986,
-0.0017788124969229102,
-0.00011025930143659934,
0.010260037146508694,
-0.025302676483988762,
0.055153340101242065,
0.024725155904889107,
0.006916726939380169,
0.07013281434774399,
-0.05035268887877464,
-0.019419172778725624,
0.016757158562541008,
0.013328121975064278,
-0.022992590442299843,
0.05955694243311882,
0.012164054438471794,
0.049811262637376785,
-0.03510250151157379,
-0.04717632010579109,
0.03465131297707558,
-0.0547201968729496,
0.028442952781915665,
-0.030211612582206726,
-0.048042602837085724,
0.012741576880216599,
-0.02441834658384323,
-0.0014404207468032837,
-0.014086119830608368,
-0.01500654499977827,
0.006551263853907585,
0.020538121461868286,
0.022216545417904854,
0.030500374734401703,
0.006298597902059555,
-0.06381616741418839,
-0.03779158741235733,
0.020411789417266846,
-0.04901716858148575,
0.04634613171219826,
-0.05775218829512596,
-0.0024251407012343407,
0.01600818522274494,
-0.05493677034974098,
-0.04685146361589432,
-0.013589811511337757,
-0.03539126366376877,
0.005486458074301481,
-0.011649698950350285,
-0.03883834555745125,
-0.06515168398618698,
-0.0006130530382506549,
0.041653767228126526,
0.044613566249608994,
0.01596306636929512,
-0.040390435606241226,
0.010566845536231995,
0.02723376639187336,
-0.04378337785601616,
0.0029801030177623034,
0.034308407455682755,
0.021079547703266144,
0.027125481516122818,
0.04811479151248932,
0.031637370586395264,
-0.013959786854684353,
-0.0521574430167675,
-0.005423291586339474,
0.025031963363289833,
-0.05241011083126068,
-0.010566845536231995,
-0.03077108785510063,
-0.023949110880494118,
-0.017840011045336723,
0.030716944485902786,
-0.04916154965758324,
0.03829691931605339,
0.057463426142930984,
0.01802048645913601,
-0.02506805956363678,
-0.07774887979030609,
0.07099909335374832,
-0.03589659556746483,
-0.017794892191886902,
0.00655577564612031,
0.1069137379527092,
0.024093490093946457,
-0.027179623022675514,
0.00037843475001864135,
-0.021837545558810234,
-0.01947331614792347,
-0.05894332751631737,
0.04241176322102547,
0.02275797165930271,
-0.04418042302131653,
-0.01789415441453457,
0.0324314646422863,
0.03129446506500244,
0.027305956929922104,
0.005179649218916893,
0.010070538148283958,
-0.018931889906525612,
0.003480922896414995,
-0.0801311582326889,
-0.016450349241495132,
0.013093504123389721,
-0.01572844758629799,
0.04862012341618538,
0.007268654182553291,
0.012741576880216599,
0.002535681938752532,
0.058365803211927414,
-0.0181107260286808,
-0.02750447951257229,
0.04807869717478752,
0.015538947656750679,
0.05533381551504135,
-0.002587568713352084,
-0.018480699509382248,
-0.0007252862560562789,
-0.00006309595482889563,
0.022451162338256836,
-0.0036907256580889225,
0.016477420926094055,
0.015168973244726658,
0.02557339146733284,
0.021927783265709877,
-0.0298867579549551,
0.009736658073961735,
-0.06327474117279053,
-0.06067589297890663,
0.0076386290602386,
0.04017386585474014,
-0.029976995661854744,
0.023732539266347885,
-0.007972508668899536,
0.01747906021773815,
0.028406856581568718,
-0.03127641975879669,
-0.027558622881770134,
-0.031240323558449745,
-0.02124197594821453,
-0.018291201442480087,
0.012146007269620895,
-0.025735817849636078,
0.03447083756327629,
0.00016919586050789803,
-0.0035260417498648167,
-0.012949123047292233,
0.033658698201179504,
-0.006163241341710091,
0.011126319877803326,
-0.0076792361214756966,
0.02468905970454216,
-0.07154051959514618,
0.01393271517008543,
0.027901526540517807,
0.005829361267387867,
-0.01665789633989334,
0.0318358950316906,
-0.007503272499889135,
-0.012822790071368217,
0.03934367746114731,
0.03535516932606697,
0.002497331006452441,
0.014086119830608368,
0.007133297622203827,
0.038621775805950165,
-0.002046142006292939,
-0.020411789417266846,
0.016712039709091187,
-0.030247708782553673,
0.01646839641034603,
0.008744042366743088,
0.03808034956455231,
0.011072177439928055,
-0.05749952048063278,
0.021151738241314888,
0.013959786854684353,
-0.03826082497835159,
0.08078087121248245,
-0.011694817803800106,
0.027576670050621033,
-0.015087759122252464,
-0.05786047503352165,
-0.035698071122169495,
0.05955694243311882,
-0.04237566888332367,
0.007160368841141462,
0.040137771517038345,
0.02633138746023178,
0.0649351179599762,
0.019798172637820244,
0.061289507895708084,
-0.027378147467970848,
-0.023588160052895546,
-0.024075442925095558,
-0.014627546072006226,
0.025158297270536423,
-0.0471041277050972,
-0.04641832038760185,
0.02481539361178875,
0.026060674339532852,
0.04724850878119469,
0.03537321463227272,
0.06280550360679626,
0.006167753133922815,
0.022469211369752884,
-0.08612295240163803,
-0.0324675589799881,
-0.008861351758241653,
-0.02584410458803177,
-0.0017088782042264938,
0.028226381167769432,
0.025771914049983025,
-0.004396836273372173,
0.0152592109516263,
0.0368892103433609,
0.005671445280313492,
-0.020971262827515602,
0.005797778256237507,
0.001452828524634242,
-0.016982752829790115,
0.11442152410745621,
-0.012200149707496166,
-0.06345521658658981,
0.0005871096509508789,
-0.06435759365558624,
-0.001192266819998622,
0.03311727195978165,
-0.018119748681783676,
0.053492963314056396,
0.048656217753887177,
0.022884303703904152,
0.006988917011767626,
0.028479047119617462,
0.007859711535274982,
-0.009474968537688255,
-0.019816219806671143,
0.024977821856737137,
-0.11478247493505478,
-0.03706968575716019,
0.017461013048887253,
0.03927148878574371,
-0.03551759570837021,
0.06435759365558624,
-0.020646406337618828,
-0.0006790393963456154,
-0.04302537813782692,
-0.031384702771902084,
0.023949110880494118,
0.011117296293377876,
-0.02088102512061596,
0.02151268906891346,
-0.007363404147326946,
-0.0038757133297622204,
0.008459793403744698,
0.035950735211372375,
-0.0011832431191578507,
-0.061289507895708084,
-0.0030748527497053146,
0.013021313585340977,
-0.019780123606324196,
-0.007918366231024265,
0.007543879561126232,
-0.017821963876485825,
0.031023753806948662,
0.06136170029640198,
-0.008247734047472477,
0.062011413276195526,
-0.002454468049108982,
0.09485796838998795,
0.04410823434591293,
0.025410963222384453,
0.028858046978712082,
-0.0016897027380764484,
-0.08099744468927383,
-0.033911362290382385,
0.05912380293011665,
-0.02326330356299877,
-0.016703015193343163,
-0.03898272663354874,
-0.0006406883476302028,
-0.04309757053852081,
-0.05692199990153313,
-0.027125481516122818,
-0.028948284685611725,
0.037466730922460556,
-0.006267014890909195,
0.0445413738489151,
-0.026042627170681953,
-0.03909101337194443,
0.009718609973788261,
-0.05143554136157036,
0.0470680333673954,
-0.03129446506500244,
0.02302868478000164,
-0.04140109941363335,
0.045227181166410446,
-0.03510250151157379,
0.017677584663033485,
-0.050569258630275726,
0.0036433509085327387,
-0.014844116754829884,
-0.011550437659025192,
0.00140094175003469,
-0.031366657465696335,
-0.03219684585928917,
0.016684968024492264,
-0.0037651718594133854,
-0.037502825260162354,
0.009276445023715496,
-0.011369962245225906,
-0.03757501766085625,
-0.039235394448041916,
0.009393754415214062,
0.0368892103433609,
0.029940899461507797,
0.0336947925388813,
-0.01285888534039259,
-0.0197440292686224,
-0.030951563268899918,
-0.09074312448501587,
0.022487258538603783,
0.012552076950669289,
-0.06717301160097122,
-0.07305651903152466,
-0.009565206244587898,
-0.019130412489175797,
-0.02811809629201889,
-0.04132891073822975,
0.09276445209980011,
-0.024887584149837494,
-0.02759471721947193,
-0.042808808386325836,
0.020917121320962906,
0.03808034956455231,
0.021025406196713448,
-0.0012283619726076722,
0.002887609414756298,
0.03427231311798096,
0.00467431778088212,
0.019527457654476166,
-0.02189168892800808,
0.008965124376118183,
-0.0026484793052077293,
-0.012127959169447422,
0.024346156045794487,
0.03474155068397522,
0.049414217472076416,
-0.037502825260162354,
0.020032789558172226,
-0.039379771798849106,
0.10850192606449127,
0.04233957454562187,
0.024093490093946457,
-0.028082001954317093,
0.029868708923459053,
-0.014672664925456047,
0.028533190488815308,
0.051074590533971786,
0.04208690673112869,
-0.015656257048249245,
-0.05309591814875603,
0.03551759570837021,
-0.04659879580140114,
0.03216074779629707,
0.026114817708730698,
-0.014419998973608017,
-0.02483344078063965,
0.019780123606324196,
-0.022108258679509163,
-0.013851501047611237,
-0.015845756977796555,
0.0010856734588742256,
0.03640192747116089,
-0.06854462623596191,
-0.0030004065483808517,
-0.04024605453014374,
-0.002786091761663556,
-0.044974517077207565,
0.06302207708358765,
0.028785856440663338,
-0.052229635417461395,
0.0008065002621151507,
-0.04468575492501259,
-0.0336947925388813,
0.028551237657666206,
0.04540765658020973,
-0.06399664282798767,
0.0054593863897025585,
-0.0047916267067193985,
-0.0004196057270746678,
-0.0356258824467659,
0.07316480576992035,
0.02775714546442032,
-0.03004918433725834,
-0.014871188439428806,
-0.01196553185582161,
0.009556182660162449,
-0.010711225681006908,
-0.038224730640649796,
0.015475781634449959,
0.010449536144733429,
-0.06793101131916046,
0.009772753342986107,
-0.023227207362651825,
-0.06984405219554901,
-0.0030816206708550453,
-0.011676770634949207,
-0.013192765414714813,
-0.015295306220650673,
-0.007999580353498459,
-0.05829361453652382,
-0.02264968678355217,
0.06594578176736832,
0.017253465950489044,
-0.019238697364926338,
-0.03789987415075302,
-0.03984900936484337,
0.024201776832342148,
0.047789935022592545,
-0.04172595590353012,
0.0052247680723667145,
0.06637892127037048,
0.05749952048063278,
-0.0725872814655304,
-0.000825675786472857,
0.00495856674388051,
0.07673821598291397,
0.01234452985227108,
-0.005883504170924425,
-0.04147328808903694,
-0.023136969655752182,
0.04233957454562187,
-0.01882360316812992,
0.06085636839270592,
0.03661849722266197,
0.008870375342667103,
0.08966027200222015,
0.0006999069009907544,
0.043711185455322266,
0.004184777848422527,
0.08208029717206955,
-0.009001219645142555,
0.03077108785510063,
-0.017461013048887253,
0.011866269633173943,
-0.00908694602549076,
-0.006695644464343786,
0.021043453365564346,
-0.00760704604908824,
-0.021404404193162918,
-0.0004509069840423763,
0.018877746537327766,
0.007534855976700783,
-0.03461521863937378,
0.04876450449228287,
-0.03840520605444908,
-0.01833632029592991,
-0.04807869717478752,
-0.007598021999001503,
-0.04060700535774231,
-0.021837545558810234,
0.001385150128044188,
0.035174690186977386,
-0.04602127522230148,
-0.04410823434591293,
0.07847078889608383,
-0.011721889488399029,
0.0017979880794882774,
-0.01770465448498726,
-0.048186980187892914,
0.004085516091436148,
0.036708734929561615,
-0.005933134816586971,
-0.022938447073101997,
0.050966307520866394,
0.0045615206472575665,
-0.006650525610893965,
0.016206707805395126,
0.04620175063610077,
-0.036474116146564484,
0.021187834441661835,
0.04208690673112869,
0.05392610654234886,
0.005369148682802916,
0.0009582125931046903,
-0.033640649169683456,
-0.034416694194078445,
-0.053023725748062134,
0.03706968575716019,
-0.06576530635356903,
-0.004496098030358553,
0.022974541410803795,
0.011180462315678596,
-0.008234198205173016,
-0.04656270146369934,
-0.03984900936484337,
-0.01552090048789978,
0.0298867579549551,
0.013192765414714813,
-0.008513935841619968,
-0.02176535502076149,
0.0006350484909489751,
-0.013589811511337757,
-0.06291379034519196,
-0.039379771798849106,
-0.06287769228219986,
-0.08496790379285812,
0.001610744628123939,
0.06565701961517334,
-0.014609498903155327,
-0.007381451316177845,
0.015367495827376842,
0.021025406196713448,
0.012299410998821259,
-0.04872841015458107,
0.03297289088368416,
-0.024400299414992332,
0.0534207746386528,
0.018435580655932426,
0.06154217571020126,
0.022938447073101997,
0.05010002478957176,
0.03927148878574371,
-0.026493815705180168,
0.011225581169128418,
-0.014546331949532032,
0.004949543159455061,
0.03407379239797592,
-0.05562257766723633,
0.05432315170764923,
0.024219824001193047,
-0.023227207362651825,
-0.026367483660578728,
0.033387985080480576,
0.05291544273495674,
-0.001976207597181201,
-0.01684739626944065,
-0.010314179584383965,
-0.0005431187455542386,
-0.07904830574989319,
-0.09023779630661011,
-0.005964718293398619,
-0.017758797854185104,
-0.005698516499251127,
0.05309591814875603,
0.060748081654310226,
-0.05652495473623276,
0.03396550565958023
]
|
31,535 | laspy.header | LasHeader | Contains the information from the header of as LAS file
with 'implementation' field left out and 'users' field
stored in more ergonomic classes.
This header also contains the VLRs
Examples
--------
Creating a default header:
>>> header = LasHeader()
>>> header
<LasHeader(1.2, <PointFormat(3, 0 bytes of extra dims)>)>
Creating a header with the wanted version and point format:
>>> header = LasHeader(version=Version(1, 4), point_format=PointFormat(6))
>>> header
<LasHeader(1.4, <PointFormat(6, 0 bytes of extra dims)>)>
>>> header = LasHeader(version="1.4", point_format=6)
>>> header
<LasHeader(1.4, <PointFormat(6, 0 bytes of extra dims)>)>
| class LasHeader:
"""Contains the information from the header of as LAS file
with 'implementation' field left out and 'users' field
stored in more ergonomic classes.
This header also contains the VLRs
Examples
--------
Creating a default header:
>>> header = LasHeader()
>>> header
<LasHeader(1.2, <PointFormat(3, 0 bytes of extra dims)>)>
Creating a header with the wanted version and point format:
>>> header = LasHeader(version=Version(1, 4), point_format=PointFormat(6))
>>> header
<LasHeader(1.4, <PointFormat(6, 0 bytes of extra dims)>)>
>>> header = LasHeader(version="1.4", point_format=6)
>>> header
<LasHeader(1.4, <PointFormat(6, 0 bytes of extra dims)>)>
"""
#: The default version used when None is given to init
DEFAULT_VERSION = Version(1, 2)
#: The default point format Used when None is given to init
DEFAULT_POINT_FORMAT = PointFormat(3)
_OLD_LASPY_NAMES = {
"max": "maxs",
"min": "mins",
"scale": "scales",
"offset": "offsets",
"filesource_id": "file_source_id",
"system_id": "system_identifier",
"date": "creation_date",
"point_return_count": "number_of_points_by_return",
"software_id": "generating_software",
"point_records_count": "point_count",
}
def __init__(
self,
*,
version: Optional[Union[Version, str]] = None,
point_format: Optional[Union[PointFormat, int]] = None,
) -> None:
if isinstance(point_format, int):
point_format = PointFormat(point_format)
if isinstance(version, str):
version = Version.from_str(version)
if version is None and point_format is None:
version = LasHeader.DEFAULT_VERSION
point_format = LasHeader.DEFAULT_POINT_FORMAT
elif version is not None and point_format is None:
point_format = PointFormat(dims.min_point_format_for_version(str(version)))
elif version is None and point_format is not None:
version = Version.from_str(
dims.preferred_file_version_for_point_format(point_format.id)
)
dims.raise_if_version_not_compatible_with_fmt(point_format.id, str(version))
#: File source id
self.file_source_id: int = 0
self.global_encoding: GlobalEncoding = GlobalEncoding()
#: Project ID
#: Initialized to null UUID
self.uuid: UUID = UUID(bytes_le=b"\0" * 16)
self._version: Version = version
#: System identifier
#: Initialized to 'OTHER'
self.system_identifier: Union[str, bytes] = "OTHER"
#: The software which generated the file
#: Initialized to 'laspy'
self.generating_software: Union[str, bytes] = DEFAULT_GENERATING_SOFTWARE
self._point_format: PointFormat = point_format
#: Day the file was created, initialized to date.today
self.creation_date: Optional[date] = date.today()
#: The number of points in the file
self.point_count: int = 0
#: The numbers used to scale the x,y,z coordinates
self.scales: np.ndarray = np.array([0.01, 0.01, 0.01], dtype=np.float64)
#: The numbers used to offset the x,y,z coordinates
self.offsets: np.ndarray = np.zeros(3, dtype=np.float64)
# The max values for x,y,z
self.maxs: np.ndarray = np.zeros(3, dtype=np.float64)
# The min values for x,y,z
self.mins: np.ndarray = np.zeros(3, dtype=np.float64)
#: Number of points by return
#: for las <= 1.2 only the first 5 elements matters
self.number_of_points_by_return: np.ndarray = np.zeros(15, dtype=np.uint32)
#: The VLRS
self._vlrs: VLRList = VLRList()
#: Extra bytes between end of header and first vlrs
self.extra_header_bytes: bytes = b""
#: Extra bytes between end of vlr end first point
self.extra_vlr_bytes: bytes = b""
#: Las >= 1.3
self.start_of_waveform_data_packet_record: int = 0
#: Las >= 1.4
#: Offset to the first evlr in the file
self.start_of_first_evlr: int = 0
#: The number of evlrs in the file
self.number_of_evlrs: int = 0
#: EVLRs, even though they are not stored in the 'header'
#: part of the file we keep them in this class
#: as they contain same information as vlr.
#: None when the file does not support EVLR
self.evlrs: Optional[VLRList] = None
# Info we keep because it's useful for us but not the user
self.offset_to_point_data: int = 0
self.are_points_compressed: bool = False
self._sync_extra_bytes_vlr()
@property
def point_format(self) -> PointFormat:
"""The point format"""
return self._point_format
@point_format.setter
def point_format(self, new_point_format: PointFormat) -> None:
dims.raise_if_version_not_compatible_with_fmt(
new_point_format.id, str(self.version)
)
self._point_format = new_point_format
self._sync_extra_bytes_vlr()
@property
def version(self) -> Version:
"""The version"""
return self._version
@version.setter
def version(self, version: Version) -> None:
dims.raise_if_version_not_compatible_with_fmt(
self.point_format.id, str(version)
)
self._version = version
# scale properties
@property
def x_scale(self) -> float:
return self.scales[0]
@x_scale.setter
def x_scale(self, value: float) -> None:
self.scales[0] = value
@property
def y_scale(self) -> float:
return self.scales[1]
@y_scale.setter
def y_scale(self, value: float) -> None:
self.scales[1] = value
@property
def z_scale(self) -> float:
return self.scales[2]
@z_scale.setter
def z_scale(self, value: float) -> None:
self.scales[2] = value
# offset properties
@property
def x_offset(self) -> float:
return self.offsets[0]
@x_offset.setter
def x_offset(self, value: float) -> None:
self.offsets[0] = value
@property
def y_offset(self) -> float:
return self.offsets[1]
@y_offset.setter
def y_offset(self, value: float) -> None:
self.offsets[1] = value
@property
def z_offset(self) -> float:
return self.offsets[2]
@z_offset.setter
def z_offset(self, value: float) -> None:
self.offsets[2] = value
# max properties
@property
def x_max(self) -> float:
return self.maxs[0]
@x_max.setter
def x_max(self, value: float) -> None:
self.maxs[0] = value
@property
def y_max(self) -> float:
return self.maxs[1]
@y_max.setter
def y_max(self, value: float) -> None:
self.maxs[1] = value
@property
def z_max(self) -> float:
return self.maxs[2]
@z_max.setter
def z_max(self, value: float) -> None:
self.maxs[2] = value
# min properties
@property
def x_min(self) -> float:
return self.mins[0]
@x_min.setter
def x_min(self, value: float) -> None:
self.mins[0] = value
@property
def y_min(self) -> float:
return self.mins[1]
@y_min.setter
def y_min(self, value: float) -> None:
self.mins[1] = value
@property
def z_min(self) -> float:
return self.mins[2]
@z_min.setter
def z_min(self, value: float) -> None:
self.mins[2] = value
@property
def vlrs(self) -> VLRList:
return self._vlrs
@vlrs.setter
def vlrs(self, vlrs: typing.Iterable[VLR]) -> None:
self._vlrs = VLRList(vlrs)
try:
self.vlrs.extract("LaszipVlr")
except ValueError:
pass
self._sync_extra_bytes_vlr()
def add_extra_dims(self, params: List[ExtraBytesParams]) -> None:
for param in params:
self.point_format.add_extra_dimension(param)
self._sync_extra_bytes_vlr()
def add_extra_dim(self, params: Extra | (*, version: Union[laspy.header.Version, str, NoneType] = None, point_format: Union[laspy.point.format.PointFormat, int, NoneType] = None) -> None | [
0.04478796198964119,
-0.03862753510475159,
-0.05619307607412338,
0.08066827803850174,
0.006779590621590614,
-0.0553605854511261,
-0.0694296658039093,
0.015505126677453518,
-0.05257174372673035,
0.01681629754602909,
-0.033528536558151245,
-0.021259713917970657,
0.0005261597107164562,
0.04616156965494156,
-0.047618426382541656,
0.08441448956727982,
-0.005770196206867695,
0.012643441557884216,
-0.011509174481034279,
0.01286197081208229,
-0.01894955337047577,
-0.026514805853366852,
-0.0020057805813848972,
0.05286311358213425,
0.03831535205245018,
0.025057949125766754,
0.0319259911775589,
0.016046244651079178,
0.0038554694037884474,
-0.06010577827692032,
-0.037274740636348724,
-0.00514062587171793,
-0.014266797341406345,
-0.0024766577407717705,
-0.02638993225991726,
-0.04649456590414047,
0.041083380579948425,
-0.019084833562374115,
-0.09049165993928909,
0.03479808196425438,
0.0014269398525357246,
0.014901570975780487,
0.04707730934023857,
-0.004375775810331106,
-0.010348890908062458,
0.021977735683321953,
-0.03975139930844307,
0.0021540678571909666,
-0.009011704474687576,
-0.0039022970013320446,
0.021072402596473694,
-0.043664101511240005,
0.02358027920126915,
0.002682178746908903,
-0.019573921337723732,
0.04462146386504173,
0.034673210233449936,
0.13194966316223145,
0.018762243911623955,
-0.011342676356434822,
0.01196704339236021,
0.01473507285118103,
0.01502644456923008,
-0.040646325796842575,
-0.02688942663371563,
-0.008080355823040009,
-0.007227053865790367,
-0.018783055245876312,
-0.018939146772027016,
0.0524468719959259,
0.005395575892180204,
0.02030234970152378,
0.027867602184414864,
0.016295991837978363,
0.039855457842350006,
0.021977735683321953,
-0.04520420730113983,
0.0020409012213349342,
0.014651823788881302,
-0.07400836050510406,
0.021332556381821632,
0.029303647577762604,
0.019459454342722893,
-0.014891165308654308,
0.037191491574048996,
-0.0035068641882389784,
0.066807322204113,
0.020135851576924324,
-0.00104516523424536,
0.03342447429895401,
-0.029386896640062332,
0.044538214802742004,
-0.0075808619149029255,
0.017034826800227165,
0.0015140911564230919,
-0.05190575122833252,
0.0032961401157081127,
-0.06614132970571518,
-0.008226041682064533,
0.006873245816677809,
-0.024142209440469742,
-0.036338187754154205,
-0.05061539262533188,
0.017482290044426918,
-0.019553108140826225,
0.0023947095032781363,
-0.01359039917588234,
-0.01246653776615858,
0.009146983735263348,
0.00852261669933796,
-0.03384071961045265,
-0.003166063455864787,
-0.03438183665275574,
-0.0047295838594436646,
-0.015328221954405308,
-0.040792010724544525,
-0.006852433551102877,
0.01860615238547325,
-0.0366087481379509,
0.025286883115768433,
0.019116051495075226,
0.011384300887584686,
-0.0524468719959259,
0.05049051716923714,
-0.0117172971367836,
-0.04924178496003151,
0.04782655090093613,
0.030677257105708122,
0.02838790975511074,
-0.05785805359482765,
0.004560484085232019,
0.01174851506948471,
-0.039293527603149414,
0.0008507007150910795,
-0.0036187299992889166,
-0.06318598985671997,
0.04595344886183739,
-0.01326780952513218,
-0.06743168830871582,
0.01154039241373539,
0.0263691209256649,
0.05132300779223442,
0.050074271857738495,
-0.05386210232973099,
-0.06784793734550476,
0.04050063714385033,
0.05119813606142998,
-0.039855457842350006,
-0.05211387574672699,
0.011446737684309483,
0.004191067069768906,
-0.040937695652246475,
-0.026764553040266037,
0.006862839683890343,
0.023809213191270828,
-0.08932618051767349,
-0.033091478049755096,
-0.056900691241025925,
0.026036124676465988,
0.0448295883834362,
-0.05727531388401985,
-0.03246711194515228,
0.0009033817332237959,
-0.012372883036732674,
-0.04120825603604317,
-0.003949124366044998,
-0.015380253084003925,
-0.03234223648905754,
-0.016795486211776733,
0.04478796198964119,
0.05569358170032501,
-0.013600805774331093,
-0.07629770785570145,
0.05111488699913025,
0.005780602339655161,
0.06784793734550476,
0.002570312935858965,
-0.003707182127982378,
0.011061711236834526,
-0.004201473202556372,
0.03359097242355347,
-0.01120739709585905,
-0.005791008472442627,
0.016119087114930153,
-0.005437200423330069,
0.037690985947847366,
0.025932064279913902,
0.002950136549770832,
0.02364271692931652,
-0.006883651949465275,
0.0012207685504108667,
-0.0020213897805660963,
0.027388921007514,
-0.007367536425590515,
0.0004289274802431464,
0.004459024406969547,
0.020729001611471176,
-0.012476944364607334,
0.015838121995329857,
-0.0121543537825346,
-0.03321634978055954,
0.017211731523275375,
0.02645236998796463,
-0.04911690950393677,
-0.037566110491752625,
-0.014350046403706074,
0.011072116903960705,
-0.002898105885833502,
-0.06922154128551483,
0.06060527265071869,
0.010302064009010792,
-0.03215492516756058,
-0.020073415711522102,
-0.0117172971367836,
0.033382847905159,
-0.08949267864227295,
-0.05044889450073242,
0.05277986451983452,
0.011311457492411137,
0.03307066485285759,
0.07346723973751068,
-0.021082809194922447,
-0.06772305816411972,
-0.014506137929856777,
0.0134759321808815,
0.004263909533619881,
0.04349760338664055,
0.008850409649312496,
-0.0003551090194378048,
-0.032820917665958405,
0.03148893266916275,
-0.05548545718193054,
-0.05407022684812546,
0.015255379490554333,
0.02416302263736725,
-0.014714260585606098,
-0.0028955042362213135,
0.06326924264431,
-0.03635900095105171,
-0.03846103698015213,
0.005494433920830488,
-0.011176178231835365,
0.009974271059036255,
0.0013462924398481846,
-0.031738679856061935,
-0.015390658751130104,
0.0336950346827507,
0.03810723125934601,
-0.0459950715303421,
0.013715272769331932,
0.016920359805226326,
-0.012830751948058605,
-0.021145246922969818,
0.044663090258836746,
-0.011457143351435661,
-0.08216676115989685,
-0.009526807814836502,
-0.04027170315384865,
0.06734844297170639,
-0.04724380746483803,
-0.029366085305809975,
-0.07488247752189636,
0.03910621628165245,
0.04666106402873993,
0.036920931190252304,
0.026639679446816444,
0.017263760790228844,
-0.015473907813429832,
-0.012997250072658062,
0.012112729251384735,
0.04936665669083595,
0.0401260182261467,
-0.09157390147447586,
0.003392396727576852,
0.010458155535161495,
0.005957506597042084,
0.005145828705281019,
-0.060355525463819504,
0.07238500565290451,
0.03617168962955475,
0.04753518104553223,
-0.004237894434481859,
0.00222300854511559,
0.019553108140826225,
0.028929026797413826,
-0.026056937873363495,
-0.033903155475854874,
-0.06859717518091202,
-0.02666049264371395,
-0.030677257105708122,
-0.014204360544681549,
0.021519865840673447,
-0.013205372728407383,
-0.02580719068646431,
0.09681858867406845,
0.011342676356434822,
0.007107383571565151,
-0.01524497289210558,
0.02768029272556305,
-0.055027589201927185,
-0.011654860340058804,
-0.025640692561864853,
0.16075381636619568,
0.014599793590605259,
-0.04699406027793884,
-0.01728457398712635,
0.0033013431821018457,
-0.04624481871724129,
0.035318389534950256,
-0.01663939468562603,
0.03810723125934601,
0.04545395448803902,
-0.0016220547258853912,
-0.01959473267197609,
0.04587019979953766,
0.02112443372607231,
0.0016129494179040194,
0.02932446077466011,
0.03710824251174927,
0.05914841592311859,
-0.03773260861635208,
-0.01936579868197441,
-0.013642430305480957,
-0.002474056323990226,
0.04807629808783531,
-0.0342777743935585,
0.027513794600963593,
-0.012778721749782562,
-0.0003069806843996048,
-0.009479979984462261,
-0.04670269042253494,
-0.004375775810331106,
-0.020989153534173965,
0.053029611706733704,
0.004875269718468189,
-0.018054626882076263,
-0.014318828471004963,
0.0008591557270847261,
0.0544864721596241,
-0.03207167610526085,
0.06801443547010422,
0.004209277685731649,
-0.05382047966122627,
0.033382847905159,
0.024766577407717705,
-0.05764993280172348,
0.058482423424720764,
-0.04736868292093277,
-0.02472495287656784,
0.06643269956111908,
-0.043164607137441635,
-0.018595745787024498,
-0.017908941954374313,
0.0533209852874279,
0.017086857929825783,
-0.0375036746263504,
-0.010031504556536674,
-0.07429973036050797,
0.04362247511744499,
0.02067697048187256,
0.012248009443283081,
0.009417543187737465,
-0.05198900029063225,
0.018023408949375153,
-0.03714986518025398,
-0.03479808196425438,
0.001449052942916751,
-0.05040726810693741,
0.03567219525575638,
-0.005257694516330957,
-0.023767590522766113,
-0.04312298074364662,
-0.01769041270017624,
-0.05548545718193054,
0.022393980994820595,
0.009001297876238823,
0.004321143496781588,
0.04595344886183739,
-0.05615144968032837,
-0.01649370789527893,
0.04085444658994675,
0.03513107821345329,
-0.0020812249276787043,
0.06168751046061516,
0.0389605313539505,
0.003488653339445591,
0.01728457398712635,
-0.015858935192227364,
-0.0028955042362213135,
0.023205658420920372,
0.024995513260364532,
0.03825291618704796,
0.043664101511240005,
-0.02838790975511074,
0.004206676036119461,
0.019792450591921806,
-0.032238174229860306,
0.08666221052408218,
0.020323162898421288,
-0.035047829151153564,
-0.00943315215408802,
-0.06335248798131943,
-0.01070790272206068,
0.04516258090734482,
-0.03498539328575134,
-0.068555548787117,
0.09731808304786682,
-0.0016545738326385617,
-0.01836680993437767,
0.06805605441331863,
0.0017664397601038218,
0.023247282952070236,
-0.03556813672184944,
-0.05873217061161995,
-0.020635345950722694,
0.005993927828967571,
-0.021072402596473694,
0.012123135849833488,
0.02141580544412136,
0.02199854888021946,
0.0029475349001586437,
0.04636969417333603,
0.028200598433613777,
0.06439310312271118,
-0.020749812945723534,
-0.02393408678472042,
-0.056526072323322296,
0.006441391538828611,
-0.028075724840164185,
0.01318456046283245,
0.017482290044426918,
0.035193514078855515,
0.01009394135326147,
-0.04766005277633667,
-0.013902583159506321,
-0.013257402926683426,
-0.0005414437036961317,
-0.03150974586606026,
0.010635060258209705,
0.01258100476115942,
0.07425811141729355,
0.01652492582798004,
0.013288621790707111,
0.012601817026734352,
-0.03242548555135727,
-0.005728571675717831,
-0.0887434333562851,
-0.014714260585606098,
-0.04936665669083595,
-0.017294980585575104,
-0.019292956218123436,
0.047118935734033585,
0.024496018886566162,
-0.018117064610123634,
-0.011384300887584686,
-0.034964580088853836,
-0.0401260182261467,
-0.04786817356944084,
-0.024600079283118248,
-0.022706164047122,
-0.005327935796231031,
0.030219387263059616,
0.008059543557465076,
-0.010874400846660137,
-0.016358427703380585,
-0.0009677696507424116,
0.03760773688554764,
-0.03492295742034912,
-0.04965803027153015,
-0.015088881365954876,
0.01236247643828392,
-0.06526721268892288,
-0.0015127904480323195,
-0.027014300227165222,
0.042956482619047165,
0.016951577737927437,
0.0027732322923839092,
0.01570284180343151,
-0.037545301020145416,
-0.04145800322294235,
0.009662087075412273,
-0.0717606395483017,
-0.011498767882585526,
0.005978318862617016,
0.03962652385234833,
0.05985603109002113,
0.004505852237343788,
0.011800546199083328,
0.0035666993353515863,
-0.04578695073723793,
-0.062436752021312714,
0.04428846761584282,
-0.034756459295749664,
0.04595344886183739,
-0.01728457398712635,
0.03465239703655243,
0.046536192297935486,
-0.026722928509116173,
0.026993488892912865,
-0.054444845765829086,
0.002484462456777692,
-0.04239455237984657,
-0.04953315481543541,
-0.06639108061790466,
0.04886716231703758,
0.023684341460466385,
-0.025848815217614174,
-0.002695186296477914,
-0.010811964049935341,
-0.02009422704577446,
-0.06730681657791138,
-0.016264773905277252,
0.029948828741908073,
0.002617140533402562,
-0.015775686129927635,
0.05894029140472412,
-0.026327496394515038,
0.06081339344382286,
-0.032508734613657,
-0.013746491633355618,
-0.005317530129104853,
-0.00012406051973812282,
0.024121398106217384,
-0.06435147672891617,
-0.0234345942735672,
0.05785805359482765,
-0.037129055708646774,
-0.0550692155957222,
0.06422660499811172,
0.01329902745783329,
-0.004828441888093948,
-0.03434021398425102,
0.02041681669652462,
0.023809213191270828,
0.07404998689889908,
0.04033413901925087,
0.015328221954405308,
-0.02926202304661274,
-0.043664101511240005,
-0.043747350573539734,
0.02838790975511074,
-0.002721201628446579,
-0.03248792141675949,
-0.055402208119630814,
0.0015869340859353542,
-0.015806904062628746,
0.020021384581923485,
0.022622914984822273,
0.019646763801574707,
-0.02595287561416626,
0.05282149091362953,
0.006306111812591553,
0.05436159670352936,
-0.007393551990389824,
0.04915853589773178,
0.018231531605124474,
0.002965745748952031,
-0.04412196949124336,
0.014506137929856777,
-0.0038346571382135153,
-0.029636643826961517,
0.02480820193886757,
0.004479836672544479,
-0.024704141542315483,
-0.1048937439918518,
0.02299753576517105,
-0.01892874203622341,
0.03492295742034912,
-0.018054626882076263,
0.018085844814777374,
0.04214480519294739,
0.042956482619047165,
-0.010791151784360409,
-0.019292956218123436,
-0.004992338363081217,
-0.006207253783941269,
-0.013361464254558086,
0.03205086663365364,
0.003046393161639571,
-0.033819906413555145,
0.03854428604245186,
0.025390945374965668,
0.033965591341257095,
-0.08915968239307404,
0.014079486951231956,
0.033674221485853195,
-0.028575219213962555,
0.05044889450073242,
0.04965803027153015,
0.03307066485285759,
-0.052654992789030075,
-0.0013170251622796059,
-0.016514521092176437,
-0.030156949535012245,
-0.040084391832351685,
0.046036697924137115,
0.025266071781516075,
-0.008871221914887428,
0.031447310000658035,
0.020468847826123238,
-0.0462864451110363,
0.015328221954405308,
-0.051156509667634964,
0.01103049237281084,
0.011904606595635414,
-0.04487121105194092,
0.013871364295482635,
0.019001584500074387,
-0.0049299015663564205,
-0.01379852183163166,
0.04362247511744499,
0.03111431375145912,
-0.015401065349578857,
-0.06368548423051834,
-0.019532296806573868,
-0.044038720428943634,
-0.018502090126276016,
0.03019857406616211,
0.07592308521270752,
-0.002187887905165553,
-0.024475205689668655,
0.012289633974432945,
-0.005504840053617954,
0.011852576397359371,
-0.023809213191270828,
-0.017242949455976486,
0.027555419132113457,
-0.04328947886824608,
0.03290416672825813,
-0.03789910674095154,
0.02206098474562168,
-0.011519580148160458,
0.03225898742675781,
-0.04528745636343956,
0.004412197042256594,
0.003358576912432909,
0.005770196206867695,
-0.013278215192258358,
0.023684341460466385,
0.06497584283351898,
0.0536123551428318,
-0.010187596082687378,
0.004690560977905989,
0.003439224325120449,
-0.026410745456814766,
0.053945351392030716,
0.018085844814777374,
-0.019969353452324867,
0.07492410391569138,
0.03975139930844307,
-0.014058674685657024,
0.024121398106217384,
-0.034256964921951294,
-0.044663090258836746,
-0.00471657607704401,
0.018262749537825584,
-0.04060469940304756,
-0.001328732119873166,
0.005309725180268288,
-0.022976724430918694,
-0.0366087481379509,
-0.022248296067118645,
0.017409447580575943,
-0.009953458793461323,
-0.009896225295960903,
-0.029740706086158752,
0.021582303568720818,
0.037420425564050674,
0.016223149374127388,
0.052072249352931976,
-0.0268061775714159,
-0.012789127416908741,
0.005614104680716991,
0.02018788270652294,
0.027701104059815407,
-0.0483260452747345,
-0.0008285876829177141,
-0.007986701093614101,
0.006352939177304506,
0.0013501946814358234,
0.04068794846534729,
0.08262462913990021,
-0.015338628552854061,
-0.00956322904676199,
0.0025078761391341686,
0.050781890749931335,
-0.019344987347722054,
-0.006488218903541565,
0.02243560552597046,
0.00862667802721262,
-0.0009690704173408449,
0.02745135873556137,
0.046536192297935486,
0.013881770893931389,
-0.021009966731071472,
-0.04595344886183739,
-0.015973402187228203,
-0.009812976233661175,
0.001994073623791337,
-0.02788841538131237,
-0.007867030799388885,
-0.045620452612638474,
-0.05615144968032837,
0.056317947804927826,
-0.011925418861210346,
0.03989708423614502,
-0.019969353452324867,
-0.004625522531569004,
-0.013163748197257519,
-0.009812976233661175,
0.031031064689159393,
0.07338399440050125,
0.031801119446754456,
-0.06614132970571518,
0.012633035890758038,
0.039938706904649734,
-0.029928015545010567,
0.016483301296830177,
-0.0038814847357571125,
0.035193514078855515,
-0.010791151784360409,
0.06584995985031128,
0.025640692561864853,
0.02364271692931652,
-0.03458996117115021,
0.015276191756129265,
-0.018783055245876312,
-0.011238615028560162,
-0.036629561334848404,
0.004576093517243862,
0.006498625036329031,
0.0750073492527008,
-0.04083363339304924,
0.03714986518025398,
0.001126463059335947,
-0.02759704366326332,
0.01842924766242504,
0.029782330617308617,
-0.007164617069065571,
0.043664101511240005,
-0.020937124267220497,
-0.022331545129418373,
-0.08616271615028381,
-0.01731579191982746,
-0.032238174229860306,
0.06959616392850876,
0.035255949944257736,
0.04254024103283882,
-0.044163595885038376,
0.018710212782025337,
0.05860729515552521,
-0.004823239054530859,
-0.03098944015800953,
0.028263036161661148,
0.04587019979953766,
-0.05398697778582573,
0.0310518778860569,
0.01628558523952961,
0.03629656508564949,
-0.08591296523809433,
-0.054736219346523285,
-0.058690544217824936,
0.006696341559290886,
0.07067839801311493,
0.01686832867562771,
0.045412328094244,
-0.06955453753471375,
0.0670986920595169
]
|
31,536 | laspy.header | __getattr__ | null | def __getattr__(self, item):
try:
return getattr(self, self._OLD_LASPY_NAMES[item])
except KeyError:
raise AttributeError(f"No attribute {item} in LasHeader") from None
| (self, item) | [
0.03699135035276413,
-0.0028546727262437344,
-0.0005017385701648891,
0.01418870035558939,
-0.0001371029793517664,
-0.0849585309624672,
0.051718421280384064,
0.027092255651950836,
0.027179090306162834,
0.017627332359552383,
-0.04647363722324371,
-0.00126018060836941,
0.0374428853392601,
0.02492140233516693,
-0.04029104486107826,
0.06863371282815933,
-0.036713480949401855,
0.08037368953227997,
-0.002867697970941663,
-0.01917298138141632,
-0.0034082403872162104,
0.046334702521562576,
-0.015560680069029331,
0.005778812803328037,
0.026258647441864014,
0.04939126595854759,
0.048314522951841354,
0.014770489186048508,
0.09162739664316177,
-0.05803994834423065,
0.005687636788934469,
-0.010072761215269566,
-0.013242208398878574,
0.007984399795532227,
-0.025286104530096054,
0.007441686931997538,
-0.03876276686787605,
-0.07259335368871689,
-0.003740380983799696,
0.001237386604771018,
0.028082164004445076,
-0.00018547232320997864,
0.028707370162010193,
-0.066445492208004,
0.008166751824319363,
-0.028203733265399933,
-0.013598227873444557,
0.04935653135180473,
0.004141989164054394,
-0.01605563424527645,
0.01129712350666523,
0.015881966799497604,
0.0509195476770401,
-0.019919754937291145,
-0.046334702521562576,
0.037199750542640686,
-0.014127916656434536,
0.06786957383155823,
0.012834087945520878,
0.05474025011062622,
0.0065342700108885765,
0.006212983746081591,
-0.02650178223848343,
-0.05380244180560112,
0.03263227269053459,
-0.07856754213571548,
0.03070455603301525,
0.02785639651119709,
-0.010315896943211555,
-0.022733181715011597,
0.005036380607634783,
0.04522322490811348,
-0.030148817226290703,
0.0259286779910326,
0.035341501235961914,
-0.015039674937725067,
-0.06790430843830109,
-0.06238165497779846,
0.04240979999303818,
-0.03834596276283264,
-0.015057042241096497,
0.029905682429671288,
-0.03594933822751045,
0.019450850784778595,
-0.05915142595767975,
-0.04845345765352249,
0.031937599182128906,
-0.048314522951841354,
-0.02158696949481964,
0.058943022042512894,
-0.04862712323665619,
0.04049944877624512,
-0.03508099541068077,
0.04004791006445885,
-0.009325987659394741,
-0.01704554446041584,
0.06797377020120621,
-0.018981944769620895,
0.04036051407456398,
0.006043656729161739,
0.06095757335424423,
-0.030444053933024406,
-0.015751715749502182,
0.030617721378803253,
-0.016237987205386162,
0.026102345436811447,
-0.00672530522570014,
-0.047307245433330536,
0.06366679817438126,
0.008496721275150776,
-0.005752762779593468,
-0.01416265033185482,
-0.05571279302239418,
0.049287065863609314,
-0.003455999307334423,
-0.02407042682170868,
0.030009882524609566,
-0.018096236512064934,
-0.02646704949438572,
0.006008923519402742,
0.010142228566110134,
-0.026050245389342308,
-0.04564002901315689,
-0.023844657465815544,
0.04095098748803139,
-0.04081205278635025,
-0.066445492208004,
-0.037755489349365234,
0.09426715224981308,
0.008514088578522205,
-0.01969398558139801,
-0.00044800995965488255,
-0.02973201312124729,
-0.005865646991878748,
-0.018408840522170067,
-0.0021838790271431208,
0.05779680982232094,
0.0479324534535408,
-0.005800521466881037,
0.023844657465815544,
-0.012738569639623165,
-0.00046836171532049775,
0.013928198255598545,
-0.049669135361909866,
-0.015508579090237617,
0.031051892787218094,
0.0175491813570261,
0.04282660409808159,
-0.028933139517903328,
-0.022229542955756187,
-0.012660419568419456,
-0.01751444861292839,
-0.0015022308798506856,
0.0072593349032104015,
0.017957301810383797,
-0.0030196576844900846,
-0.09614277631044388,
-0.0216217041015625,
-0.020440759137272835,
-0.02155223675072193,
0.026814386248588562,
-0.027804294601082802,
-0.06238165497779846,
-0.04126358777284622,
0.02502560243010521,
-0.020023955032229424,
-0.010958470404148102,
-0.03171183168888092,
0.006768722087144852,
0.007228943053632975,
-0.02644968219101429,
0.0025724617298692465,
-0.04567476361989975,
0.027092255651950836,
0.0010175877250730991,
0.0510932132601738,
-0.044459085911512375,
0.03587987273931503,
0.04609156772494316,
-0.04282660409808159,
-0.007771656382828951,
-0.00016986930859275162,
-0.029106806963682175,
-0.036261942237615585,
-0.025668175891041756,
0.048279788345098495,
-0.010420097969472408,
0.021760638803243637,
-0.015682248398661613,
0.0752331092953682,
0.02024972438812256,
0.002774351043626666,
0.020544961094856262,
-0.004120280500501394,
-0.021257000043988228,
-0.013155373744666576,
-0.027144355699419975,
0.006542953196913004,
0.02165643684566021,
0.06210378557443619,
0.0035384916700422764,
0.044528551399707794,
-0.06102704256772995,
0.12163727730512619,
-0.04814085364341736,
0.002481285948306322,
0.036505077034235,
-0.04174986109137535,
-0.10385364294052124,
0.009933826513588428,
-0.022976316511631012,
0.044875890016555786,
0.005930772516876459,
-0.01108003780245781,
-0.005357667338103056,
0.005557385738939047,
-0.062312185764312744,
0.01203521341085434,
0.0268664862960577,
-0.00022102004732005298,
0.027213823050260544,
-0.015404378063976765,
0.0046152351424098015,
-0.005023355595767498,
0.016385603696107864,
-0.0023314969148486853,
0.03751235455274582,
0.014848640188574791,
-0.04911339655518532,
0.02398359216749668,
0.0013665524311363697,
0.00008344219531863928,
0.03254543989896774,
0.015829866752028465,
-0.013641645200550556,
-0.020006587728857994,
-0.015508579090237617,
0.04129832237958908,
-0.06873791664838791,
-0.027057521045207977,
0.002570290816947818,
0.017696799710392952,
-0.004862712696194649,
0.08016528934240341,
0.005739737302064896,
0.006768722087144852,
-0.02646704949438572,
0.04814085364341736,
-0.06932839006185532,
-0.003974833060055971,
0.0510932132601738,
0.061825916171073914,
0.03959637135267258,
0.06161751225590706,
-0.009108902886509895,
-0.06446567177772522,
-0.05494865030050278,
-0.003364823292940855,
-0.006799113936722279,
-0.04140252247452736,
-0.03284067660570145,
-0.03363955020904541,
0.018565142527222633,
-0.012981705367565155,
0.004337365739047527,
0.05661586672067642,
0.04574423283338547,
0.04918286204338074,
0.013528760522603989,
0.03129502758383751,
-0.047341980040073395,
-0.02841213531792164,
-0.015100458636879921,
-0.009690691716969013,
0.03542833402752876,
0.026084979996085167,
0.0006382309948094189,
0.0024964818730950356,
0.01491810753941536,
0.019832920283079147,
0.0875982940196991,
0.01345929317176342,
-0.025164537131786346,
0.06717489659786224,
-0.016281403601169586,
-0.02314998395740986,
0.0069510736502707005,
0.03409108892083168,
-0.033813219517469406,
0.035358864814043045,
0.03119082748889923,
-0.008227535523474216,
0.016003534197807312,
-0.0031216877978295088,
0.06505614519119263,
0.025060337036848068,
-0.04907866194844246,
0.0441812165081501,
0.06995359063148499,
0.00768482219427824,
-0.021430669352412224,
0.012712519615888596,
-0.012738569639623165,
-0.0239662267267704,
-0.022316377609968185,
-0.017974669113755226,
-0.0022511754650622606,
0.0303224865347147,
-0.0585956871509552,
0.030391953885555267,
0.040568914264440536,
0.05592119321227074,
-0.04501482471823692,
-0.03497679531574249,
0.0023857683409005404,
-0.005856963340193033,
-0.033379048109054565,
0.04869659245014191,
0.020388659089803696,
0.05585172772407532,
-0.029714645817875862,
-0.04866185784339905,
-0.04949546605348587,
0.01751444861292839,
0.04428541660308838,
0.00156518560834229,
0.016524538397789,
-0.04369494691491127,
-0.018460940569639206,
0.01602090150117874,
0.007832440547645092,
-0.006282451096922159,
-0.03935323655605316,
-0.03831122815608978,
-0.025320839136838913,
0.011271072551608086,
-0.0173147302120924,
0.02830793336033821,
0.018860377371311188,
-0.02796059660613537,
-0.018356740474700928,
-0.012243615463376045,
-0.0239662267267704,
0.019572418183088303,
0.0205970611423254,
-0.0423055998980999,
-0.008757224306464195,
0.03758182004094124,
0.024643532931804657,
-0.04525795951485634,
-0.013242208398878574,
-0.06460461020469666,
0.031954966485500336,
0.06797377020120621,
0.043590743094682693,
-0.017175795510411263,
-0.009438872337341309,
-0.015725664794445038,
0.03183339908719063,
0.03469892591238022,
0.04765458405017853,
-0.05519178509712219,
-0.03231967240571976,
-0.01570829749107361,
-0.03405635431408882,
-0.041089922189712524,
-0.04258346930146217,
-0.01602090150117874,
0.033379048109054565,
-0.03301434591412544,
-0.04852292314171791,
-0.01675899140536785,
-0.013685062527656555,
-0.02353205531835556,
-0.002314130077138543,
0.018096236512064934,
0.07433003187179565,
0.0040638381615281105,
-0.04379914700984955,
-0.03075665608048439,
-0.001068060053512454,
-0.018877744674682617,
0.01758391596376896,
0.03174656629562378,
0.020562326535582542,
-0.006169566418975592,
-0.02589394338428974,
-0.008943917229771614,
0.03311854600906372,
0.00890918355435133,
-0.011418690904974937,
-0.03591460362076759,
-0.004202772863209248,
-0.0038554363418370485,
-0.006538611836731434,
-0.018825644627213478,
-0.009334671311080456,
-0.07391323149204254,
0.018408840522170067,
-0.05762314423918724,
0.0269533209502697,
-0.02792586386203766,
-0.06245112046599388,
0.019364016130566597,
-0.02987094782292843,
0.0005427134456112981,
0.01971135288476944,
0.06137437745928764,
-0.037720754742622375,
-0.026605984196066856,
0.03159026429057121,
0.061270177364349365,
-0.0737742930650711,
-0.11059197783470154,
0.04723777994513512,
0.032510705292224884,
0.08516693860292435,
0.03706081584095955,
-0.004458933603018522,
0.021031230688095093,
-0.01203521341085434,
-0.03608827292919159,
-0.015968799591064453,
0.003759918734431267,
-0.010897685773670673,
-0.02987094782292843,
-0.03643561154603958,
-0.017922569066286087,
0.029211008921265602,
0.0019385723862797022,
-0.005835255142301321,
0.011661826632916927,
0.0007863917853683233,
-0.016672156751155853,
0.03202443569898605,
-0.015004941262304783,
-0.04675150662660599,
-0.013632961548864841,
-0.050190139561891556,
-0.014770489186048508,
0.03733868524432182,
0.02983621507883072,
0.004736803006380796,
0.035740938037633896,
-0.03237177059054375,
-0.05050274357199669,
-0.007823756895959377,
0.010029344819486141,
0.039144836366176605,
-0.05571279302239418,
-0.021743271499872208,
0.029141541570425034,
0.014892056584358215,
0.020371291786432266,
-0.0033040393609553576,
-0.06245112046599388,
-0.044042281806468964,
-0.03977004066109657,
0.040152110159397125,
-0.0216217041015625,
-0.05380244180560112,
0.04265293478965759,
0.0018767031142488122,
-0.02933257631957531,
-0.005162290297448635,
0.04036051407456398,
-0.019034046679735184,
-0.003260622499510646,
-0.027074888348579407,
-0.024157261475920677,
-0.0011299294419586658,
-0.03980477526783943,
0.028064798563718796,
-0.04473695531487465,
0.032944876700639725,
-0.003232401330024004,
-0.013606911525130272,
0.03594933822751045,
-0.03845016285777092,
-0.02448723092675209,
-0.01012486219406128,
-0.03907536715269089,
0.00863131508231163,
-0.0313471294939518,
0.01514387596398592,
0.014866006560623646,
-0.05918615683913231,
0.041541457176208496,
0.010133545845746994,
-0.02735275775194168,
0.01746234856545925,
0.05519178509712219,
-0.009768841788172722,
0.04963440075516701,
0.026102345436811447,
0.012729886919260025,
0.027509059756994247,
-0.023862024769186974,
0.015022308565676212,
0.012486751191318035,
-0.0056008026003837585,
-0.07828967273235321,
0.05321196839213371,
-0.01729736290872097,
0.029923047870397568,
-0.03119082748889923,
0.013398509472608566,
0.010915053077042103,
0.04147199168801308,
-0.05776207894086838,
-0.01491810753941536,
0.01821780577301979,
0.0539066419005394,
-0.002904602326452732,
0.009543073363602161,
0.016550589352846146,
-0.06748750060796738,
0.04675150662660599,
0.037755489349365234,
0.08516693860292435,
0.06991885602474213,
-0.06088810786604881,
0.007076983340084553,
-0.09183579683303833,
-0.03254543989896774,
0.008622631430625916,
0.006108782719820738,
0.0011288439854979515,
0.0005845023551955819,
-0.00041734662954695523,
-0.019832920283079147,
-0.022820014506578445,
-0.019120879471302032,
0.04675150662660599,
0.03162499889731407,
0.09482289105653763,
-0.04803665354847908,
0.006790430750697851,
-0.06887684762477875,
-0.0175491813570261,
0.05821361392736435,
-0.021934306249022484,
0.003458169987425208,
-0.00008344219531863928,
0.006204300094395876,
-0.05348983779549599,
-0.11489894986152649,
0.017922569066286087,
-0.01206126343458891,
-0.00024137180298566818,
-0.045431628823280334,
-0.0016292257932946086,
-0.05428871139883995,
-0.03695661574602127,
0.015795132145285606,
0.004450250416994095,
-0.029940415173768997,
-0.004489325452595949,
-0.00017868840950541198,
0.020336559042334557,
0.0067513552494347095,
-0.037269216030836105,
0.05251729488372803,
0.019919754937291145,
-0.005401084199547768,
0.0018148337258026004,
0.013129323720932007,
0.01516124326735735,
0.015743032097816467,
-0.015317544341087341,
0.03141659498214722,
-0.006395335309207439,
0.009560439735651016,
0.03553253412246704,
-0.013042489998042583,
-0.006091415882110596,
0.002351034665480256,
0.018565142527222633,
-0.019502950832247734,
-0.022212175652384758,
0.05772734433412552,
0.013554811477661133,
-0.04991227015852928,
-0.03657454624772072,
-0.05522651970386505,
-0.06512561440467834,
0.008023475296795368,
0.027265923097729683,
-0.017644699662923813,
-0.012799354270100594,
-0.07606671750545502,
-0.07509417086839676,
-0.03977004066109657,
-0.00732880225405097,
0.05470551550388336,
0.06766117364168167,
0.048279788345098495,
-0.004476300440728664,
-0.029610445722937584,
0.03570620343089104,
0.037824954837560654,
0.025685541331768036,
0.0344557911157608,
0.0481061190366745,
0.046855706721544266,
0.02163907140493393,
0.001381748472340405,
0.00577447097748518,
-0.04602210223674774,
-0.02552924118936062,
-0.004365587141364813,
0.024765100330114365,
0.006464802660048008,
0.05630326271057129,
0.008336078375577927,
-0.009916460141539574,
0.01565619744360447,
-0.0049538882449269295,
0.02936731092631817,
-0.056060127913951874,
-0.02936731092631817,
-0.03317064419388771,
-0.03259754180908203,
0.025789743289351463,
-0.012460701167583466,
-0.0182525385171175,
0.059394560754299164,
-0.020840195938944817,
0.016767675057053566,
-0.04216666519641876,
0.0182525385171175,
0.00890918355435133,
0.06307632476091385,
-0.04709884524345398,
-0.0004249446210451424,
0.08405546098947525,
0.04411174729466438,
-0.0065342700108885765,
0.010385364294052124,
0.0423055998980999,
-0.020527593791484833,
-0.02408779412508011,
-0.03506363183259964,
0.01470102183520794,
-0.00890050083398819,
0.023445220664143562,
-0.03692188113927841,
-0.020944397896528244,
0.04331287369132042,
-0.0086139477789402,
-0.028099531307816505,
-0.008553164079785347,
-0.056928470730781555,
0.005409767851233482,
0.023202085867524147,
-0.05286462977528572,
-0.020458126440644264,
-0.009430188685655594,
0.01106267049908638,
-0.05856095254421234,
-0.03994370996952057,
-0.04893972724676132,
0.015551996417343616,
-0.014041082002222538,
0.08190197497606277,
-0.0424792654812336,
0.01035063061863184,
-0.007940983399748802,
0.03897116705775261,
-0.021517502143979073,
-0.0015391353517770767,
0.026102345436811447,
-0.0031433962285518646,
0.005036380607634783,
-0.008570530451834202,
-0.041645657271146774,
0.01761864870786667,
-0.053524572402238846,
0.10058867931365967,
0.0038684613537043333,
0.012790670618414879,
0.02405305951833725,
-0.06453514099121094,
-0.030982425436377525,
0.0112797562032938,
0.010498248971998692,
0.0557822585105896,
0.011870228685438633,
0.008166751824319363,
-0.0834997221827507,
-0.013494026847183704,
-0.043521277606487274,
-0.010220379568636417,
0.07551097869873047,
0.0012471554800868034,
-0.04907866194844246,
0.024313561618328094,
0.013823997229337692,
0.022976316511631012,
0.03845016285777092,
0.023358386009931564,
0.015100458636879921,
0.006030631717294455,
0.030148817226290703,
-0.014866006560623646,
0.010645867325365543,
0.031503431499004364,
-0.0004892561701126397,
-0.04994700476527214,
-0.01345061045140028,
-0.013954248279333115,
-0.019850287586450577,
0.021482769399881363,
-0.009985927492380142,
0.0977405235171318,
-0.03273647651076317,
-0.053524572402238846,
-0.02169117145240307,
-0.015265444293618202,
0.03367428481578827,
0.024244094267487526,
0.009161002933979034,
0.022715814411640167,
0.04480642080307007,
0.01154894195497036,
-0.03737341985106468,
-0.040082644671201706,
-0.005414109211415052,
-0.027057521045207977,
0.06835584342479706,
0.05435818061232567,
0.04036051407456398,
-0.008787616156041622,
0.02837740071117878,
0.05137108266353607,
0.0029762405902147293,
-0.03591460362076759,
0.0460568331182003,
0.0269533209502697,
0.0797484815120697,
-0.00850540492683649,
0.045952633023262024,
0.008105968125164509,
-0.015248076990246773,
-0.028707370162010193,
0.03455999121069908,
-0.046334702521562576,
0.04914813116192818,
0.010724017396569252,
0.007376561406999826,
0.028099531307816505,
0.00892655085772276,
-0.008674731478095055,
0.038241758942604065,
0.09280834347009659,
-0.07690032571554184,
0.0012384720612317324,
0.021257000043988228,
0.07040513306856155,
-0.030600355938076973,
-0.020944397896528244,
0.013650328852236271,
-0.0030283411033451557,
0.09711531549692154,
0.007958349771797657,
-0.009065485559403896,
-0.0479324534535408,
0.019034046679735184
]
|
31,537 | laspy.header | __init__ | null | def __init__(
self,
*,
version: Optional[Union[Version, str]] = None,
point_format: Optional[Union[PointFormat, int]] = None,
) -> None:
if isinstance(point_format, int):
point_format = PointFormat(point_format)
if isinstance(version, str):
version = Version.from_str(version)
if version is None and point_format is None:
version = LasHeader.DEFAULT_VERSION
point_format = LasHeader.DEFAULT_POINT_FORMAT
elif version is not None and point_format is None:
point_format = PointFormat(dims.min_point_format_for_version(str(version)))
elif version is None and point_format is not None:
version = Version.from_str(
dims.preferred_file_version_for_point_format(point_format.id)
)
dims.raise_if_version_not_compatible_with_fmt(point_format.id, str(version))
#: File source id
self.file_source_id: int = 0
self.global_encoding: GlobalEncoding = GlobalEncoding()
#: Project ID
#: Initialized to null UUID
self.uuid: UUID = UUID(bytes_le=b"\0" * 16)
self._version: Version = version
#: System identifier
#: Initialized to 'OTHER'
self.system_identifier: Union[str, bytes] = "OTHER"
#: The software which generated the file
#: Initialized to 'laspy'
self.generating_software: Union[str, bytes] = DEFAULT_GENERATING_SOFTWARE
self._point_format: PointFormat = point_format
#: Day the file was created, initialized to date.today
self.creation_date: Optional[date] = date.today()
#: The number of points in the file
self.point_count: int = 0
#: The numbers used to scale the x,y,z coordinates
self.scales: np.ndarray = np.array([0.01, 0.01, 0.01], dtype=np.float64)
#: The numbers used to offset the x,y,z coordinates
self.offsets: np.ndarray = np.zeros(3, dtype=np.float64)
# The max values for x,y,z
self.maxs: np.ndarray = np.zeros(3, dtype=np.float64)
# The min values for x,y,z
self.mins: np.ndarray = np.zeros(3, dtype=np.float64)
#: Number of points by return
#: for las <= 1.2 only the first 5 elements matters
self.number_of_points_by_return: np.ndarray = np.zeros(15, dtype=np.uint32)
#: The VLRS
self._vlrs: VLRList = VLRList()
#: Extra bytes between end of header and first vlrs
self.extra_header_bytes: bytes = b""
#: Extra bytes between end of vlr end first point
self.extra_vlr_bytes: bytes = b""
#: Las >= 1.3
self.start_of_waveform_data_packet_record: int = 0
#: Las >= 1.4
#: Offset to the first evlr in the file
self.start_of_first_evlr: int = 0
#: The number of evlrs in the file
self.number_of_evlrs: int = 0
#: EVLRs, even though they are not stored in the 'header'
#: part of the file we keep them in this class
#: as they contain same information as vlr.
#: None when the file does not support EVLR
self.evlrs: Optional[VLRList] = None
# Info we keep because it's useful for us but not the user
self.offset_to_point_data: int = 0
self.are_points_compressed: bool = False
self._sync_extra_bytes_vlr()
| (self, *, version: Union[laspy.header.Version, str, NoneType] = None, point_format: Union[laspy.point.format.PointFormat, int, NoneType] = None) -> NoneType | [
0.02485940419137478,
-0.03515773266553879,
-0.050196874886751175,
0.0884421169757843,
0.0016919035697355866,
-0.05856302008032799,
-0.061431415379047394,
0.04772686958312988,
-0.036153700202703476,
0.03926112875342369,
-0.04712928831577301,
-0.014989344403147697,
-0.012818130664527416,
0.0355561189353466,
-0.030496593564748764,
0.07433918118476868,
-0.016254225745797157,
0.027588361874222755,
-0.053702689707279205,
-0.0029978689271956682,
0.0009081999305635691,
0.007086324971169233,
-0.03290684148669243,
0.043782830238342285,
0.05055542290210724,
0.06362254917621613,
0.022429239004850388,
0.009845160879194736,
0.0014105421723797917,
-0.06485754996538162,
-0.007245679851621389,
-0.0018599735340103507,
-0.015975354239344597,
0.01123453862965107,
-0.04601380228996277,
-0.004028697498142719,
0.011364014819264412,
-0.027687959372997284,
-0.08740630745887756,
0.050993651151657104,
0.018126649782061577,
0.019630564376711845,
0.03266780823469162,
0.001405562274158001,
-0.049360260367393494,
0.024142306298017502,
-0.03340482711791992,
-0.045137349516153336,
-0.015616805292665958,
0.01825612597167492,
0.0025795616675168276,
0.0053583174012601376,
0.00966588594019413,
-0.03706999495625496,
-0.04446008801460266,
0.029560381546616554,
0.014740352518856525,
0.13314123451709747,
-0.005930999759584665,
0.0011627946514636278,
0.016582896932959557,
0.03041691519320011,
0.028146104887127876,
-0.0032941699028015137,
-0.00014900641690474004,
0.018037011846899986,
-0.005542571656405926,
-0.03436095640063286,
-0.009377054870128632,
0.07011626660823822,
0.046133317053318024,
0.014939546585083008,
-0.0023143847938627005,
0.02420206554234028,
0.07147078961133957,
0.010716634802520275,
-0.055256400257349014,
0.009586208499968052,
0.005831402726471424,
-0.037189509719610214,
0.02794691175222397,
0.019720200449228287,
0.0028086346574127674,
-0.015218418091535568,
0.031054336577653885,
0.004372307099401951,
0.061989158391952515,
-0.006837332155555487,
-0.004397206474095583,
0.028325378894805908,
-0.025815535336732864,
0.049918003380298615,
-0.04131282493472099,
-0.0029256611596792936,
0.014371843077242374,
-0.07398062944412231,
0.024301661178469658,
-0.03163199871778488,
-0.00311240553855896,
0.0031248549930751324,
-0.02420206554234028,
-0.07202853262424469,
-0.03932088613510132,
-0.006877170875668526,
-0.007554430514574051,
0.004066046327352524,
-0.002741406671702862,
0.00470346724614501,
0.008341246284544468,
0.016393661499023438,
-0.04095427691936493,
0.01849515736103058,
-0.03959975764155388,
0.01298744510859251,
-0.05489785224199295,
-0.03201046586036682,
0.013963495381176472,
0.026931021362543106,
-0.06386157870292664,
0.011613007634878159,
0.02896280027925968,
0.02185157686471939,
-0.06736739724874496,
0.05728818103671074,
-0.000999082112684846,
-0.07904016226530075,
0.02288738451898098,
0.0026866283733397722,
0.047288645058870316,
-0.07609208673238754,
0.015367813408374786,
0.007021586876362562,
-0.0288233645260334,
-0.02129383385181427,
-0.03565571829676628,
-0.09465696662664413,
0.040137581527233124,
0.006543521303683519,
-0.07310418039560318,
0.026293601840734482,
0.02358456328511238,
0.04740815982222557,
0.050435908138751984,
-0.052627041935920715,
-0.06585352122783661,
0.04529670253396034,
0.022668272256851196,
-0.055256400257349014,
-0.059319958090782166,
0.0468105785548687,
0.0177780594676733,
-0.04529670253396034,
-0.02701069973409176,
0.011254457756876945,
0.018893545493483543,
-0.11003473401069641,
-0.005926019977778196,
-0.055057208985090256,
0.013624866493046284,
0.031114093959331512,
-0.023425208404660225,
-0.006339347455650568,
0.02971973642706871,
-0.003929100465029478,
-0.05537591874599457,
-0.006921989843249321,
-0.06123222038149834,
-0.00738511560484767,
-0.004999767988920212,
0.015029183588922024,
0.05003752186894417,
-0.005457914434373379,
-0.048125259578228,
0.0561726950109005,
-0.018734190613031387,
0.048563484102487564,
0.0177780594676733,
-0.008580279536545277,
0.03412192314863205,
-0.0025048640090972185,
0.03567563742399216,
-0.0033165791537612677,
-0.003836973337456584,
0.014730392955243587,
0.012061193585395813,
0.046173159033060074,
-0.0022546264808624983,
0.018843747675418854,
0.026950940489768982,
-0.005037116818130016,
0.026851344853639603,
0.018783990293741226,
0.01643350161612034,
0.004989808425307274,
-0.006936929188668728,
-0.007584309671074152,
0.005597350187599659,
-0.024779727682471275,
-0.03242877498269081,
-0.017917495220899582,
0.004653668496757746,
0.023465046659111977,
0.008645017631351948,
-0.030815303325653076,
-0.053423818200826645,
0.009894959628582,
0.017489228397607803,
0.00798269733786583,
-0.07708805799484253,
0.08501597493886948,
0.04693009331822395,
-0.05059526488184929,
-0.005587390158325434,
0.009446772746741772,
0.013794180937111378,
-0.0696382075548172,
-0.07202853262424469,
0.06453883647918701,
-0.018325842916965485,
0.03703015670180321,
0.06043544411659241,
-0.010143951512873173,
-0.062467221170663834,
-0.024361420422792435,
0.009904919192194939,
0.011832120828330517,
0.045695092529058456,
0.00917786080390215,
-0.022110529243946075,
-0.011842080391943455,
0.004063556436449289,
-0.05218881368637085,
-0.055017367005348206,
0.012977485544979572,
0.010617037303745747,
-0.027687959372997284,
-0.0019745100289583206,
0.09354148060083389,
-0.03392272815108299,
-0.042149439454078674,
0.031512483954429626,
0.00828148890286684,
0.02701069973409176,
-0.012220548465847969,
-0.000884545617736876,
-0.045137349516153336,
-0.009914878755807877,
0.03649233281612396,
-0.03991846740245819,
-0.01249941997230053,
0.02728957124054432,
-0.00678753387182951,
-0.025018760934472084,
0.04545605927705765,
-0.011413813568651676,
-0.059598829597234726,
-0.00040772510692477226,
-0.06856255978345871,
0.06621206551790237,
-0.029918931424617767,
-0.017568906769156456,
-0.0315324030816555,
0.039520081132650375,
0.02171214111149311,
-0.008958747610449791,
0.005935979541391134,
-0.000979785225354135,
-0.03055635094642639,
0.022767867892980576,
0.00155620276927948,
0.036532171070575714,
0.05430027097463608,
-0.08485662192106247,
0.0073552364483475685,
0.023644322529435158,
-0.015557046979665756,
-0.005081935785710812,
-0.04334460198879242,
0.061710286885499954,
0.05437994748353958,
0.06218834966421127,
0.0300982054322958,
0.04744799807667732,
0.038026124238967896,
0.015228377655148506,
-0.014710472896695137,
-0.04947977513074875,
-0.03756798058748245,
-0.05063510313630104,
-0.04685041680932045,
0.003921630792319775,
0.06314448267221451,
-0.0027787555009126663,
-0.015487329103052616,
0.08652985095977783,
0.03135312721133232,
-0.003398746717721224,
-0.005189002491533756,
0.0415518581867218,
-0.046452030539512634,
-0.023903273046016693,
-0.025217954069375992,
0.13075090944766998,
0.017708342522382736,
-0.0627460926771164,
-0.021353591233491898,
0.0038643626030534506,
-0.055017367005348206,
0.032767403870821,
-0.02232964150607586,
0.03954000025987625,
0.046173159033060074,
0.04529670253396034,
-0.019441328942775726,
0.041870567947626114,
0.03041691519320011,
-0.007210820913314819,
0.018425440415740013,
0.03159216046333313,
0.01576620154082775,
-0.010656876489520073,
0.018365683034062386,
0.010557278990745544,
-0.017628664150834084,
0.06115254387259483,
-0.02438133955001831,
0.030576271936297417,
-0.046212997287511826,
-0.02288738451898098,
0.025855375453829765,
-0.02424190379679203,
0.026831425726413727,
-0.005921040195971727,
0.04374299198389053,
-0.004957439377903938,
0.0011932962806895375,
-0.020656412467360497,
-0.0041282945312559605,
0.0535433329641819,
-0.02513827569782734,
0.05669059976935387,
-0.01858479529619217,
-0.05453930422663689,
0.025377308949828148,
0.027528604492545128,
-0.04517718777060509,
0.04840413108468056,
-0.07282530516386032,
-0.0025160685181617737,
0.00842590443789959,
-0.05760689079761505,
0.004937519785016775,
-0.03912169113755226,
0.04836428910493851,
0.025676099583506584,
-0.016722332686185837,
-0.03366377577185631,
-0.039480239152908325,
0.031054336577653885,
0.029600221663713455,
-0.004160663578659296,
0.03218974173069,
-0.042707182466983795,
0.015547087416052818,
-0.02718997374176979,
-0.03191087022423744,
0.0004195522633381188,
-0.04816509783267975,
-0.00797771755605936,
0.015278175473213196,
-0.03155232220888138,
-0.02625376172363758,
-0.020088709890842438,
-0.04533654451370239,
0.056371886283159256,
-0.029739657416939735,
0.011911798268556595,
0.024022789672017097,
-0.04987816512584686,
-0.031233610585331917,
-0.011503450572490692,
0.040137581527233124,
0.00811715330928564,
0.03623338043689728,
0.014063092879951,
0.015576967038214207,
0.010158891789615154,
-0.004422105848789215,
-0.0029953790362924337,
0.05437994748353958,
0.016672533005475998,
0.02438133955001831,
0.034699585288763046,
-0.017937414348125458,
0.030058367177844048,
0.00414074445143342,
-0.04517718777060509,
0.08597210794687271,
0.024182144552469254,
-0.028624171391129494,
-0.011294296942651272,
-0.05238800868391991,
-0.05270671844482422,
0.03661184757947922,
-0.03842451423406601,
-0.06585352122783661,
0.07808402925729752,
-0.041870567947626114,
-0.014710472896695137,
0.024819565936923027,
0.022568674758076668,
0.022568674758076668,
-0.03193078935146332,
-0.04947977513074875,
-0.008884049952030182,
0.038922496140003204,
-0.014491359703242779,
0.012977485544979572,
0.027528604492545128,
0.007180941756814718,
0.005866261664777994,
0.05465881898999214,
0.030496593564748764,
0.05597350001335144,
0.007942859083414078,
0.017857737839221954,
-0.03234909847378731,
0.009740584529936314,
-0.016921525821089745,
-0.01483994908630848,
-0.012509380467236042,
0.058802053332328796,
0.016094870865345,
-0.0190927404910326,
-0.01059711817651987,
-0.023644322529435158,
-0.005218881648033857,
-0.03471950441598892,
0.0014043173287063837,
0.007683906704187393,
0.0601964108645916,
-0.02012854814529419,
0.01924213580787182,
0.018176447600126266,
-0.04529670253396034,
-0.023066658526659012,
-0.07051465660333633,
-0.01643350161612034,
-0.04171121120452881,
-0.0341617614030838,
-0.02354472503066063,
0.04422105848789215,
0.02975957654416561,
-0.02906239777803421,
-0.011154861189424992,
-0.03228933736681938,
-0.055535271763801575,
-0.043225087225437164,
-0.01956084556877613,
-0.033345066010951996,
-0.018037011846899986,
0.019441328942775726,
0.007868161424994469,
-0.04625283554196358,
0.014152729883790016,
-0.025516744703054428,
0.013027284294366837,
-0.03832491487264633,
-0.043782830238342285,
-0.03930096700787544,
0.0016172059113159776,
-0.056053176522254944,
-0.00307754660025239,
-0.0034609949216246605,
0.02386343479156494,
0.018684392794966698,
-0.0034834041725844145,
0.006125214044004679,
-0.03786677122116089,
-0.02687126398086548,
-0.0054529341869056225,
-0.06469819694757462,
-0.03888265788555145,
0.019770000129938126,
0.044858478009700775,
0.03310603275895119,
-0.010746513493359089,
0.00417560338973999,
-0.01305716298520565,
-0.02868392877280712,
-0.03454023227095604,
0.05163107067346573,
-0.04529670253396034,
0.03997822478413582,
0.01144369225949049,
0.04529670253396034,
0.05681011453270912,
0.013604946434497833,
0.02298698201775551,
-0.017708342522382736,
0.007947838865220547,
-0.06776577979326248,
-0.05031639337539673,
-0.055575110018253326,
0.046412188559770584,
0.02846481464803219,
-0.020138507708907127,
-0.01158312801271677,
-0.014959465712308884,
-0.020018991082906723,
-0.05537591874599457,
-0.013375873677432537,
0.011712604202330112,
0.014043173752725124,
-0.00608537532389164,
0.07828322052955627,
-0.041352663189172745,
0.05007736012339592,
-0.03738870471715927,
0.034281279891729355,
-0.010756473056972027,
-0.015596886165440083,
0.05724834278225899,
-0.04971880838274956,
-0.03778709098696709,
0.017897576093673706,
-0.04077500104904175,
-0.04374299198389053,
0.06362254917621613,
0.031851112842559814,
-0.02111455798149109,
-0.04446008801460266,
-0.009222679771482944,
0.00675267493352294,
0.060116734355688095,
0.06788529455661774,
-0.0016246757004410028,
-0.006339347455650568,
-0.04250798746943474,
-0.0589614100754261,
0.014053133316338062,
-0.013674664311110973,
-0.022389400750398636,
-0.031572241336107254,
0.003787175053730607,
-0.04693009331822395,
0.017618704587221146,
0.015616805292665958,
0.04469912126660347,
-0.03312595561146736,
0.07457821816205978,
-0.01877402886748314,
0.0523083321750164,
-0.007484712637960911,
0.04449992999434471,
0.011274377815425396,
0.03378329426050186,
-0.02458053268492222,
-0.004085965920239687,
-0.01343563199043274,
-0.03491869941353798,
0.020556814968585968,
0.0006047404021956027,
-0.013355954550206661,
-0.10883957147598267,
0.033723536878824234,
-0.002034268109127879,
-0.021214155480265617,
-0.011573168449103832,
0.007564390078186989,
0.03246861323714256,
0.031950708478689194,
-0.032966598868370056,
-0.02840505726635456,
-0.010856070555746555,
-0.010193750262260437,
-0.0036352896131575108,
0.06653077900409698,
-0.02119423635303974,
-0.02382359653711319,
0.01947120763361454,
0.00427271006628871,
0.029381107538938522,
-0.06206883490085602,
-0.020616574212908745,
0.03529716655611992,
-0.014003334566950798,
0.02621392346918583,
0.05629220977425575,
0.04605364054441452,
-0.008405984379351139,
-0.025895213708281517,
0.009566289372742176,
-0.017160559073090553,
-0.060913510620594025,
0.044061701744794846,
0.02372399903833866,
-0.035177651792764664,
0.033205632120370865,
0.023923194035887718,
-0.04601380228996277,
0.008156992495059967,
-0.052587203681468964,
0.011294296942651272,
-0.011901838704943657,
-0.04302589222788811,
-0.008923889137804508,
0.036293137818574905,
-0.018475238233804703,
-0.0017852757591754198,
0.04685041680932045,
0.02531755156815052,
-0.010328206233680248,
-0.08135081082582474,
0.011493491008877754,
-0.021353591233491898,
0.02226988412439823,
0.029918931424617767,
0.06238754466176033,
-0.016722332686185837,
-0.025616342201828957,
0.0030177882872521877,
-0.011224579066038132,
0.018943345174193382,
-0.027907071635127068,
0.010099133476614952,
0.03294667974114418,
-0.043225087225437164,
0.0367911234498024,
-0.018236206844449043,
0.018046971410512924,
-0.014381803572177887,
0.007499651983380318,
-0.01572636142373085,
0.015078982338309288,
-0.0039315903559327126,
0.012907767668366432,
-0.01562676578760147,
0.04864316061139107,
0.09051372855901718,
0.057168662548065186,
0.0009287417633458972,
-0.00028509635012596846,
-0.023066658526659012,
-0.005891161039471626,
0.044300734996795654,
0.004496803507208824,
-0.022429239004850388,
0.07688886672258377,
0.046969931572675705,
-0.01242970209568739,
0.004979848861694336,
-0.044619444757699966,
-0.04900171235203743,
-0.0035705515183508396,
0.021692221984267235,
-0.02916199341416359,
0.001648329896852374,
0.006304488517343998,
-0.0009561309707351029,
-0.02499883994460106,
-0.011334136128425598,
0.028444895520806313,
-0.012907767668366432,
-0.023465046659111977,
-0.03288692235946655,
0.01947120763361454,
0.005507712718099356,
-0.013375873677432537,
0.07015611231327057,
-0.047846388071775436,
-0.007365196477621794,
0.00854542013257742,
0.04736832156777382,
0.06394125521183014,
-0.04266734421253204,
-0.014780190773308277,
-0.005582410376518965,
0.03324547037482262,
0.002356713404878974,
0.024281742051243782,
0.0711122378706932,
0.007703825831413269,
-0.045416221022605896,
-0.035177651792764664,
0.03697039559483528,
-0.027369247749447823,
0.02479964680969715,
0.021373510360717773,
-0.0012835559900850058,
-0.025237873196601868,
0.055256400257349014,
0.03238893672823906,
0.012419742532074451,
-0.02185157686471939,
-0.013345994986593723,
-0.016881687566637993,
-0.0354764424264431,
-0.018186407163739204,
0.01343563199043274,
-0.012927687726914883,
-0.022528836503624916,
-0.04001806303858757,
0.06856255978345871,
-0.044300734996795654,
0.015407651662826538,
-0.0050620161928236485,
0.01293764729052782,
-0.036014266312122345,
-0.0011509675532579422,
0.036671604961156845,
0.05621253326535225,
0.044619444757699966,
-0.06362254917621613,
0.011344095692038536,
0.05079445615410805,
-0.031572241336107254,
0.009212720207870007,
-0.0006324407877400517,
0.002629360184073448,
-0.023245934396982193,
0.05167090892791748,
0.02989901229739189,
0.024500856176018715,
-0.004847882781177759,
0.003192082978785038,
-0.010238569229841232,
0.004954949487000704,
0.0086848558858037,
0.011324175633490086,
0.007893060334026814,
0.06525593996047974,
-0.041870567947626114,
0.004775675013661385,
0.006055496167391539,
-0.03458007052540779,
0.012160790152847767,
0.04254782572388649,
0.016184508800506592,
0.024959001690149307,
-0.026134246960282326,
0.00828148890286684,
-0.0912308320403099,
-0.022947143763303757,
-0.02794691175222397,
0.07433918118476868,
0.03776717185974121,
0.018226247280836105,
-0.045655254274606705,
0.02732940949499607,
0.03426136076450348,
-0.006055496167391539,
-0.001993184443563223,
0.021413348615169525,
0.017439430579543114,
-0.06912030279636383,
0.04001806303858757,
0.010975586250424385,
0.05692962929606438,
-0.058483343571424484,
-0.05087413638830185,
-0.07959790527820587,
0.002841003704816103,
0.0734228864312172,
-0.0033240490593016148,
0.04009774327278137,
-0.05414091423153877,
0.05645156651735306
]
|
31,538 | laspy.header | __repr__ | null | def __repr__(self) -> str:
return f"<LasHeader({self.version.major}.{self.version.minor}, {self.point_format})>"
| (self) -> str | [
-0.0017428649589419365,
-0.011030901223421097,
0.03292754292488098,
-0.0019992964807897806,
0.037517230957746506,
-0.07141834497451782,
-0.009596622548997402,
0.04961732402443886,
-0.016985327005386353,
0.0053807152435183525,
-0.0071061947382986546,
-0.038629885762929916,
0.0001944967807503417,
0.041828759014606476,
-0.0319192036986351,
0.03235383331775665,
0.012439101003110409,
-0.04297618195414543,
-0.02329614944756031,
-0.0009708540164865553,
-0.005763189401477575,
0.023487387225031853,
-0.017871972173452377,
-0.03252768516540527,
0.0022774594835937023,
0.014273238368332386,
-0.010709274560213089,
0.006515098735690117,
-0.009727011434733868,
-0.06835855543613434,
-0.051703546196222305,
-0.05045181140303612,
-0.027711987495422363,
-0.03949914500117302,
-0.0033249168191105127,
0.01528157852590084,
0.010926589369773865,
-0.058205604553222656,
-0.0011115653906017542,
-0.00011965898011112586,
0.04843512922525406,
0.008723017759621143,
-0.0061108930967748165,
-0.03318832069635391,
-0.05173831433057785,
0.007910259999334812,
0.01502080075442791,
0.02447834238409996,
0.0013614774215966463,
-0.009318459779024124,
0.01197839342057705,
0.020896993577480316,
-0.012282634153962135,
-0.007249622605741024,
-0.07642527669668198,
-0.004520148504525423,
0.064464271068573,
0.047461558133363724,
0.0238003209233284,
0.06905396282672882,
-0.010274644941091537,
0.049513012170791626,
0.02969389781355858,
-0.01502080075442791,
-0.008553511463105679,
-0.020949149504303932,
0.0014766543172299862,
-0.009492311626672745,
0.0015646667452529073,
0.013864685781300068,
0.04666183888912201,
0.013082352466881275,
-0.0161943007260561,
0.045201484113931656,
0.026773186400532722,
-0.03217998147010803,
-0.060813382267951965,
-0.005419831722974777,
0.011152597144246101,
-0.06606370955705643,
-0.0028989799320697784,
0.00784506555646658,
-0.023000601679086685,
-0.004207215271890163,
0.020862223580479622,
-0.05817083269357681,
0.02093176357448101,
-0.015003415755927563,
0.0001647518074605614,
0.03720429912209511,
-0.020792683586478233,
-0.0004938479396514595,
-0.042072150856256485,
0.016646316275000572,
-0.02699919417500496,
-0.027381667867302895,
0.020305898040533066,
-0.03807355836033821,
0.03744769096374512,
0.0034444399643689394,
0.03263199329376221,
-0.05577167868614197,
-0.04902622476220131,
0.013560445047914982,
-0.06300391256809235,
0.0107962004840374,
-0.00954446755349636,
0.010387648828327656,
-0.012256556190550327,
-0.007901567034423351,
-0.0040985578671097755,
0.0023687316570430994,
-0.004880891181528568,
-0.010318107903003693,
0.0617869533598423,
-0.05970073118805885,
0.03755200281739235,
0.0033618605230003595,
0.03271891921758652,
0.0065498691983520985,
0.027242587879300117,
0.00571972643956542,
-0.04972163215279579,
0.007653828244656324,
-0.03480514511466026,
0.016602853313088417,
-0.0366479717195034,
-0.011700230650603771,
0.015620590187609196,
-0.10535422712564468,
0.055841218680143356,
0.040298860520124435,
-0.042072150856256485,
-0.03209305554628372,
0.039360061287879944,
-0.030789164826273918,
0.03244075924158096,
0.01569013111293316,
-0.009214148856699467,
0.11557672172784805,
-0.014325393363833427,
-0.033379558473825455,
0.02489558793604374,
-0.013951611705124378,
-0.04196783900260925,
0.04718339443206787,
0.004611420910805464,
0.03786493465304375,
-0.011083056218922138,
-0.019888652488589287,
0.04315003380179405,
-0.014082000590860844,
0.042246002703905106,
-0.0032814538571983576,
-0.008401391096413136,
-0.056084610521793365,
-0.00499824108555913,
-0.04808742552995682,
0.0472877062857151,
0.03689136728644371,
0.024287104606628418,
-0.021644556894898415,
0.02743382379412651,
0.0047765797935426235,
-0.04064656421542168,
0.006041352171450853,
-0.013004119507968426,
-0.053894076496362686,
0.007601672783493996,
-0.014464475214481354,
0.005754496902227402,
-0.046974774450063705,
-0.09798291325569153,
0.08198853582143784,
0.00603265967220068,
0.012943271547555923,
-0.012882423587143421,
0.10312892496585846,
-0.010691889561712742,
-0.06710682064294815,
0.05215555801987648,
-0.00011239251762162894,
-0.04092472791671753,
0.006358631886541843,
0.00916199292987585,
-0.031867045909166336,
0.02237473428249359,
-0.003887762315571308,
0.036335039883852005,
-0.02785106934607029,
0.012456486001610756,
0.023226609453558922,
-0.01755903847515583,
0.024756506085395813,
-0.005706687457859516,
-0.027990149334073067,
0.006706335581839085,
-0.06540307402610779,
-0.009735704399645329,
-0.02345261722803116,
0.0068019540049135685,
0.05045181140303612,
-0.018967239186167717,
0.002038413193076849,
0.030702238902449608,
-0.03146718814969063,
0.06196080520749092,
-0.031189024448394775,
-0.06585508584976196,
0.026025624945759773,
0.028563860803842545,
-0.011795848608016968,
-0.03984684869647026,
0.0022296502720564604,
-0.010231181979179382,
-0.05316390097141266,
-0.10598009824752808,
0.02075791172683239,
-0.011874082498252392,
0.0016613719053566456,
0.03292754292488098,
-0.011474222876131535,
0.03231906145811081,
-0.035239774733781815,
-0.034231431782245636,
0.007966761477291584,
0.037099987268447876,
-0.015803134068846703,
-0.03297969698905945,
-0.03369249030947685,
0.02437403053045273,
-0.021418549120426178,
-0.054902419447898865,
0.028320468962192535,
-0.03838649019598961,
0.024965127930045128,
-0.05893578380346298,
0.046731382608413696,
-0.06255190074443817,
-0.01540327537804842,
0.013612600974738598,
0.0238003209233284,
0.026773186400532722,
-0.0031793159432709217,
0.051946938037872314,
-0.0546937957406044,
-0.014864334836602211,
0.03214520961046219,
-0.03765631467103958,
-0.0006345593137666583,
-0.02642548270523548,
-0.01528157852590084,
0.022166112437844276,
0.004283275455236435,
-0.0005332362488843501,
-0.07127926498651505,
-0.027364283800125122,
-0.014290623366832733,
0.018184905871748924,
0.0030011178459972143,
-0.041063811630010605,
-0.06418611109256744,
0.020810067653656006,
-0.009005527012050152,
0.06213465705513954,
0.036404579877853394,
-0.0502779595553875,
0.027990149334073067,
0.045444875955581665,
0.00715400418266654,
0.07545170933008194,
-0.027294741943478584,
-0.09540989995002747,
0.0014364509843289852,
0.013647370971739292,
-0.044262684881687164,
-0.030163299292325974,
-0.027729371562600136,
0.0196626465767622,
0.009040297009050846,
0.04812219738960266,
-0.029902521520853043,
-0.011952315457165241,
0.02599085308611393,
0.011387296952307224,
0.021627172827720642,
0.01324751228094101,
-0.022322580218315125,
-0.02920711413025856,
-0.0017461247043684125,
0.005967465229332447,
0.05191216617822647,
-0.03124118037521839,
-0.009483619593083858,
0.08212762326002121,
0.015637975186109543,
0.04801788553595543,
0.02237473428249359,
0.029241884127259254,
-0.00396816898137331,
0.010648426599800587,
-0.018045824021100998,
0.08115404844284058,
-0.008175384253263474,
-0.06248236075043678,
-0.04155059531331062,
-0.013838608749210835,
0.022479046136140823,
0.014560094103217125,
-0.007597326301038265,
0.006376017350703478,
0.06349070370197296,
0.04530579596757889,
-0.009231533855199814,
0.018515223637223244,
0.06481197476387024,
-0.04777449369430542,
-0.011648074723780155,
0.04700954258441925,
0.04648798704147339,
-0.029606971889734268,
-0.004378893878310919,
-0.024443572387099266,
0.01613345369696617,
0.05598029866814613,
-0.05215555801987648,
-0.03271891921758652,
-0.03619595989584923,
0.007832026109099388,
0.007918952032923698,
-0.02430449053645134,
-0.01697663404047489,
0.019349712878465652,
0.01797628216445446,
0.007740754168480635,
0.011335141956806183,
0.022061802446842194,
0.009753089398145676,
-0.05458948388695717,
-0.05479810759425163,
0.057092953473329544,
0.005741457920521498,
-0.023817704990506172,
0.020375438034534454,
-0.0372738391160965,
-0.03426620364189148,
-0.027572905644774437,
0.007818987593054771,
0.013369208201766014,
0.024513112381100655,
-0.0786505863070488,
-0.03056315705180168,
0.038456033915281296,
0.03240598738193512,
0.027572905644774437,
-0.0013071487192064524,
-0.033970654010772705,
0.017871972173452377,
-0.00778856361284852,
0.06126539781689644,
0.054832879453897476,
-0.01528157852590084,
-0.020201586186885834,
0.013534368015825748,
-0.08525695651769638,
-0.04499286413192749,
-0.004161579068750143,
0.020444979891180992,
0.06860194355249405,
0.02261812798678875,
-0.06557692587375641,
-0.007366972975432873,
-0.023487387225031853,
-0.05636277422308922,
-0.017576424404978752,
0.04457561671733856,
0.0271904319524765,
0.02007989026606083,
-0.09860877692699432,
-0.1507643312215805,
0.034300971776247025,
0.027068736031651497,
-0.00365088926628232,
0.022583357989788055,
-0.012665108777582645,
-0.0037160837091505527,
0.024339260533452034,
0.000011324140359647572,
-0.012473871000111103,
0.019610490649938583,
-0.01384730078279972,
-0.0183239858597517,
0.03235383331775665,
0.009474926628172398,
-0.03949914500117302,
-0.030006831511855125,
0.009422770701348782,
0.017333030700683594,
-0.004785272758454084,
-0.014325393363833427,
0.07357411086559296,
-0.052538033574819565,
-0.010674504563212395,
-0.013482212089002132,
-0.019801726564764977,
-0.04155059531331062,
0.057927440851926804,
-0.019801726564764977,
-0.01123083010315895,
-0.0036661012563854456,
0.016072604805231094,
0.004880891181528568,
-0.06641141325235367,
-0.04961732402443886,
0.05848376825451851,
0.02454788237810135,
-0.00010505814134376124,
0.006245628464967012,
-0.02169671282172203,
0.004389759618788958,
-0.03543100878596306,
0.02388724684715271,
0.0006215203902684152,
0.05215555801987648,
0.00979655236005783,
0.02912018820643425,
-0.054485175758600235,
0.015620590187609196,
0.031693194061517715,
0.023174453526735306,
-0.0021525034680962563,
0.04749632999300957,
0.0029098456725478172,
0.0027099158614873886,
0.0031358529813587666,
-0.036752283573150635,
-0.0020503653213381767,
-0.02025374211370945,
-0.03324047476053238,
0.022148728370666504,
0.059805043041706085,
0.002066663932055235,
-0.005376368761062622,
0.02437403053045273,
-0.017585115507245064,
-0.0011593746021389961,
-0.026216860860586166,
-0.04099426791071892,
0.0017808950506150723,
-0.004580996464937925,
0.00835358165204525,
0.0390123575925827,
0.00132888020016253,
-0.026355942711234093,
-0.016420308500528336,
-0.07962415367364883,
-0.004985202103853226,
-0.05890101194381714,
-0.007923298515379429,
-0.0239567868411541,
-0.034318357706069946,
0.04398452118039131,
0.007766832131892443,
0.022635512053966522,
0.006458596792072058,
-0.05754496902227402,
0.0632820799946785,
-0.03765631467103958,
-0.06808038800954819,
-0.015933522954583168,
0.029763439670205116,
-0.02717304602265358,
0.0011354699963703752,
0.02717304602265358,
0.016828861087560654,
0.041411515325307846,
-0.028494320809841156,
0.030580542981624603,
-0.054554715752601624,
-0.03730861097574234,
-0.04565349966287613,
-0.06863671541213989,
-0.022235654294490814,
0.010587578639388084,
0.02574746124446392,
0.07169651240110397,
0.01105697825551033,
0.016229070723056793,
0.0025338910054415464,
-0.03106732852756977,
0.007523439358919859,
0.09353230148553848,
-0.10090362280607224,
0.04043794423341751,
0.07670344412326813,
0.0490957647562027,
0.02769460156559944,
-0.038525573909282684,
-0.07058385759592056,
0.012778111733496189,
0.004087692126631737,
-0.05917917564511299,
0.00810149684548378,
-0.044436536729335785,
0.056849557906389236,
-0.009092452935874462,
0.05222510173916817,
-0.004476685542613268,
0.0030489270575344563,
-0.012838960625231266,
-0.016985327005386353,
-0.041724447160959244,
0.02101869136095047,
0.015994371846318245,
-0.020218972116708755,
0.011917545460164547,
-0.028042305260896683,
0.05990935117006302,
-0.007879835553467274,
0.021331623196601868,
0.01569013111293316,
-0.006884533911943436,
-0.017489498481154442,
-0.08442246913909912,
-0.05299004912376404,
0.06606370955705643,
-0.020462363958358765,
0.013360516168177128,
-0.00508082052692771,
0.05664093792438507,
-0.001761336694471538,
0.004218081012368202,
-0.0036595817655324936,
0.021331623196601868,
-0.006106546614319086,
0.09714841842651367,
-0.060465678572654724,
0.05858808010816574,
-0.007084463257342577,
-0.013612600974738598,
0.02345261722803116,
-0.04481901228427887,
-0.04568827152252197,
-0.05570213869214058,
0.013890763744711876,
-0.015203345566987991,
0.03956868499517441,
0.023852474987506866,
0.011030901223421097,
-0.02938096597790718,
0.01602044887840748,
-0.029520045965909958,
0.018080594018101692,
-0.018619535490870476,
0.012360867112874985,
0.06623756140470505,
0.0006535743596032262,
0.003011983586475253,
0.015420660376548767,
0.023243993520736694,
-0.006489020772278309,
0.01460355706512928,
0.047461558133363724,
0.019454022869467735,
-0.04874806106090546,
0.06338638812303543,
0.023417845368385315,
-0.011630689725279808,
-0.030493617057800293,
0.023087527602910995,
0.03071962483227253,
-0.002846824238076806,
0.03284061700105667,
-0.0010045378003269434,
-0.0331013947725296,
0.016315996646881104,
0.007997185923159122,
0.0662027895450592,
0.029589587822556496,
0.015090341679751873,
0.018862927332520485,
0.0098313232883811,
0.017776353284716606,
-0.07614711672067642,
0.010144256055355072,
0.01595090888440609,
-0.04488855227828026,
0.0136734489351511,
0.0476006418466568,
-0.013490905053913593,
-0.06258667260408401,
-0.0810149684548378,
0.017107022926211357,
-0.016072604805231094,
0.018445683643221855,
-0.011482915841042995,
0.00789722055196762,
-0.024339260533452034,
0.014907797798514366,
0.060882922261953354,
0.05712772160768509,
0.04593166336417198,
-0.01223917119204998,
0.06293437629938126,
0.05598029866814613,
0.0012289154110476375,
0.03925574943423271,
0.010952667333185673,
-0.04944346845149994,
-0.013091045431792736,
0.016689779236912727,
0.04718339443206787,
-0.03386634215712547,
-0.06571600586175919,
-0.024287104606628418,
-0.01874123141169548,
0.02439141646027565,
-0.0538245365023613,
-0.019680030643939972,
0.0026621066499501467,
0.019193245097994804,
0.01941925287246704,
-0.055736906826496124,
0.02371339499950409,
0.009222841821610928,
0.0035922140814363956,
0.003222778905183077,
-0.02313968352973461,
0.0694364383816719,
-0.02918972820043564,
0.06978414207696915,
0.003939917776733637,
-0.004378893878310919,
-0.06248236075043678,
-0.0416896753013134,
0.033970654010772705,
-0.017333030700683594,
0.026686260476708412,
0.010744045488536358,
0.045097172260284424,
0.016820168122649193,
-0.029815595597028732,
-0.047044314444065094,
-0.008544819429516792,
-0.010031252168118954,
0.026686260476708412,
-0.015803134068846703,
-0.0815712958574295,
0.022844135761260986,
-0.016672393307089806,
-0.030493617057800293,
0.000042851766920648515,
0.014838256873190403,
-0.004168098326772451,
0.0036465427838265896,
0.004296314436942339,
-0.04930438846349716,
0.03981207683682442,
-0.023678623139858246,
-0.01755903847515583,
-0.020914379507303238,
-0.05486764758825302,
0.04294141009449959,
-0.030406691133975983,
0.05013887956738472,
-0.009083759970963001,
0.021714098751544952,
0.03706521913409233,
-0.013821222819387913,
-0.04370635747909546,
-0.05434609204530716,
0.027816297486424446,
-0.015238115563988686,
-0.026807958260178566,
-0.01502080075442791,
-0.019714800640940666,
-0.011282986029982567,
-0.00392253277823329,
0.04920007660984993,
-0.010787508450448513,
0.036995675414800644,
0.022409506142139435,
-0.0546937957406044,
-0.07253099977970123,
0.004011631943285465,
0.027729371562600136,
-0.006467289291322231,
0.04109857976436615,
-0.020810067653656006,
-0.05893578380346298,
-0.032458141446113586,
-0.03452698141336441,
0.012013163417577744,
0.013143201358616352,
0.0792069062590599,
-0.01269987877458334,
0.04513194411993027,
-0.033205706626176834,
0.015090341679751873,
-0.016576774418354034,
0.04363681748509407,
0.011361218988895416,
0.021418549120426178,
0.06397748738527298,
0.02277459390461445,
0.015890059992671013,
0.08330981433391571,
0.0060717761516571045,
-0.03605687618255615,
0.005711033940315247,
0.018949853256344795,
0.09777428954839706,
0.005689302459359169,
-0.03004160150885582,
0.04022932052612305,
-0.009388000704348087,
-0.02244427613914013,
0.017333030700683594,
0.005728418938815594,
0.01848045364022255,
-0.01613345369696617,
0.030441461130976677,
0.06967982649803162,
0.018845541402697563,
0.020636215806007385,
0.06070907041430473,
-0.035413626581430435,
0.01613345369696617,
-0.057092953473329544,
-0.0017711158143356442,
-0.0012549931416288018,
0.0751040056347847,
-0.05100813880562782,
0.020149430260062218,
0.03758677467703819,
0.024408802390098572,
0.0020916552748531103,
0.06540307402610779,
0.031345490366220474,
0.02550406940281391,
0.011378604918718338,
0.05636277422308922,
-0.015420660376548767,
0.00150816491805017,
0.02802492119371891,
0.03897758945822716,
-0.019627874717116356,
0.0366479717195034,
-0.02338307537138462,
0.035065922886133194,
0.009926941245794296,
0.011474222876131535,
-0.04095949977636337,
-0.026147320866584778,
0.060152746737003326,
-0.08685639500617981,
0.019784342497587204,
0.026529794558882713,
0.02769460156559944,
-0.059040091931819916,
-0.013629985973238945,
-0.03230167552828789,
0.017776353284716606,
0.06025705486536026,
-0.02371339499950409,
0.04099426791071892,
-0.04217646270990372,
0.02235735021531582
]
|
31,539 | laspy.header | __setattr__ | null | def __setattr__(self, key, value):
try:
return setattr(self, self._OLD_LASPY_NAMES[key], value)
except KeyError:
super().__setattr__(key, value)
| (self, key, value) | [
0.03451985865831375,
-0.049228932708501816,
0.0005106099415570498,
0.06406072527170181,
-0.05750387907028198,
-0.016488537192344666,
-0.0031228289008140564,
0.04137474298477173,
0.05427805334329605,
-0.011851409450173378,
-0.07187984883785248,
-0.02729681134223938,
0.052209317684173584,
0.062307558953762054,
-0.008134695701301098,
-0.00013415837020147592,
0.0036706936080008745,
0.05438324436545372,
-0.0050052921287715435,
-0.03259137645363808,
0.0175229050219059,
0.0010519002098590136,
0.02873440831899643,
0.01220204308629036,
-0.012228340841829777,
0.07678871601819992,
0.013604576699435711,
0.054418306797742844,
0.04863285645842552,
-0.03441467136144638,
-0.02084515616297722,
-0.026578012853860855,
0.007306323852390051,
0.01036998350173235,
0.04719525948166847,
-0.05522476136684418,
-0.07650820910930634,
-0.009703779593110085,
-0.012342296540737152,
-0.032345931977033615,
0.050315894186496735,
-0.002535517793148756,
-0.019810788333415985,
-0.058099959045648575,
0.042461708188056946,
0.03983195498585701,
-0.013008499518036842,
0.07440441101789474,
0.031679730862379074,
0.010554065927863121,
-0.008586135692894459,
-0.01259650569409132,
0.04863285645842552,
0.006587525364011526,
-0.04530183598399162,
0.054558560252189636,
0.020704902708530426,
0.05781945213675499,
-0.03373093530535698,
-0.009914159774780273,
-0.013718532398343086,
-0.015909992158412933,
-0.04004233703017235,
-0.023580096662044525,
0.005246352404356003,
-0.06623465567827225,
-0.02251066453754902,
0.033467959612607956,
0.026209848001599312,
0.0012513230321928859,
0.004935165401548147,
-0.03536137938499451,
-0.03204789385199547,
-0.021616550162434578,
0.0044114068150520325,
0.050666529685258865,
-0.11192218959331512,
-0.0002546201285440475,
0.009405741468071938,
-0.01909198984503746,
0.00710470974445343,
0.010808275081217289,
-0.03336276859045029,
0.018706291913986206,
-0.0572233721613884,
0.0010546395787969232,
-0.006328933406621218,
-0.011342991143465042,
-0.0025661983527243137,
0.013946443796157837,
-0.029260357841849327,
0.06833845376968384,
0.013683469034731388,
0.0590466670691967,
0.020108826458454132,
-0.01788230426609516,
0.04852766543626785,
-0.037026889622211456,
0.034221820533275604,
0.010562831535935402,
0.04176044091582298,
-0.011965365149080753,
0.023124273866415024,
0.0074465773068368435,
-0.0020172379445284605,
-0.01199166290462017,
-0.005794217344373465,
-0.025683898478746414,
0.017917366698384285,
-0.03776321932673454,
-0.03885018080472946,
-0.008629964664578438,
-0.04870298132300377,
0.04530183598399162,
-0.0414799340069294,
0.0035041426308453083,
0.006311401724815369,
-0.02207237295806408,
0.03494061902165413,
0.014752901159226894,
-0.008226736448705196,
0.02496509999036789,
-0.039656639099121094,
0.012272169813513756,
0.04607323184609413,
0.017575500532984734,
0.00715292152017355,
0.06111540645360947,
0.088710255920887,
-0.045547280460596085,
-0.03930600732564926,
0.021055536344647408,
-0.026016999036073685,
0.0055312421172857285,
0.05017564073204994,
-0.0321706160902977,
0.02329958975315094,
0.05978299677371979,
-0.00376054341904819,
0.01277182251214981,
-0.000006792666226829169,
-0.024702124297618866,
0.04968475550413132,
-0.006640120409429073,
0.020038699731230736,
0.015682078897953033,
0.010080710984766483,
0.07833150774240494,
-0.033450428396463394,
-0.003806564025580883,
0.021669145673513412,
0.025333264842629433,
0.01776834763586521,
0.029803840443491936,
-0.018355660140514374,
0.041795503348112106,
-0.07559656351804733,
-0.01015960332006216,
0.025789087638258934,
0.009283020161092281,
-0.0038021812215447426,
-0.04091892018914223,
-0.044214874505996704,
-0.0672164261341095,
0.016830403357744217,
0.013280240818858147,
-0.024824846535921097,
-0.0335380882024765,
0.013893849216401577,
0.024702124297618866,
-0.01099235750734806,
-0.030995994806289673,
0.03653600066900253,
0.07482516765594482,
0.05978299677371979,
0.0461784228682518,
-0.0061317021027207375,
0.0029168317560106516,
0.011044953018426895,
0.031136248260736465,
0.022037310525774956,
0.017785880714654922,
-0.024894973263144493,
-0.006631354335695505,
0.016050243750214577,
0.004207600839436054,
-0.006206211633980274,
0.041900694370269775,
-0.007052114699035883,
0.11844396591186523,
0.05634678900241852,
-0.021353574469685555,
0.022948957979679108,
0.0017454969929531217,
-0.02729681134223938,
0.010124539956450462,
-0.010334920138120651,
-0.0461784228682518,
-0.027139026671648026,
0.10042141377925873,
0.0006415495881810784,
0.0345899872481823,
0.004244855605065823,
0.031223906204104424,
0.01403410267084837,
-0.028664281591773033,
0.0063464646227657795,
-0.04197081923484802,
-0.040778666734695435,
-0.00871324073523283,
-0.002349243964999914,
-0.008884173817932606,
0.011684858240187168,
0.0046327440068125725,
0.03828917071223259,
-0.05862590670585632,
0.006394676864147186,
0.011316693387925625,
0.014489926397800446,
0.005838046316057444,
0.08078593760728836,
0.011281630024313927,
0.004794911947101355,
-0.01599765010178089,
0.00043500459287315607,
-0.015454167500138283,
0.027209153398871422,
-0.058766160160303116,
-0.03741258382797241,
0.04772120714187622,
-0.008042654022574425,
-0.0010897029424086213,
-0.03807878866791725,
-0.005737239494919777,
0.043022722005844116,
-0.011106313206255436,
0.03387118875980377,
0.0017279653111472726,
-0.02931295335292816,
-0.015927523374557495,
0.01304356288164854,
0.005553156603127718,
0.002183788688853383,
0.04207601025700569,
-0.01707584783434868,
0.004332514014095068,
-0.0211957897990942,
0.05750387907028198,
-0.03927094116806984,
0.011404352262616158,
0.055645521730184555,
0.008450265042483807,
-0.0022550111170858145,
0.07847175747156143,
-0.02284376695752144,
-0.03797359764575958,
-0.03297707438468933,
0.024561870843172073,
0.0027437065728008747,
-0.03287188336253166,
-0.06185173615813255,
0.01142188347876072,
-0.034344542771577835,
-0.0005599177093245089,
-0.012973436154425144,
0.031346626579761505,
0.054874129593372345,
0.03183751553297043,
-0.0035961840767413378,
0.00033803252154029906,
-0.04105917364358902,
-0.023369716480374336,
-0.03515100106596947,
0.033993910998106,
0.010878401808440685,
0.008958683349192142,
-0.011088781990110874,
0.004575766157358885,
-0.0011050431057810783,
-0.01640964299440384,
0.056416917592287064,
-0.043443478643894196,
0.016698917374014854,
0.03560682386159897,
-0.011141376569867134,
-0.03681650757789612,
-0.02629750594496727,
0.027822760865092278,
-0.0007368780206888914,
-0.02154642343521118,
0.007661340292543173,
0.012903309427201748,
0.028471432626247406,
0.06633984297513962,
0.0499652624130249,
0.014516223222017288,
-0.090533547103405,
0.04347854480147362,
0.05189374461770058,
-0.0018747930880635977,
0.03374846652150154,
0.008608050644397736,
-0.03671132028102875,
0.04614335671067238,
0.03525618836283684,
-0.05690780282020569,
0.02996162511408329,
0.007972527295351028,
-0.04894842579960823,
0.03492308780550957,
0.02208990603685379,
0.06788262724876404,
-0.06981111317873001,
-0.0005851195310242474,
0.07741986215114594,
-0.01931990124285221,
-0.009396975859999657,
-0.008629964664578438,
-0.012096852995455265,
0.06227249652147293,
0.0009341093245893717,
-0.09221658855676651,
-0.08029505610466003,
0.018250469118356705,
0.047335512936115265,
-0.03155700862407684,
0.1009824275970459,
-0.003946817480027676,
0.028383774682879448,
-0.005868726875633001,
-0.05045614764094353,
-0.021230854094028473,
-0.019442623481154442,
0.004567000083625317,
-0.06104527786374092,
-0.03776321932673454,
-0.04112929850816727,
-0.0028379391878843307,
-0.013385430909693241,
-0.008485328406095505,
-0.002969426801428199,
0.0286116860806942,
-0.06244781240820885,
-0.03455492481589317,
0.028278585523366928,
-0.012578973546624184,
-0.016576195135712624,
0.0008300150511786342,
0.029540864750742912,
-0.009335614740848541,
-0.02796301431953907,
-0.050876908004283905,
-0.010624192655086517,
0.01732129044830799,
0.029873967170715332,
-0.04982500895857811,
-0.0042097922414541245,
-0.020021168515086174,
-0.002377732889726758,
-0.0752459317445755,
0.0029913412872701883,
-0.05929211154580116,
-0.002285691676661372,
0.0163132194429636,
-0.016698917374014854,
0.015787269920110703,
-0.05213918909430504,
-0.06125565618276596,
0.017820943146944046,
-0.01875888742506504,
0.007187984883785248,
-0.019933510571718216,
-0.006456037983298302,
0.02373788319528103,
0.030382385477423668,
0.008682560175657272,
0.023580096662044525,
0.02117825858294964,
-0.02263338677585125,
-0.0029957243241369724,
0.043653860688209534,
0.002535517793148756,
0.0585908442735672,
0.05049121379852295,
0.028348712250590324,
-0.005851195193827152,
0.04207601025700569,
-0.018390722572803497,
0.07931327819824219,
0.0068022883497178555,
-0.011062484234571457,
0.009283020161092281,
0.016234327107667923,
0.019898446276783943,
-0.041900694370269775,
-0.008919237181544304,
-0.030434980988502502,
-0.05936223641037941,
0.03650093823671341,
-0.020284142345190048,
-0.006609439849853516,
-0.018706291913986206,
-0.014446096494793892,
0.020950347185134888,
0.0288395993411541,
0.030803145840764046,
-0.0005867630825378001,
0.05452349781990051,
-0.028453901410102844,
-0.00005807365960208699,
-0.022352879866957664,
-0.003322251606732607,
-0.014770432375371456,
-0.11080016195774078,
0.050210706889629364,
-0.019284838810563087,
0.04516158252954483,
-0.016891764476895332,
0.014121760614216328,
0.022124968469142914,
-0.03560682386159897,
-0.0240709837526083,
-0.03786841034889221,
0.040673475712537766,
-0.026665670797228813,
0.011570902541279793,
-0.011754984967410564,
-0.05136779695749283,
0.023772945627570152,
0.003935860004276037,
-0.004201026633381844,
-0.0016008607344701886,
0.04084879159927368,
-0.002329520881175995,
0.008954300545156002,
-0.048422474414110184,
0.01242118887603283,
-0.010282324627041817,
-0.05806489288806915,
-0.009642419405281544,
0.020003637298941612,
-0.03260890766978264,
0.01742648147046566,
0.03332770615816116,
-0.0002513329382054508,
-0.0538923554122448,
-0.04737057536840439,
0.06069464609026909,
0.041550058871507645,
-0.023001551628112793,
-0.0020303865894675255,
0.014928217977285385,
-0.021616550162434578,
0.03253878280520439,
0.026788393035531044,
-0.018811482936143875,
-0.04428499937057495,
-0.09109456092119217,
0.06314907968044281,
0.004794911947101355,
-0.04947437345981598,
0.033888719975948334,
-0.0032367848325520754,
0.03108365274965763,
-0.00234266952611506,
0.05540008097887039,
-0.00033200602047145367,
-0.01574344001710415,
-0.021932119503617287,
-0.044425252825021744,
0.008673794567584991,
-0.057328563183546066,
0.0590466670691967,
-0.04393436759710312,
-0.034695178270339966,
0.0008880887180566788,
-0.029014915227890015,
0.001300630858168006,
-0.04828222095966339,
-0.015182427130639553,
-0.05845059081912041,
-0.00671024713665247,
0.03473024070262909,
-0.016935594379901886,
0.019056925550103188,
-0.01203549187630415,
-0.009484633803367615,
0.0207399670034647,
0.024894973263144493,
0.06546325981616974,
-0.017242398113012314,
0.045547280460596085,
0.011281630024313927,
0.018706291913986206,
-0.00998428650200367,
0.003946817480027676,
-0.011632263660430908,
-0.008901705965399742,
0.020056230947375298,
-0.007429045625030994,
-0.043338291347026825,
-0.05795970559120178,
-0.00713100703433156,
0.008410818874835968,
0.047651082277297974,
0.006000214256346226,
-0.011483244597911835,
0.03143428638577461,
0.010466407053172588,
-0.02908504195511341,
0.0060484264977276325,
0.01777711510658264,
0.04361879825592041,
-0.03581720218062401,
-0.0005845716223120689,
-0.012403656728565693,
-0.06483212113380432,
0.017224866896867752,
-0.01930237002670765,
0.04169031232595444,
0.04151499643921852,
-0.02531573362648487,
0.05382223054766655,
-0.0770692229270935,
-0.010808275081217289,
-0.02350996993482113,
0.03508087247610092,
-0.012026726268231869,
-0.0009625983075238764,
0.03986702114343643,
-0.011781282722949982,
-0.000545673246961087,
-0.021721739321947098,
0.05515463650226593,
0.048106905072927475,
0.11269357800483704,
-0.011080016382038593,
-0.0056758783757686615,
0.012403656728565693,
-0.03283682093024254,
0.01198289729654789,
0.007586830761283636,
0.005925704725086689,
0.014858091250061989,
-0.019512750208377838,
-0.030557703226804733,
-0.12545663118362427,
0.0018813674105331302,
-0.011877707205712795,
-0.055435143411159515,
-0.04084879159927368,
0.020021168515086174,
-0.01919717900454998,
0.010133305564522743,
-0.046213485300540924,
-0.0647970587015152,
0.01787353865802288,
-0.01610283926129341,
-0.005693410057574511,
0.04547715559601784,
-0.01054530031979084,
-0.009177830070257187,
0.07223048061132431,
0.01420941948890686,
0.02494756691157818,
-0.019127052277326584,
-0.06213224306702614,
0.02117825858294964,
0.0059037902392446995,
0.00754300132393837,
0.044565506279468536,
-0.000610321294516325,
0.03183751553297043,
0.017251163721084595,
-0.017680689692497253,
0.044775888323783875,
0.018706291913986206,
0.017908601090312004,
-0.05315602570772171,
-0.05161323770880699,
-0.0269461777061224,
0.06202705204486847,
-0.0846429094672203,
-0.013499386608600616,
-0.027209153398871422,
-0.05417286232113838,
0.006456037983298302,
0.08864013105630875,
-0.059327173978090286,
-0.03730739653110504,
-0.1144467443227768,
-0.013788659125566483,
-0.011579668149352074,
-0.040428031235933304,
0.04137474298477173,
-0.00507980166003108,
0.008656262420117855,
-0.04018259048461914,
0.057188309729099274,
0.01136928889900446,
-0.0023404781240969896,
-0.018513444811105728,
-0.015682078897953033,
0.03874499350786209,
0.009195361286401749,
-0.007946229539811611,
0.004339088685810566,
0.017365120351314545,
-0.007455342914909124,
-0.018495913594961166,
-0.030014220625162125,
0.025052757933735847,
0.026595544070005417,
0.014349672943353653,
0.01574344001710415,
-0.02531573362648487,
0.004306216724216938,
0.008489711210131645,
0.00690747844055295,
-0.07608745247125626,
-0.011483244597911835,
-0.012412423267960548,
-0.025052757933735847,
-0.001154898782260716,
-0.03948132321238518,
-0.04449538141489029,
0.04091892018914223,
0.0014693731209263206,
-0.021721739321947098,
-0.08997253328561783,
-0.011237801052629948,
-0.007135389838367701,
0.048212096095085144,
-0.08394163846969604,
0.0207399670034647,
0.05161323770880699,
0.047651082277297974,
-0.0014474585186690092,
0.04414474591612816,
0.02142370119690895,
0.010413812473416328,
-0.015559357590973377,
0.0171810369938612,
0.011509542353451252,
-0.05536501482129097,
0.008011973462998867,
-0.013508152216672897,
-0.004510022234171629,
0.014560052193701267,
-0.011842643842101097,
-0.017005721107125282,
-0.012692929245531559,
-0.05157817527651787,
0.008187290281057358,
0.025052757933735847,
0.004130899906158447,
-0.010282324627041817,
-0.01076444610953331,
0.055645521730184555,
-0.05385729297995567,
-0.04673943296074867,
0.0038460101932287216,
-0.04593297839164734,
0.013385430909693241,
0.0970553308725357,
0.0006064862245693803,
-0.0037802665028721094,
-0.014761666767299175,
0.040428031235933304,
0.010387514717876911,
-0.00793746393173933,
-0.046318672597408295,
-0.06300882250070572,
0.0134730888530612,
-0.016225561499595642,
-0.07833150774240494,
-0.008971832692623138,
-0.02431642822921276,
0.044004492461681366,
-0.008818430826067924,
-0.049754880368709564,
0.04701993986964226,
-0.02761238068342209,
0.02442161738872528,
-0.03706195205450058,
0.05115741491317749,
0.05045614764094353,
0.020599713549017906,
0.06925009936094284,
-0.07356289029121399,
0.01787353865802288,
-0.018723824992775917,
-0.022791171446442604,
0.050315894186496735,
-0.08562467992305756,
-0.0699513703584671,
-0.009230424650013447,
-0.02729681134223938,
-0.011693624779582024,
0.007236197125166655,
0.026700735092163086,
0.07412390410900116,
-0.044775888323783875,
-0.03394131362438202,
0.00013258325634524226,
-0.03329264372587204,
-0.021265916526317596,
-0.012105618603527546,
-0.012166979722678661,
-0.005706558935344219,
0.02063477598130703,
-0.003390186931937933,
-0.005136779509484768,
-0.0691799744963646,
0.0623776838183403,
-0.05052627623081207,
-0.022615855559706688,
-0.06188679859042168,
-0.0057766856625676155,
0.043794114142656326,
0.022896362468600273,
0.013955210335552692,
0.046108294278383255,
0.006342081818729639,
-0.013525684364140034,
-0.04169031232595444,
0.0017619329737499356,
-0.011754984967410564,
-0.014577584341168404,
0.03336276859045029,
0.050666529685258865,
0.04737057536840439,
-0.033450428396463394,
0.012061789631843567,
0.053752101957798004,
-0.032906945794820786,
-0.04484601318836212,
0.029225295409560204,
0.03786841034889221,
0.07748998701572418,
0.01766315847635269,
0.016067776829004288,
-0.02154642343521118,
-0.021599018946290016,
0.01504217367619276,
0.04214613512158394,
-0.009835267439484596,
0.04319803789258003,
0.024035921320319176,
0.061536163091659546,
0.00015792199701536447,
0.024491744115948677,
-0.023930730298161507,
0.03176738694310188,
0.06441135704517365,
-0.08078593760728836,
-0.014717837795615196,
0.03238099440932274,
0.0790327712893486,
-0.011605965904891491,
-0.05894147604703903,
0.008340692147612572,
-0.040883857756853104,
0.041550058871507645,
0.013806190341711044,
0.019004331901669502,
0.009616121649742126,
0.018005026504397392
]
|
31,540 | laspy.header | _prefetch_header_data |
reads (and returns) from the source all the bytes that
are between the beginning of the file and the start of point data
(which corresponds to Header + VLRS).
It is done in two calls to the source's `read` method
This is done because `LasHeader.read_from`
does a bunch of read to the source, so we prefer to
prefetch data in memory in case the original source
is not buffered (like a http source could be)
| @staticmethod
def _prefetch_header_data(source) -> bytes:
"""
reads (and returns) from the source all the bytes that
are between the beginning of the file and the start of point data
(which corresponds to Header + VLRS).
It is done in two calls to the source's `read` method
This is done because `LasHeader.read_from`
does a bunch of read to the source, so we prefer to
prefetch data in memory in case the original source
is not buffered (like a http source could be)
"""
header_bytes = source.read(LAS_HEADERS_SIZE["1.1"])
file_sig = header_bytes[: len(LAS_FILE_SIGNATURE)]
if not file_sig:
raise LaspyException(f"Source is empty")
if file_sig != LAS_FILE_SIGNATURE:
raise LaspyException(f'Invalid file signature "{file_sig}"')
if len(header_bytes) < LAS_HEADERS_SIZE["1.1"]:
raise LaspyException("File is to small to be a valid LAS")
offset_to_data = int.from_bytes(
header_bytes[96 : 96 + 4], byteorder="little", signed=False
)
rest = source.read(offset_to_data - len(header_bytes))
return header_bytes + rest
| (source) -> bytes | [
-0.056876540184020996,
0.0009190248674713075,
-0.05332404375076294,
0.014548747800290585,
0.014219135046005249,
-0.002015445614233613,
-0.009842608124017715,
0.028236839920282364,
-0.010089817456901073,
-0.026240849867463112,
0.00346322450786829,
-0.020912107080221176,
0.0024698078632354736,
0.017780784517526627,
0.0000768953759688884,
0.05024765804409981,
-0.010877225548028946,
0.057609010487794876,
-0.02105860225856304,
-0.014246602542698383,
-0.02556331269443035,
0.0333092138171196,
-0.013413414359092712,
0.011737882159650326,
-0.008244900964200497,
0.017579354345798492,
-0.014374785125255585,
-0.03288804367184639,
-0.015793951228260994,
0.0022191647440195084,
0.052371829748153687,
-0.008153341710567474,
-0.04944193735718727,
0.005694978404790163,
-0.029536979272961617,
-0.006619725842028856,
0.08218348771333694,
-0.048306602984666824,
-0.05647367984056473,
-0.01734130084514618,
-0.030306076630949974,
-0.014502967707812786,
0.018238581717014313,
-0.037942107766866684,
-0.021571334451436996,
-0.009467215277254581,
-0.04460761323571205,
-0.043838515877723694,
0.007365932688117027,
0.010675796307623386,
0.019172484055161476,
0.019630279392004013,
0.026240849867463112,
-0.047610752284526825,
0.015748172998428345,
0.005534749943763018,
-0.030306076630949974,
0.07632370293140411,
-0.02250523678958416,
0.048672839999198914,
0.04706139862537384,
-0.013047177344560623,
0.017570199444890022,
0.014887516386806965,
0.022633420303463936,
-0.04647542163729668,
-0.007640610449016094,
-0.031001925468444824,
0.003085543168708682,
-0.029317237436771393,
0.002895557787269354,
0.04845309630036354,
-0.030031397938728333,
0.05676666647195816,
-0.001321885152719915,
0.008048048242926598,
-0.06676492840051651,
-0.028218528255820274,
-0.007031742017716169,
-0.026753580197691917,
0.02453785017132759,
-0.018147021532058716,
0.03797873109579086,
-0.015491806901991367,
0.008716430515050888,
-0.061051636934280396,
0.07207535952329636,
0.007301841396838427,
0.06306593865156174,
0.03801535442471504,
-0.03283310681581497,
0.0638350322842598,
-0.03634897992014885,
0.011069499887526035,
0.040652260184288025,
-0.026112666353583336,
0.04526684060692787,
0.018613973632454872,
-0.036843396723270416,
0.003774525597691536,
-0.03459104523062706,
-0.006065793335437775,
0.020307818427681923,
0.03634897992014885,
0.010446897707879543,
0.006404561921954155,
0.019850021228194237,
0.00816249754279852,
0.006491543259471655,
-0.007791683077812195,
0.004127028398215771,
-0.10093479603528976,
-0.05119987204670906,
-0.01280912384390831,
-0.01054761279374361,
-0.042007334530353546,
0.0533972904086113,
0.027614237740635872,
-0.04878270998597145,
0.009261206723749638,
0.06097838655114174,
-0.005662932991981506,
-0.06310255825519562,
-0.01003488153219223,
-0.0037974154110997915,
-0.057938624173402786,
0.029555290937423706,
-0.04259331151843071,
0.011884376406669617,
-0.039993032813072205,
-0.012516134418547153,
0.045193593949079514,
-0.05119987204670906,
0.021553022786974907,
-0.0214797742664814,
-0.06167423725128174,
0.0109138498082757,
0.03385857120156288,
-0.004811432678252459,
-0.039663419127464294,
0.025728119537234306,
0.026936698704957962,
0.04211720451712608,
-0.05456924811005592,
0.02627747319638729,
-0.0038546398282051086,
0.06401815265417099,
-0.05508197844028473,
-0.043765269219875336,
0.010904693976044655,
0.03634897992014885,
-0.0429595485329628,
-0.02525201067328453,
0.025874612852931023,
0.021662892773747444,
-0.04255668818950653,
-0.06929195672273636,
-0.041677720844745636,
-0.017405392602086067,
0.019850021228194237,
0.009842608124017715,
0.01057508122175932,
-0.045156966894865036,
-0.0669480413198471,
-0.08672481775283813,
-0.008739319629967213,
-0.048233356326818466,
-0.010822290554642677,
0.0026071465108543634,
-0.004829744808375835,
0.017185650765895844,
0.018842870369553566,
-0.052371829748153687,
0.03764911741018295,
0.0401761494576931,
0.00306952022947371,
-0.05365365743637085,
0.004596268758177757,
0.017368769273161888,
-0.04123823717236519,
-0.037942107766866684,
-0.006203131750226021,
-0.0027101505547761917,
-0.04702477529644966,
-0.0021504953037947416,
0.04750088229775429,
0.002042913343757391,
-0.029591914266347885,
0.03937043249607086,
0.018595661967992783,
-0.015162194147706032,
-0.003607430262491107,
-0.0214797742664814,
0.014521279372274876,
-0.0030077178962528706,
-0.06639868766069412,
0.018238581717014313,
-0.012626005336642265,
-0.0031015658751130104,
-0.013065489009022713,
-0.023072903975844383,
0.049991291016340256,
-0.013239451684057713,
0.005759070161730051,
-0.03677015006542206,
0.019154172390699387,
0.024775903671979904,
0.042007334530353546,
-0.13023371994495392,
0.088702492415905,
-0.008547046221792698,
-0.009824295528233051,
-0.0071004112251102924,
0.015189661644399166,
-0.027797354385256767,
-0.062186967581510544,
-0.10935823619365692,
0.03915068879723549,
0.04647542163729668,
-0.028804505243897438,
0.04182421416044235,
-0.0010231734486296773,
-0.0789606049656868,
0.00044291734229773283,
0.02801709808409214,
0.03471922501921654,
0.0034700913820415735,
0.015629146248102188,
-0.01699337735772133,
-0.029683474451303482,
0.03812522813677788,
0.00509526627138257,
0.03667859360575676,
0.012973930686712265,
0.054898861795663834,
0.004509287886321545,
0.027888914570212364,
0.05856122821569443,
-0.04094524681568146,
-0.03178933262825012,
-0.04193408787250519,
0.007118723355233669,
0.028126968070864677,
-0.03904081881046295,
-0.02318277396261692,
-0.02039937674999237,
-0.014530436135828495,
0.04054238647222519,
-0.04094524681568146,
-0.005163935478776693,
-0.01767091453075409,
0.008556202054023743,
0.017579354345798492,
0.00346322450786829,
0.016901817172765732,
-0.06753402203321457,
0.022706666961312294,
-0.058268237859010696,
0.01597706973552704,
-0.01977677457034588,
-0.03671521693468094,
-0.08840950578451157,
0.011563919484615326,
-0.016764478757977486,
-0.036568719893693924,
0.021919257938861847,
-0.027907226234674454,
0.03490234538912773,
-0.014676930382847786,
0.0005095838569104671,
0.10987097024917603,
-0.01123430673032999,
-0.04925881698727608,
-0.022688355296850204,
0.05087025836110115,
-0.026845140382647514,
0.012195677496492863,
-0.003744768910109997,
0.09382981061935425,
0.04468085989356041,
0.05823161453008652,
0.026533838361501694,
0.013202828355133533,
-0.004099560435861349,
0.025819677859544754,
-0.007402556482702494,
-0.04149460420012474,
-0.060026172548532486,
-0.05786537751555443,
0.0014706687070429325,
0.012003403156995773,
0.012864059768617153,
0.020637430250644684,
-0.05288456007838249,
0.06559296697378159,
0.014512123540043831,
-0.00006126594234956428,
-0.012323860079050064,
0.05145623907446861,
-0.0018231713911518455,
-0.05724277347326279,
-0.019557032734155655,
0.06237008795142174,
0.00025793927488848567,
-0.05918382853269577,
-0.0803522989153862,
-0.03316272050142288,
-0.015262909233570099,
-0.04889257997274399,
-0.027943849563598633,
0.027559300884604454,
0.02045431174337864,
0.05336066707968712,
-0.052445076406002045,
-0.011490671895444393,
-0.006033747456967831,
-0.008405129425227642,
0.12349496781826019,
0.027101505547761917,
-0.00008111567876767367,
-0.03874782845377922,
0.022084064781665802,
-0.002308434806764126,
-0.015720704570412636,
0.015656612813472748,
0.005672088824212551,
0.061454497277736664,
-0.032686613500118256,
-0.026478903368115425,
0.006848623976111412,
0.005960499867796898,
-0.0024949866347014904,
-0.06650856137275696,
0.027229689061641693,
-0.01383458636701107,
0.033803634345531464,
-0.0016583648975938559,
-0.0064778090454638,
0.032704927027225494,
-0.05544821545481682,
0.01054761279374361,
-0.03427974134683609,
-0.005937610287219286,
0.019978204742074013,
0.04090862348675728,
-0.06134462356567383,
0.00916964840143919,
-0.01968521624803543,
-0.0150431664660573,
0.013312699273228645,
-0.015482651069760323,
-0.03462766855955124,
0.01829351671040058,
0.06324905157089233,
0.06808337569236755,
0.005685822572559118,
-0.019850021228194237,
-0.0471346452832222,
0.056180689483881,
0.03559819236397743,
0.029903216287493706,
0.034407924860715866,
-0.04944193735718727,
-0.0034678024239838123,
-0.009297830983996391,
-0.02937217243015766,
-0.034078311175107956,
0.02763254940509796,
-0.0018838293617591262,
0.016068629920482635,
-0.09016744047403336,
-0.04215382784605026,
-0.015775639563798904,
0.017387080937623978,
0.020674053579568863,
-0.05647367984056473,
0.005484392400830984,
0.0016102964291349053,
-0.0638350322842598,
0.017780784517526627,
0.011866064742207527,
0.034774161875247955,
-0.020216258242726326,
0.014502967707812786,
-0.007379666902124882,
-0.008707274682819843,
-0.010941317304968834,
-0.016672920435667038,
-0.012580226175487041,
0.02763254940509796,
0.07207535952329636,
0.00237595965154469,
0.044131506234407425,
-0.006180242169648409,
0.014356473460793495,
0.017899811267852783,
-0.02217562310397625,
0.05980643257498741,
0.03675184026360512,
-0.04563307762145996,
0.028566451743245125,
-0.035103775560855865,
-0.058268237859010696,
0.05614406615495682,
-0.048233356326818466,
-0.026057731360197067,
0.08328219503164291,
-0.0683397427201271,
-0.01875131204724312,
0.03285142034292221,
0.0011845463886857033,
0.012360484339296818,
0.0005636609857901931,
-0.029555290937423706,
0.0019822553731501102,
-0.013019709847867489,
0.028200214728713036,
-0.018916118890047073,
0.025178764015436172,
0.05222533270716667,
0.020307818427681923,
0.0033167297951877117,
-0.01658136025071144,
0.03250349685549736,
0.03210063651204109,
-0.02975672110915184,
-0.03904081881046295,
0.003151923418045044,
-0.056546926498413086,
-0.012479511089622974,
0.007301841396838427,
0.05724277347326279,
0.021919257938861847,
-0.0242631733417511,
-0.013221140019595623,
0.02418992482125759,
-0.025764742866158485,
0.03973666578531265,
0.007837462238967419,
-0.027943849563598633,
0.05284793674945831,
0.035524945706129074,
-0.0041682301089167595,
0.011454048566520214,
-0.04394838958978653,
-0.019795086234807968,
-0.0331260971724987,
0.011756193824112415,
-0.04958843067288399,
-0.02841995656490326,
-0.056180689483881,
-0.003955354914069176,
0.007562784943729639,
0.009796828031539917,
-0.06837636977434158,
-0.010199688374996185,
0.021717827767133713,
-0.0056446208618581295,
-0.039919786155223846,
-0.013862053863704205,
0.01052930112928152,
0.03667859360575676,
0.05705965682864189,
-0.01766175776720047,
0.06925533711910248,
-0.03162452578544617,
0.00021959887817502022,
0.033913504332304,
-0.042080581188201904,
-0.04325253888964653,
-0.0021939859725534916,
-0.029555290937423706,
-0.0050540645606815815,
-0.001704144524410367,
0.08189049363136292,
-0.011096968315541744,
-0.017524419352412224,
0.06954832375049591,
0.014145887456834316,
-0.022944720461964607,
0.0256548710167408,
-0.07705617696046829,
0.013056333176791668,
-0.016901817172765732,
0.035781312733888626,
-0.02702825888991356,
-0.014960763975977898,
0.015766484662890434,
0.006853201892226934,
-0.028456581756472588,
-0.013633156195282936,
0.05709628015756607,
-0.043069418519735336,
0.05640042945742607,
0.026570463553071022,
0.0450470969080925,
0.03215556964278221,
0.024006806313991547,
0.048599593341350555,
0.028255151584744453,
-0.0021424838341772556,
-0.08079178631305695,
-0.033748701214790344,
-0.028291774913668633,
0.0279987845569849,
0.07104989141225815,
0.021351592615246773,
0.004550489131361246,
0.0266070868819952,
0.01801883988082409,
-0.019996516406536102,
0.02252354845404625,
-0.010446897707879543,
0.044497743248939514,
0.0019433427369222045,
0.08013255894184113,
-0.05358041077852249,
0.07588421553373337,
-0.01107865571975708,
0.038198474794626236,
-0.01727720908820629,
0.07299094647169113,
0.050320904701948166,
-0.08811651915311813,
-0.03812522813677788,
0.02878619357943535,
-0.005667510908097029,
-0.06255320459604263,
0.009751048870384693,
0.032375313341617584,
-0.04043251648545265,
-0.03285142034292221,
0.02596617303788662,
-0.019172484055161476,
0.07244159281253815,
0.026570463553071022,
-0.028163591399788857,
-0.001030612620525062,
-0.044497743248939514,
-0.09251135587692261,
0.017716694623231888,
-0.012891527265310287,
0.01764344610273838,
-0.01123430673032999,
0.00230042333714664,
0.00829068012535572,
-0.04354552924633026,
0.08665157109498978,
-0.01662714034318924,
-0.023823687806725502,
-0.029573602601885796,
-0.04753750562667847,
0.020838860422372818,
-0.05680328980088234,
0.002097848802804947,
-0.047610752284526825,
-0.015281220898032188,
-0.028969312086701393,
0.0037058561574667692,
0.03634897992014885,
0.031313225626945496,
0.006065793335437775,
-0.0047427634708583355,
0.008194543421268463,
-0.11053019762039185,
0.008725586347281933,
0.021534709259867668,
0.015363624319434166,
-0.015766484662890434,
-0.023951871320605278,
0.03371207416057587,
0.04951518401503563,
-0.020271193236112595,
0.030562441796064377,
0.01595875807106495,
-0.011710413731634617,
-0.008199120871722698,
0.013422570191323757,
0.035799622535705566,
-0.0069768065586686134,
0.08723755180835724,
-0.023805376142263412,
0.02972009778022766,
-0.044461119920015335,
-0.0005688111414201558,
0.008373083546757698,
-0.03744768723845482,
0.024775903671979904,
0.022340429946780205,
0.03219219297170639,
-0.04288630187511444,
-0.05134636536240578,
-0.008775943890213966,
-0.019923269748687744,
0.016517268493771553,
0.07104989141225815,
0.0450470969080925,
-0.004312435630708933,
-0.014548747800290585,
0.06119813024997711,
0.0011673790868371725,
0.022615108639001846,
-0.056620173156261444,
0.022065753117203712,
0.04596268758177757,
-0.013926145620644093,
-0.04112836718559265,
0.02186432294547558,
0.009769360534846783,
-0.025526689365506172,
0.017506107687950134,
0.03288804367184639,
0.008858347311615944,
-0.025783054530620575,
-0.0007084388635121286,
0.002998561831191182,
-0.010813134722411633,
-0.07537148147821426,
0.05123649537563324,
0.0006981384358368814,
-0.008025159128010273,
0.003209147835150361,
0.03988316282629967,
0.02039937674999237,
-0.005653777159750462,
0.010456053540110588,
0.02215731143951416,
-0.045889440923929214,
-0.010309559293091297,
0.017899811267852783,
0.001960510155186057,
-0.024666031822562218,
0.07551798224449158,
0.042373571544885635,
0.024116678163409233,
0.04453436657786369,
0.014612838625907898,
0.021186785772442818,
0.02874957025051117,
0.040615636855363846,
-0.0021676626056432724,
-0.01040111854672432,
-0.037539247423410416,
-0.030965302139520645,
-0.03693495690822601,
0.018769623711705208,
0.021003667265176773,
-0.028474893420934677,
0.020857172086834908,
0.00937565602362156,
-0.010877225548028946,
0.0039965566247701645,
0.01659967191517353,
0.044131506234407425,
0.02347576431930065,
-0.011344177648425102,
0.029665160924196243,
-0.004207142628729343,
0.009439747780561447,
-0.0680101290345192,
0.054496001452207565,
-0.024995645508170128,
0.04662191495299339,
-0.026570463553071022,
0.02354901097714901,
-0.036495473235845566,
-0.0029459153302013874,
-0.007169080898165703,
0.031056860461831093,
0.024702657014131546,
-0.03416987136006355,
0.010098973289132118,
-0.028529828414320946,
-0.01468608621507883,
0.08482038974761963,
-0.029921527951955795,
-0.01933729089796543,
-0.1017405167222023,
0.014310693368315697,
0.024757592007517815,
0.024336419999599457,
0.042703185230493546,
0.002430895110592246,
-0.0068898252211511135,
-0.05651030316948891,
0.07002443075180054,
0.02078392542898655,
-0.02111353725194931,
-0.015180505812168121,
-0.009668645448982716,
0.019923269748687744,
0.04361877590417862,
0.027559300884604454,
0.058304861187934875,
-0.025160452350974083,
-0.01213158667087555,
0.012589382007718086,
-0.03519533574581146,
-0.003454068675637245,
0.0028383333701640368,
0.011133591644465923,
-0.03294298052787781,
0.008775943890213966,
-0.013065489009022713,
-0.08232998102903366,
0.02461109682917595,
-0.0037813924718648195,
0.007251483853906393,
-0.0784478709101677,
0.061820730566978455,
0.041677720844745636,
0.005141045898199081,
0.005223448853939772,
-0.00553932785987854,
0.025068892166018486,
0.0038821075577288866,
-0.08613883703947067,
-0.02662539854645729,
-0.03188089281320572,
0.07094002515077591,
0.015592521987855434,
0.054203011095523834,
0.01400854904204607,
0.046548668295145035,
-0.048269979655742645,
-0.005012862849980593,
-0.033803634345531464,
0.007329309359192848,
-0.021168474107980728,
0.02772410772740841,
0.04508372023701668,
0.04182421416044235,
-0.0033007070887833834,
0.04120161384344101,
0.031093483790755272,
-0.009247473441064358,
-0.0012658050982281566,
0.05434950813651085,
0.02970178611576557,
0.031038548797369003,
-0.02036275342106819,
0.01420997828245163,
-0.050320904701948166,
0.026222538203001022,
-0.0153910918161273,
0.01659967191517353,
0.0464387983083725,
-0.0035524945706129074,
-0.004811432678252459,
0.013120424933731556,
-0.0028223104309290648,
-0.027559300884604454,
0.0029321815818548203,
0.006729596760123968,
0.0037424799520522356,
-0.04427799955010414,
-0.012662629596889019,
-0.016169345006346703,
0.010877225548028946,
-0.03882107511162758,
-0.031221667304635048,
-0.05079701170325279,
-0.025764742866158485,
0.06160099059343338,
-0.010199688374996185,
-0.001879251329228282,
-0.018238581717014313,
0.06291944533586502
]
|
31,541 | laspy.header | _sync_extra_bytes_vlr | null | def _sync_extra_bytes_vlr(self) -> None:
try:
self._vlrs.extract("ExtraBytesVlr")
except IndexError:
pass
extra_dimensions = list(self.point_format.extra_dimensions)
if not extra_dimensions:
return
eb_vlr = ExtraBytesVlr()
for extra_dimension in extra_dimensions:
dtype = extra_dimension.dtype
assert dtype is not None
eb_struct = ExtraBytesStruct(
name=extra_dimension.name.encode(),
description=extra_dimension.description.encode(),
)
if extra_dimension.num_elements > 3 and dtype.base == np.uint8:
type_id = 0
eb_struct.options = extra_dimension.num_elements
else:
type_id = extradims.get_id_for_extra_dim_type(dtype)
eb_struct.data_type = type_id
eb_struct.scale = extra_dimension.scales
eb_struct.offset = extra_dimension.offsets
eb_vlr.extra_bytes_structs.append(eb_struct)
self._vlrs.append(eb_vlr)
| (self) -> NoneType | [
0.02763408236205578,
-0.05404158681631088,
-0.10649584233760834,
0.11169075965881348,
-0.0008427087450399995,
-0.02399042434990406,
0.019390756264328957,
-0.023304983973503113,
-0.00387815129943192,
0.0041893054731190205,
0.02299833856523037,
-0.024098651483654976,
-0.0156478900462389,
-0.03827645257115364,
-0.028734395280480385,
0.035841334611177444,
-0.020310690626502037,
-0.02891477569937706,
0.02151923067867756,
-0.004462128970772028,
0.0005056252703070641,
0.03142204508185387,
-0.004297533072531223,
0.05606183409690857,
0.034867286682128906,
0.06096814572811127,
-0.0010879116598516703,
-0.008698783814907074,
0.035210005939006805,
0.016161970794200897,
-0.01800183765590191,
-0.06847191601991653,
-0.03856505826115608,
0.0073369210585951805,
-0.06104029715061188,
-0.026750225573778152,
0.050470080226659775,
0.0030664452351629734,
-0.01427700836211443,
0.013916250318288803,
-0.004752990324050188,
0.012473217211663723,
0.04134289547801018,
-0.05588145554065704,
0.01691054366528988,
-0.008094513788819313,
-0.006854407023638487,
0.03257647156715393,
0.015801211819052696,
0.017577946186065674,
0.0193366426974535,
0.01948094554245472,
0.0029740009922534227,
0.018416710197925568,
0.03495747596025467,
0.02067144773900509,
0.020942017436027527,
0.10007434338331223,
-0.056242212653160095,
0.04134289547801018,
-0.0443371906876564,
0.01857905089855194,
-0.007959228940308094,
0.014376216568052769,
0.006976163014769554,
0.0006392185459844768,
-0.02399042434990406,
-0.000103154314274434,
-0.0204008799046278,
0.018398672342300415,
0.02083379030227661,
-0.025974595919251442,
-0.052237797528505325,
0.02462175115942955,
-0.07770732790231705,
0.01501656323671341,
0.0066695185378193855,
-0.008793482556939125,
0.007553376257419586,
0.006214061286300421,
0.02301637828350067,
0.053464375436306,
0.03910619765520096,
0.02399042434990406,
0.04422896355390549,
0.009185807779431343,
0.0030326242558658123,
0.014313084073364735,
0.03463279455900192,
0.0035264119505882263,
-0.028860662132501602,
0.03723025321960449,
-0.035354308784008026,
0.024495486170053482,
0.06111244857311249,
-0.04689857363700867,
-0.01361862476915121,
0.011526226997375488,
-0.035065703094005585,
0.01926449127495289,
-0.03158438578248024,
-0.05458272621035576,
-0.011408980004489422,
-0.019823666661977768,
-0.011057240888476372,
0.013564511202275753,
0.011553283780813217,
-0.05086691677570343,
-0.053572602570056915,
0.013564511202275753,
0.05018147453665733,
0.005158843006938696,
-0.05552069842815399,
0.01399742066860199,
-0.015611814334988594,
0.05393335968255997,
0.013005335815250874,
-0.007553376257419586,
0.017108960077166557,
0.0022705222945660353,
0.0647561103105545,
-0.004245673771947622,
-0.0263714287430048,
0.008144117891788483,
-0.08954019844532013,
0.00787354912608862,
0.04953211173415184,
0.04679034650325775,
-0.0401163175702095,
-0.05732448771595955,
0.01283397525548935,
-0.011544264853000641,
-0.03852898254990578,
-0.03073660470545292,
-0.021988216787576675,
-0.049712490290403366,
0.026064785197377205,
-0.06558585166931152,
-0.021068282425403595,
-0.028788508847355843,
-0.02474801614880562,
0.06955419480800629,
0.06378205865621567,
0.0014238677686080337,
-0.020581258460879326,
0.047944772988557816,
-0.038925815373659134,
-0.037518858909606934,
-0.021898027509450912,
-0.025523647665977478,
-0.050397928804159164,
0.025505609810352325,
-0.0639624372124672,
-0.0025568741839379072,
0.007963738404214382,
0.011417998932301998,
0.009803606197237968,
-0.02546953409910202,
-0.0174156054854393,
-0.030502110719680786,
-0.05176880955696106,
-0.038240376859903336,
0.03878151252865791,
-0.06674028187990189,
-0.029239457100629807,
0.0330454558134079,
-0.01642351970076561,
-0.026750225573778152,
-0.03907012194395065,
0.06490041315555573,
0.05746879056096077,
0.0316384993493557,
0.0235755518078804,
-0.003981869202107191,
0.001940203015692532,
0.097043976187706,
0.016026686877012253,
-0.045347314327955246,
0.019733477383852005,
-0.016946619376540184,
0.0060607390478253365,
0.011796794831752777,
0.06453965604305267,
-0.021429041400551796,
0.022691695019602776,
-0.06288016587495804,
0.01734345406293869,
0.01139094214886427,
0.03136793151497841,
-0.025794215500354767,
0.03524608165025711,
0.06378205865621567,
0.022457202896475792,
0.023449286818504333,
-0.005037087481468916,
0.017605002969503403,
0.03784354031085968,
0.013699795119464397,
-0.02420688048005104,
0.009749491699039936,
-0.02869831956923008,
-0.0555928498506546,
-0.004901803098618984,
-0.05703588202595711,
-0.014403273351490498,
-0.015106752514839172,
-0.015269093215465546,
-0.026768263429403305,
-0.004265966359525919,
-0.0039052083157002926,
0.022204671055078506,
0.004861217457801104,
-0.020978093147277832,
-0.013023373670876026,
0.026263201609253883,
-0.020978093147277832,
-0.05393335968255997,
0.03347836807370186,
0.012112459167838097,
-0.003927755635231733,
0.043723903596401215,
-0.03997201472520828,
-0.0541498139500618,
-0.007025767117738724,
-0.03463279455900192,
0.007589451968669891,
0.006628933362662792,
-0.030574262142181396,
0.007589451968669891,
0.003346032928675413,
-0.010083193890750408,
0.0260287094861269,
-0.030772680416703224,
-0.0031408516224473715,
0.03199925646185875,
0.07341431081295013,
-0.00222880975343287,
0.010912937112152576,
0.05249032750725746,
-0.034849248826503754,
-0.0032197674736380577,
0.030718566849827766,
-0.02047303132712841,
0.01090391818434,
0.03165653720498085,
-0.07857315242290497,
0.004964935593307018,
0.016919562593102455,
0.0022524844389408827,
0.02848186530172825,
0.0009312072652392089,
-0.03733848035335541,
0.02568598836660385,
-0.005104729440063238,
0.02462175115942955,
-0.07417190074920654,
0.031764764338731766,
-0.03241413086652756,
0.052454251796007156,
-0.001511802664026618,
0.030123315751552582,
-0.005853302776813507,
0.021014168858528137,
0.0077698309905827045,
-0.026082823053002357,
0.03641854599118233,
0.012238724157214165,
-0.014105647802352905,
0.022529354318976402,
0.05458272621035576,
-0.060318782925605774,
0.04177580773830414,
-0.027832500636577606,
0.035210005939006805,
-0.008865633979439735,
-0.023377135396003723,
0.006980672478675842,
0.004906312562525272,
0.018128102645277977,
-0.004757499787956476,
0.020707525312900543,
-0.009974965825676918,
0.027183135971426964,
0.053644753992557526,
-0.022890111431479454,
-0.025776177644729614,
-0.01734345406293869,
-0.09863130748271942,
-0.06760609894990921,
-0.08066555112600327,
-0.053500451147556305,
0.032612547278404236,
0.022421125322580338,
0.0022400834131985903,
0.024242956191301346,
0.004771028179675341,
-0.0032378053292632103,
0.036761268973350525,
0.038853663951158524,
0.03961125761270523,
-0.04347136989235878,
0.0013799003791064024,
0.042461246252059937,
0.06955419480800629,
0.0006307633011601865,
-0.0249644722789526,
0.051949191838502884,
-0.04762009158730507,
-0.02947395108640194,
-0.014863240532577038,
-0.010245534591376781,
0.07276494055986404,
0.053211845457553864,
0.03504766523838043,
0.040188468992710114,
0.03493943810462952,
0.038096074014902115,
0.057937778532505035,
-0.027706235647201538,
0.012689672410488129,
0.025217002257704735,
-0.035354308784008026,
-0.07438835501670837,
-0.017677154392004013,
0.024729978293180466,
-0.019426831975579262,
0.040549229830503464,
-0.03456064313650131,
0.022817960008978844,
-0.020869866013526917,
0.007391035091131926,
-0.058983977884054184,
-0.020076196640729904,
0.038384679704904556,
0.007097919005900621,
0.015539661981165409,
-0.031818877905607224,
-0.05826245993375778,
0.015269093215465546,
0.012842994183301926,
0.0035647426266223192,
-0.023539476096630096,
-0.0260287094861269,
0.01996796950697899,
0.019823666661977768,
-0.057288412004709244,
0.06767825037240982,
-0.025451496243476868,
-0.06865229457616806,
0.03914227336645126,
-0.055484622716903687,
-0.011138411238789558,
-0.05368082970380783,
0.06876052916049957,
0.035570766776800156,
0.0021792054176330566,
-0.03270273655653,
0.018182216212153435,
0.031223628669977188,
0.033514443784952164,
0.009122674353420734,
0.02855401672422886,
0.01389821246266365,
-0.032179638743400574,
-0.011868947185575962,
-0.02981667034327984,
-0.012852013111114502,
-0.035426460206508636,
-0.03603975102305412,
0.030916983261704445,
-0.027886614203453064,
-0.0066379522904753685,
0.023052453994750977,
-0.014114666730165482,
0.036256205290555954,
-0.04318276420235634,
-0.09415790438652039,
0.03418184444308281,
-0.02151923067867756,
-0.028319524601101875,
-0.01814614050090313,
-0.0018139376770704985,
0.004040492698550224,
-0.015106752514839172,
0.035426460206508636,
0.03257647156715393,
0.032035332173109055,
-0.026497693732380867,
0.0033212308771908283,
0.0052896179258823395,
-0.013068468309938908,
0.013627643696963787,
-0.010741577483713627,
0.04040492698550224,
-0.006398949772119522,
-0.001797027071006596,
-0.06360168009996414,
0.00603368179872632,
0.0017338944599032402,
-0.015846306458115578,
0.0001326773053733632,
-0.008563498966395855,
-0.0499650202691555,
0.023034416139125824,
-0.023160681128501892,
-0.06497256457805634,
-0.04249732196331024,
0.05458272621035576,
-0.03475905954837799,
0.0401163175702095,
-0.05580930411815643,
0.03208944946527481,
0.04101821407675743,
-0.015774155035614967,
-0.004081077873706818,
0.016829373314976692,
0.01746971905231476,
-0.0499650202691555,
-0.025235040113329887,
0.027616044506430626,
-0.0006352727650664747,
0.010561197996139526,
-0.018615126609802246,
0.06775040179491043,
-0.020220501348376274,
0.000717570714186877,
-0.02828344888985157,
0.019462907686829567,
0.007427110802382231,
-0.01921037770807743,
0.021356889978051186,
0.04466187208890915,
-0.022619543597102165,
0.001797027071006596,
0.007715717423707247,
0.003483572043478489,
0.025289153680205345,
-0.04451756924390793,
0.011796794831752777,
0.03975556045770645,
-0.008265873417258263,
0.009370695799589157,
0.008090004324913025,
-0.01666703261435032,
0.01948094554245472,
-0.0048567079938948154,
-0.09163259714841843,
0.017325416207313538,
-0.034019503742456436,
-0.037879619747400284,
0.0004630670591723174,
-0.025848329067230225,
0.022348973900079727,
-0.04581629857420921,
-0.014222894795238972,
-0.024729978293180466,
0.03573310747742653,
-0.07936681807041168,
-0.04682642221450806,
-0.028968889266252518,
-0.03138596937060356,
-0.005303146317601204,
-0.036761268973350525,
0.0135464733466506,
0.047800470143556595,
0.003194965422153473,
0.009442847222089767,
-0.023737894371151924,
-0.05703588202595711,
0.024026500061154366,
0.04119859263300896,
-0.023196756839752197,
0.08549971133470535,
-0.031277742236852646,
0.08759211003780365,
0.012608501128852367,
0.037807464599609375,
-0.011544264853000641,
-0.014213875867426395,
-0.03389323875308037,
-0.009298544377088547,
-0.04790869727730751,
-0.009167768992483616,
-0.025162888690829277,
0.009938890114426613,
0.06197826936841011,
-0.0569998063147068,
0.011228601448237896,
0.049207426607608795,
-0.012464198283851147,
-0.07446050643920898,
0.08744780719280243,
-0.05072261393070221,
0.06111244857311249,
0.06085991859436035,
0.023268908262252808,
0.0214651171118021,
0.02103220671415329,
0.09487942606210709,
-0.017992818728089333,
0.03017742931842804,
-0.0429302342236042,
0.021302776411175728,
-0.08831362426280975,
-0.024729978293180466,
-0.029852746054530144,
-0.011417998932301998,
0.028824584558606148,
0.0067732366733253,
0.03180084004998207,
-0.024711940437555313,
0.0023877688217908144,
0.01093999482691288,
0.031476158648729324,
-0.005641357507556677,
0.05212957039475441,
-0.015305169858038425,
0.007607489824295044,
0.05115552246570587,
-0.000644855375867337,
-0.0281391441822052,
0.030772680416703224,
0.06587445735931396,
-0.061725739389657974,
0.011454074643552303,
0.0073369210585951805,
-0.07676935940980911,
-0.06479218602180481,
0.0034768078476190567,
0.030195467174053192,
-0.0007130612502805889,
0.022565430030226707,
0.04242517054080963,
-0.07655290514230728,
0.020851828157901764,
0.011147430166602135,
0.01819123513996601,
0.0009351530461572111,
-0.006069757975637913,
-0.07085292041301727,
-0.009524018503725529,
-0.10324901342391968,
0.02083379030227661,
-0.010092212818562984,
-0.09127184003591537,
0.0408017598092556,
0.017749305814504623,
0.025848329067230225,
0.011255658231675625,
-0.05144412815570831,
0.0094969617202878,
0.03210748732089996,
0.010750596411526203,
-0.011679548770189285,
-0.037735313177108765,
-0.07013140618801117,
-0.01892177015542984,
-0.019498983398079872,
0.02932964637875557,
-0.022403087466955185,
0.05220172181725502,
0.024567637592554092,
0.019931893795728683,
-0.012491255067288876,
-0.022601505741477013,
0.036328356713056564,
-0.0717548206448555,
0.026082823053002357,
-0.0393948033452034,
0.02081575244665146,
0.0036887533497065306,
0.06666813045740128,
-0.04733148589730263,
-0.048521988093853,
0.008171174675226212,
-0.049135275185108185,
0.0018962356261909008,
0.062158647924661636,
-0.00041543570114299655,
-0.0292033813893795,
-0.0256679505109787,
-0.0019131462322548032,
0.06251940876245499,
-0.04361567273736,
0.011697586625814438,
-0.009352657943964005,
0.05566500127315521,
0.02786857634782791,
0.017307378351688385,
0.055123861879110336,
-0.013122581876814365,
0.036833420395851135,
0.017090922221541405,
-0.025162888690829277,
0.03208944946527481,
0.029239457100629807,
-0.017045827582478523,
-0.018813543021678925,
-0.038240376859903336,
0.008784463629126549,
0.02877047099173069,
0.04065745696425438,
-0.027598006650805473,
0.021122395992279053,
-0.007670622784644365,
-0.01615295186638832,
-0.0344884917140007,
0.006047210656106472,
-0.009055032394826412,
0.01872335374355316,
0.04989286884665489,
0.05191311612725258,
0.011490150354802608,
-0.0428941585123539,
-0.0020281379111111164,
-0.030123315751552582,
-0.03488532453775406,
0.01691054366528988,
0.03145812079310417,
0.05916435644030571,
-0.0018071734812110662,
0.03907012194395065,
0.006146418862044811,
-0.0022727770265191793,
-0.06381813436746597,
-0.03622012957930565,
-0.01683839224278927,
0.030357807874679565,
0.021194547414779663,
0.006588347721844912,
-0.02355751395225525,
0.002441882621496916,
0.029744518920779228,
-0.035697031766176224,
0.03005116432905197,
-0.02364770509302616,
-0.03508374094963074,
-0.0408017598092556,
0.017045827582478523,
0.07182697206735611,
0.06197826936841011,
0.015927476808428764,
-0.03259450942277908,
0.003871387103572488,
-0.000039211321563925594,
0.054618801921606064,
-0.022006254643201828,
-0.0471511036157608,
-0.022673657163977623,
0.049351729452610016,
-0.009794587269425392,
0.0070347860455513,
0.00992085225880146,
-0.05407766252756119,
-0.044012509286403656,
0.056386515498161316,
-0.0401163175702095,
0.047656167298555374,
0.021429041400551796,
-0.010741577483713627,
-0.04458972066640854,
-0.032197676599025726,
0.0051453146152198315,
-0.030718566849827766,
0.009596169926226139,
0.024892320856451988,
-0.007165560964494944,
-0.003120559034869075,
0.03275685012340546,
-0.024188842624425888,
-0.003981869202107191,
0.0067732366733253,
-0.013762927614152431,
0.0027733291499316692,
-0.0013528434792533517,
-0.020779676735401154,
-0.06367383152246475,
0.01603570580482483,
0.08174782246351242,
0.021068282425403595,
0.010038098320364952,
0.05021755024790764,
0.000717570714186877,
-0.003560233162716031,
-0.04841376096010208,
-0.04116251692175865,
0.007553376257419586,
0.07994402945041656,
0.007458677049726248,
-0.009902814403176308,
0.012491255067288876,
0.0015512605896219611,
0.038096074014902115,
0.005528620444238186,
-0.055051710456609726,
-0.009884776547551155,
0.03622012957930565,
-0.10209459066390991,
0.010029079392552376,
-0.01399742066860199,
0.005627829115837812,
-0.004169012885540724,
-0.08283010125160217,
0.0018049187492579222,
0.015467510558664799,
0.05790170282125473,
-0.0011470986064523458,
-0.029636291787028313,
-0.05122767388820648,
0.01857905089855194,
0.015738079324364662,
0.07027570903301239,
-0.0006048337672837079,
-0.07770732790231705,
-0.039647333323955536,
0.09242627024650574,
0.01090391818434,
-0.038925815373659134,
0.027417628094553947,
0.025938520208001137,
-0.04974856600165367,
0.06576623022556305,
0.053500451147556305,
0.04137897491455078,
-0.04163150489330292,
0.06443142890930176,
-0.01121958252042532,
0.009812625125050545,
-0.036905571818351746,
0.029780594632029533,
0.03784354031085968,
-0.007327902130782604,
-0.00882955826818943,
0.09278702735900879,
0.009113655425608158,
-0.0055466582998633385,
-0.03344229236245155,
0.04159542918205261,
-0.01045297086238861,
-0.01783047802746296,
-0.008234307169914246,
-0.009524018503725529,
-0.0045410445891320705,
0.03993593901395798,
-0.011472112499177456,
0.01801987551152706,
0.05508778616786003,
0.0555928498506546,
-0.03573310747742653,
0.02772427350282669,
0.02574010193347931,
0.01238302793353796,
-0.0485580638051033,
0.043218839913606644,
-0.03185495361685753,
-0.001615520566701889,
0.05036185309290886,
0.029600216075778008,
-0.002073232550173998,
-0.026191050186753273,
-0.01807398907840252,
-0.06742572039365768,
-0.026136936619877815,
0.060823842883110046,
-0.016387443989515305,
0.04199226200580597,
-0.020274614915251732,
0.03674323111772537
]
|
31,542 | laspy.header | add_crs | Add a Coordinate Reference System VLR from a pyproj CRS object.
The type of VLR created depends on the las version and point format
version. Las version >= 1.4 use WKT string, las version < 1.4 and point
format < 6 use GeoTiff tags.
.. warning::
This requires `pyproj`.
.. warning::
Not all CRS are supported when adding GeoTiff tags.
For example, custom CRS.
Typically, if the CRS has an EPSG code it will be supported.
| def add_crs(self, crs: "pyproj.CRS", keep_compatibility: bool = True) -> None:
"""Add a Coordinate Reference System VLR from a pyproj CRS object.
The type of VLR created depends on the las version and point format
version. Las version >= 1.4 use WKT string, las version < 1.4 and point
format < 6 use GeoTiff tags.
.. warning::
This requires `pyproj`.
.. warning::
Not all CRS are supported when adding GeoTiff tags.
For example, custom CRS.
Typically, if the CRS has an EPSG code it will be supported.
"""
import pyproj
# check and remove any existing crs vlrs
for crs_vlr_name in (
"WktCoordinateSystemVlr",
"GeoKeyDirectoryVlr",
"GeoAsciiParamsVlr",
"GeoDoubleParamsVlr",
):
try:
self._vlrs.extract(crs_vlr_name)
except IndexError:
pass
new_ver = self._version >= Version(1, 4)
new_pt = self.point_format.id >= 6
if new_pt or (new_ver and not keep_compatibility):
self._vlrs.append(WktCoordinateSystemVlr(crs.to_wkt()))
self.global_encoding.wkt = True
else:
self._vlrs.extend(create_geotiff_projection_vlrs(crs))
| (self, crs: 'pyproj.CRS', keep_compatibility: bool = True) -> None | [
0.01330400351434946,
-0.025026213377714157,
-0.023745715618133545,
0.06794174760580063,
-0.03071313351392746,
-0.010488789528608322,
-0.04783038794994354,
0.024724921211600304,
0.08119866997003555,
0.02357623726129532,
-0.00020787505491171032,
-0.03464878350496292,
0.005649258382618427,
0.029131341725587845,
-0.02907484956085682,
0.0004257539985701442,
-0.07434424012899399,
-0.03206895664334297,
-0.04560834541916847,
-0.06443920731544495,
-0.00523968692868948,
-0.009848540648818016,
0.019923051819205284,
0.007052157539874315,
0.03864092752337456,
0.04214346781373024,
0.0647781640291214,
0.030505994334816933,
-0.018802614882588387,
-0.011449163779616356,
-0.06334701925516129,
0.01849190518260002,
-0.04617327079176903,
-0.057697758078575134,
-0.02336909808218479,
-0.006619047839194536,
0.0011445633135735989,
-0.008921120315790176,
0.04681352153420448,
0.006411908194422722,
-0.017004268243908882,
0.050052426755428314,
0.000395448092604056,
-0.03336828574538231,
-0.0436122752726078,
0.004331097938120365,
-0.0543082021176815,
0.021881461143493652,
0.002805798314511776,
0.01695718988776207,
0.003368370234966278,
-0.013398157432675362,
-0.013586466200649738,
-0.009434261359274387,
-0.011505655944347382,
-0.030505994334816933,
0.0067226174287498,
0.12134607136249542,
-0.008624534122645855,
-0.0019501710776239634,
-0.0009238891070708632,
-0.0216554906219244,
-0.056680891662836075,
0.00866219587624073,
0.02525218389928341,
0.008177301846444607,
-0.017380883917212486,
-0.06933522969484329,
0.08021946996450424,
0.06263144314289093,
-0.03743575140833855,
-0.00512199429795146,
0.012108244001865387,
-0.03368841111660004,
0.02321845106780529,
0.05796138942241669,
-0.08014414459466934,
0.0215425044298172,
0.024047009646892548,
-0.02372688427567482,
-0.004168681800365448,
0.0063742464408278465,
0.03984610363841057,
0.007555882912129164,
0.030487164855003357,
0.04967581108212471,
0.006962710991501808,
-0.02500738389790058,
0.012032920494675636,
-0.0061153220012784,
-0.005517442245036364,
-0.0006567263044416904,
-0.020789271220564842,
-0.03434748947620392,
0.04233177378773689,
0.0016276926035061479,
0.02092108689248562,
-0.01557312160730362,
-0.022766510024666786,
0.03813249245285988,
0.016542911529541016,
0.008073731325566769,
-0.08443757891654968,
-0.0030152916442602873,
-0.021956784650683403,
-0.02333143725991249,
0.00483011594042182,
-0.01962175779044628,
-0.03457346186041832,
0.0031353384256362915,
-0.019565263763070107,
0.012296551838517189,
0.013049786910414696,
-0.0008774004527367651,
-0.07878832519054413,
0.0019560556393116713,
0.0015535460552200675,
-0.05656790733337402,
-0.041691526770591736,
-0.003867388004437089,
-0.020902255550026894,
-0.001912509324029088,
0.011929349973797798,
0.024762582033872604,
0.0012722600949928164,
-0.023595068603754044,
-0.00483011594042182,
0.029752761125564575,
0.011194947175681591,
-0.05728347972035408,
0.060032784938812256,
-0.013369911350309849,
-0.056530244648456573,
-0.05487312749028206,
0.028735894709825516,
-0.05573934689164162,
-0.03457346186041832,
0.020582130178809166,
-0.015620199032127857,
0.03596694394946098,
0.011712795123457909,
0.011430332437157631,
0.018152950331568718,
0.022371063008904457,
-0.042708393186330795,
0.05543805658817291,
-0.06304572522640228,
0.024291811510920525,
-0.0763779729604721,
0.06308338791131973,
0.01535656675696373,
-0.0008662196341902018,
-0.003309523919597268,
0.011185531504452229,
-0.03060014918446541,
-0.07999349385499954,
0.03056248649954796,
-0.051370587199926376,
0.04741610959172249,
0.027022285386919975,
-0.011835196055471897,
0.018115287646651268,
0.01258843019604683,
0.02907484956085682,
0.011496240273118019,
0.0022408724762499332,
-0.01943344809114933,
-0.06161457672715187,
0.02579827979207039,
0.03547734394669533,
0.05359262973070145,
0.02252171002328396,
-0.004131020046770573,
0.015092935413122177,
-0.002636320423334837,
0.0216931514441967,
0.02212626114487648,
0.015921492129564285,
0.03579746559262276,
-0.006284799892455339,
0.06748980283737183,
-0.0034531091805547476,
0.002754013519734144,
0.04624859616160393,
0.009792047552764416,
0.03519487753510475,
-0.019998373463749886,
0.006350707728415728,
-0.0005034313071519136,
-0.008356194943189621,
0.02813330665230751,
0.02365156076848507,
-0.020469145849347115,
-0.02146718092262745,
0.0074570211581885815,
-0.016147462651133537,
-0.01986655779182911,
0.017201991751790047,
-0.08488952368497849,
0.0700884610414505,
-0.021165886893868446,
0.003573155961930752,
-0.029564451426267624,
-0.021165886893868446,
0.018802614882588387,
-0.003881511278450489,
-0.03205012530088425,
-0.057735420763492584,
0.0013358142459765077,
0.010300480760633945,
0.08782713860273361,
0.02638203650712967,
-0.04082530736923218,
0.03129689022898674,
-0.0075464677065610886,
-0.04662521183490753,
-0.08466354757547379,
0.013897174969315529,
0.02587360329926014,
0.014226715080440044,
0.03924351558089256,
-0.007315789349377155,
-0.04654989019036293,
-0.05046670883893967,
-0.008177301846444607,
-0.03487475588917732,
0.0757000595331192,
0.022954819723963737,
0.008163178339600563,
-0.04210580512881279,
0.01797405630350113,
-0.026589175686240196,
-0.05272641032934189,
-0.031899478286504745,
0.03704030439257622,
-0.06639761477708817,
0.0008179655415005982,
0.08699857443571091,
0.015092935413122177,
-0.031466368585824966,
0.008746935054659843,
0.033970873802900314,
-0.014876380562782288,
0.040373366326093674,
-0.03195597231388092,
-0.03391437977552414,
-0.028924202546477318,
0.046060286462306976,
-0.0022573494352400303,
0.047001827508211136,
0.03129689022898674,
-0.0537809394299984,
-0.019207477569580078,
0.0321631096303463,
-0.04553302004933357,
-0.09453092515468597,
-0.07419358938932419,
-0.02926315739750862,
0.030694304034113884,
-0.06967418640851974,
0.009396599605679512,
0.051483575254678726,
0.004229882266372442,
0.013614712283015251,
0.00814905483275652,
-0.03180532529950142,
0.00966023188084364,
-0.006595509126782417,
0.033104654401540756,
0.0489979013800621,
0.039507146924734116,
0.01061119046062231,
-0.052462778985500336,
0.03672017902135849,
0.011383255012333393,
-0.07445722073316574,
-0.016900697723031044,
-0.008045485243201256,
0.026626836508512497,
0.07773379236459732,
0.03429099917411804,
-0.009424845688045025,
-0.024009346961975098,
0.042595408856868744,
-0.03818898648023605,
-0.03368841111660004,
-0.0011816364713013172,
-0.0002576003025751561,
-0.04767974093556404,
-0.06138860806822777,
-0.036117590963840485,
0.034328658133745193,
0.00385797256603837,
0.01793639548122883,
0.07291309535503387,
0.04944984242320061,
-0.013398157432675362,
-0.029451467096805573,
0.0644768700003624,
0.012729662470519543,
0.007339328061789274,
0.034705277532339096,
0.031861815601587296,
-0.016458172351121902,
0.0058046127669513226,
-0.08534146100282669,
-0.02899952605366707,
-0.05170954391360283,
-0.025553477928042412,
0.05419521778821945,
-0.033424779772758484,
0.010517035610973835,
-0.028265122324228287,
-0.04131490737199783,
0.00829970184713602,
0.02594892680644989,
-0.01557312160730362,
-0.025741787627339363,
-0.0028105059172958136,
-0.012550768442451954,
-0.03434748947620392,
-0.037755876779556274,
-0.018689628690481186,
-0.017258483916521072,
0.011317347176373005,
-0.014688071794807911,
-0.0058611053973436356,
-0.01870846003293991,
0.07946623116731644,
0.047114815562963486,
-0.03543968126177788,
0.026833977550268173,
0.006049414165318012,
0.08775181323289871,
-0.0024856736417859793,
-0.01250369194895029,
0.020073696970939636,
-0.042670730501413345,
-0.0018748475704342127,
-0.011599810793995857,
0.005089040379971266,
0.050165414810180664,
-0.09196992218494415,
-0.021052902564406395,
-0.009034105576574802,
0.003163584740832448,
-0.027832012623548508,
0.0025915971491485834,
-0.02216392382979393,
-0.020318498834967613,
-0.08338305354118347,
-0.0756247341632843,
-0.029432635754346848,
0.015714352950453758,
-0.007216927595436573,
0.050090089440345764,
0.0016924235969781876,
-0.008365609683096409,
0.051219940185546875,
-0.0650041326880455,
0.00871868897229433,
-0.018115287646651268,
0.021090563386678696,
0.009194168262183666,
-0.0653054267168045,
0.004592376295477152,
0.01997954398393631,
-0.05095630884170532,
0.002389165572822094,
-0.02638203650712967,
0.002126710256561637,
-0.02321845106780529,
0.03973311558365822,
0.014979950152337551,
-0.013332249596714973,
0.031127413734793663,
0.04440316930413246,
0.004693591967225075,
-0.03813249245285988,
-0.05792372673749924,
-0.019772404804825783,
0.0029164296574890614,
0.03741692006587982,
0.003702617948874831,
0.04775506258010864,
-0.01754094660282135,
0.04180451110005379,
0.00019478172180242836,
0.06824304163455963,
0.005912890192121267,
-0.0016559388022869825,
0.02208860032260418,
0.034121520817279816,
-0.015055273659527302,
-0.03429099917411804,
-0.016439341008663177,
0.0161192175000906,
0.03527020290493965,
0.05182252824306488,
0.04003440961241722,
0.01514001190662384,
0.0006626109243370593,
-0.021749643608927727,
0.015403644181787968,
-0.03016703948378563,
0.022465217858552933,
0.008845796808600426,
-0.0325397290289402,
-0.010686513967812061,
-0.006713201757520437,
0.0032412619329988956,
-0.011420916765928268,
-0.05604064092040062,
-0.01986655779182911,
-0.001578261493705213,
0.039544809609651566,
0.05073034018278122,
0.013106279075145721,
-0.02333143725991249,
0.01896267756819725,
0.016326356679201126,
0.0013275756500661373,
-0.03097676672041416,
0.11524487286806107,
0.021316533908247948,
0.00864336546510458,
0.002157310489565134,
0.023821039125323296,
0.023557407781481743,
-0.012418952770531178,
-0.00851625669747591,
0.036663684993982315,
0.0028340446297079325,
-0.02380220778286457,
-0.028396937996149063,
-0.03205012530088425,
-0.018039964139461517,
0.03250206634402275,
-0.04971347376704216,
0.0009768508607521653,
0.030505994334816933,
-0.0014640993904322386,
-0.05577700957655907,
-0.0005213794647715986,
0.0038367880042642355,
-0.0433109812438488,
-0.02828395366668701,
-0.0055409809574484825,
-0.0540822334587574,
-0.021843798458576202,
0.020864594727754593,
0.025195691734552383,
-0.008464472368359566,
0.04090062901377678,
-0.0014664533082395792,
-0.01769159361720085,
-0.004453498404473066,
-0.08044543862342834,
-0.019122740253806114,
-0.022653525695204735,
0.01098780706524849,
-0.03760522976517677,
0.04971347376704216,
0.07148195058107376,
-0.016467588022351265,
-0.036927320063114166,
0.02739890292286873,
-0.03602343797683716,
-0.04673819616436958,
-0.06297039985656738,
0.04108893871307373,
-0.02856641635298729,
0.04654989019036293,
-0.0430850088596344,
0.016251033172011375,
0.06519243866205215,
-0.03574097529053688,
0.004123958759009838,
0.024141164496541023,
-0.02598658762872219,
-0.07359100133180618,
0.0047241924330592155,
-0.009989771991968155,
0.02958328276872635,
-0.013332249596714973,
0.031127413734793663,
-0.007188681047409773,
-0.010309896431863308,
-0.014386777766048908,
0.03741692006587982,
-0.024687258526682854,
0.059015918523073196,
-0.08119866997003555,
0.08865569531917572,
-0.01352055836468935,
0.03316114470362663,
0.005912890192121267,
-0.030694304034113884,
0.03705913573503494,
0.05509909987449646,
0.02216392382979393,
-0.01899092271924019,
-0.029903408139944077,
0.02958328276872635,
0.09084007143974304,
0.006063537206500769,
-0.022145092487335205,
0.015158843249082565,
0.024762582033872604,
-0.003003522288054228,
-0.04673819616436958,
-0.033462438732385635,
0.11358775198459625,
0.022898327559232712,
0.02231457084417343,
0.012466030195355415,
-0.037906523793935776,
0.020243175327777863,
-0.074946828186512,
0.031541693955659866,
-0.02376454696059227,
-0.011016054078936577,
0.06737682223320007,
-0.04003440961241722,
0.02067628502845764,
0.034950077533721924,
-0.05841333046555519,
-0.04342396557331085,
0.06669890880584717,
0.06639761477708817,
0.010865407064557076,
-0.03056248649954796,
-0.05314068868756294,
-0.031089751049876213,
0.0080031156539917,
0.05965616926550865,
0.0432356558740139,
-0.04108893871307373,
-0.0063742464408278465,
-0.10590476542711258,
-0.009495461359620094,
-0.07558707892894745,
0.031052090227603912,
0.017060760408639908,
-0.007202804554253817,
0.004568837583065033,
0.03363191708922386,
-0.041503217071294785,
0.014490347355604172,
-0.04948750138282776,
0.01986655779182911,
0.01962175779044628,
-0.013793605379760265,
0.018397750332951546,
0.03380139544606209,
0.051106955856084824,
0.016251033172011375,
-0.0054844883270561695,
-0.037209782749414444,
-0.03212545067071915,
-0.01237187534570694,
-0.020036036148667336,
0.06056004762649536,
0.049148548394441605,
-0.07042741775512695,
0.009438969194889069,
0.0350065715610981,
0.006750863511115313,
0.04504342004656792,
0.01663706637918949,
0.0750974714756012,
-0.020393822342157364,
-0.021373027935624123,
-0.050203073769807816,
-0.03461112082004547,
0.003149461466819048,
0.0023503268603235483,
0.06349766254425049,
0.010724175721406937,
-0.009688477963209152,
-0.009260076098144054,
-0.02041265368461609,
0.06854433566331863,
-0.05927954986691475,
0.027229424566030502,
0.014254962094128132,
-0.048056356608867645,
0.05001476779580116,
0.047943372279405594,
0.010074510239064693,
0.012804985046386719,
0.00975438579916954,
0.05099397152662277,
-0.036230575293302536,
-0.04835765063762665,
-0.04402655363082886,
-0.035646818578243256,
-0.007993700914084911,
0.009194168262183666,
0.04632391780614853,
-0.003229492576792836,
0.012494276277720928,
-0.00937306135892868,
-0.024141164496541023,
-0.020224343985319138,
-0.014273792505264282,
-0.03383905813097954,
0.0021961492020636797,
-0.051257602870464325,
0.01237187534570694,
0.06651060283184052,
-0.012842646799981594,
0.021335365250706673,
-0.07114299386739731,
0.04508108273148537,
-0.016674727201461792,
-0.03980844095349312,
0.018548397347331047,
0.007763022556900978,
-0.007296958472579718,
0.02685280703008175,
-0.0043852366507053375,
-0.025120368227362633,
-0.007593544665724039,
-0.028359277173876762,
-0.009180044755339622,
0.01288030855357647,
-0.022352231666445732,
0.016495835036039352,
0.02820863015949726,
0.012070582248270512,
-0.04937451705336571,
0.03679550066590309,
-0.06172756105661392,
0.025045044720172882,
0.03319880738854408,
0.012870893813669682,
0.03191830962896347,
0.06643527746200562,
0.07377931475639343,
-0.0038462034426629543,
0.001948994118720293,
0.02973392978310585,
-0.02790733613073826,
-0.02045031450688839,
0.05088098719716072,
0.048282328993082047,
-0.05159655958414078,
0.052236806601285934,
0.027455395087599754,
0.001994894351810217,
-0.0048583620227873325,
0.03679550066590309,
-0.04018505662679672,
0.03351893275976181,
0.022446386516094208,
-0.032841023057699203,
0.016608819365501404,
0.0004166327998973429,
-0.0027139978483319283,
-0.014076068997383118,
-0.01834125816822052,
0.02466842718422413,
-0.0094625074416399,
-0.026080742478370667,
-0.022352231666445732,
0.03457346186041832,
0.024875568225979805,
-0.002034910023212433,
0.06628463417291641,
-0.04180451110005379,
-0.07528578490018845,
0.002608074340969324,
0.024574274197220802,
-0.0015547230141237378,
-0.06609632074832916,
-0.031899478286504745,
-0.014462101273238659,
0.03977077826857567,
0.011223193258047104,
-0.04975113645195961,
0.0861700177192688,
-0.03995908796787262,
-0.03864092752337456,
-0.030185870826244354,
0.009076475165784359,
-0.015629613772034645,
0.05818736180663109,
0.03679550066590309,
0.013793605379760265,
0.02700345404446125,
0.05046670883893967,
0.03643771633505821,
-0.007781853433698416,
0.0011969365878030658,
-0.03137221559882164,
-0.025045044720172882,
-0.034950077533721924,
-0.007706529926508665,
0.020243175327777863,
0.02122238092124462,
0.03172999992966652,
-0.02208860032260418,
0.04956282675266266,
0.02715410105884075,
0.002018432831391692,
0.01629810966551304,
-0.011599810793995857,
-0.017851656302809715,
-0.07773379236459732,
-0.020695116370916367,
0.04395122826099396,
0.040636997669935226,
0.003636710112914443,
-0.012522522360086441,
-0.017164329066872597,
0.03871624916791916,
0.011957596987485886,
0.010149833746254444,
-0.045947302132844925,
0.04116426035761833,
-0.0017053697956725955,
0.06922224164009094,
-0.03278452903032303,
0.034987740218639374,
0.02197561413049698,
0.003782649291679263,
-0.01047937385737896,
0.023387929424643517,
0.008652780205011368,
0.014217300340533257,
0.0872245505452156,
-0.010639436542987823,
0.04436551034450531,
-0.005809320602566004,
-0.03700264170765877,
-0.04176684841513634,
0.02478141337633133,
-0.02045031450688839,
-0.022182755172252655,
0.0018054087413474917,
-0.004345220979303122,
0.01098780706524849,
-0.06022109463810921,
-0.046097949147224426,
0.031786493957042694,
0.027229424566030502,
0.028340445831418037,
-0.04086297005414963,
0.023971686139702797,
0.02820863015949726,
-0.01432086993008852,
0.019263971596956253,
-0.03075079619884491,
0.001439383951947093,
-0.03649421036243439,
0.02739890292286873,
0.014697486534714699,
0.01383126713335514,
-0.05540039390325546,
-0.0009091775282286108,
-0.018802614882588387,
-0.011976427398622036,
0.052425116300582886,
0.025271015241742134,
0.014170222915709019,
-0.0642509013414383,
0.0433109812438488
]
|
31,543 | laspy.header | add_extra_dim | null | def add_extra_dim(self, params: ExtraBytesParams):
self.add_extra_dims([params])
| (self, params: laspy.point.format.ExtraBytesParams) | [
-0.017191270366311073,
0.03001885674893856,
-0.03051285818219185,
0.06744774430990219,
0.016582001000642776,
0.019809480756521225,
-0.029656589031219482,
0.003155437996610999,
0.030331723392009735,
0.00497295381501317,
0.056974899023771286,
-0.02637970820069313,
0.013420388102531433,
-0.03103979304432869,
0.008645035326480865,
0.00914727058261633,
0.05401088669896126,
0.003149262862280011,
-0.0039890664629638195,
0.021752554923295975,
-0.0175206046551466,
0.03546934574842453,
0.019200211390852928,
0.017635872587561607,
-0.0006756506627425551,
0.02870151773095131,
0.0009211079450324178,
-0.0162197332829237,
0.051112741231918335,
-0.054504889994859695,
-0.07199256122112274,
-0.098668672144413,
-0.033213403075933456,
0.058654505759477615,
-0.05542702600359917,
0.022641759365797043,
0.0016857818700373173,
0.00045772374141961336,
-0.03311460092663765,
0.02155495434999466,
0.010752777568995953,
0.019266078248620033,
0.06655853986740112,
-0.040738701820373535,
0.048642732203006744,
0.0062491255812346935,
0.040606968104839325,
0.013346288353204727,
-0.07001655548810959,
0.034086138010025024,
0.03583161532878876,
-0.04857686534523964,
0.04798406362533569,
0.003921140916645527,
-0.0027005444280803204,
0.02674197591841221,
0.02142322063446045,
0.018920278176665306,
-0.006907795090228319,
0.00015206000534817576,
-0.011913682334125042,
-0.000729167542885989,
0.034876544028520584,
-0.017323004081845284,
-0.023366296663880348,
0.034613076597452164,
-0.05117860808968544,
0.016993669793009758,
-0.007825815118849277,
0.012094816192984581,
0.03484360873699188,
-0.022559424862265587,
0.0002237160224467516,
-0.0008140741847455502,
-0.06277119368314743,
0.022938160225749016,
-0.005775706842541695,
-0.02817458286881447,
0.006681377533823252,
0.020105881616473198,
-0.017965206876397133,
0.04406498000025749,
0.008146916516125202,
0.06408853083848953,
0.045020051300525665,
0.02129148691892624,
-0.09768066555261612,
0.02674197591841221,
0.008212783373892307,
-0.024765968322753906,
0.011600813828408718,
0.03658908233046532,
0.00506352074444294,
0.009723606519401073,
0.07522004097700119,
-0.0292449202388525,
0.006755477748811245,
0.008159266784787178,
-0.009007303975522518,
0.023168694227933884,
-0.05147501081228256,
-0.0663280040025711,
0.032818201929330826,
-0.025012969970703125,
-0.0062697092071175575,
-0.0480169951915741,
-0.007990483194589615,
-0.08213607221841812,
-0.0279111135751009,
0.04923553392291069,
0.023992031812667847,
-0.008398034609854221,
-0.028997918590903282,
-0.014334292151033878,
0.007904032245278358,
0.05615156516432762,
0.05302288383245468,
-0.008175733499228954,
-0.0032912883907556534,
0.06636093556880951,
0.018492141738533974,
0.04946606978774071,
0.034481342881917953,
-0.017240671440958977,
-0.02573750540614128,
0.004087866749614477,
-0.006479660049080849,
0.03392147272825241,
-0.01778407208621502,
-0.09577052295207977,
-0.0026367357932031155,
-0.05107980966567993,
-0.06935788691043854,
-0.03655615076422691,
0.0031122127547860146,
-0.034250807017087936,
0.056085698306560516,
-0.02936018630862236,
0.0009869749192148447,
-0.02142322063446045,
-0.017998140305280685,
0.049828339368104935,
-0.02038581669330597,
0.02366269752383232,
-0.05707370117306709,
-0.008163383230566978,
-0.009501305408775806,
-0.04037643224000931,
0.002871386706829071,
-0.013856756500899792,
-0.08286060392856598,
0.018623875454068184,
-0.05855570733547211,
0.018805010244250298,
0.004052875097841024,
0.01131264679133892,
0.019529547542333603,
-0.014087291434407234,
0.030858660116791725,
0.01064574345946312,
-0.031089194118976593,
-0.056711431592702866,
-0.011987782083451748,
-0.011864282190799713,
-0.04225363954901695,
0.026593776419758797,
-0.030710458755493164,
0.007348279934376478,
-0.050487007945775986,
0.04218777269124985,
0.07449550181627274,
-0.038268689066171646,
0.03744535520672798,
-0.022938160225749016,
0.019150812178850174,
0.054768357425928116,
-0.02674197591841221,
-0.044097915291786194,
-0.01648320071399212,
-0.014976494945585728,
0.035008277744054794,
0.022575892508029938,
0.023695630952715874,
-0.01687840186059475,
0.029030852019786835,
-0.05404382199048996,
0.0053640385158360004,
0.050849273800849915,
0.01467186026275158,
-0.02066575177013874,
0.06586693972349167,
0.06290292739868164,
0.030183523893356323,
0.044493116438388824,
0.01753707230091095,
0.0021200920455157757,
0.06329812854528427,
0.03197839856147766,
0.022658227011561394,
0.005697490181773901,
-0.024782434105873108,
-0.004192842170596123,
0.007422380615025759,
-0.016260899603366852,
0.0168948695063591,
-0.02702191099524498,
-0.008422734215855598,
-0.01740533858537674,
-0.07060935348272324,
-0.040738701820373535,
0.020846884697675705,
0.0058251069858670235,
0.06016944721341133,
-0.027878180146217346,
0.025292903184890747,
-0.0012514718109741807,
-0.10176441818475723,
0.012300650589168072,
0.03131972998380661,
-0.04264884069561958,
0.020731618627905846,
-0.0047671194188296795,
-0.02195015735924244,
0.003919082693755627,
-0.004627152346074581,
-0.01552813034504652,
0.05341808497905731,
-0.03971776366233826,
0.008883803151547909,
0.05473542585968971,
-0.007846399210393429,
0.03471187502145767,
-0.035140011459589005,
-0.02703837677836418,
0.048510998487472534,
0.062178388237953186,
-0.011279712431132793,
-0.022279491648077965,
0.10071054846048355,
-0.03092452697455883,
-0.012325350195169449,
0.025375237688422203,
-0.009073170833289623,
0.019710680469870567,
-0.012621751986443996,
-0.0009329434251412749,
0.00818808376789093,
0.04607392102479935,
0.012424150481820107,
0.039948295801877975,
-0.00015849231567699462,
-0.002677902579307556,
0.035930413752794266,
0.04429551586508751,
0.008196316659450531,
0.03830162435770035,
-0.010843344032764435,
-0.007628214545547962,
0.002268292708322406,
-0.036951351910829544,
-0.01077747717499733,
0.06593280285596848,
0.052397146821022034,
0.04633738845586777,
-0.01702660322189331,
0.04080456867814064,
0.015157628804445267,
0.0030586959328502417,
-0.03728068619966507,
0.01545402966439724,
0.00008181908197002485,
0.08127979934215546,
0.033180467784404755,
0.00798224937170744,
0.0023650347720831633,
-0.03237359970808029,
0.041397370398044586,
0.0376429557800293,
-0.00824160035699606,
0.013132220134139061,
-0.014943561516702175,
-0.06316639482975006,
-0.0011928090825676918,
0.020995086058974266,
-0.027499446645379066,
0.02195015735924244,
0.040211763232946396,
0.02442016638815403,
-0.04637032374739647,
-0.0532534196972847,
-0.04926846921443939,
0.022839359939098358,
0.011905448511242867,
0.04884033277630806,
-0.03935549408197403,
-0.020188216120004654,
-0.039157893508672714,
0.08095046132802963,
0.026659643277525902,
0.04999300464987755,
0.008982603438198566,
0.032291267067193985,
0.0071053956635296345,
0.014037891291081905,
0.0009221371146850288,
0.014054358005523682,
0.05154087767004967,
0.007533530704677105,
-0.03388853743672371,
0.004404851235449314,
-0.005042937118560076,
0.03477774187922478,
-0.028092248365283012,
0.036391481757164,
0.01454835943877697,
0.012852285988628864,
0.04340631142258644,
0.04090336710214615,
0.01729007065296173,
0.038268689066171646,
0.02871798351407051,
-0.0428793765604496,
-0.0635945275425911,
-0.061750251799821854,
0.01183134876191616,
0.0035712230019271374,
0.05354981869459152,
-0.045415252447128296,
0.01598919928073883,
-0.016343234106898308,
0.027762914076447487,
-0.019002610817551613,
-0.018031073734164238,
0.00974007323384285,
-0.023333361372351646,
-0.015297596342861652,
-0.04561285302042961,
0.0015314063057303429,
-0.00015257459017448127,
0.03105626069009304,
-0.019595414400100708,
-0.02040228433907032,
-0.034250807017087936,
0.0033036384265869856,
0.048280466347932816,
-0.08114806562662125,
0.0015056770062074065,
-0.004404851235449314,
-0.046304456889629364,
0.02185135707259178,
0.019644813612103462,
-0.02988712303340435,
-0.011617280542850494,
0.01725713722407818,
0.07976485788822174,
0.052957016974687576,
-0.03711601719260216,
0.039157893508672714,
0.018508609384298325,
0.02326749451458454,
0.003608273109421134,
0.043208710849285126,
0.04590925574302673,
-0.0011784007074311376,
-0.015223495662212372,
0.017306538298726082,
0.021769022569060326,
-0.030167056247591972,
0.02609977312386036,
0.0037852905225008726,
-0.01098331157118082,
-0.05868744105100632,
0.029673054814338684,
0.04538232088088989,
0.0312044620513916,
0.01895321160554886,
-0.09313584864139557,
-0.0012617635075002909,
-0.033328671008348465,
0.00793284922838211,
-0.040343496948480606,
-0.009328404441475868,
0.014992961660027504,
-0.04508591815829277,
0.048247531056404114,
0.022427691146731377,
0.010192908346652985,
-0.018755611032247543,
-0.02700544334948063,
-0.012704085558652878,
0.005895090755075216,
0.0214396882802248,
-0.00007030523556750268,
0.03131972998380661,
-0.0831899419426918,
-0.014268425293266773,
-0.05542702600359917,
0.022164223715662956,
-0.07172909379005432,
-0.027186578139662743,
-0.01766880601644516,
-0.10321348905563354,
0.0008320846827700734,
0.04686432704329491,
0.003964366391301155,
-0.039454296231269836,
-0.10209374874830246,
0.09590225666761398,
-0.01976008154451847,
0.04534938558936119,
-0.0043060509487986565,
0.010958611965179443,
0.020863352343440056,
0.036325614899396896,
0.011674914509057999,
-0.0034271390177309513,
0.026033906266093254,
-0.0663280040025711,
0.014992961660027504,
0.005553406197577715,
0.0623759888112545,
-0.014309591613709927,
0.00388203258626163,
0.09768066555261612,
0.0194801464676857,
0.0018586826045066118,
-0.040211763232946396,
0.006611393764615059,
0.006553760264068842,
-0.033065203577280045,
-0.05621743202209473,
0.019035544246435165,
0.0019441037438809872,
-0.007121862377971411,
-0.02519410289824009,
-0.0008742806385271251,
5.427268092716986e-7,
-0.01714187115430832,
0.014301358722150326,
0.04831339791417122,
0.01933194510638714,
-0.003657673252746463,
0.006611393764615059,
-0.022822894155979156,
-0.003361272159963846,
-0.013453321531414986,
-0.044097915291786194,
0.029689522460103035,
-0.04525058716535568,
-0.05960957705974579,
0.03711601719260216,
-0.033987339586019516,
0.03645734861493111,
-0.03311460092663765,
0.03741241991519928,
-0.05559169501066208,
0.007912266068160534,
-0.07581284642219543,
-0.013066353276371956,
-0.026791376993060112,
-0.0030319374054670334,
0.0240249652415514,
-0.07462723553180695,
-0.01933194510638714,
0.018623875454068184,
0.02129148691892624,
0.016977202147245407,
-0.05262768268585205,
0.0017516488442197442,
0.04926846921443939,
0.05147501081228256,
0.025523437187075615,
0.02468363381922245,
-0.06155265122652054,
0.09418971836566925,
0.020188216120004654,
0.0324888676404953,
0.003145146183669567,
-0.02479890175163746,
0.010283475741744041,
-0.021736089140176773,
0.004655968863517046,
-0.019661281257867813,
-0.0075870477594435215,
-0.014383692294359207,
0.0754176452755928,
-0.025935105979442596,
-0.0029681287705898285,
0.03662201762199402,
0.018393341451883316,
-0.02651144191622734,
0.03497534245252609,
-0.033822670578956604,
0.04393324628472328,
0.06711840629577637,
-0.0022353590466082096,
-0.00425253389403224,
-0.015355229377746582,
0.01768527179956436,
0.019019078463315964,
-0.012638218700885773,
-0.01780053973197937,
-0.02896498516201973,
-0.05987304449081421,
-0.04225363954901695,
-0.03777468949556351,
-0.010653977282345295,
0.05121154338121414,
-0.002262117573991418,
0.014177857898175716,
-0.058786239475011826,
0.011419679969549179,
-0.025902172550559044,
0.021472621709108353,
0.011123279109597206,
0.00806046649813652,
-0.03441547602415085,
0.013543888926506042,
0.0506846085190773,
-0.010398742742836475,
0.039553094655275345,
0.037478286772966385,
0.04637032374739647,
-0.044097915291786194,
0.02534230425953865,
-0.0034271390177309513,
-0.07601044327020645,
-0.060103580355644226,
0.025441104546189308,
0.07936965674161911,
-0.023185161873698235,
0.04103510081768036,
0.04442724958062172,
-0.0029743039049208164,
0.004491301719099283,
-0.006487893406301737,
0.0739685669541359,
-0.014144924469292164,
0.01402965746819973,
-0.03698428347706795,
0.0025708689354360104,
-0.07482483983039856,
0.06830400973558426,
-0.05875330790877342,
-0.07627391070127487,
0.051969014108181,
0.018508609384298325,
0.027120711281895638,
0.027120711281895638,
-0.072782963514328,
-0.07653737813234329,
0.013650923036038876,
-0.04752299562096596,
0.05318755283951759,
0.04011296480894089,
-0.029788322746753693,
0.004680669400840998,
-0.06313345581293106,
-0.020501084625720978,
0.009122570976614952,
0.013593289069831371,
-0.03263706713914871,
0.019578946754336357,
0.013873223215341568,
-0.0649777352809906,
0.004019941668957472,
-0.08081872761249542,
-0.0058251069858670235,
-0.08384861052036285,
0.01539639662951231,
-0.045020051300525665,
0.004853569902479649,
-0.0337897390127182,
-0.02741711214184761,
-0.023481562733650208,
-0.050322338938713074,
-0.00412285840138793,
0.055031824856996536,
0.027697047218680382,
-0.028734451159834862,
-0.04640325531363487,
0.033460404723882675,
-0.008785002864897251,
0.013478022068738937,
-0.005804523825645447,
-0.007615864742547274,
0.03224186599254608,
-0.0024535434786230326,
-0.029327252879738808,
0.01273701898753643,
0.020188216120004654,
0.024881234392523766,
0.007039528805762529,
-0.022180691361427307,
0.018673276528716087,
-0.01299225352704525,
-0.058127570897340775,
-0.02652790956199169,
-0.01793227344751358,
-0.0027108360081911087,
0.02871798351407051,
-0.009435438551008701,
0.0005269355024211109,
0.029590722173452377,
0.0001261377619812265,
-0.004322517663240433,
-0.008513301610946655,
0.04953193664550781,
-0.04057403281331062,
-0.015124695375561714,
-0.009937673807144165,
0.01842627488076687,
-0.03879562392830849,
-0.02960718795657158,
-0.05901677533984184,
-0.026709042489528656,
-0.037214819341897964,
0.03105626069009304,
0.10235721617937088,
0.02028701640665531,
-0.015783363953232765,
-0.0016127107664942741,
-0.012465317733585835,
-0.004524235147982836,
-0.04610685631632805,
-0.007842281833291054,
-0.017965206876397133,
-0.02129148691892624,
-0.019200211390852928,
-0.03341100364923477,
-0.021505555137991905,
0.045546986162662506,
0.03820282220840454,
-0.04172670468688011,
0.05091514065861702,
-0.0546036921441555,
-0.03232419863343239,
-0.040211763232946396,
0.020550483837723732,
-0.00844743475317955,
0.03975069522857666,
0.015091761946678162,
-0.08081872761249542,
-0.02376149781048298,
0.015297596342861652,
0.02586923912167549,
-0.039190828800201416,
-0.044987116008996964,
-0.0059897745959460735,
-0.000539800152182579,
0.008653269149363041,
-0.038268689066171646,
-0.0152728958055377,
-0.007224779576063156,
0.04739126190543175,
0.06688787043094635,
-0.03988242894411087,
0.05289115011692047,
-0.009591872803866863,
-0.012588818557560444,
0.017833473160862923,
-0.04972953721880913,
0.024107297882437706,
-0.004614802077412605,
0.0048453365452587605,
-0.005240538157522678,
-0.011123279109597206,
-0.08305820822715759,
0.03823575749993324,
-0.04455898329615593,
-0.019052011892199516,
-0.024914169684052467,
-0.025029435753822327,
-0.0025832189712673426,
0.003155437996610999,
0.007014828734099865,
-0.048774465918540955,
0.0558551624417305,
0.07054349035024643,
0.0260009728372097,
-0.023036960512399673,
0.003610331565141678,
0.042154841125011444,
0.004400734789669514,
0.029195519164204597,
-0.009888273663818836,
-0.03131972998380661,
0.04119976982474327,
-0.023415695875883102,
0.024864768609404564,
-0.004301934503018856,
-0.013214553706347942,
0.05259474739432335,
0.018739143386483192,
-0.011707847937941551,
-0.02560577169060707,
0.007974015548825264,
-0.059708379209041595,
0.01416139118373394,
-0.008743835613131523,
-0.036951351910829544,
0.00630264263600111,
-0.08398034423589706,
-0.0156022310256958,
0.04613978788256645,
0.050585806369781494,
-0.0003069502126891166,
-0.024486033245921135,
-0.06438492983579636,
0.03392147272825241,
-0.0350412093102932,
0.04495418444275856,
0.03497534245252609,
-0.028668584302067757,
-0.05681023374199867,
0.07989659160375595,
0.044987116008996964,
-0.01794874109327793,
-0.026346774771809578,
0.03757708892226219,
-0.026725510135293007,
0.0739685669541359,
0.05473542585968971,
0.015231729485094547,
-0.046699658036231995,
-0.01832747459411621,
-0.017998140305280685,
-0.04920260235667229,
0.012053648941218853,
-0.022773493081331253,
0.006232658866792917,
-0.009690673090517521,
0.0037585319951176643,
0.06764534115791321,
-0.0018833826761692762,
0.01545402966439724,
-0.022658227011561394,
-0.014778893440961838,
-0.013313354924321175,
-0.026956044137477875,
-0.031122127547860146,
0.009690673090517521,
0.0021756673231720924,
0.0026511442847549915,
0.009987073950469494,
-0.031764328479766846,
0.05002593994140625,
0.026330307126045227,
-0.03211013227701187,
0.04297817498445511,
0.0675794780254364,
0.00904023740440607,
-0.04195723682641983,
0.04821459576487541,
-0.01299225352704525,
0.019381346181035042,
0.06790880858898163,
-0.02155495434999466,
-0.022147757932543755,
-0.07489071041345596,
-0.0285697840154171,
-0.03560107946395874,
0.03711601719260216,
-0.00033087845076806843,
0.01214421633630991,
0.012259483337402344,
0.030068255960941315,
0.024749500676989555
]
|
31,544 | laspy.header | add_extra_dims | null | def add_extra_dims(self, params: List[ExtraBytesParams]) -> None:
for param in params:
self.point_format.add_extra_dimension(param)
self._sync_extra_bytes_vlr()
| (self, params: List[laspy.point.format.ExtraBytesParams]) -> NoneType | [
-0.006556035950779915,
0.013172022067010403,
-0.048440154641866684,
0.07173527777194977,
0.002567174145951867,
0.006290540099143982,
-0.007057052105665207,
-0.016726242378354073,
0.00612353440374136,
0.05083818361163139,
0.03451446816325188,
-0.03499407321214676,
0.022318784147500992,
-0.040252603590488434,
0.011382065713405609,
0.00804623868316412,
0.02159937657415867,
-0.019561052322387695,
0.0025414808187633753,
-0.02099986933171749,
-0.007168389391154051,
0.007031359244138002,
0.016152428463101387,
0.03703239560127258,
0.015998268499970436,
0.015278860926628113,
0.027851376682519913,
-0.009720575995743275,
0.01762550137937069,
-0.018499068915843964,
-0.044363509863615036,
-0.07036497443914413,
-0.043781131505966187,
0.02488810010254383,
-0.045528262853622437,
0.023123836144804955,
-0.00021410959016066045,
-0.010439983569085598,
-0.03177386522293091,
0.04748094454407692,
0.030403561890125275,
0.018310653045773506,
0.058511871844530106,
-0.03713516891002655,
0.04659024626016617,
0.028022663667798042,
0.013882866129279137,
0.019903628155589104,
-0.03396634757518768,
0.024374235421419144,
0.034942686557769775,
-0.061732079833745956,
0.019218476489186287,
0.013703013770282269,
-0.004556252155452967,
0.03168822079896927,
0.056422159075737,
0.08043669164180756,
-0.008650027215480804,
-0.005836627446115017,
-0.010311517864465714,
0.018310653045773506,
0.010362904518842697,
-0.0276287030428648,
-0.003993143793195486,
-0.0028776328545063734,
-0.036450017243623734,
-0.02745741419494152,
-0.039156362414360046,
0.008718542754650116,
0.03168822079896927,
-0.032801590859889984,
-0.016640597954392433,
0.01034577563405037,
-0.0648837685585022,
0.028005534783005714,
0.006727323401719332,
-0.00011053407797589898,
0.006650243885815144,
0.007600890472531319,
-0.02853652648627758,
0.05186590924859047,
0.012307019904255867,
0.047686487436294556,
0.05097521096467972,
0.04292469099164009,
-0.07694242149591446,
0.04789203405380249,
-0.0019355507101863623,
0.008975474163889885,
0.01786530390381813,
0.045528262853622437,
-0.004329295828938484,
-0.002408732892945409,
0.07303706556558609,
-0.011407759040594101,
-0.020725809037685394,
0.0016111746663227677,
-0.019817983731627464,
0.021890565752983093,
-0.04583658277988434,
-0.08927513659000397,
0.017728274688124657,
-0.030472077429294586,
-0.006941433064639568,
-0.04110904037952423,
-0.000010605115676298738,
-0.07228340208530426,
-0.05649067461490631,
0.03877953067421913,
0.01691465824842453,
-0.01663203351199627,
-0.012058652006089687,
-0.03382931649684906,
0.02779999002814293,
0.050084516406059265,
0.04450053721666336,
-0.002796271350234747,
0.012803753837943077,
0.045870840549468994,
0.0038068685680627823,
0.04683005064725876,
0.027937019243836403,
-0.016238071024417877,
-0.04573380947113037,
-0.010851074010133743,
0.03242475539445877,
0.05351027101278305,
-0.035028330981731415,
-0.11174807697534561,
0.0016732665244489908,
-0.03184238076210022,
-0.06800121068954468,
-0.03341822698712349,
-0.013377567753195763,
-0.05995068699121475,
0.03984151408076286,
-0.05474353954195976,
-0.02207898162305355,
-0.06060158088803291,
-0.030643364414572716,
0.06080712378025055,
0.00124611787032336,
0.03912210464477539,
-0.07050200551748276,
0.026172757148742676,
-0.01894441619515419,
-0.03706665337085724,
-0.017831046134233475,
-0.010243003256618977,
-0.05724434182047844,
0.01587836816906929,
-0.07372221350669861,
-0.014610839076340199,
0.005357021931558847,
-0.03240762650966644,
0.016906093806028366,
0.007082745432853699,
0.01356598362326622,
0.022044723853468895,
-0.04638470336794853,
-0.06673368066549301,
0.00496306037530303,
-0.009694882668554783,
-0.056113842874765396,
0.029632767662405968,
-0.06310237944126129,
-0.0019398329313844442,
-0.024117304012179375,
0.039978545159101486,
0.1157904714345932,
-0.009215276688337326,
0.0552574060857296,
-0.018875902518630028,
0.02620701491832733,
0.042136769741773605,
-0.015116137452423573,
-0.06282831728458405,
-0.019955014809966087,
-0.01657208241522312,
0.05138630419969559,
0.00001528040047560353,
0.041246071457862854,
-0.028091179206967354,
0.014002767391502857,
-0.031636834144592285,
0.0025757383555173874,
0.03173960745334625,
0.0030424974393099546,
-0.015364504419267178,
0.06731605529785156,
0.08379393070936203,
0.004873134195804596,
0.05244828760623932,
0.021445216611027718,
0.020982740446925163,
0.04864570125937462,
0.030078116804361343,
0.0026207014452666044,
-0.001201154780574143,
-0.025042258203029633,
-0.022935420274734497,
0.010311517864465714,
-0.05327046662569046,
0.008680002763867378,
-0.01624663546681404,
-0.02000640146434307,
-0.016940351575613022,
-0.045117173343896866,
-0.03662130609154701,
0.04080072417855263,
-0.005930835846811533,
0.011698948219418526,
-0.02315809391438961,
0.02067442238330841,
-0.0013017862802371383,
-0.09276940673589706,
0.018584713339805603,
0.008196115493774414,
-0.04038963466882706,
0.03203079476952553,
-0.02447700873017311,
-0.023277994245290756,
0.008812750689685345,
0.00070816749939695,
0.013377567753195763,
0.052825119346380234,
-0.03730645403265953,
0.006127816624939442,
0.03922487795352936,
-0.014602274633944035,
-0.002213893225416541,
-0.0742703378200531,
-0.006937150843441486,
0.03538803383708,
0.0476522296667099,
-0.012735238298773766,
-0.011913057416677475,
0.07872381806373596,
-0.015518663451075554,
-0.022644231095910072,
0.033298324793577194,
-0.03223634138703346,
0.0006096770521253347,
0.005142912268638611,
-0.046042125672101974,
-0.005386997479945421,
0.03614170104265213,
0.011484839022159576,
0.05361304432153702,
0.04395241662859917,
0.018584713339805603,
0.04919382184743881,
0.013129200786352158,
-0.00910393986850977,
0.004310026299208403,
-0.00980621948838234,
-0.0032887232955545187,
0.024288592860102654,
-0.026943551376461983,
-0.007386780809611082,
0.05313343554735184,
0.04987896978855133,
0.03614170104265213,
0.002873350866138935,
0.038436952978372574,
0.021959079429507256,
0.002601431682705879,
-0.03836844116449356,
0.025436220690608025,
-0.027183353900909424,
0.06587723642587662,
0.004564816597849131,
0.017985206097364426,
0.013711578212678432,
-0.01365162804722786,
0.040663693100214005,
-0.01236697006970644,
0.0073696523904800415,
0.010859638452529907,
0.025213545188307762,
-0.03946468234062195,
0.010517063550651073,
0.012598208151757717,
-0.0005609671352431178,
0.025093644857406616,
0.04717262461781502,
0.008795621804893017,
-0.049913227558135986,
-0.049502138048410416,
-0.054298192262649536,
0.025744536891579628,
0.030660493299365044,
0.03408624604344368,
-0.03747774288058281,
-0.01630658656358719,
-0.0018092261161655188,
0.07057052105665207,
0.016863271594047546,
0.023963145911693573,
-0.0007729356293566525,
0.010517063550651073,
0.0362444706261158,
0.045939356088638306,
0.017180154100060463,
-0.00934374239295721,
0.04038963466882706,
-0.033298324793577194,
-0.02358631230890751,
-0.008063367567956448,
-0.000009317112926510163,
0.060087718069553375,
-0.017728274688124657,
0.01377152930945158,
0.03600466996431351,
0.03141415864229202,
0.038265667855739594,
0.050495605915784836,
0.013720142655074596,
0.03252752870321274,
0.024031661450862885,
-0.018087979406118393,
-0.037854574620723724,
-0.010636964812874794,
0.011818849481642246,
0.029478609561920166,
0.02970128320157528,
-0.029512867331504822,
0.02439136430621147,
-0.020537393167614937,
0.01566425710916519,
-0.03521674498915672,
-0.005990786477923393,
0.02002352848649025,
-0.02010917291045189,
-0.009249534457921982,
-0.07406479120254517,
-0.018910160288214684,
0.017574114724993706,
0.027406027540564537,
-0.02050313539803028,
-0.017419956624507904,
-0.035353776067495346,
0.003400060348212719,
-0.006894329097121954,
-0.049159564077854156,
0.03203079476952553,
0.01646074652671814,
-0.0651920884847641,
0.017676888033747673,
-0.020126301795244217,
-0.005999350920319557,
-0.018961545079946518,
0.026275528594851494,
0.07091309875249863,
0.03442882373929024,
-0.025607507675886154,
0.03823141008615494,
0.02358631230890751,
0.01558717805892229,
0.037340711802244186,
0.011853107251226902,
0.04193122312426567,
-0.007592326030135155,
-0.01616099290549755,
0.024922356009483337,
0.042890433222055435,
-0.05344175547361374,
0.010782559402287006,
-0.0019248452736064792,
-0.02002352848649025,
-0.02523067407310009,
0.02696068026125431,
0.010157358832657337,
0.02166789025068283,
0.019132833927869797,
-0.05515463277697563,
0.018841644749045372,
-0.032304856926202774,
0.012581080198287964,
-0.05724434182047844,
-0.029804056510329247,
0.022438686341047287,
-0.023106707260012627,
0.050666894763708115,
0.03631298616528511,
0.027988405898213387,
-0.023140965029597282,
-0.04186270758509636,
-0.018430553376674652,
0.02581305243074894,
0.01918422058224678,
-0.018139364197850227,
0.02680652216076851,
-0.05816929414868355,
-0.009934685193002224,
-0.042308054864406586,
0.028844844549894333,
-0.07207785546779633,
-0.02300393395125866,
-0.013942817226052284,
-0.11770889163017273,
0.00047773204278200865,
0.06310237944126129,
0.0013028568355366588,
-0.05683325231075287,
-0.09420821815729141,
0.08105333149433136,
-0.02555612102150917,
0.054640769958496094,
-0.007438167463988066,
0.016469309106469154,
0.05234551429748535,
0.037683289498090744,
0.004183701705187559,
0.01820787973701954,
-0.023534927517175674,
-0.046281930059194565,
0.011519095860421658,
0.0050829616375267506,
0.06275980174541473,
-0.017642630264163017,
-0.017103074118494987,
0.11592750251293182,
-0.00026656643603928387,
-0.0012718109646812081,
-0.046042125672101974,
0.0032737357541918755,
0.007236904464662075,
-0.026583846658468246,
-0.0400470569729805,
0.01617812179028988,
-0.017334312200546265,
-0.0006455404218286276,
-0.01952679455280304,
0.0018852349603548646,
0.025196416303515434,
-0.016495002433657646,
-0.0014377458719536662,
0.02464829571545124,
-0.007181235589087009,
0.0080034164711833,
-0.008932651951909065,
-0.04062943533062935,
0.0014602274168282747,
0.00007908673433121294,
-0.06358198821544647,
0.005395561922341585,
-0.0675216019153595,
-0.05378432944417,
0.024511266499757767,
-0.010696914978325367,
0.045117173343896866,
-0.0453227199614048,
0.03227059915661812,
-0.04162290692329407,
0.02201046608388424,
-0.09194722771644592,
-0.012546822428703308,
-0.02696068026125431,
0.015021929517388344,
0.0021635773591697216,
-0.07057052105665207,
-0.011013797484338284,
0.03141415864229202,
0.02250720001757145,
0.003961027599871159,
-0.0362444706261158,
-0.03134564310312271,
0.06971408426761627,
0.06484951078891754,
0.0009072893881238997,
0.04600786790251732,
-0.04220528155565262,
0.05320195108652115,
0.02605285495519638,
0.05426393449306488,
0.012161425314843655,
-0.005070114973932505,
-0.008838444016873837,
-0.029341578483581543,
-0.01372870709747076,
-0.017899561673402786,
-0.00317310425452888,
-0.004624767228960991,
0.08276620507240295,
-0.039259135723114014,
-0.013034991919994354,
0.010936718434095383,
0.018910160288214684,
-0.018910160288214684,
0.034120503813028336,
-0.028245337307453156,
0.03293861821293831,
0.06940576434135437,
0.004003849346190691,
0.004329295828938484,
-0.03545654937624931,
0.04337003827095032,
-0.024254335090517998,
0.002449413761496544,
-0.01426826324313879,
0.007408191915601492,
-0.0634106993675232,
-0.015030493959784508,
-0.022147497162222862,
0.007065616548061371,
0.0648837685585022,
-0.032887235283851624,
0.0226613599807024,
-0.07022795081138611,
-0.025436220690608025,
-0.0002577344130259007,
0.042136769741773605,
-0.004684717860072851,
0.007224057801067829,
-0.005211427342146635,
0.007952030748128891,
0.06121821701526642,
0.0012578938622027636,
0.031311385333538055,
0.012289891019463539,
0.035593580454587936,
-0.03268168866634369,
0.008041956461966038,
0.009326613508164883,
-0.0701594352722168,
-0.0663568452000618,
0.009874734096229076,
0.04498014226555824,
-0.0055368742905557156,
0.06039603427052498,
0.037169426679611206,
-0.046453218907117844,
0.03679259121417999,
-0.0028819150757044554,
0.08817889541387558,
-0.01911570504307747,
0.02853652648627758,
-0.026652362197637558,
0.01952679455280304,
-0.07858678698539734,
0.03689536452293396,
-0.037751805037260056,
-0.045870840549468994,
0.012555386871099472,
0.029821183532476425,
-0.004907391965389252,
0.053544528782367706,
-0.05549720674753189,
-0.046042125672101974,
0.01443098671734333,
-0.036929622292518616,
0.06704199314117432,
0.021530861034989357,
-0.03658704832196236,
0.02779999002814293,
-0.05460651218891144,
-0.025693152099847794,
-0.007592326030135155,
0.01100523304194212,
-0.00632479740306735,
0.041657160967588425,
0.0017492753686383367,
-0.07276300340890884,
-0.0029782643541693687,
-0.080094113945961,
-0.0023466411512345076,
-0.08029966056346893,
0.020914224907755852,
-0.01968095451593399,
0.04217102751135826,
-0.04480885714292526,
-0.06714476644992828,
-0.013805787079036236,
-0.07214637100696564,
-0.010354340076446533,
0.04659024626016617,
0.008097625337541103,
-0.03984151408076286,
-0.057278599590063095,
0.023432154208421707,
0.004551969934254885,
-0.010191616602241993,
0.02761157415807247,
0.01837916672229767,
0.030797524377703667,
-0.01410553976893425,
0.010165923275053501,
0.020708680152893066,
-0.02399740368127823,
0.03538803383708,
0.0323219858109951,
-0.01485064160078764,
0.01712876744568348,
-0.009789090603590012,
-0.03314416483044624,
-0.023791858926415443,
-0.040492407977581024,
-0.004526276607066393,
0.03252752870321274,
0.01112513430416584,
0.00496306037530303,
0.01419118419289589,
-0.002400168450549245,
-0.04045815020799637,
-0.018978673964738846,
0.06841229647397995,
-0.045528262853622437,
-0.008260347880423069,
0.02862217091023922,
0.050495605915784836,
-0.013480340130627155,
-0.03881378844380379,
-0.0479605495929718,
-0.024768197908997536,
-0.05118075758218765,
0.046864308416843414,
0.10153933614492416,
0.03108871355652809,
-0.010988104157149792,
-0.006581728812307119,
-0.02257571555674076,
0.009181019850075245,
-0.04258211702108383,
-0.017916690558195114,
-0.033212680369615555,
-0.0029033261816948652,
0.008337427861988544,
-0.002483671298250556,
0.003759764600545168,
0.015415891073644161,
0.030711879953742027,
-0.035113975405693054,
0.04895401746034622,
-0.054537996649742126,
-0.034702882170677185,
-0.06673368066549301,
0.005909424740821123,
0.01368588488548994,
0.06392455846071243,
0.007429603021591902,
-0.0441579632461071,
-0.03456585481762886,
0.027697216719388962,
0.03747774288058281,
-0.04621341452002525,
-0.06546615064144135,
0.026926422491669655,
0.04080072417855263,
0.020451748743653297,
-0.02745741419494152,
-0.02836523950099945,
-0.01745421439409256,
0.05666196346282959,
0.0634106993675232,
-0.0789293646812439,
0.022695617750287056,
-0.022370170801877975,
-0.019561052322387695,
-0.007219775579869747,
-0.048508670181035995,
0.02108551375567913,
0.001681830850429833,
-0.03758051618933678,
-0.013968509621918201,
-0.03418901935219765,
-0.03458297997713089,
0.028348110616207123,
-0.02654958888888359,
-0.02538483403623104,
-0.027406027540564537,
-0.020657293498516083,
0.0282110795378685,
0.006119252182543278,
-0.012075780890882015,
-0.06731605529785156,
0.05813503637909889,
0.046042125672101974,
0.03905358910560608,
-0.003779034363105893,
0.0020993445068597794,
0.03939616680145264,
0.010371468961238861,
0.008333145640790462,
-0.04426073655486107,
0.0035627835895866156,
0.026446817442774773,
-0.028091179206967354,
0.054709285497665405,
0.018310653045773506,
-0.004275768529623747,
0.06902893632650375,
0.014028460718691349,
-0.023260867223143578,
-0.04145161807537079,
0.03333258256316185,
-0.08297175168991089,
0.007082745432853699,
-0.010799688287079334,
-0.04888550192117691,
0.0004469537816476077,
-0.09091949462890625,
0.009138197638094425,
0.05385284498333931,
0.06854932755231857,
0.001698959618806839,
0.00042982501327060163,
-0.04600786790251732,
0.015450147911906242,
-0.029221678152680397,
0.044363509863615036,
0.026275528594851494,
-0.03576486557722092,
-0.05864889919757843,
0.08221808075904846,
0.0684465542435646,
-0.025932954624295235,
0.028605042025446892,
0.00914676208049059,
-0.01788243278861046,
0.0777646079659462,
0.05515463277697563,
0.006855789106339216,
-0.025008000433444977,
0.005635364446789026,
-0.025830181315541267,
-0.048268865793943405,
0.018139364197850227,
-0.013514597900211811,
-0.0005232302937656641,
-0.0039717331528663635,
-0.013514597900211811,
0.07173527777194977,
-0.004513430409133434,
0.00880418624728918,
-0.014533759094774723,
0.0017631924711167812,
-0.04426073655486107,
-0.032047923654317856,
-0.03840269520878792,
-0.004539123270660639,
0.0023359355982393026,
0.01299217063933611,
-0.013762964867055416,
-0.009497901424765587,
0.053647298365831375,
0.009609238244593143,
-0.03662130609154701,
0.03028366155922413,
0.06806971877813339,
0.027765732258558273,
-0.05477779731154442,
0.03454872593283653,
-0.009026860818266869,
0.008821315132081509,
0.06841229647397995,
0.01426826324313879,
-0.010825380682945251,
-0.07947748154401779,
-0.03778606280684471,
-0.031054455786943436,
0.027406027540564537,
0.015484405681490898,
0.001867035636678338,
0.014456680044531822,
-0.004560534376651049,
0.033058520406484604
]
|
31,545 | laspy.header | grow | null | def grow(self, points: PackedPointRecord) -> None:
self.x_max = max(
self.x_max,
(points["X"].max() * self.x_scale) + self.x_offset,
)
self.y_max = max(
self.y_max,
(points["Y"].max() * self.y_scale) + self.y_offset,
)
self.z_max = max(
self.z_max,
(points["Z"].max() * self.z_scale) + self.z_offset,
)
self.x_min = min(
self.x_min,
(points["X"].min() * self.x_scale) + self.x_offset,
)
self.y_min = min(
self.y_min,
(points["Y"].min() * self.y_scale) + self.y_offset,
)
self.z_min = min(
self.z_min,
(points["Z"].min() * self.z_scale) + self.z_offset,
)
for return_number, count in zip(
*np.unique(points.return_number, return_counts=True)
):
if return_number == 0:
continue
if return_number > len(self.number_of_points_by_return):
break # np.unique sorts unique values
self.number_of_points_by_return[return_number - 1] += count
self.point_count += len(points)
| (self, points: laspy.point.record.PackedPointRecord) -> NoneType | [
0.006308502517640591,
-0.0586211159825325,
-0.07680878788232803,
0.08411336690187454,
0.0023679942823946476,
0.0029490406159311533,
-0.023905904963612556,
0.062494758516550064,
-0.021710840985178947,
0.017440611496567726,
-0.043421681970357895,
0.0009816684760153294,
0.009887009859085083,
0.022946717217564583,
-0.03523169830441475,
-0.013677645474672318,
0.0332026444375515,
-0.027484413236379623,
-0.03799858316779137,
-0.01247866079211235,
0.029882380738854408,
-0.017440611496567726,
0.055227067321538925,
0.049840860068798065,
-0.008213043212890625,
0.04932437464594841,
0.05703476816415787,
0.033590011298656464,
0.02670968323945999,
-0.021028341725468636,
-0.05057869851589203,
0.007890240289270878,
0.021175909787416458,
0.027355290949344635,
0.016232404857873917,
-0.017661962658166885,
-0.025658266618847847,
-0.0039358967915177345,
0.003200366161763668,
0.02019827626645565,
0.021747732535004616,
0.008904765360057354,
0.017108585685491562,
-0.03191143274307251,
0.060207463800907135,
0.049656402319669724,
0.002024439163506031,
0.05364071950316429,
0.014378590509295464,
-0.057293009012937546,
-0.0007516710320487618,
0.010025354102253914,
0.02881251834332943,
0.0016866483492776752,
0.03038042038679123,
0.02521556429564953,
0.05987543985247612,
0.08514633774757385,
0.01294903177767992,
-0.018824055790901184,
0.020474964752793312,
-0.0033709907438606024,
-0.010283597745001316,
-0.04928748309612274,
-0.034309402108192444,
-0.036652032285928726,
0.001420335378497839,
-0.062457866966724396,
0.00735992006957531,
-0.013345618732273579,
0.05928516760468483,
0.04615167900919914,
-0.007885628379881382,
0.011113663204014301,
0.002909843111410737,
0.014157239347696304,
0.01094765029847622,
0.008890930563211441,
0.04936126619577408,
-0.06197827309370041,
-0.018528921529650688,
-0.02032739855349064,
0.0033479335252195597,
-0.013806766830384731,
0.005386206787079573,
0.04205668345093727,
0.024828201159834862,
0.011381128802895546,
-0.07319338619709015,
0.04500802978873253,
0.013050484471023083,
0.052718423306941986,
0.023592324927449226,
-0.00500345416367054,
0.08610552549362183,
-0.05120585858821869,
-0.020880775526165962,
-0.002457918133586645,
0.016813451424241066,
0.04139263182878494,
-0.004097298718988895,
-0.00924601498991251,
-0.0712750107049942,
-0.020567195490002632,
-0.02176617830991745,
-0.020806990563869476,
0.058731790632009506,
-0.03770345076918602,
-0.01234031654894352,
0.041134390980005264,
-0.009453531354665756,
-0.029329003766179085,
-0.0412081740796566,
-0.03445696830749512,
-0.048180729150772095,
-0.03301818668842316,
0.03724230080842972,
0.03312886133790016,
-0.011012210510671139,
-0.028941640630364418,
-0.0037791067734360695,
0.004569975193589926,
-0.006940275430679321,
0.002400274621322751,
-0.014480043202638626,
-0.01025592815130949,
0.05928516760468483,
0.031708527356386185,
-0.012930586002767086,
-0.03654135763645172,
-0.032427918165922165,
0.020751653239130974,
-0.01420335378497839,
0.0166566614061594,
-0.06496650725603104,
-0.0332026444375515,
0.06540921330451965,
-0.01624162681400776,
-0.05515328422188759,
0.014065009541809559,
0.04080236330628395,
0.02809312753379345,
0.05614936351776123,
0.030232854187488556,
-0.012792241759598255,
-0.0025755108799785376,
0.04124506562948227,
0.03362690284848213,
-0.056665848940610886,
0.0073922001756727695,
-0.00719390669837594,
-0.017717299982905388,
0.04866032302379608,
0.011224338784813881,
0.026894142851233482,
-0.032114338129758835,
-0.0032303407788276672,
0.009121504612267017,
-0.02361077070236206,
-0.026728130877017975,
-0.04534005746245384,
0.05839976668357849,
-0.0011361530050635338,
0.022817596793174744,
-0.05972786992788315,
0.037721894681453705,
-0.03222501277923584,
-0.017200814560055733,
-0.08153094351291656,
0.012875248678028584,
0.06950420886278152,
0.010099138133227825,
0.04124506562948227,
0.05559598654508591,
-0.011381128802895546,
0.026451440528035164,
0.005289366003125906,
0.006502185016870499,
0.0360986553132534,
-0.03333176672458649,
0.0273368451744318,
-0.06120354309678078,
0.02715238556265831,
0.0010381591273471713,
0.017108585685491562,
-0.02442239038646221,
0.03257548436522484,
0.02235644869506359,
-0.016398418694734573,
-0.006492961663752794,
-0.06850812584161758,
0.05035734549164772,
0.028148464858531952,
-0.026008740067481995,
0.01252477616071701,
0.03932669013738632,
-0.029273666441440582,
0.02536313235759735,
-0.05050491541624069,
0.02777954749763012,
-0.09554983675479889,
-0.039916958659887314,
0.026266982778906822,
-0.08979471027851105,
0.035877302289009094,
-0.026193197816610336,
-0.026414548978209496,
-0.0003631539293564856,
-0.029550354927778244,
0.028351370245218277,
0.011408798396587372,
-0.016149397939443588,
-0.01460916455835104,
-0.00028014733106829226,
-0.006087151821702719,
-0.06197827309370041,
-0.0006369604961946607,
-0.018187671899795532,
0.0530504509806633,
-0.01198062114417553,
0.0655936747789383,
-0.03106291964650154,
-0.027705762535333633,
-0.031044473871588707,
0.03954803943634033,
-0.01637997291982174,
0.025473807007074356,
0.002078623976558447,
-0.06633150577545166,
-0.05360382795333862,
-0.013493186794221401,
-0.09451686590909958,
-0.08278526365756989,
-0.04832829535007477,
0.05740368738770485,
-0.07020515203475952,
0.015024197287857533,
0.02962413802742958,
0.021655503660440445,
0.006354617420583963,
0.011925283819437027,
0.014839738607406616,
-0.008471285924315453,
0.0022538602352142334,
-0.03829371929168701,
-0.039289798587560654,
0.04810694605112076,
-0.003952037077397108,
0.0056951758451759815,
0.06492961943149567,
0.023573879152536392,
-0.0233894195407629,
-0.03445696830749512,
-0.0150610888376832,
-0.0043739876709878445,
-0.07492730766534805,
-0.02289137989282608,
-0.026008740067481995,
0.005727456416934729,
-0.02912609837949276,
0.007881016470491886,
-0.028166910633444786,
0.01213741209357977,
0.03738986700773239,
0.006880326196551323,
0.035932641476392746,
0.05227572098374367,
-0.013511632569134235,
-0.01876871846616268,
0.05341936647891998,
-0.03146873041987419,
0.012303424999117851,
-0.022762257605791092,
-0.01682267338037491,
0.02567671239376068,
0.0498039685189724,
0.04744289070367813,
-0.0066313063725829124,
-0.0015183293726295233,
-0.008531235158443451,
0.033405549824237823,
-0.015347001142799854,
0.04659438133239746,
-0.019718682393431664,
-0.009545761160552502,
0.004152636509388685,
-0.0002382116945227608,
0.03486277908086777,
-0.027613533660769463,
-0.05083693936467171,
-0.022633137181401253,
0.03724230080842972,
-0.037057843059301376,
-0.030915353447198868,
0.01413879357278347,
-0.023979688063263893,
-0.008019361644983292,
0.01992158778011799,
-0.013078153133392334,
0.0014468514127656817,
-0.0031957547180354595,
-0.07061096280813217,
0.06323259323835373,
0.034493859857320786,
0.01795709691941738,
-0.019847804680466652,
-0.0023541597183793783,
-0.05939584597945213,
-0.004938893485814333,
-0.04083925485610962,
0.0012750738533213735,
0.10757657140493393,
-0.0010006908560171723,
-0.031708527356386185,
0.0655936747789383,
-0.00365229113958776,
0.016795005649328232,
0.011879168450832367,
0.0055476087145507336,
0.039252907037734985,
0.002891397103667259,
-0.08721228688955307,
-0.029642583802342415,
0.042130470275878906,
-0.039068445563316345,
0.013742206618189812,
-0.0064606815576553345,
-0.027853330597281456,
0.000951117486692965,
-0.01005302369594574,
-0.04541384056210518,
-0.02141570672392845,
-0.0036200108006596565,
0.014194130897521973,
-0.04242560267448425,
-0.004902001935988665,
-0.019091522321105003,
-0.0018468971829861403,
-0.009481200017035007,
0.023407865315675735,
0.029181435704231262,
-0.010966096073389053,
-0.017431389540433884,
-0.010514170862734318,
0.025879617780447006,
-0.007950189523398876,
0.09636145830154419,
-0.029365895316004753,
0.009822449646890163,
0.039474256336688995,
-0.06345394253730774,
-0.00922295730561018,
-0.010578732006251812,
0.02414570190012455,
0.0367995984852314,
-0.00947197712957859,
0.015402338467538357,
0.013926665298640728,
0.011786939576268196,
0.014037340879440308,
-0.0012024430325254798,
-0.06135111302137375,
0.006004145368933678,
0.026359211653470993,
-0.04471289739012718,
-0.010283597745001316,
-0.013078153133392334,
-0.03855196014046669,
-0.027078602463006973,
0.013105821795761585,
0.015273217111825943,
-0.020714761689305305,
-0.03836750239133835,
0.020474964752793312,
-0.013022815808653831,
0.04286830499768257,
0.031892985105514526,
0.055891118943691254,
-0.006345394533127546,
-0.04098682105541229,
0.012377209030091763,
0.007558213546872139,
0.012109742499887943,
0.0412081740796566,
0.026469886302947998,
0.017200814560055733,
0.00728152459487319,
-0.035932641476392746,
-0.018510475754737854,
-0.008074698969721794,
0.02248556911945343,
0.008946268819272518,
-0.00964721292257309,
-0.030361974611878395,
-0.002211204031482339,
-0.008374445140361786,
0.04286830499768257,
-0.0003614246379584074,
-0.0376112200319767,
0.009029274806380272,
-0.004980396945029497,
-0.05507950112223625,
-0.041134390980005264,
0.014433927834033966,
-0.04522938281297684,
-0.06297434866428375,
-0.004551529418677092,
-0.03869953006505966,
-0.010126806795597076,
0.01992158778011799,
0.008083921857178211,
0.07186528295278549,
0.010781637392938137,
-0.06928285211324692,
0.01790175959467888,
-0.03087846003472805,
-0.03488122299313545,
-0.008199209347367287,
-0.01647220179438591,
0.010274373926222324,
0.033903591334819794,
0.01960800774395466,
-0.03892087936401367,
0.05592801421880722,
-0.03119204193353653,
-0.034088049083948135,
-0.05880557373166084,
-0.026506779715418816,
0.003979706205427647,
0.00011651188833639026,
-0.01827067881822586,
-0.034936562180519104,
0.0209545586258173,
-0.024403944611549377,
-0.011371905915439129,
-0.03100758232176304,
0.026377657428383827,
-0.036467574536800385,
-0.02041962742805481,
0.03652290999889374,
0.05308734253048897,
0.004051183816045523,
-0.0013211886398494244,
-0.0016151703894138336,
0.0410974957048893,
-0.01637997291982174,
-0.020677870139479637,
-0.0911228135228157,
-0.07968635112047195,
0.0006225496181286871,
0.059543412178754807,
0.017984766513109207,
0.03519480302929878,
-0.03536081686615944,
0.022153543308377266,
-0.016213959082961082,
-0.06397043168544769,
-0.060650166124105453,
-0.03388514369726181,
0.01866726577281952,
0.009887009859085083,
0.012220418080687523,
-0.014507711865007877,
0.006575968582183123,
-0.05201748013496399,
-0.005745902191847563,
-0.020677870139479637,
-0.018455136567354202,
-0.02540002390742302,
-0.012644674628973007,
0.05415720492601395,
-0.10019820928573608,
-0.034493859857320786,
-0.03692872077226639,
-0.014018895104527473,
0.0016612851759418845,
0.02307583950459957,
0.03469676524400711,
0.013465517200529575,
-0.0015263993991538882,
-0.052755314856767654,
-0.03648601844906807,
0.023370973765850067,
0.005782794207334518,
-0.008102367632091045,
0.07865338027477264,
-0.020308950915932655,
-0.013336395844817162,
-0.00015880780119914562,
0.016887234523892403,
-0.044454652816057205,
0.0047959377989172935,
0.020899221301078796,
0.06666353344917297,
-0.06035503372550011,
0.009356689639389515,
0.07784175872802734,
-0.01790175959467888,
0.04497113823890686,
-0.07271379232406616,
-0.00254092481918633,
0.0057920170947909355,
0.015992607921361923,
-0.0360986553132534,
0.002193911001086235,
0.026100968942046165,
0.057920172810554504,
0.04139263182878494,
-0.027982452884316444,
-0.005510717164725065,
-0.031616296619176865,
-0.019755573943257332,
0.021526381373405457,
0.03303663432598114,
-0.01692412607371807,
0.03582196682691574,
0.03172697126865387,
0.04663127288222313,
-0.07448460161685944,
-0.047996267676353455,
0.061867598444223404,
0.024920430034399033,
0.03154251351952553,
0.011740824207663536,
-0.04165087640285492,
0.031173596158623695,
0.014175685122609138,
-0.03257548436522484,
-0.011971398256719112,
0.03591419383883476,
0.009181453846395016,
0.030989136546850204,
0.004818995017558336,
-0.0012946726055815816,
0.050062213093042374,
0.06839744746685028,
0.03425406292080879,
-0.048586539924144745,
-0.059986114501953125,
-0.003887476399540901,
0.018095441162586212,
-0.03056487999856472,
-0.02082543820142746,
-0.08271148055791855,
-0.030417313799262047,
0.02396124228835106,
0.026156306266784668,
-0.0289047472178936,
0.031173596158623695,
-0.010237482376396656,
0.012626228854060173,
0.01014525257050991,
0.023315636441111565,
0.020659424364566803,
0.10735522210597992,
0.013852881267666817,
-0.014867407269775867,
-0.09053254872560501,
-0.021839963272213936,
0.018611928448081017,
0.014194130897521973,
0.0008231489337049425,
0.05910070985555649,
0.00769655779004097,
-0.08042418956756592,
0.0008490884792990983,
-0.044233303517103195,
0.07477973401546478,
0.03154251351952553,
0.02270692028105259,
0.056887198239564896,
0.05777260288596153,
-0.020770099014043808,
-0.06718002259731293,
0.0459672175347805,
-0.03261237591505051,
-0.029734814539551735,
-0.014480043202638626,
-0.0026677404530346394,
0.0020186747424304485,
-0.0042886752635240555,
0.011454912833869457,
-0.011150555685162544,
-0.044491544365882874,
-0.01687801256775856,
0.029550354927778244,
-0.0990176722407341,
0.038441285490989685,
0.05360382795333862,
0.05570666119456291,
-0.026193197816610336,
-0.007982469163835049,
-0.016702774912118912,
0.0053908186964690685,
-0.02674657665193081,
-0.02064097858965397,
-0.029015423730015755,
-0.019146859645843506,
-0.020530302077531815,
-0.0085035664960742,
-0.005160244647413492,
0.01579892635345459,
-0.06109286844730377,
0.04430708661675453,
-0.011159778572618961,
-0.039658717811107635,
-0.014535380527377129,
0.06740137189626694,
-0.018455136567354202,
0.02038273587822914,
0.04534005746245384,
-0.0221719890832901,
-0.0023495482746511698,
-0.04541384056210518,
-0.0712750107049942,
-0.042388711124658585,
-0.033590011298656464,
-0.006359228864312172,
0.08167850971221924,
0.009960793890058994,
0.005192524753510952,
-0.021305032074451447,
0.010219036601483822,
0.04367992654442787,
0.015854263678193092,
-0.03548993915319443,
0.06404421478509903,
0.017468281090259552,
0.02073320746421814,
-0.00442010210826993,
-0.013022815808653831,
-0.01319805160164833,
0.005736679304391146,
-0.08263769745826721,
0.009776334278285503,
0.0011338472831994295,
-0.007977858185768127,
0.02226421795785427,
0.03246480971574783,
-0.025658266618847847,
0.08839282393455505,
0.0033548506908118725,
-0.019054628908634186,
-0.06367529928684235,
0.014415482059121132,
-0.01216508075594902,
0.02759508788585663,
0.00602720258757472,
0.02630387432873249,
0.03146873041987419,
0.019810911267995834,
0.007364531513303518,
-0.044491544365882874,
-0.05360382795333862,
0.06824988126754761,
0.0360986553132534,
-0.05286598950624466,
0.01817844808101654,
-0.00769655779004097,
-0.024035027250647545,
-0.04976707696914673,
-0.013511632569134235,
-0.016951795667409897,
0.032077446579933167,
-0.005215582437813282,
0.014941190369427204,
0.02110212668776512,
0.015254771336913109,
-0.02715238556265831,
0.05264464020729065,
-0.044639114290475845,
-0.038662634789943695,
0.0010842739138752222,
0.04379060119390488,
0.07027893513441086,
-0.007498264312744141,
-0.05655517429113388,
0.04220425337553024,
-0.05965408682823181,
0.017966320738196373,
0.07924364507198334,
0.011722378432750702,
-0.047369107604026794,
0.025234010070562363,
0.01061562355607748,
0.02993771992623806,
-0.017966320738196373,
-0.01661054603755474,
0.02220888063311577,
0.03183764964342117,
0.08226878196001053,
-0.002907537156715989,
0.053972747176885605,
0.0371500700712204,
-0.09547605365514755,
-0.0063638403080403805,
-0.0332026444375515,
-0.020345844328403473,
0.045487623661756516,
-0.04253627732396126,
0.033719129860401154,
0.02670968323945999,
-0.04563519358634949,
0.016232404857873917,
0.009186065755784512,
0.046520594507455826,
-0.013806766830384731,
0.05755125358700752,
0.026728130877017975,
0.03270460665225983,
-0.014978082850575447,
0.052497074007987976,
-0.0332026444375515,
-0.04497113823890686,
-0.00464375875890255,
0.05714544281363487,
0.04954572767019272,
0.02270692028105259,
0.0047867149114608765,
0.020161384716629982,
-0.050025321543216705,
0.07643987238407135,
0.009278294630348682,
-0.030177516862750053,
-0.051316533237695694,
0.01016369927674532,
0.0499146431684494,
-0.018741048872470856,
-0.036596693098545074,
0.011602479964494705,
-0.04286830499768257,
0.004334789700806141,
0.0016013359418138862,
0.020493410527706146,
0.05559598654508591,
-0.004450076725333929,
0.021600166335701942,
0.0180493276566267,
0.04873410612344742,
-0.013732983730733395,
0.015780480578541756,
-0.022135097533464432,
-0.0073922001756727695,
-0.03375602513551712,
0.035250142216682434,
0.015005751512944698,
0.01066173892468214,
0.015245548449456692,
-0.047996267676353455,
-0.014904298819601536,
0.030620217323303223,
0.07485351711511612,
0.01826145499944687,
0.016730444505810738,
0.009877786971628666,
-0.04139263182878494,
-0.026857251301407814,
0.027853330597281456,
0.024035027250647545,
-0.051906801760196686,
-0.03936358168721199,
-0.03869953006505966,
-0.042757630348205566,
0.046741947531700134,
-0.007078619673848152,
0.06655286252498627,
0.008517401292920113,
0.09053254872560501
]
|
31,546 | laspy.header | max_point_count | null | def max_point_count(self) -> int:
if self.version <= Version(1, 3):
return np.iinfo(np.uint32).max
else:
return np.iinfo(np.uint64).max
| (self) -> int | [
-0.0279872864484787,
-0.03622308373451233,
0.022580856457352638,
0.08498907834291458,
0.028996486216783524,
0.03784501180052757,
-0.013588161207735538,
0.017489802092313766,
-0.04083656892180443,
0.011209331452846527,
-0.00883050262928009,
-0.019048655405640602,
-0.0805918499827385,
-0.03788105398416519,
0.009992885403335094,
0.02425684966146946,
0.009452242404222488,
-0.032636817544698715,
0.003831807291135192,
0.006275964435189962,
-0.003529948415234685,
0.04480128362774849,
-0.010182109661400318,
-0.07525750994682312,
-0.006636392790824175,
0.04764867201447487,
0.03624110296368599,
0.05280280113220215,
0.03272692486643791,
-0.01881437748670578,
-0.1406392753124237,
-0.0018426915630698204,
0.01912074163556099,
-0.018688226118683815,
-0.003930925391614437,
0.0009275406482629478,
0.006154319737106562,
0.0638679638504982,
-0.0788617953658104,
0.005041495896875858,
-0.009911788627505302,
-0.014930757693946362,
-0.013011475093662739,
0.03598880395293236,
0.0005935810040682554,
-0.038349609822034836,
0.01481361873447895,
-0.02768092229962349,
-0.03598880395293236,
-0.06765246391296387,
-0.002525253454223275,
-0.04584652930498123,
0.012921367771923542,
0.056839603930711746,
-0.07518542557954788,
0.05795693024992943,
0.03130323067307472,
0.0421341136097908,
-0.08981882780790329,
0.006307501811534166,
-0.024617278948426247,
0.03328558802604675,
0.048333484679460526,
-0.048333484679460526,
0.019264912232756615,
0.0012817744864150882,
0.005041495896875858,
0.03420468047261238,
-0.027266429737210274,
0.06102057546377182,
-0.0008081486448645592,
-0.029573172330856323,
0.014570329338312149,
0.01597600057721138,
0.056298960000276566,
-0.026365358382463455,
0.026996107771992683,
0.052586544305086136,
0.01552546489983797,
-0.030870717018842697,
0.041809726506471634,
0.006113771349191666,
0.07857345044612885,
-0.004374702926725149,
0.0519377738237381,
0.007681636139750481,
0.0507844015955925,
0.07186947762966156,
-0.041737642139196396,
0.011020107194781303,
0.033213503658771515,
0.05128899961709976,
0.012425778433680534,
0.031555529683828354,
-0.03652944788336754,
0.0005474010249599814,
-0.030636437237262726,
0.010957031510770321,
0.06134496256709099,
-0.03838565573096275,
0.03849378228187561,
0.007235605735331774,
0.024761449545621872,
-0.0279872864484787,
-0.006978800054639578,
0.05186568573117256,
0.05172151327133179,
-0.005883998237550259,
-0.05330740287899971,
0.005298301577568054,
-0.02167978510260582,
0.026131078600883484,
-0.0001444530498702079,
0.04018779844045639,
-0.01714739389717579,
-0.020346198230981827,
0.039178598672151566,
-0.009650478139519691,
0.028726166114211082,
0.02483353577554226,
-0.030600395053625107,
0.039791326969861984,
-0.052009858191013336,
-0.018453948199748993,
0.016913115978240967,
0.007762732449918985,
0.05125295743346214,
0.03899838402867317,
-0.05590248852968216,
0.024130700156092644,
0.014155835844576359,
-0.005469505209475756,
0.023860378190875053,
0.034078530967235565,
-0.004358934238553047,
-0.034114573150873184,
0.04184576869010925,
-0.03157355263829231,
-0.05110878497362137,
0.005739826709032059,
-0.016985202208161354,
0.05838944390416145,
0.029573172330856323,
0.03305130824446678,
-0.02449112944304943,
0.02396850660443306,
0.03506971150636673,
-0.001511547714471817,
0.0307806096971035,
-0.049522899091243744,
0.024166742339730263,
-0.0398273691534996,
-0.0024734418839216232,
0.011092192493379116,
0.01571469008922577,
0.006307501811534166,
0.03310537338256836,
-0.03688987344503403,
-0.01993170566856861,
-0.044945456087589264,
-0.01593094691634178,
0.034384895116090775,
-0.044332727789878845,
-0.0018415652448311448,
-0.031032908707857132,
0.005667740944772959,
-0.006176846567541361,
-0.01167788915336132,
-0.023752249777317047,
0.050315842032432556,
0.01770605891942978,
0.021283313632011414,
0.013948589563369751,
0.03624110296368599,
0.020706627517938614,
0.05038793012499809,
-0.0012671321164816618,
-0.032348472625017166,
0.06383191794157028,
0.03499762341380119,
0.062029775232076645,
-0.037124153226614,
-0.006947262678295374,
-0.013948589563369751,
0.05820923298597336,
-0.015011854469776154,
0.038097310811281204,
0.0007343734032474458,
-0.028347715735435486,
-0.004599970765411854,
-0.060047417879104614,
0.01792231574654579,
0.031483445316553116,
0.004392724484205246,
0.010037939064204693,
-0.013759364373981953,
0.01370530016720295,
0.020616520196199417,
-0.004147182684391737,
-0.06851749122142792,
-0.08628662675619125,
0.009362135082483292,
0.01356112863868475,
-0.006721994839608669,
0.030023708939552307,
-0.030023708939552307,
0.0276989433914423,
-0.03245660290122032,
0.003072654362767935,
-0.0006369450711645186,
-0.011425589211285114,
-0.022905241698026657,
-0.04307122528553009,
0.022058235481381416,
0.013218721374869347,
-0.02793322317302227,
0.01772408001124859,
-0.0097135528922081,
-0.04508962854743004,
0.03679976612329483,
0.06952669471502304,
0.013434979133307934,
0.047504499554634094,
-0.024599257856607437,
0.030023708939552307,
-0.04761262983083725,
0.01593995839357376,
0.046351127326488495,
0.04299914091825485,
-0.03734041005373001,
0.020994970574975014,
-0.008060086518526077,
-0.026040971279144287,
0.045197755098342896,
0.05107274278998375,
0.014327039942145348,
-0.01511998288333416,
-0.015444369055330753,
-0.04296309873461723,
0.0022312786895781755,
0.014786586165428162,
0.010803849436342716,
0.015912925824522972,
-0.011227353475987911,
-0.08556576818227768,
-0.028690122067928314,
-0.014930757693946362,
0.0010705858003348112,
0.04022384062409401,
0.0008374335011467338,
0.007731195073574781,
-0.11886937916278839,
-0.03903442621231079,
-0.01826472394168377,
0.025482308119535446,
-0.031249165534973145,
0.004901830106973648,
0.01569666899740696,
0.016588730737566948,
-0.006469694897532463,
0.010227163322269917,
0.040620312094688416,
-0.041233040392398834,
0.02879825048148632,
-0.0404040552675724,
0.009596413932740688,
0.049486856907606125,
0.011804039590060711,
-0.07684339582920074,
0.059434689581394196,
0.12283409386873245,
-0.025860756635665894,
-0.038962338119745255,
-0.08138479292392731,
-0.03679976612329483,
-0.0934951975941658,
0.058605704456567764,
0.010182109661400318,
0.01854405552148819,
-0.008240300230681896,
-0.004075096920132637,
-0.06235416233539581,
0.011092192493379116,
0.018093518912792206,
-0.013786396943032742,
-0.0021310346201062202,
0.015462390147149563,
-0.05741628631949425,
-0.03443896025419235,
-0.0010998706566169858,
-0.007753721904009581,
0.00997486338019371,
-0.016913115978240967,
0.07158113270998001,
0.016030065715312958,
-0.03108697384595871,
0.017282554879784584,
-0.008366450667381287,
0.021193206310272217,
0.04025988280773163,
-0.01939106360077858,
-0.054929330945014954,
0.005185667425394058,
0.031249165534973145,
0.032961200922727585,
0.0002979168202728033,
0.013191689737141132,
-0.059506773948669434,
0.03791709616780281,
0.018742291256785393,
-0.014507254585623741,
0.03443896025419235,
0.03256472945213318,
0.0047937012277543545,
-0.0023089961614459753,
0.060047417879104614,
0.004586454946547747,
-0.014083750545978546,
-0.020580478012561798,
0.011254385113716125,
0.030167879536747932,
0.02912263758480549,
0.01338091492652893,
-0.028095414862036705,
-0.01526415441185236,
-0.0041652037762105465,
-0.012362703680992126,
-0.056875646114349365,
0.036042869091033936,
-0.062318116426467896,
-0.06412026286125183,
-0.035736504942178726,
0.004489589482545853,
0.0484776571393013,
0.004699089098721743,
0.05474911630153656,
-0.0052622584626078606,
0.016084128990769386,
0.0002242823684355244,
-0.019823577255010605,
-0.011542728170752525,
0.012245564721524715,
0.0012220784556120634,
0.02229251340031624,
-0.022166363894939423,
0.005009958520531654,
0.06505737453699112,
-0.004897324834018946,
0.010434410534799099,
0.03288911655545235,
-0.03613297641277313,
-0.023013370111584663,
0.021337376907467842,
0.030906759202480316,
-0.048946212977170944,
-0.03108697384595871,
0.0067850700579583645,
0.01311059296131134,
0.03795313835144043,
0.07857345044612885,
-0.022472728043794632,
-0.03485345467925072,
0.015354261733591557,
0.01229061745107174,
-0.04454898461699486,
0.019589299336075783,
0.0035885178949683905,
-0.030636437237262726,
-0.0032325945794582367,
-0.030131837353110313,
-0.03716019541025162,
-0.014092761091887951,
0.011380535550415516,
-0.014173857867717743,
0.04988332837820053,
0.04584652930498123,
-0.02939295768737793,
0.03449302539229393,
-0.0353940948843956,
-0.02795124426484108,
-0.030654458329081535,
-0.02393246442079544,
-0.031771786510944366,
-0.016931137070059776,
0.02854595147073269,
0.04656738415360451,
-0.07132883369922638,
-0.029987666755914688,
-0.034961581230163574,
0.013480032794177532,
0.003313691122457385,
-0.00940718874335289,
-0.060912445187568665,
-0.07460873574018478,
0.01652565412223339,
0.048081185668706894,
0.0013482285430654883,
0.0024171248078346252,
0.06610261648893356,
0.042386412620544434,
-0.05673147365450859,
0.04357582703232765,
0.04869391396641731,
-0.008767427876591682,
0.015759743750095367,
-0.016192257404327393,
0.04854974150657654,
-0.01966138370335102,
-0.019228870049118996,
-0.030077772215008736,
-0.003453357145190239,
0.0268339142203331,
-0.016696859151124954,
-0.04440481215715408,
0.006609360687434673,
-0.009308070875704288,
-0.03874608129262924,
-0.02312150038778782,
0.007136487867683172,
-0.05554205924272537,
0.010416388511657715,
0.023878399282693863,
-0.035772547125816345,
0.0006921357125975192,
-0.020436305552721024,
0.017003223299980164,
-0.044657111167907715,
0.0002394879556959495,
-0.012056339532136917,
0.043215397745370865,
-0.060299716889858246,
0.009335102513432503,
-0.004138171672821045,
-0.03231243044137955,
-0.06080431863665581,
-0.02598690800368786,
-0.002664919476956129,
-0.050928570330142975,
-0.012407757341861725,
-0.0022616898640990257,
0.03939485549926758,
0.016462579369544983,
0.008375461213290691,
0.06696765124797821,
0.024725407361984253,
-0.046927813440561295,
-0.019787535071372986,
-0.03371810168027878,
-0.013786396943032742,
0.004969410598278046,
-0.048081185668706894,
-0.0548212006688118,
0.03652944788336754,
-0.04400834068655968,
0.02622118592262268,
-0.036655597388744354,
-0.08030351251363754,
-0.051793601363897324,
0.015038886107504368,
-0.035520244389772415,
-0.0019316724501550198,
0.020039834082126617,
-0.01296642143279314,
-0.013326850719749928,
-0.020021812990307808,
-0.03939485549926758,
-0.005392914172261953,
-0.048946212977170944,
-0.01267807837575674,
0.01268708985298872,
0.07698756456375122,
-0.02425684966146946,
-0.0063300286419689655,
-0.019499192014336586,
-0.01886844076216221,
0.029807452112436295,
0.02995162270963192,
0.014588350430130959,
0.03478136658668518,
-0.01654367707669735,
0.02022004872560501,
0.0014788839034736156,
-0.013335861265659332,
-0.050063543021678925,
-0.005906525067985058,
0.018598118796944618,
-0.09652280062437057,
-0.008943136781454086,
-0.013534097000956535,
0.00015754674677737057,
0.024941664189100266,
0.006275964435189962,
-0.037772923707962036,
0.014759554527699947,
0.008596223779022694,
-0.0536678284406662,
0.0992620587348938,
-0.014903726056218147,
0.009109835140407085,
-0.0188504196703434,
-0.027843115851283073,
0.03278098627924919,
-0.003973726183176041,
-0.08210565149784088,
0.008461062796413898,
0.017192447558045387,
0.02822156623005867,
-0.015083939768373966,
-0.005235226359218359,
0.043467696756124496,
-0.02285117842257023,
-0.03220430389046669,
0.030456222593784332,
-0.01770605891942978,
0.05132504180073738,
0.009947831742465496,
0.0711846649646759,
0.009506306611001492,
0.0276989433914423,
0.025482308119535446,
-0.034943562000989914,
-0.012092381715774536,
0.012957410886883736,
-0.00969553180038929,
-0.005735321436077356,
0.015750732272863388,
-0.01712937280535698,
-0.03370008245110512,
0.008384471759200096,
0.0906117707490921,
0.005888503510504961,
0.005514558870345354,
0.007645593490451574,
0.028978465124964714,
0.01679597608745098,
-0.01937304064631462,
0.0019654626958072186,
-0.04772075638175011,
0.04476524144411087,
0.011047138832509518,
-0.02623920701444149,
-0.1067589744925499,
0.04418855533003807,
0.035790566354990005,
0.0007095939363352954,
-0.006821112707257271,
0.007550980895757675,
0.04162951186299324,
0.05557810142636299,
-0.028726166114211082,
0.06862562149763107,
0.03656549006700516,
0.05734420195221901,
-0.02935691550374031,
0.009398178197443485,
0.04570235684514046,
0.03503366559743881,
-0.0484776571393013,
-0.002806838368996978,
-0.01112823560833931,
-0.07075215131044388,
-0.03393435850739479,
0.028870336711406708,
-0.0473242849111557,
-0.062282074242830276,
-0.03142938017845154,
-0.031537510454654694,
-0.0274106003344059,
-0.02222042717039585,
0.06671534478664398,
-0.00983970332890749,
0.02513989992439747,
-0.013317839242517948,
-0.04584652930498123,
0.04537796974182129,
-0.009204447269439697,
-0.010866924189031124,
0.002628876594826579,
0.057127945125103,
-0.021733848378062248,
-0.0569477304816246,
0.03986341133713722,
0.012876314111053944,
0.000253707985393703,
0.011722942814230919,
0.07219386100769043,
-0.05388408526778221,
-0.024689365178346634,
0.023013370111584663,
-0.016408516094088554,
-0.04080052673816681,
-0.029501087963581085,
-0.010704731568694115,
-0.02166176401078701,
-0.025608457624912262,
0.05846153199672699,
-0.06130891665816307,
-0.0009849839843809605,
0.06448069214820862,
0.018760312348604202,
0.02733851596713066,
0.008578202687203884,
-0.051216915249824524,
0.014155835844576359,
0.03310537338256836,
-0.09825285524129868,
-0.008231289684772491,
-0.006879682186990976,
-0.017192447558045387,
-0.016300387680530548,
0.03773688152432442,
0.01083989255130291,
-0.005271269474178553,
-0.07057193666696548,
-0.0677245482802391,
-0.0290505513548851,
-0.007150003686547279,
0.030636437237262726,
0.056371044367551804,
0.02458123490214348,
-0.03342976048588753,
0.009195436723530293,
0.04361186921596527,
-0.032132215797901154,
0.035267945379018784,
0.012137435376644135,
-0.003311438485980034,
0.019192827865481377,
0.004248552955687046,
0.05561414361000061,
0.007406809367239475,
-0.02566252090036869,
0.024905622005462646,
-0.074248306453228,
0.005046001635491848,
-0.0033812716137617826,
0.027861136943101883,
-0.005131603218615055,
0.03762875497341156,
0.04137721285223961,
-0.0006735511124134064,
0.0854215994477272,
0.008659298531711102,
0.005690267775207758,
0.01653466559946537,
0.02333775721490383,
0.011047138832509518,
0.04584652930498123,
0.028600014746189117,
0.028996486216783524,
0.004730626475065947,
-0.02277909219264984,
0.015822818502783775,
-0.05874987319111824,
0.020346198230981827,
-0.02112112008035183,
-0.05219007283449173,
0.07878971099853516,
-0.05593853071331978,
-0.08643079549074173,
-0.06797684729099274,
-0.027572793886065483,
-0.04418855533003807,
0.04440481215715408,
0.011804039590060711,
-0.02362610027194023,
0.020165983587503433,
-0.0086818253621459,
-0.03831356763839722,
0.0033519866410642862,
0.04761262983083725,
0.011200320906937122,
-0.009767617098987103,
-0.010218152776360512,
0.01170492172241211,
-0.018111541867256165,
-0.04130512475967407,
0.033267565071582794,
-0.020724648609757423,
-0.012443800456821918,
0.04418855533003807,
-0.0008120908751152456,
-0.06642700731754303,
0.022328555583953857,
0.06451673060655594,
0.0088485237210989,
-0.02791520021855831,
0.04991937056183815,
-0.01399364322423935,
0.02513989992439747,
-0.009299059398472309,
-0.005681257229298353,
0.028672100976109505,
0.036943938583135605,
-0.020670585334300995,
-0.03355590999126434,
0.0039196619763970375,
0.06700368970632553,
-0.006618371699005365,
-0.036042869091033936,
-0.011236364021897316,
0.008898083120584488,
-0.07958265393972397,
0.004039053805172443,
-0.0432874858379364,
0.06685952097177505,
-0.003421819768846035,
0.018598118796944618,
-0.008839513175189495,
-0.014227922074496746,
-0.001061011920683086,
0.02706819400191307,
0.005091054830700159,
-0.06920230388641357,
-0.03687185421586037,
0.10092002898454666,
0.011506685055792332,
0.018084509298205376,
-0.007104950491338968,
0.016039075329899788,
-0.021535612642765045,
0.09154888242483139,
-0.0011038128286600113,
0.020292134955525398,
-0.04483732581138611,
0.04364791139960289,
0.04880204424262047,
-0.022959306836128235,
0.021535612642765045,
0.01567864790558815,
-0.01684102974832058,
-0.07334723323583603,
-0.07331119477748871,
-0.0034916528966277838,
0.012804228812456131,
0.00883500836789608,
0.07778050750494003,
-0.00825381651520729,
0.02627525106072426,
-0.07356349378824234,
0.005320828408002853,
0.006663425359874964,
-0.021571656689047813,
-0.0009906156919896603,
0.0307806096971035,
0.0038250493817031384,
0.0007112834719009697,
0.03957507014274597,
-0.0168770719319582,
-0.026058994233608246,
-0.011218342930078506,
0.033231522887945175,
0.0005930177867412567,
-0.06642700731754303,
-0.0060191587544977665,
-0.021012991666793823,
0.05172151327133179,
-0.017516832798719406,
0.0039354306645691395,
0.02337379939854145,
-0.0032348474487662315,
-0.04537796974182129,
-0.01939106360077858,
0.003327207174152136,
-0.02541022188961506,
0.017742101103067398,
-0.06758037954568863,
0.0013358388096094131
]
|
31,547 | laspy.header | parse_crs |
Method to parse OGC WKT or GeoTiff VLR keys into a pyproj CRS object
Returns None if no CRS VLR is present, or if the CRS specified
in the VLRS is not understood.
Parameters
----------
prefer_wkt: Optional, default True,
If True the WKT VLR will be preferred in case
both the WKT and Geotiff VLR are present
.. warning::
This requires `pyproj`.
.. versionadded:: 2.5
The ``prefer_wkt`` parameters.
| def parse_crs(self, prefer_wkt=True) -> Optional["pyproj.CRS"]:
"""
Method to parse OGC WKT or GeoTiff VLR keys into a pyproj CRS object
Returns None if no CRS VLR is present, or if the CRS specified
in the VLRS is not understood.
Parameters
----------
prefer_wkt: Optional, default True,
If True the WKT VLR will be preferred in case
both the WKT and Geotiff VLR are present
.. warning::
This requires `pyproj`.
.. versionadded:: 2.5
The ``prefer_wkt`` parameters.
"""
geo_vlr = self._vlrs.get_by_id("LASF_Projection")
if self.evlrs is not None:
geo_vlr.extend(self.evlrs.get_by_id("LASF_Projection"))
parsed_crs = {}
for rec in geo_vlr:
if isinstance(rec, (WktCoordinateSystemVlr, GeoKeyDirectoryVlr)):
crs = rec.parse_crs()
if crs is not None:
parsed_crs[type(rec)] = crs
# Could not parse anything / there was nothing to parse
if not parsed_crs:
return None
if prefer_wkt:
preferred, other = WktCoordinateSystemVlr, GeoKeyDirectoryVlr
else:
preferred, other = GeoKeyDirectoryVlr, WktCoordinateSystemVlr
try:
return parsed_crs[preferred]
except KeyError:
return parsed_crs[other]
| (self, prefer_wkt=True) -> Optional[ForwardRef('pyproj.CRS')] | [
0.042363546788692474,
-0.06479356437921524,
-0.04662678763270378,
0.07163011282682419,
-0.008079992607235909,
-0.043323736637830734,
0.0011576281394809484,
0.03159022331237793,
0.12129110097885132,
0.02759583853185177,
-0.01739862747490406,
-0.003173425327986479,
-0.011234213598072529,
0.022737279534339905,
0.0011054178467020392,
0.03510451689362526,
-0.07500997930765152,
0.01133983489125967,
-0.05077480524778366,
-0.043016474694013596,
-0.013461852446198463,
-0.05231110751628876,
0.03333776816725731,
0.010120394639670849,
0.025099346414208412,
0.017773102968931198,
0.0808863416314125,
0.01444124523550272,
-0.07120763510465622,
0.02141221985220909,
0.0026141151320189238,
0.02774946764111519,
-0.03306891769170761,
-0.003970382269471884,
-0.022775687277317047,
0.013317824341356754,
-0.0050121876411139965,
-0.031820669770240784,
-0.019741490483283997,
-0.06064555048942566,
-0.04117291420698166,
0.0412113219499588,
-0.016409633681178093,
-0.03276165574789047,
-0.07597017288208008,
-0.0005770137067884207,
-0.07301278412342072,
-0.00345428055152297,
0.04105769097805023,
0.04282443970441818,
0.015843121334910393,
0.004039996303617954,
-0.07212941348552704,
-0.02120097726583481,
-0.02922816015779972,
-0.054346710443496704,
-0.0498146153986454,
0.09371446818113327,
0.000739345676265657,
-0.03093729540705681,
-0.02809513546526432,
-0.033145733177661896,
-0.051965441554784775,
0.07174533605575562,
-0.0037663420662283897,
-0.028287174180150032,
0.005588300991803408,
-0.026270776987075806,
0.021623460575938225,
0.016668884083628654,
-0.061029624193906784,
-0.0177058894187212,
-0.04735653102397919,
-0.0352773517370224,
0.04044317081570625,
0.035219740122556686,
-0.03959820419549942,
-0.009184209629893303,
0.03447079285979271,
-0.0021460228599607944,
-0.0500834695994854,
-0.00663010636344552,
-0.010619692504405975,
-0.04459118843078613,
0.08073271065950394,
0.027864690870046616,
0.049891430884599686,
-0.008079992607235909,
0.01875249482691288,
-0.005617106799036264,
-0.03172465041279793,
0.02377428486943245,
-0.021104957908391953,
0.019530247896909714,
-0.0030846078880131245,
0.001187634072266519,
-0.004200827796012163,
-0.008713716641068459,
-0.03251200541853905,
0.027557430788874626,
0.03001551516354084,
-0.009011375717818737,
-0.05542211979627609,
0.016409633681178093,
0.004071202129125595,
0.00814240425825119,
-0.02982347644865513,
0.00042368349386379123,
0.030265163630247116,
0.010331636294722557,
-0.04451437294483185,
-0.03556540980935097,
0.013673094101250172,
0.047471754252910614,
-0.03733215481042862,
0.024196768179535866,
0.0020488037262111902,
0.020394418388605118,
-0.0035190933849662542,
0.0011990362545475364,
-0.024849696084856987,
0.0460122674703598,
-0.014719700440764427,
0.011560678482055664,
-0.04881601780653,
-0.039675019681453705,
0.06129847839474678,
0.007119802758097649,
0.026136349886655807,
0.031206149607896805,
0.07005540281534195,
0.02951621636748314,
0.002976586576551199,
-0.08680110424757004,
0.022391611710190773,
0.009798730723559856,
-0.01053327601402998,
0.003437477396801114,
-0.018368419259786606,
0.014181994833052158,
0.018560457974672318,
-0.0009979966562241316,
-0.007844746112823486,
-0.006274836603552103,
-0.03308812156319618,
0.05246473848819733,
-0.02266046591103077,
0.006591699086129665,
-0.028210358694195747,
0.02425437979400158,
0.003948777914047241,
-0.034720443189144135,
0.03516212850809097,
0.020048750564455986,
0.0012770516332238913,
-0.07550927996635437,
0.02296772599220276,
-0.026712464168667793,
0.01868528127670288,
0.013826724141836166,
0.006068395916372538,
0.02171947993338108,
0.015641482546925545,
-0.03335697203874588,
0.04224832355976105,
-0.018080363050103188,
0.023870304226875305,
-0.04167221114039421,
0.03429795801639557,
0.006174016743898392,
0.026289980858564377,
0.02362065389752388,
-0.055306896567344666,
-0.02252603881061077,
-0.032147135585546494,
0.021661868318915367,
-0.0028877691365778446,
-0.005573898553848267,
-0.008286433294415474,
-0.017542656511068344,
0.05476919189095497,
-0.012011966668069363,
-0.020221585407853127,
0.044283926486968994,
-0.0037255340721458197,
0.09379128366708755,
0.005732329562306404,
-0.011925550177693367,
-0.018886921927332878,
0.015910334885120392,
-0.016140781342983246,
-0.0019779896829277277,
-0.046357933431863785,
0.021124161779880524,
0.0002610514347907156,
-0.014181994833052158,
0.02523377165198326,
0.024484824389219284,
-0.10247138887643814,
0.06429427117109299,
-0.016553662717342377,
-0.014393236488103867,
-0.05772657319903374,
0.02218037098646164,
-0.06160574033856392,
-0.04005909338593483,
-0.037754639983177185,
-0.03731295093894005,
0.020221585407853127,
0.03354901075363159,
0.012837729416787624,
0.006005983334034681,
-0.034086715430021286,
-0.003814351512119174,
0.02918975241482258,
-0.034586016088724136,
-0.05953172966837883,
0.06656031310558319,
0.027058131992816925,
0.02218037098646164,
0.02475367859005928,
-0.03333776816725731,
0.038369160145521164,
-0.03339537978172302,
0.013250610791146755,
-0.03351060301065445,
-0.0027869492769241333,
0.017168182879686356,
0.006769333966076374,
-0.056574348360300064,
-0.01940542459487915,
-0.0824226438999176,
0.015218999236822128,
-0.012693701311945915,
0.03811950981616974,
-0.10293228179216385,
0.037447378039360046,
0.04758697748184204,
0.042709216475486755,
-0.02855602651834488,
0.0008869747980497777,
-0.004488884471356869,
-0.04858557507395744,
0.04566659778356552,
-0.057380907237529755,
-0.02763424441218376,
0.024369601160287857,
-0.011186203919351101,
0.03763941675424576,
0.07220622897148132,
0.02283329889178276,
0.0013622684637084603,
0.007331044413149357,
0.050697989761829376,
-0.04674201086163521,
-0.057380907237529755,
-0.06033828854560852,
0.03306891769170761,
0.006937366910278797,
-0.05231110751628876,
0.02475367859005928,
0.0028109538834542036,
-0.00781594030559063,
-0.005329050123691559,
0.030207552015781403,
-0.0059627750888466835,
0.06556171923875809,
-0.021738683804869652,
0.025445014238357544,
0.00849287398159504,
0.01326021272689104,
0.04167221114039421,
-0.050352320075035095,
0.022583650425076485,
-0.002669326029717922,
-0.025099346414208412,
-0.01077332254499197,
-0.04267080873250961,
0.038695625960826874,
0.08080952614545822,
0.0056603155098855495,
0.016601670533418655,
-0.03623754158616066,
0.05761135369539261,
0.006850949954241514,
0.0026405202224850655,
-0.030553219839930534,
-0.05553734302520752,
-0.019328609108924866,
-0.016188789159059525,
0.0366792269051075,
-0.015795111656188965,
0.02411995269358158,
0.009870745241641998,
0.10654259473085403,
0.051466140896081924,
-0.001130622811615467,
-0.1037004366517067,
0.05991580709815025,
0.003653520019724965,
0.007883152924478054,
0.04213310405611992,
0.10093508660793304,
-0.017014551907777786,
0.036179929971694946,
-0.00570832472294569,
-0.06087599694728851,
-0.04290125519037247,
0.024676863104104996,
0.037754639983177185,
-0.09033460170030594,
-0.014028363861143589,
-0.024215972051024437,
-0.022141963243484497,
0.0077727315947413445,
0.0029405795503407717,
0.015257406048476696,
-0.0254066064953804,
0.005127410404384136,
-0.017648277804255486,
-0.025771478191018105,
-0.01205997634679079,
-0.008886551484465599,
-0.017043357715010643,
0.02122018113732338,
-0.056420717388391495,
-0.04359259083867073,
0.001502696075476706,
0.08073271065950394,
0.04724130779504776,
-0.034854866564273834,
0.003804749809205532,
-0.009357043541967869,
0.07093878090381622,
-0.01805155724287033,
-0.027711059898138046,
0.044283926486968994,
-0.016774505376815796,
0.01733141578733921,
-0.004546496085822582,
0.0007795536075718701,
0.004899365361779928,
-0.03963661193847656,
0.0074702720157802105,
-0.015190193429589272,
0.04051998630166054,
0.030111532658338547,
-0.03149420768022537,
0.004476882051676512,
-0.04912327975034714,
-0.06590738892555237,
-0.07873551547527313,
-0.009630697779357433,
0.06149051710963249,
-0.024792084470391273,
0.06517764180898666,
-0.025829089805483818,
-0.017273804172873497,
0.06533127278089523,
-0.022084351629018784,
0.05296403542160988,
0.027423003688454628,
0.00006057443533791229,
-0.02955462411046028,
-0.013980355113744736,
0.014172392897307873,
-0.009217816404998302,
-0.030745258554816246,
0.01133983489125967,
-0.0284408051520586,
-0.030764462426304817,
-0.014470051042735577,
0.025348994880914688,
-0.034240346401929855,
-0.010485266335308552,
0.016995348036289215,
0.04455278068780899,
-0.02842160128057003,
-0.03399069607257843,
-0.03114853799343109,
-0.019895119592547417,
0.05396263301372528,
0.06590738892555237,
0.022103555500507355,
0.0013742707669734955,
0.004563299007713795,
-0.014959747903048992,
0.020778493955731392,
0.024408008903265,
-0.012722507119178772,
-0.045705005526542664,
0.06682916730642319,
0.06997858732938766,
-0.024504028260707855,
0.004666519351303577,
0.0402127243578434,
-0.019155774265527725,
0.021834703162312508,
0.06517764180898666,
-0.032646432518959045,
0.01318339817225933,
-0.02826797030866146,
-0.06256593018770218,
0.011915948241949081,
-0.026462813839316368,
0.02248763106763363,
0.027999117970466614,
0.0010712110670283437,
-0.014470051042735577,
-0.02363985776901245,
0.008113598451018333,
-0.0016707292525097728,
0.037447378039360046,
-0.06540808826684952,
-0.037428174167871475,
0.06141370162367821,
-0.0040351953357458115,
0.09402173012495041,
0.028920898213982582,
0.04136494919657707,
-0.03813871368765831,
-0.060261473059654236,
-0.008449665270745754,
0.04712608456611633,
0.057995427399873734,
-0.017523452639579773,
0.038061901926994324,
-0.022141963243484497,
0.03112933412194252,
0.005276239477097988,
0.005170618649572134,
0.04328532889485359,
0.001397075247950852,
-0.03276165574789047,
-0.0032814466394484043,
0.028978509828448296,
-0.010120394639670849,
0.059147655963897705,
-0.028479211032390594,
-0.03448999673128128,
0.022410815581679344,
-0.009736318141222,
-0.027403799816966057,
0.04704927280545235,
0.007134205661714077,
-0.03548859432339668,
-0.04017431661486626,
0.014037965796887875,
-0.0626811534166336,
-0.0284408051520586,
0.0012098384322598577,
0.012232810258865356,
-0.0067597320303320885,
0.008977768942713737,
0.014518060721457005,
0.04082724452018738,
-0.04739493876695633,
0.021124161779880524,
-0.06494719535112381,
-0.0279415063560009,
0.01739862747490406,
0.0013862731866538525,
0.09870745241641998,
0.02219957485795021,
-0.01698574796319008,
0.04182584211230278,
0.0025877098087221384,
-0.02859443426132202,
-0.0475485697388649,
-0.07005540281534195,
-0.0033702640794217587,
-0.03610311448574066,
0.017302609980106354,
-0.036794450134038925,
0.061221662908792496,
0.04850875958800316,
-0.004776941146701574,
0.010206811130046844,
-0.0034926882945001125,
-0.030745258554816246,
-0.055767789483070374,
0.013749909587204456,
-0.0036247142124921083,
-0.00035136923543177545,
0.004630512557923794,
0.01633281819522381,
-0.02713494747877121,
0.009717115201056004,
-0.04278603196144104,
-0.02058645710349083,
-0.0424787700176239,
0.10078145563602448,
-0.002069207839667797,
0.05377059429883957,
-0.018406827002763748,
0.02774946764111519,
0.06241229921579361,
-0.01254007127135992,
0.044783223420381546,
0.03157101944088936,
0.007297438103705645,
-0.02569466270506382,
0.006111604161560535,
0.034586016088724136,
0.03253120929002762,
-0.046242713928222656,
-0.058341097086668015,
0.02170027606189251,
0.03308812156319618,
-0.0024436814710497856,
-0.06229707598686218,
-0.019895119592547417,
0.08664747327566147,
-0.01921338587999344,
-0.026059534400701523,
0.02907452918589115,
0.005573898553848267,
0.014191596768796444,
-0.0844966471195221,
0.028479211032390594,
-0.044322334229946136,
-0.03372184559702873,
0.03289608284831047,
-0.007595096714794636,
-0.007297438103705645,
0.03877244144678116,
-0.00842566043138504,
-0.0012962553882971406,
0.04393825680017471,
-0.03418273478746414,
-0.034739647060632706,
-0.03813871368765831,
-0.04866239055991173,
0.001261448604054749,
0.015180591493844986,
0.01789792627096176,
-0.007465471047908068,
-0.005674718413501978,
-0.07512520253658295,
0.0005554094677790999,
0.02204594388604164,
-0.0498146153986454,
0.01284733135253191,
0.02279489114880562,
0.04113450646400452,
0.025483421981334686,
0.01945343241095543,
-0.05158136412501335,
-0.01726420223712921,
-0.02999631129205227,
0.08057907968759537,
0.0007579493685625494,
0.03508531302213669,
0.02855602651834488,
-0.019837509840726852,
0.051619771867990494,
-0.029804272577166557,
-0.029266567900776863,
-0.03064923919737339,
-0.0626811534166336,
0.000048947145842248574,
-0.01833961345255375,
0.0034566810354590416,
0.03673683851957321,
-0.060223065316677094,
-0.01785951852798462,
0.0058091445825994015,
0.010370043106377125,
0.04051998630166054,
0.06341089308261871,
0.05300244316458702,
-0.01102297194302082,
-0.0021652267314493656,
-0.029727457091212273,
-0.012492061592638493,
0.02141221985220909,
0.011378241702914238,
0.01531501766294241,
-0.008276831358671188,
-0.05315607413649559,
0.042517177760601044,
-0.025790682062506676,
0.09878426790237427,
-0.03556540980935097,
-0.03498929366469383,
0.024023933336138725,
-0.008353645913302898,
0.033260952681303024,
-0.03896447643637657,
-0.003262242767959833,
-0.0055306898429989815,
0.04439914971590042,
0.06014625355601311,
-0.004059199709445238,
-0.02123938500881195,
-0.043669406324625015,
0.01931900717318058,
0.0366792269051075,
0.04459118843078613,
-0.0005182020831853151,
-0.04839353635907173,
-0.02746141143143177,
-0.006087599787861109,
0.04025113210082054,
-0.009174607694149017,
-0.03979023918509483,
-0.024638455361127853,
0.008334442041814327,
0.03819632530212402,
0.019261395558714867,
0.0379466786980629,
-0.02425437979400158,
0.06652190536260605,
-0.0010400048922747374,
0.03925253450870514,
-0.002075208816677332,
0.015699094161391258,
-0.007062191609293222,
-0.016256002709269524,
-0.03316493332386017,
-0.008363247849047184,
-0.024504028260707855,
-0.03193589299917221,
-0.010408450849354267,
-0.028171950951218605,
-0.02922816015779972,
0.04420711100101471,
-0.03291528671979904,
0.021028144285082817,
0.006005983334034681,
0.026750871911644936,
-0.038714829832315445,
0.020163973793387413,
-0.04735653102397919,
0.016428837552666664,
0.07873551547527313,
0.018714087083935738,
0.01309698075056076,
0.0003510691749397665,
0.04224832355976105,
-0.016207993030548096,
0.02248763106763363,
0.03529655560851097,
0.010754118673503399,
-0.010754118673503399,
0.04643474891781807,
0.029170548543334007,
-0.005281040444970131,
0.06782776862382889,
0.06237389147281647,
-0.07239826768636703,
-0.0012806523591279984,
0.00965950358659029,
-0.04704927280545235,
-0.048931241035461426,
0.05872517079114914,
-0.019683878868818283,
-0.05811065062880516,
0.009918754920363426,
-0.023390209302306175,
-0.05887880176305771,
-0.021757887676358223,
0.010091588832437992,
-0.028536822646856308,
-0.04178743436932564,
-0.03379866108298302,
0.0072782342322170734,
0.05342492833733559,
0.0378122515976429,
0.004356858320534229,
-0.02219957485795021,
-0.05653594061732292,
0.032646432518959045,
0.05000665411353111,
-0.012328829616308212,
-0.011118991300463676,
0.003658320987597108,
-0.03399069607257843,
0.029247364029288292,
-0.008363247849047184,
-0.013951549306511879,
0.09525077044963837,
-0.05373218655586243,
0.0002440981043037027,
-0.034547608345746994,
-0.005458675790578127,
0.021277792751789093,
0.016140781342983246,
0.09432898461818695,
-0.0037183326203376055,
0.017840314656496048,
-0.0014222802128642797,
0.023697469383478165,
0.027672652155160904,
-0.03464362770318985,
-0.05127410218119621,
-0.005996381398290396,
0.012492061592638493,
-0.002340461127460003,
0.014633283950388432,
0.008377650752663612,
-0.015257406048476696,
-0.04789423570036888,
0.01245365384966135,
0.008660906925797462,
-0.015967946499586105,
0.020644068717956543,
-0.0019707882311195135,
0.01859886571764946,
0.00892975926399231,
-0.05772657319903374,
-0.01133983489125967,
0.034393977373838425,
-0.0412113219499588,
0.007628703024238348,
-0.015065368264913559,
0.0018519649747759104,
-0.008478471077978611,
0.037735436111688614,
-0.06483197212219238,
0.01500775758177042,
-0.008684911765158176,
0.022295594215393066,
0.03447079285979271,
0.03979023918509483,
0.006471675354987383,
-0.0014030764577910304,
-0.01796513982117176,
-0.02329418994486332,
0.04977620765566826,
0.002681328449398279,
0.040289539843797684,
0.0027173354756087065,
-0.004176822956651449,
0.009155403822660446,
-0.003010193118825555,
0.0006373255746439099,
0.017590666189789772,
-0.060223065316677094,
0.022890910506248474,
0.0036727236583828926,
0.01717778481543064,
-0.03460521996021271,
-0.040942467749118805,
-0.017907528206706047,
0.038945272564888,
0.0220075361430645,
0.0030726054683327675,
-0.001878370181657374,
-0.006452471483498812,
0.033606622368097305,
-0.026750871911644936,
0.06767413765192032,
-0.026616444811224937,
-0.05711205303668976,
-0.020624864846467972,
-0.0558830127120018,
0.020240789279341698,
-0.002998190699145198,
0.011541474610567093,
0.04340055212378502,
-0.0022900511976331472,
-0.04359259083867073,
0.06871113926172256,
0.02746141143143177,
-0.036948081105947495,
-0.02982347644865513,
0.0029405795503407717
]
|
31,548 | laspy.header | partial_reset | null | def partial_reset(self) -> None:
f64info = np.finfo(np.float64)
self.maxs = np.ones(3, dtype=np.float64) * f64info.min
self.mins = np.ones(3, dtype=np.float64) * f64info.max
self.start_of_first_evlr = 0
self.number_of_evlrs = 0
self.point_count = 0
self.number_of_points_by_return = np.zeros(15, dtype=np.uint32)
| (self) -> NoneType | [
0.011654089204967022,
0.010686017572879791,
0.004565759561955929,
0.04475468024611473,
-0.048626966774463654,
-0.0061947256326675415,
-0.06478631496429443,
-0.04449404776096344,
-0.003036858281120658,
0.03615374118089676,
-0.055775802582502365,
-0.0029879894573241472,
0.023587429895997047,
0.03304474055767059,
-0.025411872193217278,
0.055813033133745193,
0.0025644581764936447,
0.033212292939424515,
-0.021130017936229706,
-0.019864078611135483,
-0.009811030700802803,
0.011076970025897026,
-0.037438295781612396,
0.06966390460729599,
-0.01567530818283558,
-0.02031088061630726,
-0.007567711174488068,
-0.029786810278892517,
0.024145932868123055,
-0.037438295781612396,
-0.015275048092007637,
0.032374538481235504,
0.015479832887649536,
-0.014260435476899147,
-0.011188670061528683,
-0.09621139615774155,
0.02479751966893673,
0.006362276617437601,
-0.05283435434103012,
0.064190573990345,
0.011291062459349632,
-0.025970375165343285,
-0.015247123315930367,
0.0113841462880373,
-0.014362826943397522,
-0.0073070768266916275,
0.06895646452903748,
-0.00794935505837202,
0.0650097131729126,
-0.0381271168589592,
-0.013180662877857685,
0.004407517146319151,
0.005682764574885368,
0.05398859456181526,
-0.001267103012651205,
0.11036013066768646,
0.015275048092007637,
0.047956764698028564,
-0.006567060947418213,
-0.038685619831085205,
-0.017574217170476913,
0.007390852086246014,
0.004444750491529703,
-0.012789711356163025,
0.0004214950022287667,
-0.024890603497624397,
-0.018272345885634422,
0.032951656728982925,
0.0035767443478107452,
0.028409169986844063,
-0.004626263864338398,
0.028371935710310936,
0.028371935710310936,
0.0015789336757734418,
0.03438514843583107,
0.015954559668898582,
-0.024425184354186058,
-0.015768392011523247,
0.008340306580066681,
-0.05912681668996811,
0.009606245905160904,
0.08600941300392151,
-0.011533080600202084,
0.03499950096011162,
0.02178160473704338,
-0.003083400195464492,
-0.004528525751084089,
0.024723052978515625,
0.01065809279680252,
0.009057051502168179,
0.016503755003213882,
0.054993897676467896,
-0.03658192604780197,
0.004344685468822718,
0.03447823226451874,
0.015414673835039139,
-0.032020822167396545,
-0.02135341987013817,
0.008782454766333103,
-0.047845061868429184,
0.0264730267226696,
-0.029042139649391174,
-0.003067110665142536,
0.05510559678077698,
0.03129476681351662,
0.020403964444994926,
0.048626966774463654,
-0.0555524006485939,
0.020925233140587807,
0.05860554799437523,
-0.01567530818283558,
0.04687699303030968,
-0.08995616436004639,
0.05737684294581413,
-0.044158946722745895,
-0.007353618741035461,
-0.019212491810321808,
0.014623462222516537,
0.05402582511305809,
0.04348874092102051,
0.030866581946611404,
-0.003711715806275606,
-0.028167152777314186,
0.02271244302392006,
0.008368232287466526,
-0.045722752809524536,
0.04438234493136406,
0.06028105691075325,
-0.016010411083698273,
-0.07003623992204666,
-0.011197978630661964,
-0.0034464269410818815,
-0.01416735164821148,
0.04080792888998985,
-0.06348314136266708,
-0.00352322100661695,
0.042483437806367874,
-0.027366630733013153,
0.010713943280279636,
-0.03652607649564743,
-0.017909320071339607,
0.06374377012252808,
0.039206888526678085,
0.02381083182990551,
0.010741868056356907,
0.0489620678126812,
0.05890341475605965,
0.08615835011005402,
-0.05235031992197037,
0.00783765409141779,
-0.014651386998593807,
-0.02146511897444725,
0.0010692998766899109,
-0.023773597553372383,
0.03416174650192261,
-0.008810379542410374,
0.031387850642204285,
0.020608749240636826,
-0.0515684150159359,
0.006543789990246296,
-0.059834253042936325,
-0.028949055820703506,
0.0411430299282074,
-0.036917027086019516,
-0.002780877985060215,
0.012259134091436863,
-0.01978961192071438,
-0.051196079701185226,
-0.04240896925330162,
0.007618907373398542,
0.01822580397129059,
-0.023364029824733734,
0.013897408731281757,
-0.020757682621479034,
0.01063016802072525,
0.0659777820110321,
-0.007009208668023348,
-0.0585683137178421,
-0.02891182154417038,
0.03838774934411049,
0.042483437806367874,
-0.04948333650827408,
-0.015247123315930367,
-0.04728655889630318,
0.014279051683843136,
0.016559604555368423,
-0.0033347264397889376,
-0.01836542971432209,
-0.03898348659276962,
-0.03697287663817406,
0.0023585103917866945,
0.00927114486694336,
-0.005706035532057285,
0.011858874000608921,
0.03656331077218056,
0.0001972212630789727,
0.010546392761170864,
-0.0061714546754956245,
0.05130777880549431,
-0.07219578325748444,
-0.10134962201118469,
-0.007846962660551071,
0.023996999487280846,
-0.04088239744305611,
-0.014986488968133926,
0.00043574845767579973,
-0.020068863406777382,
0.029321391135454178,
0.006864928640425205,
0.036600541323423386,
-0.03354739397764206,
-0.02557942271232605,
0.026715045794844627,
-0.023419879376888275,
-0.013897408731281757,
-0.04724932834506035,
0.04575998708605766,
0.020329497754573822,
0.008163447491824627,
0.02960064262151718,
0.003402212169021368,
-0.049148235470056534,
-0.04818016663193703,
-0.07402022182941437,
0.021762987598776817,
0.041291963309049606,
-0.032058052718639374,
-0.003814107971265912,
-0.04270683974027634,
-0.03762446343898773,
0.014679311774671078,
-0.03615374118089676,
-0.08414773643016815,
-0.06523311138153076,
0.02526293881237507,
0.019044941291213036,
0.00007024916703812778,
-0.00045203810441307724,
-0.03632128983736038,
-0.02673366107046604,
-0.012920028530061245,
-0.01151446346193552,
0.005971324630081654,
0.005049794912338257,
-0.00020129367476329207,
0.03635852411389351,
0.027999600395560265,
0.03499950096011162,
0.008358923718333244,
0.04724932834506035,
0.01949174329638481,
-0.028074068948626518,
-0.00003532456685206853,
0.021297568455338478,
0.06716925650835037,
-0.044419579207897186,
0.011337604373693466,
0.03652607649564743,
0.03890902176499367,
0.017862778156995773,
0.07331278920173645,
-0.0733872503042221,
0.007339655887335539,
0.006781153380870819,
0.008368232287466526,
0.061807628720998764,
-0.03146231919527054,
0.0030624563805758953,
-0.028837354853749275,
0.007335002068430185,
0.08049885183572769,
-0.023587429895997047,
-0.02036673203110695,
-0.036190975457429886,
0.016066260635852814,
0.047696128487586975,
0.013683315366506577,
-0.02349434606730938,
0.007739916443824768,
0.0031764840241521597,
0.063632071018219,
-0.05127054452896118,
0.06299909949302673,
0.03339846059679985,
-0.0038024724926799536,
-0.027701733633875847,
-0.010779101401567459,
-0.04226003587245941,
0.029135223478078842,
-0.05570133402943611,
-0.027180463075637817,
0.028148535639047623,
0.039616458117961884,
0.009969272650778294,
0.0772223025560379,
-0.04319087415933609,
0.003439445747062564,
-0.054360926151275635,
-0.022600742056965828,
0.062440600246191025,
0.0007231446215882897,
-0.09233911335468292,
-0.008889500983059406,
0.018905315548181534,
0.048217397183179855,
0.0060644084587693214,
0.030438397079706192,
-0.015116806142032146,
0.08392433822154999,
-0.040658995509147644,
-0.0032881845254451036,
0.05127054452896118,
-0.022023621946573257,
-0.049669504165649414,
0.05491942912340164,
-0.03283995762467384,
0.04810569807887077,
0.004198078531771898,
0.01682954840362072,
0.02844640426337719,
-0.008638175204396248,
-0.01697848178446293,
-0.004407517146319151,
0.03293304145336151,
0.007698028814047575,
0.005110299680382013,
0.01589871011674404,
0.002804148942232132,
-0.009634171612560749,
-0.027496948838233948,
-0.052908819168806076,
-0.0772223025560379,
-0.019510360434651375,
0.02193053811788559,
-0.011896107345819473,
-0.04151536524295807,
-0.003099689958617091,
-0.05283435434103012,
0.037587229162454605,
-0.028837354853749275,
0.048738665878772736,
-0.018095487728714943,
-0.027645882219076157,
0.0033486890606582165,
0.029656492173671722,
0.02157681994140148,
0.09204123914241791,
-0.05860554799437523,
0.04643018916249275,
0.016959864646196365,
-0.025076771154999733,
-0.0042771995067596436,
0.03283995762467384,
0.050972677767276764,
0.06374377012252808,
0.017388049513101578,
-0.027738966047763824,
-0.016010411083698273,
0.014446603134274483,
-0.04021219164133072,
-0.019975779578089714,
0.02740386500954628,
-0.052908819168806076,
-0.00008915680518839508,
0.020981084555387497,
0.0011524935252964497,
-0.04981843754649162,
0.014158043079078197,
-0.03261655569076538,
0.015302973799407482,
-0.03313782438635826,
-0.08102012425661087,
-0.050041839480400085,
-0.012277750298380852,
0.0072419182397425175,
-0.0022956787142902613,
-0.0451270155608654,
0.018039636313915253,
-0.008666099980473518,
-0.004246947355568409,
0.0173508170992136,
-0.00003107034717686474,
-0.06285016983747482,
0.003681463422253728,
0.010350916534662247,
0.03969092294573784,
0.02042258158326149,
-0.03068041428923607,
0.04240896925330162,
0.010341607965528965,
0.013487840071320534,
-0.024108698591589928,
0.016866780817508698,
-0.02911660633981228,
0.0507492758333683,
0.063632071018219,
0.01978961192071438,
0.005464017856866121,
-0.0429302379488945,
0.03125753253698349,
0.006953358184546232,
-0.0229730773717165,
-0.018086178228259087,
0.03669362515211105,
0.013869483023881912,
-0.05261095240712166,
0.02088800072669983,
-0.07446702569723129,
0.018263038247823715,
0.026491643860936165,
0.005296467337757349,
0.04043559357523918,
0.01763937622308731,
-0.029060756787657738,
0.007888850755989552,
-0.02500230260193348,
-0.06854689866304398,
-0.053839657455682755,
0.055924735963344574,
0.005780502688139677,
0.006045791320502758,
0.05205244943499565,
-0.014223202131688595,
0.06258953362703323,
0.023680513724684715,
-0.011840256862342358,
-0.00840081088244915,
-0.025858674198389053,
-0.03226283937692642,
0.05320668965578079,
-0.03808988258242607,
-0.0007900485652498901,
-0.05570133402943611,
-0.012873486615717411,
-0.012771095149219036,
-0.011467921547591686,
-0.017713842913508415,
-0.01005304791033268,
-0.033789411187171936,
-0.013031729497015476,
0.0031625214032828808,
0.035297371447086334,
0.0816158577799797,
-0.04479191452264786,
0.03391972929239273,
-0.01923110894858837,
-0.05506836622953415,
-0.012398759834468365,
-0.12711520493030548,
-0.005543139297515154,
0.008303073234856129,
0.0358000211417675,
-0.012901412323117256,
-0.028800122439861298,
0.02250765822827816,
-0.0043237414211034775,
-0.0928603783249855,
0.01049985084682703,
-0.014809629879891872,
-0.03481333330273628,
-0.01651306264102459,
0.033584628254175186,
-0.08690302073955536,
0.019864078611135483,
0.014009108766913414,
-0.02360604703426361,
0.014846863225102425,
-0.010490542277693748,
-0.07100430876016617,
0.009094285778701305,
0.02943309210240841,
-0.0927114486694336,
-0.010341607965528965,
-0.04158983379602432,
0.007200030609965324,
-0.018402663990855217,
-0.034050047397613525,
-0.025337405502796173,
0.050823744386434555,
-0.012063657864928246,
-0.023848064243793488,
-0.03976539149880409,
0.01370193250477314,
0.0027040839195251465,
0.02031088061630726,
0.030494246631860733,
-0.05469603091478348,
-0.046020619571208954,
-0.056967273354530334,
-0.005854969844222069,
-0.07469042390584946,
-0.008749875240027905,
-0.025616656988859177,
0.06854689866304398,
-0.051345013082027435,
0.010257832705974579,
0.06929156929254532,
0.011318988166749477,
0.05908958241343498,
-0.024871986359357834,
0.017685918137431145,
0.0004244038718752563,
-0.02265659160912037,
-0.016671305522322655,
-0.00222353870049119,
0.00024928999482654035,
-0.04475468024611473,
-0.03317505866289139,
-0.045201484113931656,
0.014884096570312977,
0.01949174329638481,
-0.06065339222550392,
0.022209789603948593,
0.04858973249793053,
-0.0066182566806674,
-0.03827605023980141,
-0.014949255622923374,
0.006408818066120148,
-0.0005817736382596195,
-0.01468862034380436,
-0.04106856510043144,
0.026175159960985184,
0.0008976766839623451,
0.013841558247804642,
-0.023326795548200607,
0.058531079441308975,
-0.017155339941382408,
-0.0195475947111845,
0.048217397183179855,
-0.015917327255010605,
-0.004011910874396563,
-0.03252347186207771,
0.04151536524295807,
0.04564828425645828,
0.008661446161568165,
-0.00777714978903532,
0.040510062128305435,
-0.12167911976575851,
-0.02876288816332817,
-0.017946552485227585,
0.010825643315911293,
0.01490271370857954,
0.026659194380044937,
-0.017360124737024307,
-0.0037698931992053986,
0.026454409584403038,
0.012277750298380852,
0.02031088061630726,
0.029265539720654488,
0.003383595496416092,
0.023773597553372383,
-0.052908819168806076,
0.050041839480400085,
-0.017974477261304855,
-0.010071665048599243,
0.032486237585544586,
0.045350417494773865,
-0.015005105175077915,
0.047435496002435684,
-0.009913422167301178,
-0.0331936776638031,
0.005091683007776737,
0.08236052840948105,
-0.02401561476290226,
-0.07308938354253769,
-0.0011158417910337448,
-0.009522470645606518,
0.0666479840874672,
-0.04918546974658966,
0.0325048565864563,
-0.0006504229386337101,
0.05529176443815231,
-0.01799309439957142,
-0.06422781199216843,
0.0035488191060721874,
-0.028409169986844063,
0.016354819759726524,
-0.05246201902627945,
-0.029265539720654488,
-0.038834553211927414,
0.00678580766543746,
-0.04825463145971298,
0.0032462968956679106,
-0.09822200238704681,
-0.010369532741606236,
0.042073868215084076,
-0.04710039123892784,
0.023848064243793488,
0.02604484185576439,
0.02500230260193348,
-0.047807831317186356,
0.026975680142641068,
-0.029824042692780495,
-0.02047843113541603,
-0.0571906752884388,
0.05194075033068657,
-0.024760285392403603,
0.016689922660589218,
-0.008721950463950634,
0.015917327255010605,
0.000003054311491723638,
0.013878791593015194,
-0.048329100012779236,
0.02557942271232605,
-0.03395696356892586,
-0.05287158861756325,
0.01041607465595007,
0.06813732534646988,
0.013255130499601364,
0.029712343588471413,
0.03574417158961296,
0.010713943280279636,
0.05268542096018791,
-0.022116705775260925,
0.0006038810242898762,
-0.019100790843367577,
-0.009494545869529247,
-0.03345431014895439,
0.025560805574059486,
0.02401561476290226,
-0.052908819168806076,
0.02896767295897007,
-0.019677910953760147,
-0.007944700308144093,
0.0006248248973861337,
-0.03310059383511543,
0.03969092294573784,
-0.016671305522322655,
0.01250115130096674,
0.01284556183964014,
-0.0025528226979076862,
-0.042520672082901,
-0.009876188822090626,
-0.07219578325748444,
0.020385347306728363,
0.028725653886795044,
-0.004114303272217512,
0.01346922293305397,
0.02152097038924694,
-0.010080973617732525,
0.038313284516334534,
0.02719908021390438,
0.039355821907520294,
-0.02948894165456295,
-0.04047282785177231,
-0.03324952721595764,
-0.04527595266699791,
0.004340031184256077,
0.055775802582502365,
0.041962169110774994,
-0.001719722873531282,
0.02239595726132393,
0.005482634529471397,
0.008135522715747356,
-0.03501811996102333,
-0.03371494635939598,
-0.028818737715482712,
-0.02584005706012249,
0.04628125578165054,
-0.022321490570902824,
-0.08295626193284988,
0.034515466541051865,
0.006813732907176018,
-0.019100790843367577,
0.07230748236179352,
-0.016587529331445694,
0.011067661456763744,
0.04084516316652298,
-0.028111301362514496,
0.044680215418338776,
-0.009443349204957485,
-0.029619259759783745,
0.003846687264740467,
0.050302475690841675,
-0.008340306580066681,
-0.007446702569723129,
-0.03116445057094097,
0.012212592177093029,
-0.01237083412706852,
0.04654189199209213,
0.03220698982477188,
0.05428646132349968,
-0.06143529340624809,
-0.034310679882764816,
0.030754880979657173,
0.022954460233449936,
-0.05205244943499565,
0.033938344568014145,
0.008614904247224331,
0.053355623036623,
0.02500230260193348,
-0.014707237482070923,
0.0373079776763916,
0.0034836605191230774,
-0.06683415174484253,
0.0031997549813240767,
-0.03380803018808365,
-0.030345313251018524,
0.03916965425014496,
-0.009080322459340096,
0.02917245775461197,
0.05048864334821701,
-0.06735542416572571,
-0.0006003903690725565,
-0.021856071427464485,
0.062440600246191025,
0.004365629516541958,
0.02021779678761959,
-0.08317966759204865,
-0.005291813053190708,
0.04687699303030968,
0.053355623036623,
-0.028837354853749275,
0.004789160564541817,
0.010453308932483196,
0.06605225056409836,
0.012417376041412354,
-0.034366533160209656,
0.004966019652783871,
0.014753779396414757,
0.005752577446401119,
0.0525364875793457,
-0.02265659160912037,
0.06072785705327988,
-0.02986127696931362,
0.043786611407995224,
-0.025914523750543594,
-0.012035733088850975,
-0.0006736938375979662,
-0.021688520908355713,
-0.018300270661711693,
-0.005552447400987148,
0.045350417494773865,
-0.01393464207649231,
0.004125938750803471,
-0.038015417754650116,
0.04974397271871567,
0.05007907375693321,
0.008740566670894623,
-0.0003798981779254973,
-0.044940847903490067,
-0.04017496109008789,
-0.023475728929042816,
0.024760285392403603,
-0.038052648305892944,
0.04527595266699791,
0.020255031064152718,
0.012035733088850975,
-0.00969002116471529,
-0.035762786865234375,
0.006376239005476236,
0.052387550473213196,
0.05685557425022125,
0.024145932868123055,
-0.007604944985359907,
-0.013711241073906422,
0.0078190378844738,
0.01112351194024086,
0.021334802731871605,
-0.005920128431171179,
-0.024183165282011032,
-0.03719627857208252,
-0.022489041090011597,
0.08548814058303833,
-0.02235872484743595,
0.09137103706598282,
0.021893305703997612,
0.01445591077208519
]
|
31,549 | laspy.header | read_evlrs |
Reads EVLRs from the stream and sets them in the
data property.
The evlrs are accessed from the `evlrs` property
Does nothing if either of these is true:
- The file does not support EVLRS (version < 1.4)
- The file has no EVLRS
- The stream does not support seeking
Leaves/restores the stream position to where it was before the call
| def read_evlrs(self, stream):
"""
Reads EVLRs from the stream and sets them in the
data property.
The evlrs are accessed from the `evlrs` property
Does nothing if either of these is true:
- The file does not support EVLRS (version < 1.4)
- The file has no EVLRS
- The stream does not support seeking
Leaves/restores the stream position to where it was before the call
"""
if self.version.minor >= 4:
if self.number_of_evlrs > 0 and stream.seekable():
saved_pos = stream.tell()
stream.seek(self.start_of_first_evlr, io.SEEK_SET)
self.evlrs = VLRList.read_from(
stream, self.number_of_evlrs, extended=True
)
stream.seek(saved_pos)
elif self.number_of_evlrs > 0 and not stream.seekable():
self.evlrs = None
else:
self.evlrs = VLRList()
else:
self.evlrs = None
| (self, stream) | [
0.056363437324762344,
-0.03174741938710213,
-0.10403887182474136,
0.04014582559466362,
-0.005945853888988495,
-0.018932612612843513,
-0.009629206731915474,
0.00397974019870162,
0.03927702456712723,
0.014679109677672386,
-0.013375909067690372,
-0.03967522457242012,
0.009231005795300007,
0.030444219708442688,
0.011511608026921749,
0.07775764912366867,
-0.038408227264881134,
0.017240261659026146,
-0.025683917105197906,
0.0030430646147578955,
-0.04644463211297989,
0.005678878631442785,
-0.05191083624958992,
0.014289959333837032,
0.012787658721208572,
0.09245485812425613,
0.015204010531306267,
0.005081578157842159,
-0.007068054750561714,
-0.005941329058259726,
-0.01130345743149519,
-0.02148471400141716,
-0.0011866820277646184,
-0.031349219381809235,
-0.02278791554272175,
0.020760713145136833,
0.0029955520294606686,
-0.028996219858527184,
-0.054481036961078644,
0.1119304746389389,
-0.02114081382751465,
0.02242591418325901,
0.03480632230639458,
0.003968427423387766,
-0.04561202973127365,
0.014027508907020092,
-0.03415472432971001,
-0.011158657260239124,
0.04191962629556656,
0.008787555620074272,
0.026570817455649376,
0.08029165118932724,
0.006868954747915268,
-0.03308682143688202,
-0.009819256141781807,
0.010271756909787655,
-0.04286082834005356,
0.09383045881986618,
-0.025883017107844353,
0.02859801985323429,
-0.019258413463830948,
-0.029883120208978653,
0.03515022248029709,
-0.006647229194641113,
0.007606530096381903,
-0.02231731452047825,
0.011448257602751255,
-0.06092464178800583,
-0.055241238325834274,
0.03402802348136902,
-0.02877901867032051,
0.004423190373927355,
-0.044996630400419235,
-0.004457127768546343,
-0.01954801380634308,
0.05491543561220169,
-0.08955886214971542,
0.05057143419981003,
-0.013430208899080753,
-0.017991412431001663,
0.05820963904261589,
0.06668044626712799,
0.056942638009786606,
0.017991412431001663,
0.03862542659044266,
-0.027439618483185768,
0.04803743213415146,
0.005434528458863497,
0.018253862857818604,
0.06660804152488708,
-0.0068780044093728065,
0.04713243246078491,
-0.04720482975244522,
-0.02678801864385605,
0.03808242455124855,
-0.04760303348302841,
-0.012660958804190159,
-0.010832857340574265,
-0.02631741762161255,
-0.01450715959072113,
-0.029104819521307945,
0.04054402559995651,
-0.04785643145442009,
-0.006362154148519039,
-0.012407558038830757,
-0.012887208722531796,
-0.009629206731915474,
0.009629206731915474,
0.03560272231698036,
0.01913171261548996,
-0.00895045604556799,
0.010235556401312351,
-0.017738012596964836,
0.09050005674362183,
-0.05915084108710289,
0.009611106477677822,
0.03042612038552761,
0.03429952263832092,
-0.017855660989880562,
-0.03531312197446823,
0.04032682627439499,
0.031928420066833496,
-0.06103324145078659,
0.07536844909191132,
0.009737806394696236,
-0.038046225905418396,
0.027276718989014626,
0.0063983541913330555,
0.04984743148088455,
-0.027403417974710464,
0.0307881198823452,
-0.015004909597337246,
-0.008031880483031273,
-0.02984691970050335,
-0.0007030723500065506,
-0.043222829699516296,
0.028561819344758987,
0.0061042290180921555,
-0.04191962629556656,
-0.048580434173345566,
0.005914179142564535,
0.032344721257686615,
0.0305528212338686,
-0.027946418151259422,
-0.05940423905849457,
0.053177833557128906,
-0.008185730315744877,
0.006457179319113493,
-0.01651626080274582,
0.0329420231282711,
0.021050313487648964,
-0.026444118469953537,
-0.04271603003144264,
0.03826342523097992,
0.0345529243350029,
-0.024326415732502937,
-0.025104716420173645,
-0.06649944186210632,
-0.028055017814040184,
0.007891605608165264,
-0.05886124074459076,
0.02702331729233265,
0.005262578371912241,
-0.031095821410417557,
-0.013937009498476982,
0.005543128587305546,
-0.06548584252595901,
-0.0521642342209816,
0.014543360099196434,
0.021448513492941856,
0.020054813474416733,
0.041123226284980774,
-0.028887618333101273,
0.021738113835453987,
0.03632672503590584,
0.04014582559466362,
0.0026312891859561205,
0.03583802282810211,
0.0012115695280954242,
0.0012296695495024323,
-0.03167502209544182,
-0.004932253155857325,
0.01834436133503914,
-0.008371255360543728,
0.022679315879940987,
0.08123285323381424,
-0.03538552299141884,
-0.011249157600104809,
0.0043440028093755245,
-0.01827196218073368,
-0.036055222153663635,
-0.026281217113137245,
-0.03002792038023472,
0.004441290628165007,
-0.01221750769764185,
0.010335107333958149,
-0.012796708382666111,
0.030679520219564438,
-0.048471830785274506,
-0.0030430646147578955,
-0.011421107687056065,
0.04999223351478577,
-0.023403314873576164,
-0.025321917608380318,
-0.11301647871732712,
0.03301442041993141,
0.006728679407387972,
0.0031991770956665277,
-0.021339913830161095,
0.06490664184093475,
-0.027168117463588715,
0.01745746098458767,
-0.01253425795584917,
-0.00803640577942133,
0.048290833830833435,
-0.03335832059383392,
-0.07457204908132553,
-0.021213214844465256,
-0.01359310932457447,
0.02514091692864895,
0.06258983910083771,
-0.023403314873576164,
-0.07250864803791046,
-0.03178362175822258,
0.007095204666256905,
0.02213631384074688,
-0.005153978243470192,
-0.03612762317061424,
-0.017973311245441437,
0.05469823628664017,
0.03191032260656357,
0.04966643452644348,
0.01740316115319729,
0.011955058202147484,
0.05896984040737152,
0.09071726351976395,
-0.007602005265653133,
0.06573924422264099,
-0.07848165184259415,
0.010588507167994976,
-0.001362025854177773,
-0.016507210209965706,
0.002875639358535409,
-0.010923357680439949,
-0.020851213485002518,
-0.028978118672966957,
0.062119241803884506,
0.048109833151102066,
-0.06277084350585938,
-0.024163516238331795,
0.045177631080150604,
-0.0012104383204132318,
0.023294715210795403,
0.002859801985323429,
0.0004154518246650696,
-0.052526235580444336,
0.0016946136020123959,
-0.00903190579265356,
0.05292443558573723,
-0.06429124623537064,
0.03330402076244354,
-0.014887260273098946,
0.026407917961478233,
0.03230852261185646,
-0.012633807957172394,
0.03927702456712723,
0.027095718309283257,
-0.014923459850251675,
0.02577441744506359,
0.037467025220394135,
0.04144902899861336,
-0.015439310111105442,
-0.051186833530664444,
0.028109319508075714,
0.04535863175988197,
-0.020235814154148102,
0.013937009498476982,
-0.009656356647610664,
0.06396543979644775,
0.045756831765174866,
0.022751715034246445,
0.06411024183034897,
0.00986450631171465,
0.0662822425365448,
0.04372962936758995,
-0.08036405593156815,
-0.033104922622442245,
-0.04126802831888199,
-0.03312302380800247,
-0.03413662314414978,
0.03096912056207657,
-0.018498212099075317,
-0.0054300036281347275,
-0.044236429035663605,
0.08224645256996155,
0.043693430721759796,
0.011412058025598526,
-0.03978382796049118,
0.04669803008437157,
0.011647357605397701,
-0.011936957947909832,
0.008294330909848213,
0.06707864254713058,
0.01800951175391674,
-0.040290627628564835,
-0.06664424389600754,
0.022263014689087868,
-0.04409163072705269,
-0.013086308725178242,
-0.03553032502532005,
-0.007479830179363489,
0.05115063488483429,
0.0030996270943433046,
-0.03786522522568703,
0.006932304706424475,
0.04767543077468872,
-0.00750698009505868,
0.09412006288766861,
0.005737703759223223,
-0.02229921519756317,
-0.045756831765174866,
0.035457924008369446,
0.04459843039512634,
-0.03203701972961426,
0.03688782453536987,
-0.015765110030770302,
0.040001027286052704,
-0.0005331019056029618,
0.0007432317361235619,
0.02530381642282009,
-0.029267719015479088,
-0.0644722431898117,
-0.02124941349029541,
0.06827324628829956,
0.0006640441715717316,
-0.0272586178034544,
0.011203907430171967,
0.012823858298361301,
0.037648025900125504,
-0.03256192058324814,
0.02600971795618534,
-0.02796451933681965,
-0.014787710271775723,
-0.006108753848820925,
0.02642601728439331,
-0.018462011590600014,
0.041992027312517166,
-0.02830841951072216,
0.010588507167994976,
0.025213316082954407,
-0.003194652032107115,
-0.02278791554272175,
-0.056653037667274475,
0.018787812441587448,
-0.005583853926509619,
-0.029213419184088707,
-0.037937626242637634,
-0.033104922622442245,
0.051766034215688705,
0.002328114118427038,
-0.03724982589483261,
0.04474322870373726,
-0.04492422938346863,
0.012887208722531796,
-0.044888030737638474,
-0.02553911693394184,
-0.028326518833637238,
0.001881269970908761,
0.051585033535957336,
0.04289702698588371,
-0.07659924775362015,
-0.014651959761977196,
-0.009090730920433998,
-0.030046019703149796,
0.05115063488483429,
-0.052055634558200836,
0.017810411751270294,
0.0036222648341208696,
0.0060951788909733295,
-0.02266121469438076,
-0.02248021587729454,
0.05238143354654312,
-0.020760713145136833,
-0.014489059336483479,
0.005022753495723009,
0.008719680830836296,
-0.01947561278939247,
0.021629514172673225,
0.038806427270174026,
0.05857164040207863,
-0.00865180604159832,
0.0615762397646904,
0.03467962145805359,
-0.01677871122956276,
-0.009728756733238697,
0.048761431127786636,
-0.02673371694982052,
0.027385318651795387,
0.04778403043746948,
-0.043584827333688736,
-0.026679417118430138,
0.05296063423156738,
-0.09375806152820587,
0.05013703182339668,
0.006497904192656279,
-0.005945853888988495,
0.08347725868225098,
-0.04590163007378578,
-0.012733358889818192,
-0.018100012093782425,
0.04485182836651802,
-0.005443578585982323,
-0.004009152762591839,
-0.06222784146666527,
-0.003789690090343356,
0.03942182660102844,
-0.027711117640137672,
-0.01730361208319664,
0.06067124009132385,
0.035711321979761124,
0.0012998071033507586,
0.04249882698059082,
-0.023928215727210045,
0.026208817958831787,
0.0027398893143981695,
-0.024217816069722176,
0.018253862857818604,
0.026353618130087852,
-0.02383771538734436,
0.027946418151259422,
0.04115942865610123,
0.05766663700342178,
-0.02190101519227028,
-0.048001233488321304,
-0.024000616744160652,
-0.06472564488649368,
-0.04731343314051628,
-0.009982156567275524,
-0.023294715210795403,
-0.0028733769431710243,
0.03927702456712723,
0.04144902899861336,
0.04532242938876152,
0.00737123005092144,
0.020615912973880768,
-0.004801028408110142,
-0.0474582314491272,
0.018100012093782425,
-0.011167707853019238,
-0.07551325112581253,
-0.07464444637298584,
-0.03504162281751633,
0.003416377352550626,
0.007954955101013184,
-0.010869056917726994,
-0.039530426263809204,
0.0015339760575443506,
-0.006954929791390896,
0.0033236145973205566,
-0.05136783421039581,
-0.010887157171964645,
-0.011810258030891418,
-0.007244529668241739,
-0.07116924971342087,
-0.0213761143386364,
-0.0036132149398326874,
0.00908168125897646,
-0.010280806571245193,
-0.030009819194674492,
-0.02271551452577114,
0.041702426970005035,
-0.017185961827635765,
0.030860520899295807,
-0.030697619542479515,
0.007692505139857531,
0.009674455970525742,
0.0020916827488690615,
-0.023222316056489944,
0.03042612038552761,
-0.015828460454940796,
-0.03565702214837074,
-0.06657184660434723,
0.03661632537841797,
0.010217457078397274,
-0.015430260449647903,
-0.025466717779636383,
-0.024181615561246872,
-0.031005321070551872,
-0.009502505883574486,
-0.007823729887604713,
0.01133060734719038,
0.002491014078259468,
-0.04579303041100502,
0.034589122980833054,
0.014172309078276157,
-0.02713191881775856,
0.04796503111720085,
0.011584008112549782,
0.060019638389348984,
0.02877901867032051,
0.010588507167994976,
-0.056001435965299606,
0.01787376217544079,
-0.009973106905817986,
0.04669803008437157,
0.03967522457242012,
-0.019403213635087013,
0.00216295151039958,
0.018679212778806686,
-0.017376011237502098,
0.010045506991446018,
0.017140710726380348,
0.04539483040571213,
0.0005319706397131085,
-0.02190101519227028,
0.0004838925087824464,
0.0001093778046197258,
0.11345087736845016,
-0.025032317265868187,
0.06353104114532471,
0.009475355967879295,
-0.010317007079720497,
0.05668923631310463,
-0.026118317618966103,
-0.03668872267007828,
-0.04398303106427193,
-0.0789884552359581,
-0.05339503660798073,
0.023204214870929718,
0.005457153543829918,
0.01691446080803871,
-0.048580434173345566,
-0.0072581046260893345,
-0.0780472531914711,
0.0106880571693182,
0.026914717629551888,
0.04477943107485771,
-0.016525311395525932,
-0.05773903802037239,
-0.0364353246986866,
0.024851316586136818,
-0.024344516918063164,
0.015964210033416748,
0.011113407090306282,
0.0008376911864615977,
-0.025032317265868187,
0.009285306558012962,
-0.027874018996953964,
0.06896104663610458,
-0.03688782453536987,
0.047820232808589935,
-0.024181615561246872,
0.05658063665032387,
-0.032163720577955246,
-0.014335209503769875,
-0.06660804152488708,
0.011602107435464859,
-0.020815012976527214,
-0.008665380999445915,
-0.0394580252468586,
-0.0049413032829761505,
0.04253502935171127,
-0.04115942865610123,
0.009099781513214111,
-0.005914179142564535,
-0.0017681448953226209,
0.0007845223881304264,
-0.0022263014689087868,
0.02695091813802719,
-0.0015848822658881545,
0.026878517121076584,
0.05603763833642006,
-0.010407506488263607,
-0.015674609690904617,
0.044996630400419235,
-0.0034390022046864033,
-0.02483321726322174,
0.04003722593188286,
0.00930340588092804,
-0.06342244148254395,
0.01827196218073368,
-0.07790245115756989,
0.0012127008521929383,
-0.11533327400684357,
0.008755880407989025,
0.005674353800714016,
0.010633757337927818,
0.06197443976998329,
-0.02200961485505104,
0.06338623911142349,
-0.018552511930465698,
-0.06277084350585938,
-0.025738216936588287,
-0.04068882763385773,
0.004590615630149841,
-0.012253708206117153,
0.03272482007741928,
-0.005267103668302298,
-0.03862542659044266,
0.05531363561749458,
-0.07978485524654388,
0.03272482007741928,
0.0009366756421513855,
-0.05860783904790878,
-0.024742716923356056,
-0.058535438030958176,
-0.01918601244688034,
0.01618141122162342,
0.0025407890789210796,
0.06414644420146942,
0.025864917784929276,
0.04586543142795563,
0.0002457642403896898,
-0.008606555871665478,
0.06331384181976318,
0.00913598109036684,
-0.01044370699673891,
0.02713191881775856,
0.015412160195410252,
0.015909910202026367,
0.02342141605913639,
0.02901431918144226,
0.007624629884958267,
-0.01848011277616024,
-0.08231885731220245,
-0.02543051727116108,
0.011439207941293716,
0.013222059234976768,
-0.0034706774167716503,
-0.0446346290409565,
0.027747318148612976,
-0.02054351381957531,
0.03429952263832092,
-0.01994621381163597,
-0.004837227985262871,
0.006855379790067673,
0.003429952310398221,
-0.026498418301343918,
0.039168424904346466,
0.05951283872127533,
0.0253762174397707,
-0.011403007432818413,
-0.006348579190671444,
-0.04691522940993309,
-0.009013805538415909,
0.05744943767786026,
0.014570510014891624,
0.003932227846235037,
0.05089723318815231,
0.030570920556783676,
0.041123226284980774,
0.0022138578351587057,
-0.008199305273592472,
0.010262707248330116,
-0.013086308725178242,
0.010778557509183884,
0.052888236939907074,
-0.018407711759209633,
0.030643319711089134,
-0.005850828718394041,
-0.01677871122956276,
-0.023005114868283272,
0.03185602277517319,
-0.038046225905418396,
0.07308784872293472,
0.010461807250976562,
-0.012371358461678028,
0.11352327466011047,
0.015665560960769653,
0.013077259063720703,
-0.028398917987942696,
0.008217405527830124,
0.025448616594076157,
0.05563943833112717,
0.017466511577367783,
-0.060526441782712936,
-0.025828717276453972,
-0.032109420746564865,
0.051947034895420074,
0.013620259240269661,
-0.045467231422662735,
0.07869885116815567,
-0.024760816246271133,
-0.04242642968893051,
-0.05480683594942093,
0.00579652888700366,
0.0008863349794410169,
0.025864917784929276,
0.05031803250312805,
-0.06175724044442177,
-0.02577441744506359,
-0.00881923083215952,
0.0060182539746165276,
0.014027508907020092,
-0.049123432487249374,
-0.04850803315639496,
-0.007674404885619879,
-0.012670008465647697,
-0.032055120915174484,
-0.009955006651580334,
0.02224491536617279,
0.0021720014046877623,
0.002608664333820343,
0.01738506183028221,
-0.029629720374941826,
-0.03507782518863678,
-0.060128241777420044,
-0.022335415706038475,
-0.05578423663973808,
-0.008108804933726788,
0.007190229836851358,
0.02577441744506359,
-0.0036132149398326874,
-0.06436364352703094,
0.04267982766032219,
0.026444118469953537,
0.011936957947909832,
-0.0055069285444915295,
-0.022100115194916725,
-0.004269340541213751,
-0.01600041054189205,
0.01924031227827072,
0.0019299137638881803,
0.05719603970646858,
-0.031566422432661057,
-0.007873505353927612,
-0.04984743148088455,
0.039639025926589966,
-0.02930391952395439,
0.03531312197446823,
0.02454361692070961,
-0.0006414192030206323,
-0.016109010204672813,
-0.017231211066246033,
-0.0112763075158,
-0.027928318828344345,
-0.01300485897809267,
0.040109626948833466,
0.010108856484293938,
-0.028652319684624672,
0.001798688666895032,
-0.025828717276453972,
-0.06896104663610458,
-0.02219061553478241,
-0.018407711759209633,
0.011149607598781586,
0.04300563037395477,
0.013846509158611298,
-0.01949371211230755,
0.008918780833482742,
0.03971142694354057,
-0.027095718309283257,
0.012995808385312557,
0.04220922663807869,
0.010244606994092464,
-0.047820232808589935,
-0.0018790075555443764,
-0.02025391347706318,
0.020615912973880768,
0.008887105621397495,
-0.04380203038454056,
-0.014733409509062767,
-0.027439618483185768,
0.08427365869283676,
-0.009755906648933887,
0.02948492020368576,
-0.06997464597225189,
0.006172104272991419
]
|
31,550 | laspy.header | remove_extra_dim | null | def remove_extra_dim(self, name: str) -> None:
self.remove_extra_dims([name])
| (self, name: str) -> NoneType | [
-0.028169099241495132,
0.019286368042230606,
-0.023282788693904877,
0.034916091710329056,
0.0026029315777122974,
0.021130869165062904,
-0.02491695247590542,
0.011406786739826202,
0.09093069285154343,
-0.0017059617675840855,
0.021745704114437103,
-0.02880011312663555,
-0.022311998531222343,
-0.022797392681241035,
0.008607674390077591,
-0.02721448987722397,
0.08892439305782318,
0.03701947256922722,
0.011730383150279522,
0.014529495500028133,
-0.007175758481025696,
-0.014723652973771095,
-0.007240477949380875,
-0.014521405100822449,
0.01499062031507492,
0.03760194405913353,
0.04032015800476074,
-0.0024128183722496033,
0.007600479293614626,
-0.06983218342065811,
-0.10956986993551254,
-0.040611397475004196,
-0.006981600541621447,
0.051160652190446854,
-0.03747250512242317,
0.004348331596702337,
-0.02532144822180271,
0.0015755117638036609,
-0.0033451816998422146,
0.007592389360070229,
0.034916091710329056,
0.0150148905813694,
0.02716594934463501,
-0.032715633511543274,
0.03866981342434883,
-0.013178478926420212,
0.04378264397382736,
0.013995560817420483,
-0.07934592664241791,
0.05999484285712242,
0.02546706609427929,
-0.00006863791350042447,
0.03121090866625309,
0.06685509532690048,
-0.008308347314596176,
-0.03179338201880455,
0.027505725622177124,
0.04096735268831253,
0.034430697560310364,
-0.03915521129965782,
-0.020613115280866623,
0.030337197706103325,
0.018849512562155724,
-0.022910652682185173,
-0.021098509430885315,
0.013995560817420483,
0.006678228732198477,
0.05190492421388626,
-0.05148424580693245,
-0.015993770211935043,
-0.009044529870152473,
-0.00575597770512104,
0.013518255203962326,
-0.004473725333809853,
-0.01902749016880989,
-0.024609534069895744,
0.01469938363879919,
-0.03989948332309723,
0.011487686075270176,
-0.022894471883773804,
0.013720503076910973,
0.03064461424946785,
-0.009044529870152473,
0.054073020815849304,
0.013769042678177357,
0.010719142854213715,
-0.0323273167014122,
0.021001430228352547,
-0.006564969662576914,
-0.07339175045490265,
0.04433275759220123,
0.02258705534040928,
-0.028605954721570015,
0.022667953744530678,
0.03989948332309723,
-0.009060709737241268,
0.003258215030655265,
-0.014141179621219635,
0.03737542778253555,
-0.017118269577622414,
-0.013647694140672684,
-0.04268241673707962,
-0.02779696322977543,
0.0038851837161928415,
-0.008203178644180298,
0.010427906177937984,
0.025256728753447533,
-0.04692153260111809,
-0.03226259723305702,
0.051063571125268936,
-0.007475085556507111,
0.030175399035215378,
-0.01912456937134266,
0.005650808569043875,
0.03747250512242317,
0.01073532272130251,
-0.01101846992969513,
-0.03426889702677727,
-0.003424058435484767,
0.05018986016511917,
-0.024690434336662292,
0.016907932236790657,
-0.0009910151129588485,
-0.03821678087115288,
-0.019836481660604477,
0.03226259723305702,
0.0056912582367658615,
0.026195159181952477,
0.000011123639524157625,
-0.05394358187913895,
-0.005306987091898918,
-0.049348507076501846,
-0.06750229001045227,
-0.027942581102252007,
0.018914232030510902,
0.0019800078589469194,
0.06944386661052704,
-0.0484100766479969,
0.027538085356354713,
-0.002234840299934149,
-0.0416792668402195,
0.056338198482990265,
-0.0224414374679327,
0.0379902608692646,
-0.03388058394193649,
-0.02433447726070881,
-0.014602304436266422,
-0.033783502876758575,
0.0008342729415744543,
-0.03001360036432743,
-0.09824398159980774,
0.036113400012254715,
-0.051678404211997986,
-0.05426717922091484,
0.014869271777570248,
0.032618556171655655,
0.008858461864292622,
-0.0369223915040493,
-0.016309278085827827,
-0.016924111172556877,
-0.048280637711286545,
-0.04578894376754761,
-0.0050561996176838875,
-0.05426717922091484,
-0.06018900126218796,
-0.05048109591007233,
0.0507076159119606,
-0.020062999799847603,
-0.05938000977039337,
0.07280927151441574,
0.036016322672367096,
0.025742122903466225,
0.04083791375160217,
-0.014311067759990692,
-0.0517754852771759,
0.07908705621957779,
-0.024641893804073334,
-0.006237328052520752,
-0.00013120837684255093,
-0.022765032947063446,
0.00679957726970315,
-0.013574885204434395,
-0.01734478771686554,
-0.028023481369018555,
0.029172249138355255,
-0.05999484285712242,
-0.027505725622177124,
0.025677403435111046,
0.010347006842494011,
0.029641464352607727,
0.04051431640982628,
0.036663513630628586,
0.03161540627479553,
0.041290950030088425,
0.04481815546751022,
0.013138028793036938,
0.03420418128371239,
0.020386597141623497,
0.040190719068050385,
-0.08025199919939041,
-0.0150148905813694,
0.024140318855643272,
-0.003233945230022073,
0.031566865742206573,
0.009141609072685242,
0.01617174968123436,
0.0031267539598047733,
-0.028686854988336563,
0.00044241748400963843,
0.02253851480782032,
0.03179338201880455,
0.01850973628461361,
0.0897657498717308,
-0.03591924160718918,
0.06808476150035858,
-0.020952891558408737,
-0.04866895452141762,
0.024091780185699463,
0.08322909474372864,
0.003941813483834267,
-0.054073020815849304,
0.018881872296333313,
0.04637141898274422,
0.03870217502117157,
-0.03588688373565674,
-0.005658898502588272,
0.022085480391979218,
-0.0021863006986677647,
0.06248653680086136,
-0.009384306147694588,
0.019512886181473732,
-0.017215348780155182,
-0.029010450467467308,
-0.06549599021673203,
0.0061806985177099705,
0.05789146199822426,
-0.010816222056746483,
-0.07365062832832336,
0.07067353278398514,
-0.044106241315603256,
-0.029673824086785316,
0.005893506109714508,
-0.013146119192242622,
0.04847479611635208,
-0.01327555812895298,
0.006633733864873648,
0.0020952890627086163,
0.0335569866001606,
0.0013722525909543037,
0.013720503076910973,
-0.0010557344648987055,
-0.012288588099181652,
0.03501317277550697,
0.04672737419605255,
0.02132502757012844,
-0.006912836339324713,
-0.05158132687211037,
-0.02593628130853176,
-0.02071019448339939,
-0.029625285416841507,
-0.009133518673479557,
-0.014756012707948685,
0.01617174968123436,
0.0207587331533432,
0.0189951304346323,
0.01972322352230549,
0.02313716895878315,
0.005035975016653538,
-0.005849011708050966,
-0.03070933371782303,
-0.022247279062867165,
0.07313287258148193,
0.05035165697336197,
-0.008842281997203827,
-0.011754653416574001,
-0.02019243873655796,
0.013696233741939068,
0.041905783116817474,
-0.0033512490335851908,
0.03465721383690834,
0.009311497211456299,
-0.07371534407138824,
-0.014302977360785007,
0.057923823595047,
-0.045821305364370346,
-0.017522765323519707,
0.04041723906993866,
-0.05417010188102722,
-0.03345990553498268,
-0.01726388745009899,
-0.0196908637881279,
0.006447665859013796,
0.03064461424946785,
0.015427476726472378,
-0.02766752429306507,
-0.017102090641856194,
-0.05365234613418579,
0.05122537165880203,
-0.02193986065685749,
0.08290549367666245,
0.07041466236114502,
0.026405496522784233,
-0.05099885165691376,
0.005735753104090691,
0.04180870205163956,
-0.02423739805817604,
0.029058991000056267,
0.01901131123304367,
-0.0118355518206954,
0.026243697851896286,
-0.007155533879995346,
-0.027958761900663376,
-0.06578722596168518,
0.045303549617528915,
0.03507789224386215,
0.02302391082048416,
0.10225658118724823,
0.011455326341092587,
0.022247279062867165,
0.06520475447177887,
0.036081042140722275,
-0.06222765892744064,
-0.10859908163547516,
-0.027942581102252007,
-0.017490405589342117,
-0.02488459274172783,
0.011479595676064491,
-0.01529803778976202,
0.005909685976803303,
0.005460695829242468,
-0.030256299301981926,
-0.0312594473361969,
-0.030223939567804337,
-0.015524554997682571,
0.014327247627079487,
-0.042391177266836166,
0.005751932505518198,
0.005792382173240185,
-0.00018189678667113185,
0.003424058435484767,
-0.029042810201644897,
0.01611511968076229,
-0.034365978091955185,
0.014675114303827286,
0.05196964368224144,
0.002009333809837699,
0.011042740195989609,
-0.0010051724966615438,
0.022926831617951393,
0.01245847623795271,
0.04685681313276291,
-0.004736647941172123,
-0.04562714695930481,
0.010638244450092316,
0.08432932198047638,
0.06685509532690048,
-0.02475515380501747,
0.10076803714036942,
-0.02087199129164219,
-0.012240048497915268,
0.019496705383062363,
0.0027788872830569744,
0.04032015800476074,
-0.001599781564436853,
0.012612184509634972,
-0.047698166221380234,
0.015467925928533077,
-0.0050764246843755245,
0.005096649285405874,
-0.020645475015044212,
-0.04866895452141762,
-0.038378577679395676,
0.012167238630354404,
0.013631514273583889,
-0.04171162471175194,
0.02714977040886879,
-0.015467925928533077,
-0.0019183221738785505,
-0.026470215991139412,
0.005408111028373241,
-0.022263457998633385,
0.02723066881299019,
0.019383447244763374,
-0.03698711097240448,
0.0005723618087358773,
0.025014031678438187,
-0.06504295021295547,
-0.016317367553710938,
-0.026745272800326347,
-0.013801402412354946,
0.03536912798881531,
-0.031016750261187553,
-0.007123174145817757,
0.0427471362054348,
-0.022263457998633385,
-0.005901596043258905,
-0.10432760417461395,
-0.0034099009353667498,
-0.09170732647180557,
0.026389317587018013,
-0.017069730907678604,
-0.032133158296346664,
-0.003529227338731289,
0.04407387971878052,
-0.012668813578784466,
-0.02947966568171978,
-0.055723365396261215,
0.10989346355199814,
-0.015799611806869507,
0.034365978091955185,
0.037278350442647934,
0.03925228863954544,
0.012838701717555523,
0.018881872296333313,
0.04753636568784714,
0.03659879416227341,
0.06164518743753433,
-0.027602804824709892,
0.047633446753025055,
0.008223403245210648,
0.008243627846240997,
0.022959191352128983,
0.009125429205596447,
0.038993410766124725,
0.0026272013783454895,
0.012175329029560089,
-0.0726151168346405,
0.02033805660903454,
-0.012134878896176815,
-0.0016220288816839457,
-0.08225829899311066,
-0.03701947256922722,
0.017700742930173874,
-0.025612685829401016,
-0.031405068933963776,
-0.007325422018766403,
-0.0030559671577066183,
-0.00637485645711422,
-0.013971290551126003,
0.04142038896679878,
0.03169630467891693,
0.006273732520639896,
0.012701173312962055,
-0.054687853902578354,
0.010808132588863373,
0.01558118499815464,
-0.03863745555281639,
0.06242181733250618,
-0.004356421530246735,
-0.05501145124435425,
0.055205609649419785,
0.022295817732810974,
0.014084549620747566,
-0.06119215115904808,
0.05038401857018471,
-0.04112914949655533,
-0.0038568691816180944,
-0.053975943475961685,
-0.02085581235587597,
-0.007135308813303709,
-0.03598396107554436,
0.053490545600652695,
-0.07552748918533325,
-0.015807703137397766,
0.06070675700902939,
0.053911224007606506,
0.02423739805817604,
-0.038961052894592285,
-0.013971290551126003,
-0.0156701747328043,
0.045821305364370346,
-0.013833762146532536,
0.033848222345113754,
-0.03295833244919777,
0.019529065117239952,
-0.017716923728585243,
-0.007839132100343704,
0.044268038123846054,
0.07656300067901611,
0.041323307901620865,
0.004174398258328438,
-0.045303549617528915,
-0.015783432871103287,
-0.006014855112880468,
-0.007220252882689238,
0.056855954229831696,
-0.03977004438638687,
-0.02536998689174652,
0.026745272800326347,
0.031049109995365143,
-0.04837771877646446,
-0.0049631656147539616,
-0.01420589815825224,
-0.0017322540516033769,
0.03857273608446121,
-0.010330826975405216,
0.0030984391923993826,
-0.030952032655477524,
0.044170960783958435,
0.037763744592666626,
-0.01842883601784706,
-0.009182058274745941,
-0.04041723906993866,
-0.014578035101294518,
-0.0038973186165094376,
-0.009076889604330063,
-0.004574849270284176,
0.04465635493397713,
-0.025564145296812057,
-0.01533039752393961,
-0.07028522342443466,
-0.00036632167757488787,
-0.019173109903931618,
0.042520616203546524,
0.030385738238692284,
-0.021114690229296684,
-0.04048195853829384,
0.013631514273583889,
0.06963802874088287,
0.002012367360293865,
0.0022955145686864853,
0.014060280285775661,
-0.018364116549491882,
0.04565950483083725,
-0.01914075016975403,
0.009610824286937714,
-0.02831471897661686,
-0.03685767203569412,
0.037893183529376984,
0.08051087707281113,
0.0283470768481493,
0.03198754042387009,
0.01416544895619154,
0.009295317344367504,
0.02371964417397976,
0.0036040591076016426,
-0.05478493496775627,
-0.018606815487146378,
0.016285007819533348,
0.015718713402748108,
0.026437856256961823,
-0.05934764817357063,
0.07585108280181885,
-0.010630154050886631,
-0.09339003264904022,
0.04957502707839012,
0.01731242798268795,
0.061548106372356415,
0.02481987327337265,
-0.014594214968383312,
-0.06950858980417252,
-0.024172678589820862,
-0.030515175312757492,
-0.011681843549013138,
0.06782588362693787,
-0.03763430565595627,
-0.028751574456691742,
-0.027991121634840965,
-0.02316952869296074,
-0.011892181821167469,
-0.004004510119557381,
-0.03069315478205681,
0.11131729185581207,
-0.005436426028609276,
-0.035854522138834,
0.04565950483083725,
-0.07086769491434097,
-0.005246312823146582,
-0.04908963292837143,
-0.011026560328900814,
-0.053975943475961685,
-0.05154896527528763,
0.006641823798418045,
0.020305698737502098,
-0.04430039972066879,
0.01130161713808775,
0.08432932198047638,
0.051031213253736496,
-0.020661653950810432,
0.0020295586436986923,
-0.00491867121309042,
0.022053120657801628,
-0.003424058435484767,
0.019512886181473732,
-0.03912284970283508,
-0.0005157323903404176,
0.04180870205163956,
-0.045303549617528915,
-0.014909721910953522,
0.029673824086785316,
0.060868553817272186,
-0.005731707904487848,
0.0631013736128807,
-0.027343926951289177,
0.00808182917535305,
0.01610703021287918,
-0.015176689252257347,
-0.05080469325184822,
0.004344286862760782,
0.028120560571551323,
-0.0029103485867381096,
-0.06698453426361084,
0.04633905738592148,
0.04494759067893028,
-0.0243668369948864,
0.032634735107421875,
-0.012215778231620789,
0.004299791995435953,
-0.02536998689174652,
-0.02490077167749405,
-0.026340777054429054,
0.0070746345445513725,
-0.07610996067523956,
-0.021632444113492966,
-0.016665233299136162,
-0.024027060717344284,
0.030256299301981926,
-0.007766322698444128,
0.005084514152258635,
0.013736682943999767,
0.010363186709582806,
-0.034948453307151794,
-0.0369223915040493,
-0.045983102172613144,
-0.022765032947063446,
-0.01243420597165823,
0.010638244450092316,
0.005404066294431686,
-0.022991551086306572,
-0.017506586387753487,
-0.03640463575720787,
-0.029803263023495674,
-0.03242439776659012,
-0.0634249672293663,
-0.00027733255410566926,
-0.024043241515755653,
-0.03941408917307854,
-0.03292597085237503,
-0.033330466598272324,
0.007491265423595905,
0.06970274448394775,
-0.0034564181696623564,
-0.03281271457672119,
0.027392467483878136,
-0.046468496322631836,
0.0007493288139812648,
-0.007693513296544552,
-0.034301258623600006,
0.013833762146532536,
0.017490405589342117,
-0.00810609944164753,
-0.017182989045977592,
0.0009237676858901978,
-0.017069730907678604,
0.019480526447296143,
0.045918382704257965,
-0.0311785489320755,
0.026826173067092896,
-0.029123710468411446,
-0.01622837781906128,
0.029285509139299393,
-0.02085581235587597,
0.01614747941493988,
0.04899255186319351,
0.04394444078207016,
-0.01242611650377512,
-0.010824312455952168,
-0.04698625206947327,
0.01529803778976202,
-0.03863745555281639,
-0.043103091418743134,
-0.010241838172078133,
-0.02538616769015789,
-0.046468496322631836,
-0.011050829663872719,
0.020580755546689034,
-0.00577620230615139,
0.05129009112715721,
0.05096649378538132,
0.009351947344839573,
-0.05870045721530914,
0.011851731687784195,
0.06067439541220665,
-0.016341637820005417,
0.039672963321208954,
0.009732172824442387,
-0.036728233098983765,
0.025758303701877594,
-0.02315334975719452,
0.045983102172613144,
-0.05594988167285919,
0.0025220324750989676,
0.04692153260111809,
-0.0007872502901591361,
-0.006229238118976355,
0.014027920551598072,
0.018056700006127357,
-0.040190719068050385,
-0.008696663193404675,
-0.002418885938823223,
-0.007276882417500019,
0.023913802579045296,
-0.07028522342443466,
-0.03530440852046013,
0.03449541702866554,
0.06501059234142303,
0.022781213745474815,
-0.028169099241495132,
-0.04957502707839012,
0.0017140517011284828,
-0.016341637820005417,
0.013291737996041775,
0.06672565639019012,
0.01737714745104313,
-0.015111969783902168,
0.05993012338876724,
-0.0035939468070864677,
-0.03566036373376846,
-0.00832452718168497,
0.041388027369976044,
0.005958225578069687,
0.07811626046895981,
0.0224414374679327,
0.03811969980597496,
-0.06899083405733109,
0.003017539856955409,
-0.026745272800326347,
-0.08284077793359756,
-0.0060876645147800446,
-0.003877093782648444,
-0.06119215115904808,
0.02134120836853981,
0.00040752970380708575,
0.09248396009206772,
0.020936710759997368,
0.04637141898274422,
0.051678404211997986,
0.0037152955774217844,
-0.03135652840137482,
-0.051193010061979294,
-0.02072637341916561,
0.012053979560732841,
-0.01122071873396635,
0.01795962080359459,
0.048215918242931366,
-0.014853091910481453,
0.04345904663205147,
0.0626806989312172,
-0.03795790299773216,
0.021583905443549156,
0.11157616972923279,
-0.006605419330298901,
-0.032618556171655655,
0.017150629311800003,
-0.05319930985569954,
-0.027311567217111588,
0.05598224326968193,
-0.02708505094051361,
-0.005319122225046158,
-0.03336282819509506,
-0.01558927446603775,
0.027408646419644356,
0.002740460215136409,
0.026195159181952477,
0.010338917374610901,
-0.023266607895493507,
0.038540374487638474,
-0.03221406042575836
]
|
31,551 | laspy.header | remove_extra_dims | null | def remove_extra_dims(self, names: Iterable[str]) -> None:
for name in names:
self.point_format.remove_extra_dimension(name)
self._sync_extra_bytes_vlr()
| (self, names: Iterable[str]) -> NoneType | [
-0.0315166600048542,
0.00446614995598793,
-0.05024095997214317,
0.020770391449332237,
-0.056602753698825836,
-0.007002269383519888,
-0.010221851989626884,
0.03167140856385231,
0.07008287310600281,
0.039786990731954575,
-0.0022696121595799923,
-0.0297456756234169,
-0.0008854926563799381,
-0.039958931505680084,
0.01903379335999489,
-0.015999047085642815,
0.053060781210660934,
0.025842629373073578,
0.009233195334672928,
-0.03703594580292702,
-0.011752121150493622,
-0.03450842201709747,
-0.021423764526844025,
0.0006786269368603826,
0.01538865827023983,
0.04298508167266846,
0.04480764642357826,
0.004625194706022739,
-0.013411344960331917,
-0.006611105520278215,
-0.0682259202003479,
-0.0028499108739197254,
-0.01800215244293213,
0.03696716949343681,
-0.015165136195719242,
-0.027183765545487404,
-0.01530268881469965,
0.019515225663781166,
-0.018122509121894836,
0.02818101830780506,
0.04088740795850754,
0.009637255221605301,
0.019480837509036064,
-0.04638949781656265,
0.030381854623556137,
0.02603176422417164,
0.01889624074101448,
0.014546151272952557,
-0.04786818474531174,
0.055846214294433594,
0.025103285908699036,
-0.024002868682146072,
0.02644442208111286,
0.08995917439460754,
-0.0021202389616519213,
0.026100540533661842,
0.06685039401054382,
0.10763464123010635,
0.002854209393262863,
-0.048865437507629395,
-0.028387347236275673,
0.021045494824647903,
0.013841195963323116,
-0.03043343685567379,
-0.023676181212067604,
-0.015887286514043808,
0.02883439138531685,
0.004981970880180597,
-0.06409934908151627,
-0.010531344451010227,
-0.009121433831751347,
-0.03199809417128563,
-0.03713911026716232,
0.031447883695364,
-0.0034538512118160725,
-0.022335046902298927,
0.01803653873503208,
0.0019106868421658874,
0.01925731636583805,
-0.0332532562315464,
-0.011786509305238724,
0.012474270537495613,
-0.0087431650608778,
0.052544962614774704,
0.03342519700527191,
0.029780063778162003,
-0.004143761936575174,
0.0576687827706337,
-0.0025468659587204456,
-0.05560550093650818,
0.024604659527540207,
0.01590447872877121,
-0.03344239294528961,
0.003913791384547949,
0.029418988153338432,
0.020753197371959686,
-0.02063283883035183,
-0.027149377390742302,
0.028731226921081543,
-0.014468777924776077,
-0.0011090150801464915,
-0.08411320298910141,
0.002250269055366516,
-0.011657553724944592,
-0.014890031889081001,
-0.0008774329326115549,
0.034921079874038696,
-0.06709111481904984,
-0.06155463308095932,
0.009001076221466064,
0.010823642835021019,
0.005166806746274233,
0.021716061979532242,
0.0035591647028923035,
0.03827391564846039,
0.0009386866586282849,
-0.017623882740736008,
-0.04394794628024101,
0.0036859705578535795,
0.028301376849412918,
-0.04938125982880592,
0.028404541313648224,
-0.003797731827944517,
-0.02503451146185398,
-0.0332016758620739,
0.044360604137182236,
0.04339773580431938,
0.05735928937792778,
0.006228538230061531,
-0.0542299784719944,
0.025670690461993217,
-0.02481098845601082,
-0.06898245960474014,
0.000393582129618153,
0.0011315821902826428,
-0.027751168236136436,
0.03989015519618988,
-0.05976645648479462,
0.04384478181600571,
-0.03603868931531906,
-0.04841839522123337,
0.047489915043115616,
-0.0031400599982589483,
0.06000717356801033,
-0.03872096166014671,
0.030570989474654198,
-0.006404777057468891,
-0.057978276163339615,
-0.016153793781995773,
-0.023022808134555817,
-0.060763709247112274,
0.03631379455327988,
-0.07097696512937546,
-0.05330149829387665,
-0.006275821477174759,
-0.011889672838151455,
0.017795823514461517,
-0.017013493925333023,
-0.02993481047451496,
0.0157153457403183,
-0.03806758671998978,
-0.0648215040564537,
-0.0008790448773652315,
-0.03703594580292702,
-0.06499344110488892,
-0.03600430488586426,
0.026496002450585365,
-0.019893495365977287,
-0.029642511159181595,
0.08246257901191711,
0.07372801005840302,
0.05003463476896286,
0.04614878073334694,
-0.004646687302738428,
-0.005119523033499718,
0.03110400401055813,
-0.0006888359203003347,
-0.057462453842163086,
-0.0009526568464934826,
-0.008751762099564075,
0.021973973140120506,
-0.02940179407596588,
-0.009534090757369995,
-0.03251391276717186,
0.03827391564846039,
-0.020082630217075348,
-0.016403106972575188,
0.0026521794497966766,
0.007182806730270386,
0.007922150194644928,
0.029676899313926697,
0.06403057277202606,
-0.0022954032756388187,
0.07400311529636383,
0.06385863572359085,
0.020907942205667496,
0.01695331558585167,
0.007225791923701763,
0.01908537559211254,
-0.076960489153862,
-0.06141708418726921,
0.026324063539505005,
-0.006555224768817425,
-0.03201528638601303,
0.02481098845601082,
0.03277182579040527,
0.019136957824230194,
-0.03304693102836609,
0.008799046277999878,
0.012560239993035793,
0.0454266332089901,
0.0012240001233294606,
0.03562603518366814,
-0.02290245145559311,
0.035969916731119156,
0.013548897579312325,
-0.048555947840213776,
0.034198928624391556,
0.04845278337597847,
-0.010806448757648468,
-0.01364346407353878,
0.03459439426660538,
0.024931346997618675,
0.015190927311778069,
-0.009465314447879791,
0.003460298990830779,
0.038480244576931,
-0.008532538078725338,
0.03562603518366814,
-0.0017430450534448028,
0.006280119996517897,
-0.02812943607568741,
-0.07647905498743057,
-0.02833576500415802,
0.014391404576599598,
0.0038514630869030952,
-0.003284060163423419,
-0.08975284546613693,
0.06863857805728912,
-0.010746270418167114,
-0.030742928385734558,
0.006361791864037514,
-0.04422305151820183,
0.014056120999157429,
0.02398567460477352,
-0.0490029901266098,
-0.037689317017793655,
0.033322032541036606,
0.0007984478725120425,
0.044670093804597855,
0.013153434731066227,
-0.008296120911836624,
0.0367608405649662,
0.02432955615222454,
0.0007318209973163903,
-0.028387347236275673,
-0.023882510140538216,
-0.02709779515862465,
0.018346032127738,
-0.04494519904255867,
0.008657194674015045,
-0.009766209870576859,
0.010290628299117088,
0.02393409237265587,
0.05347343906760216,
0.015663763508200645,
0.06519977003335953,
-0.02013421058654785,
-0.031035227701067924,
-0.01189826987683773,
-0.060626156628131866,
0.05295762047171593,
-0.00301755266264081,
0.006598209962248802,
0.013162031769752502,
0.02028895728290081,
0.021372182294726372,
0.0024308061692863703,
-0.008906508795917034,
0.020495286211371422,
0.06220800802111626,
-0.04876227304339409,
-0.009147224947810173,
0.061141978949308395,
-0.00795653834939003,
0.01715104654431343,
0.030347466468811035,
-0.06196729093790054,
-0.04150639474391937,
-0.0367608405649662,
0.0012583881616592407,
0.02623809315264225,
0.04769624397158623,
-0.02854209393262863,
-0.06389302015304565,
-0.019876301288604736,
-0.020374927669763565,
0.04442938044667244,
-0.03868657350540161,
0.0594913512468338,
0.01364346407353878,
-0.021097077056765556,
0.011657553724944592,
0.01505337469279766,
0.07290269434452057,
-0.05209791660308838,
0.014752479270100594,
-0.016686808317899704,
0.0056826276704669,
0.023040002211928368,
-0.01511355396360159,
-0.006748657673597336,
-0.05821899324655533,
0.011262090876698494,
0.06908562034368515,
0.07599762082099915,
0.09374186396598816,
0.022610152140259743,
0.023573018610477448,
0.06516537815332413,
0.04057791456580162,
-0.062379948794841766,
-0.08129338175058365,
-0.010763464495539665,
-0.06530293077230453,
0.008455165661871433,
-0.02236943505704403,
0.0030497913248836994,
0.006267224904149771,
-0.0040921797044575214,
-0.030192719772458076,
-0.046767767518758774,
0.0059276423417031765,
-0.006718568038195372,
0.04597683995962143,
-0.025928599759936333,
-0.02219749614596367,
0.008571225218474865,
0.03566042333841324,
-0.005424716975539923,
-0.019360480830073357,
-0.001146627007983625,
-0.0454266332089901,
0.02202555537223816,
-0.001163821085356176,
0.02551594376564026,
0.039443109184503555,
0.012843942269682884,
0.007255881559103727,
0.03521337732672691,
-0.008958091028034687,
0.015861494466662407,
-0.0471804253757,
0.048899825662374496,
0.0698765441775322,
0.04246925935149193,
-0.02587701752781868,
0.07039237022399902,
-0.00211701518855989,
-0.01905098743736744,
0.030570989474654198,
0.011451225727796555,
0.06275821477174759,
0.000652835879009217,
0.025447167456150055,
-0.035075824707746506,
0.03203248232603073,
-0.0331844836473465,
-0.0218708086758852,
-0.04742113873362541,
-0.05299200490117073,
-0.008399284444749355,
0.011451225727796555,
-0.00006545150245074183,
-0.056568365544080734,
0.01887904666364193,
0.01459773350507021,
0.02065003290772438,
-0.029831646010279655,
0.010316419415175915,
-0.057978276163339615,
0.005931940861046314,
0.02673671953380108,
0.0016807166393846273,
0.02553313784301281,
0.027991883456707,
-0.03168860077857971,
-0.029831646010279655,
-0.0507567822933197,
0.0003865970647893846,
0.05120382830500603,
-0.048212066292762756,
-0.01609361357986927,
0.04879666119813919,
-0.023744957521557808,
0.0005451045581139624,
-0.08707057684659958,
0.01815689727663994,
-0.07503475248813629,
0.026650749146938324,
-0.011571583338081837,
-0.060626156628131866,
-0.04301946982741356,
0.07661660760641098,
-0.007853373885154724,
-0.01424525585025549,
-0.03744859993457794,
0.06980776786804199,
-0.003415164537727833,
0.05625887215137482,
0.017967764288187027,
0.04315701872110367,
0.049759529531002045,
0.005136717110872269,
0.024518689140677452,
0.07255881279706955,
-0.0035720602609217167,
-0.021733256056904793,
0.05388609692454338,
0.0017613136442378163,
0.03548848256468773,
-0.014193673618137836,
0.0030411945190280676,
0.03992454335093498,
0.012912717647850513,
-0.0017709853127598763,
-0.06850102543830872,
-0.009387941099703312,
-0.0022416720166802406,
0.022145913913846016,
-0.07475965470075607,
-0.01591307669878006,
-0.029642511159181595,
-0.04614878073334694,
0.007393433712422848,
0.011820897459983826,
0.007861970923841,
-0.009963941760361195,
-0.020787585526704788,
0.01887904666364193,
-0.026633555069565773,
-0.002628537593409419,
0.008519642986357212,
-0.08349421620368958,
-0.007208597846329212,
0.01734018139541149,
-0.0507567822933197,
0.03127594292163849,
-0.013548897579312325,
-0.026874272152781487,
0.018466390669345856,
0.012371106073260307,
0.012044419534504414,
-0.11313673108816147,
0.06275821477174759,
-0.014314031228423119,
0.015371464192867279,
-0.040165260434150696,
-0.022180302068591118,
-0.01886185258626938,
-0.01627415046095848,
0.0007882388890720904,
-0.06389302015304565,
0.002027821261435747,
0.03462877869606018,
0.04315701872110367,
0.0016527763800695539,
-0.04497958719730377,
-0.023383883759379387,
0.029075108468532562,
0.058356545865535736,
-0.05374854430556297,
0.07070185989141464,
-0.004242627415806055,
-0.020856359973549843,
-0.011915463954210281,
0.0070925382897257805,
0.062345560640096664,
0.04559857398271561,
-0.000958567310590297,
-0.018311643972992897,
-0.04095618426799774,
-0.020031047984957695,
-0.011184717528522015,
0.017589494585990906,
0.05347343906760216,
-0.055983766913414,
-0.027321316301822662,
0.03129313886165619,
0.049587588757276535,
-0.016351524740457535,
-0.005674030631780624,
-0.011434031650424004,
-0.015423046424984932,
0.06203606724739075,
-0.007758806925266981,
0.005936239380389452,
-0.03373469039797783,
0.035075824707746506,
0.002415761584416032,
-0.02224907837808132,
0.002012776443734765,
0.017916182056069374,
-0.041196901351213455,
0.030192719772458076,
-0.03882412612438202,
0.05147893354296684,
0.014623524621129036,
-0.05560550093650818,
-0.023710569366812706,
-0.09470472484827042,
-0.04229731857776642,
-0.01250006165355444,
0.05560550093650818,
0.031172780320048332,
0.0021019703708589077,
-0.026977436617016792,
0.02118304744362831,
0.051341380923986435,
0.024226391687989235,
-0.004154508002102375,
-0.018070926889777184,
-0.031189974397420883,
0.05897552892565727,
-0.03693278133869171,
-0.003015403402969241,
-0.011511404067277908,
-0.036657676100730896,
0.04006209596991539,
0.02063283883035183,
0.027390092611312866,
0.05959451571106911,
0.01285253930836916,
-0.04473887011408806,
0.06850102543830872,
0.006581015884876251,
-0.006168358959257603,
-0.03344239294528961,
0.030725736171007156,
0.03985576704144478,
0.041575171053409576,
-0.04126567766070366,
0.048005737364292145,
-0.004004060290753841,
-0.07950520515441895,
0.01647188328206539,
0.002426507882773876,
0.0113652553409338,
0.06502782553434372,
-0.010290628299117088,
-0.0506880059838295,
-0.02744167484343052,
-0.011941255070269108,
0.0058502694591879845,
0.020048242062330246,
-0.053782932460308075,
-0.0023856719490140676,
-0.03211845085024834,
-0.029625317081809044,
-0.011451225727796555,
0.008554031141102314,
-0.017881793901324272,
0.11568144708871841,
-0.01851797290146351,
-0.07393433898687363,
0.03392382338643074,
-0.06265505403280258,
-0.020598450675606728,
-0.04704287275671959,
0.017108062282204628,
-0.03167140856385231,
0.015474628657102585,
0.008334807120263577,
-0.016196778044104576,
-0.018500778824090958,
-0.02692585438489914,
0.056774694472551346,
0.02293683961033821,
-0.023040002211928368,
-0.012835345230996609,
0.010694688186049461,
0.01606782339513302,
-0.011700538918375969,
-0.014107703231275082,
0.009173016063869,
0.02254137583076954,
0.010522747412323952,
-0.04006209596991539,
0.05034412443637848,
0.041678331792354584,
0.030313078314065933,
-0.004956179764121771,
0.07682293653488159,
-0.05106627568602562,
-0.005162508226931095,
0.016910331323742867,
-0.009130030870437622,
-0.013540300540626049,
-0.035969916731119156,
-0.010617314837872982,
-0.009671643376350403,
-0.02678830176591873,
0.03548848256468773,
0.03703594580292702,
-0.01729719713330269,
-0.026134928688406944,
-0.025103285908699036,
0.031447883695364,
-0.034026987850666046,
-0.007853373885154724,
0.003903045319020748,
0.04164394736289978,
0.011485612951219082,
-0.032599885016679764,
0.008106986060738564,
0.0036343885585665703,
0.015706747770309448,
0.0038385677617043257,
0.004122269339859486,
-0.00441026920452714,
-0.01731438934803009,
-0.0628613829612732,
-0.06602508574724197,
-0.033339228481054306,
-0.028731226921081543,
-0.010496956296265125,
0.007311762310564518,
0.022816481068730354,
-0.005949134938418865,
0.004835821688175201,
-0.018775882199406624,
-0.04955320060253143,
-0.01240549422800541,
-0.042778752744197845,
-0.0033614332787692547,
-0.017408957704901695,
-0.043466512113809586,
-0.024020062759518623,
-0.029504958540201187,
0.012035822495818138,
0.10096335411071777,
-0.030725736171007156,
-0.0025619107764214277,
0.016489077359437943,
-0.037861257791519165,
0.019446449354290962,
-0.001315343426540494,
-0.05295762047171593,
0.05285445600748062,
0.05041290074586868,
0.0040405974723398685,
0.01698770374059677,
-0.03607307747006416,
-0.026289675384759903,
0.0026242390740662813,
0.049965858459472656,
-0.08170603960752487,
0.0033313436433672905,
-0.006404777057468891,
-0.03614185377955437,
0.0144257927313447,
-0.030742928385734558,
0.03485230356454849,
0.048349618911743164,
0.01783021166920662,
0.008218747563660145,
-0.011141732335090637,
-0.00989516545087099,
0.02223188430070877,
-0.026994630694389343,
-0.04057791456580162,
0.004706866107881069,
-0.0016388061922043562,
-0.019687166437506676,
-0.013841195963323116,
0.02854209393262863,
-0.025137674063444138,
0.04917493090033531,
0.04463570564985275,
0.03531654179096222,
-0.05684347078204155,
0.005669732112437487,
0.05000024661421776,
0.0009419105481356382,
-0.0037482990883290768,
-0.01189826987683773,
-0.014735285192728043,
0.03566042333841324,
-0.0332016758620739,
0.0630333200097084,
0.01373803149908781,
-0.009104239754378796,
0.08548872917890549,
-0.003002507844939828,
-0.04583929106593132,
0.025670690461993217,
0.05722173675894737,
-0.08775833994150162,
-0.001944000250659883,
0.008983882144093513,
-0.013273792341351509,
0.007028060499578714,
-0.10577768832445145,
-0.02469062991440296,
0.027390092611312866,
0.06406496465206146,
0.004141612444072962,
0.02726973406970501,
-0.013634867034852505,
0.011820897459983826,
-0.031207168474793434,
0.029109496623277664,
0.03093206323683262,
0.008575523272156715,
-0.048349618911743164,
0.045770514756441116,
0.009147224947810173,
-0.04405111074447632,
0.07214615494012833,
0.014013135805726051,
-0.0006856120307929814,
0.10275153815746307,
0.0113652553409338,
0.027905913069844246,
-0.05158209428191185,
0.009688837453722954,
-0.022489793598651886,
-0.07427822053432465,
-0.009826389141380787,
0.019154151901602745,
-0.025086091831326485,
0.04735236242413521,
-0.026702331379055977,
0.09766209870576859,
-0.019171345978975296,
0.013961553573608398,
0.0577031709253788,
0.012061613611876965,
-0.023744957521557808,
-0.03093206323683262,
-0.040990572422742844,
-0.019343286752700806,
0.013712240383028984,
0.041678331792354584,
0.015061971731483936,
-0.02116585336625576,
0.03913361579179764,
0.04945003613829613,
-0.042572423815727234,
0.010789254680275917,
0.08892753720283508,
0.04969075322151184,
-0.06262066215276718,
-0.009594270028173923,
-0.02047809213399887,
-0.046423885971307755,
0.029986392706632614,
-0.018827464431524277,
-0.015792718157172203,
-0.05302639305591583,
-0.009688837453722954,
0.017606688663363457,
-0.017219822853803635,
0.035797975957393646,
0.0020761792548000813,
0.0021363585256040096,
0.017348777502775192,
-0.00008328359399456531
]
|
31,552 | laspy.header | set_compressed | null | def set_compressed(self, state: bool) -> None:
self.are_points_compressed = state
| (self, state: bool) -> NoneType | [
0.008156169205904007,
-0.005866424646228552,
0.035766806453466415,
0.027443503960967064,
0.012668803334236145,
-0.009977935813367367,
-0.047466229647397995,
0.06234120950102806,
-0.03961090371012688,
-0.024368226528167725,
-0.0361679308116436,
0.029398977756500244,
-0.051109764724969864,
0.03138788044452667,
-0.0640459805727005,
-0.041850507259368896,
-0.016086706891655922,
0.0362347848713398,
-0.04656370356678963,
0.029649680480360985,
-0.012911148369312286,
-0.00027472752844914794,
0.028864147141575813,
0.054719872772693634,
-0.0021152973640710115,
-0.0022981008514761925,
0.03476399928331375,
0.0004457793547771871,
0.02530417963862419,
-0.03178900480270386,
-0.02252974547445774,
-0.004075995180755854,
0.005406804848462343,
0.025203898549079895,
0.0052730971947312355,
-0.0023377954494208097,
0.06531620770692825,
0.060235314071178436,
0.05899851769208908,
0.008164525963366032,
-0.025103619322180748,
-0.0016003139317035675,
-0.05271425470709801,
0.019421041011810303,
0.05224628001451492,
0.05899851769208908,
0.002260495675727725,
0.021309662610292435,
0.04529348015785217,
-0.05141060799360275,
0.03359405696392059,
-0.032724957913160324,
0.025788869708776474,
0.008528043515980244,
-0.010479340329766273,
-0.02254645898938179,
0.1028212159872055,
0.08009090274572372,
-0.023014435544610023,
0.016613179817795753,
-0.0139390267431736,
0.023198284208774567,
-0.0069319079630076885,
-0.08851449191570282,
-0.010111643932759762,
-0.025153759866952896,
-0.05237998813390732,
-0.00612548366189003,
0.01000300608575344,
0.08650887757539749,
0.03227369487285614,
0.024852916598320007,
-0.027192801237106323,
0.01060469076037407,
-0.06595131754875183,
-0.0033447814639657736,
-0.05876452848315239,
0.04475864768028259,
-0.10242009162902832,
-0.034162312746047974,
-0.05448588356375694,
-0.023833395913243294,
0.04907072335481644,
0.0264574084430933,
-0.038975790143013,
-0.02308128960430622,
0.06544991582632065,
0.01724829152226448,
0.021827779710292816,
0.03697017580270767,
-0.00640125572681427,
0.02557159587740898,
-0.012209183536469936,
0.010245352052152157,
0.024852916598320007,
0.03058563359081745,
-0.0035516105126589537,
-0.009835871867835522,
0.036869894713163376,
0.003430437995120883,
0.0057243602350354195,
-0.0024046492762863636,
0.00515610259026289,
-0.06290946900844574,
0.007571198046207428,
0.003896325593814254,
0.031020183116197586,
-0.016537969931960106,
-0.002054711105301976,
-0.05157773941755295,
0.03683646768331528,
-0.019070059061050415,
-0.007817720994353294,
-0.003451329655945301,
0.00344088370911777,
-0.0473993755877018,
0.05097605660557747,
-0.024351513013243675,
-0.05311537906527519,
0.055789534002542496,
0.032958947122097015,
0.02782791294157505,
0.005009859800338745,
0.024669067934155464,
-0.051310326904058456,
0.029449118301272392,
0.07968978583812714,
0.100080206990242,
0.013044856488704681,
-0.04315415769815445,
0.007650586776435375,
0.03543253615498543,
-0.04068056493997574,
0.05709318444132805,
-0.05742745101451874,
-0.0472990944981575,
-0.02308128960430622,
-0.013997524045407772,
-0.03780584782361984,
0.044424381107091904,
0.01364654116332531,
0.020390423014760017,
0.04044657573103905,
0.006288439966738224,
0.01861879602074623,
0.03404532000422478,
0.0013966185506433249,
-0.02003943920135498,
-0.034112174063920975,
-0.015251033008098602,
0.07313810288906097,
0.0044416021555662155,
-0.04846903681755066,
-0.007592089474201202,
-0.01563544198870659,
-0.03509826958179474,
-0.0194878950715065,
0.02976667508482933,
0.0017883403925225139,
0.05699290335178375,
-0.003298819297924638,
-0.0208751130849123,
-0.021092388778924942,
-0.0012973824050277472,
-0.07033024728298187,
-0.034931134432554245,
-0.020524131134152412,
-0.02476934902369976,
-0.06839147955179214,
-0.016696747392416,
0.019370902329683304,
-0.0037521719932556152,
0.010579620487987995,
0.08116056770086288,
0.09212459623813629,
0.08497123420238495,
-0.0007771759410388768,
-0.008791280910372734,
0.00047737822751514614,
-0.019889019429683685,
0.018535228446125984,
0.014540711417794228,
-0.041883934289216995,
0.04515977203845978,
0.03703702986240387,
-0.0167301744222641,
0.03095332905650139,
-0.00612548366189003,
0.05906537175178528,
0.002876804443076253,
-0.0017120852135121822,
0.06344430148601532,
-0.007621338125318289,
-0.06702098250389099,
0.004213881213217974,
0.009911082684993744,
0.0104208430275321,
-0.07200159132480621,
0.0009443105664104223,
0.05949992313981056,
-0.05458616465330124,
-0.05201229080557823,
0.032691530883312225,
-0.018869496881961823,
0.060836996883153915,
0.04509291797876358,
-0.03877522796392441,
-0.025822296738624573,
0.029983948916196823,
0.042452190071344376,
0.0306023471057415,
-0.05702633038163185,
0.002822485752403736,
-0.008536400273442268,
-0.04616257920861244,
-0.12648747861385345,
-0.00048756299656815827,
0.048067912459373474,
0.03200627863407135,
0.0026407267432659864,
0.03113717772066593,
0.002358687110245228,
0.030752768740057945,
0.015017044730484486,
0.017415426671504974,
0.03934348747134209,
0.01835137978196144,
-0.05799571052193642,
-0.09907739609479904,
-0.0333266407251358,
-0.05542183667421341,
-0.042485617101192474,
-0.047466229647397995,
0.013003072701394558,
0.023799968883395195,
-0.03569995239377022,
0.072269007563591,
0.0014478035736829042,
-0.047733645886182785,
-0.006313509773463011,
-0.002741007599979639,
-0.005239670164883137,
0.044156964868307114,
-0.03934348747134209,
-0.08096000552177429,
0.011507217772305012,
0.04114853963255882,
0.01350447628647089,
-0.04141595587134361,
0.04639656841754913,
-0.011674352921545506,
-0.04813476651906967,
-0.027928194031119347,
-0.04121539369225502,
0.03239068761467934,
-0.05425189435482025,
0.043889548629522324,
0.0097606610506773,
-0.02140994369983673,
-0.002133055357262492,
-0.055020712316036224,
-0.08584033697843552,
-0.01980545185506344,
0.01726500503718853,
0.05903194472193718,
0.00521042151376605,
0.04255247116088867,
-0.03289209306240082,
-0.03917635232210159,
0.008991842158138752,
0.066786989569664,
-0.023766541853547096,
-0.07260327786207199,
0.015468308702111244,
0.01352118980139494,
0.004025855101644993,
0.009752304293215275,
-0.02868029847741127,
-0.01753242127597332,
-0.01088046282529831,
0.09640324115753174,
-0.0013913956936448812,
0.01860208250582218,
0.029616253450512886,
-0.03003408946096897,
-0.02672482468187809,
-0.017482280731201172,
0.03656905144453049,
-0.02202834188938141,
-0.03834068030118942,
-0.03255782276391983,
0.09292684495449066,
0.038273826241493225,
-0.03264138847589493,
0.1002139151096344,
-0.029967235401272774,
0.006376185454428196,
-0.018518514931201935,
-0.023549266159534454,
0.015602015890181065,
0.011858200654387474,
-0.09045325219631195,
-0.003775153076276183,
0.04068056493997574,
0.03432944789528847,
0.0011657639406621456,
-0.006313509773463011,
-0.0038002231158316135,
0.0022312470246106386,
0.03676961362361908,
0.03817354515194893,
0.033527202904224396,
-0.07862012088298798,
-0.05461959168314934,
0.01563544198870659,
-0.029164990410208702,
0.01975531131029129,
-0.021359803155064583,
-0.029566112905740738,
0.07561169564723969,
-0.04616257920861244,
-0.06608502566814423,
-0.09225830435752869,
-0.00020199784194119275,
-0.05522127449512482,
0.007040545344352722,
0.03693674877285957,
-0.03220684081315994,
-0.017031017690896988,
-0.022763734683394432,
-0.06036902219057083,
0.015794221311807632,
0.0021476796828210354,
0.04475864768028259,
-0.011448720470070839,
0.010044789873063564,
-0.00282039656303823,
-0.04703167825937271,
-0.025956004858016968,
-0.036067649722099304,
0.0334436371922493,
0.0208751130849123,
-0.040513429790735245,
0.013512833043932915,
-0.007947251200675964,
0.032992370426654816,
-0.017398713156580925,
-0.015200892463326454,
0.02814546786248684,
0.02700895257294178,
-0.07621338218450546,
-0.03529882803559303,
-0.009952866472303867,
0.06287603825330734,
0.04295359551906586,
-0.0034952026326209307,
-0.0059959543868899345,
-0.004671412520110607,
0.016354121267795563,
0.021911347284913063,
0.030134370550513268,
-0.04308730363845825,
0.016813741996884346,
-0.0030752767343074083,
0.005206243135035038,
-0.021827779710292816,
0.013237060979008675,
-0.04405668377876282,
0.013721751980483532,
-0.03058563359081745,
0.0030982578173279762,
-0.062240928411483765,
-0.06628558784723282,
-0.005009859800338745,
0.008519686758518219,
-0.047733645886182785,
-0.031839143484830856,
0.013496119529008865,
-0.017749695107340813,
0.0445246621966362,
0.030017375946044922,
-0.0069444430992007256,
0.05769486725330353,
0.02725965529680252,
-0.009618597105145454,
0.018251098692417145,
0.011749562807381153,
-0.0011532288044691086,
0.013537903316318989,
-0.017381999641656876,
-0.018485087901353836,
0.010771825909614563,
0.016922378912568092,
-0.030234651640057564,
0.05201229080557823,
0.005243848543614149,
0.008431941270828247,
0.02507019229233265,
0.02030685544013977,
0.027460217475891113,
0.03279181197285652,
0.0005494550568982959,
-0.00041835883166640997,
0.005298167001456022,
0.024033956229686737,
-0.07059765607118607,
0.046062298119068146,
0.029850240796804428,
0.016863882541656494,
-0.025655163452029228,
0.0070572588592767715,
0.009668737649917603,
0.013621470890939236,
-0.046062298119068146,
-0.05157773941755295,
-0.0007489720010198653,
-0.0076589435338974,
-0.026825105771422386,
0.023549266159534454,
0.037404727190732956,
0.06327716261148453,
0.04479207471013069,
0.01665496453642845,
-0.022379323840141296,
-0.010211925022304058,
-0.05368363857269287,
0.0034575972240418196,
0.009860942140221596,
-0.012978002429008484,
0.04335471987724304,
-0.008294055238366127,
-0.016312338411808014,
0.03170543536543846,
0.025688590481877327,
-0.00819377414882183,
0.019638316705822945,
0.019671743735671043,
-0.03586708754301071,
-0.029850240796804428,
0.039376914501190186,
0.059967897832393646,
-0.020490704104304314,
-0.05034094303846359,
-0.015560232102870941,
0.034128885716199875,
0.015810934826731682,
-0.009677094407379627,
0.01060469076037407,
0.03793955594301224,
0.0264908354729414,
0.000837762258015573,
-0.016830455511808395,
-0.001993080135434866,
-0.05171144753694534,
-0.024953197687864304,
0.05201229080557823,
0.0292485561221838,
-0.0011292032431811094,
-0.07340551912784576,
0.004253576043993235,
0.012894434854388237,
-0.021894633769989014,
-0.037738993763923645,
0.021543651819229126,
0.014841553755104542,
-0.010654831305146217,
-0.04950527101755142,
0.020223287865519524,
-0.0030606526415795088,
0.0023545087315142155,
-0.020490704104304314,
-0.054185040295124054,
-0.01674688793718815,
-0.04044657573103905,
-0.004403997212648392,
-0.004232684150338173,
-0.03566652536392212,
0.029917094856500626,
-0.022747021168470383,
0.002360776299610734,
-0.08457010984420776,
-0.04873645305633545,
0.004257754422724247,
-0.03697017580270767,
0.05485358089208603,
-0.029699821025133133,
0.020423850044608116,
-0.005009859800338745,
0.05174487456679344,
0.026323700323700905,
-0.012585235759615898,
-0.005878959782421589,
0.011590785346925259,
-0.01890292391180992,
0.014799769967794418,
0.056892622262239456,
-0.03120403178036213,
-0.016771957278251648,
0.04766679182648659,
-0.01295293215662241,
-0.019136913120746613,
0.012075475417077541,
-0.031889282166957855,
-0.03262467682361603,
0.04098140820860863,
-0.01071332860738039,
0.014808126725256443,
-0.020123006775975227,
-0.044156964868307114,
0.015184178948402405,
-0.008799637667834759,
0.029148276895284653,
0.032457541674375534,
0.025822296738624573,
0.002421362791210413,
0.019153626635670662,
-0.022128622978925705,
0.026774965226650238,
0.009125549346208572,
-0.04405668377876282,
0.004683947656303644,
0.06789007782936096,
0.038507815450429916,
0.008360909298062325,
-0.023181570693850517,
-0.00990272592753172,
0.038039837032556534,
-0.06294289231300354,
0.015551875345408916,
0.01057126373052597,
0.02035699598491192,
-0.04683111980557442,
0.0074040633626282215,
0.07427462190389633,
0.014498927630484104,
0.05184515565633774,
0.015451595187187195,
0.010947316884994507,
-0.04676426574587822,
-0.07654765248298645,
0.018217671662569046,
-0.022462891414761543,
0.02112581394612789,
-0.05341622233390808,
0.0000674414259265177,
0.05645807087421417,
-0.044090110808610916,
0.013454335741698742,
0.008724426850676537,
-0.007909645326435566,
0.020975394174456596,
-0.046931397169828415,
-0.009234187193214893,
-0.04281988739967346,
0.06986226886510849,
-0.05542183667421341,
0.04031286761164665,
0.05207914486527443,
-0.01693073660135269,
0.0153178870677948,
0.015794221311807632,
0.031036896631121635,
-0.020206574350595474,
0.022496318444609642,
-0.021543651819229126,
0.022128622978925705,
-0.014156301505863667,
0.01561037264764309,
0.015184178948402405,
0.007696548942476511,
0.0613049753010273,
-0.0022542281076312065,
-0.025521455332636833,
0.03981146588921547,
0.05157773941755295,
-0.0008544757147319615,
0.01306157000362873,
0.02896442823112011,
0.01126487273722887,
0.007190966513007879,
0.027159374207258224,
-0.006902659311890602,
-0.01073004212230444,
0.019604889675974846,
0.020206574350595474,
0.03319293260574341,
0.004976433236151934,
0.04559432342648506,
0.03703702986240387,
-0.058062564581632614,
-0.019939159974455833,
-0.0390092171728611,
0.029699821025133133,
-0.04128224775195122,
-0.05966705456376076,
0.003461775602772832,
0.042987022548913956,
-0.030451925471425056,
0.04281988739967346,
0.023014435544610023,
-0.033259786665439606,
-0.018752504140138626,
-0.05314880609512329,
-0.036034222692251205,
-0.0011521842097863555,
-0.027961621060967445,
-0.01868565008044243,
0.024969911202788353,
-0.01672181859612465,
-0.015008687973022461,
0.03697017580270767,
-0.0026219242718070745,
-0.017632702365517616,
-0.06571733206510544,
-0.0694611445069313,
-0.02672482468187809,
0.04114853963255882,
0.010579620487987995,
-0.0195213221013546,
0.019053345546126366,
-0.04783392697572708,
0.031621869653463364,
0.046597130596637726,
0.011289943009614944,
-0.05040779709815979,
-0.042452190071344376,
0.017365286126732826,
0.024568788707256317,
0.0002702880010474473,
-0.02174421213567257,
0.017214864492416382,
-0.0013924401719123125,
0.01436521951109171,
-0.014833196997642517,
0.01460756454616785,
-0.032123271375894547,
-0.03483085334300995,
0.04669741168618202,
0.023532552644610405,
0.023248424753546715,
-0.01975531131029129,
0.02002272568643093,
0.05204571783542633,
-0.05067521333694458,
-0.055555544793605804,
-0.028847433626651764,
0.02757721021771431,
0.006242477800697088,
-0.0027618994936347008,
-0.01490005012601614,
-0.03175557777285576,
0.04094798117876053,
-0.005055821966379881,
-0.006610173732042313,
-0.02000601217150688,
0.028078613802790642,
-0.021911347284913063,
0.057193465530872345,
0.06280918419361115,
-0.05876452848315239,
-0.024669067934155464,
-0.0015867342008277774,
0.0007667300524190068,
0.029415691271424294,
0.03262467682361603,
0.016186987981200218,
-0.04873645305633545,
0.014565781690180302,
-0.006058629602193832,
-0.024953197687864304,
-0.048067912459373474,
0.03287537768483162,
-0.04846903681755066,
-0.019705170765519142,
0.04990639537572861,
-0.030568920075893402,
-0.03371104970574379,
-0.0390426442027092,
0.008047531358897686,
0.0022291578352451324,
0.005682576913386583,
0.018301239237189293,
0.05431874841451645,
0.04826847463846207,
-0.0012242610100656748,
0.0695948526263237,
-0.04515977203845978,
0.002797415480017662,
-0.020791545510292053,
0.0025822296738624573,
-0.00039146060589700937,
-0.02279716171324253,
0.02256317250430584,
0.019354188814759254,
0.011933411471545696,
0.050808921456336975,
-0.022630026564002037,
-0.005954170599579811,
0.031889282166957855,
-0.04907072335481644,
0.01140693761408329,
0.014649348333477974,
-0.03727101907134056,
0.0306692011654377,
-0.007888753898441792,
0.013604757376015186,
-0.01364654116332531,
-0.030485352501273155,
-0.019554749131202698,
-0.013855459168553352,
0.013287201523780823,
0.0028600909281522036,
-0.043856121599674225,
-0.00902526918798685,
-0.034062035381793976,
0.048870161175727844,
-0.043254438787698746,
-0.07882068306207657,
0.0613049753010273,
0.0334937758743763,
-0.04957212507724762,
-0.003545342944562435,
-0.07567854970693588,
0.07033024728298187,
-0.015810934826731682,
-0.03666933253407478,
-0.04338814318180084,
-0.0035808589309453964,
-0.02842959761619568,
-0.003599661635234952,
-0.047733645886182785,
0.015092255547642708,
-0.05532155558466911,
0.0033886542078107595,
-0.017448853701353073,
0.006505714729428291,
0.07848641276359558,
0.06742209941148758,
0.0019795005209743977,
0.04957212507724762,
0.02779448591172695,
-0.001353790401481092,
-0.013362412340939045,
0.01016178447753191,
0.008206309750676155,
0.04071399196982384,
-0.027660777792334557,
0.011239802464842796,
-0.07086507230997086,
0.048335328698158264,
-0.006777308415621519,
0.05451931059360504,
-0.015493378043174744,
0.007888753898441792,
0.04826847463846207,
-0.025387747213244438,
-0.030117657035589218,
0.0666198581457138,
0.00022628459555562586,
-0.05990104377269745,
-0.07968978583812714,
-0.05060835927724838,
-0.00862414576113224,
0.009794088080525398,
0.039376914501190186,
0.03683646768331528,
-0.025153759866952896,
0.01783326268196106
]
|
31,553 | laspy.header | set_version_and_point_format | null | def set_version_and_point_format(
self, version: Version, point_format: PointFormat
) -> None:
dims.raise_if_version_not_compatible_with_fmt(point_format.id, str(version))
self._version = version
self.point_format = point_format
| (self, version: laspy.header.Version, point_format: laspy.point.format.PointFormat) -> NoneType | [
0.030132858082652092,
-0.002529587596654892,
-0.0025210417807102203,
0.06344479322433472,
0.005071994382888079,
-0.002578726736828685,
-0.022048432379961014,
0.0234670527279377,
0.021689504384994507,
0.05862490460276604,
-0.042695339769124985,
-0.04772033169865608,
-0.01481859851628542,
0.022920114919543266,
-0.021569862961769104,
0.015639005228877068,
0.05404429882764816,
-0.013177784159779549,
0.021689504384994507,
0.0016803384060040116,
0.04078105464577675,
-0.04249023646116257,
-0.03209841623902321,
-0.007768227253109217,
0.04286625608801842,
0.016467956826090813,
0.022715013474225998,
0.051753997802734375,
0.0389009565114975,
-0.08272435516119003,
-0.02261246368288994,
-0.003399133449420333,
-0.03305555880069733,
0.057223375886678696,
0.0007077077170833945,
-0.006494887173175812,
-0.015621913596987724,
-0.029620105400681496,
-0.021911699324846268,
0.06532489508390427,
0.04125962778925896,
0.03103872388601303,
-0.013810181058943272,
0.005734301637858152,
-0.05113869160413742,
0.03322647511959076,
0.002033925149589777,
0.04105452448129654,
-0.02100583352148533,
-0.009554320946335793,
-0.02868005447089672,
-0.0025659077800810337,
0.012605208903551102,
-0.0005586884799413383,
-0.04758359491825104,
0.015374082140624523,
0.0838182270526886,
0.11458348482847214,
-0.022475728765130043,
0.04149891063570976,
-0.01602357067167759,
0.030474694445729256,
-0.036644838750362396,
-0.0015489452052861452,
-0.014767322689294815,
-0.010502916760742664,
0.006059046369045973,
0.010981487110257149,
0.0017123855650424957,
0.06221418455243111,
0.055343277752399445,
0.02117675170302391,
-0.056744806468486786,
0.015416811220347881,
0.009981616400182247,
0.028064750134944916,
-0.06546162813901901,
0.064743772149086,
-0.0023287588264793158,
-0.012160821817815304,
0.03602953255176544,
0.026253018528223038,
0.006144505459815264,
-0.0373968780040741,
0.021569862961769104,
-0.008657000958919525,
0.016126122325658798,
0.041669830679893494,
0.006712807808071375,
0.03804636746644974,
-0.014160563237965107,
0.01962139643728733,
-0.00908429641276598,
-0.008357894606888294,
0.026389753445982933,
-0.02637265995144844,
0.01321196835488081,
-0.0464213527739048,
-0.032252244651317596,
0.039037689566612244,
-0.006161597091704607,
-0.10378146171569824,
-0.015297168865799904,
-0.020886190235614777,
-0.04539584368467331,
-0.03719177469611168,
0.02905607409775257,
-0.0013278198894113302,
-0.023757614195346832,
-0.006242783274501562,
-0.01099003292620182,
0.0012872267980128527,
0.0092210303992033,
-0.002045675879344344,
0.007695586886256933,
-0.007789591792970896,
0.0398922823369503,
-0.03698667511343956,
0.017997674643993378,
0.015835560858249664,
0.016425227746367455,
0.06115449219942093,
0.0008647387148812413,
0.05729174241423607,
-0.0034247711300849915,
-0.040712688118219376,
-0.0017818210180848837,
0.03602953255176544,
0.03367086499929428,
-0.06771774590015411,
0.04437033459544182,
0.055719297379255295,
-0.035516779869794846,
-0.028919341042637825,
-0.03355121985077858,
-0.07588762789964676,
-0.04785706475377083,
-0.0015660369535908103,
-0.09243249893188477,
0.03862748667597771,
-0.014852781780064106,
0.03606371581554413,
0.02353542111814022,
-0.04300298914313316,
-0.04460962116718292,
0.03900350630283356,
-0.01972394809126854,
-0.0041618552058935165,
-0.0046361531130969524,
0.03773871436715126,
0.04037085175514221,
0.05182236433029175,
0.03172239661216736,
-0.06846978515386581,
0.009485953487455845,
-0.08197231590747833,
-0.01796349138021469,
-0.047344308346509933,
0.050352469086647034,
0.018100226297974586,
0.008357894606888294,
-0.027517812326550484,
0.06529071182012558,
0.03937952592968941,
-0.05154889449477196,
0.051959097385406494,
-0.09427841752767563,
-0.01816859282553196,
0.009015928953886032,
0.013382886536419392,
0.08217741549015045,
-0.02353542111814022,
0.013083779253065586,
0.05076267197728157,
0.021108383312821388,
0.046011149883270264,
0.03338030353188515,
-0.03334612026810646,
0.04170401394367218,
-0.040063198655843735,
0.05992387980222702,
-0.0060889567248523235,
-0.01859588734805584,
0.03414943441748619,
0.01763874664902687,
-0.01892063207924366,
-0.030919082462787628,
0.0258428156375885,
-0.05418103188276291,
0.005003626924008131,
0.025107866153120995,
0.02775709703564644,
0.00962268840521574,
-0.022954298183321953,
0.022749196738004684,
-0.010109804570674896,
-0.014297298155725002,
-0.07923762500286102,
0.011912990361452103,
0.0002814807230606675,
0.029893573373556137,
-0.010041438043117523,
0.011109675280749798,
-0.01614321395754814,
0.03876422345638275,
0.0034546819515526295,
0.061838164925575256,
-0.03139765188097954,
-0.009485953487455845,
0.004249450750648975,
0.031551480293273926,
-0.04385758191347122,
-0.0054864706471562386,
0.02235608547925949,
-0.03620045259594917,
-0.04047340154647827,
-0.006195780821144581,
-0.007900688797235489,
0.002132203197106719,
0.061017755419015884,
0.06286367028951645,
-0.02707342430949211,
0.040986157953739166,
0.0302354097366333,
0.04529329389333725,
0.006383790634572506,
0.0652223452925682,
-0.07547742873430252,
-0.035448409616947174,
-0.02539842762053013,
-0.017724204808473587,
0.00938340276479721,
-0.08115191012620926,
0.026116283610463142,
0.005324098281562328,
-0.058659087866544724,
0.00355082331225276,
0.05230093374848366,
-0.015211709775030613,
-0.013459799811244011,
0.06942692399024963,
0.02739816904067993,
0.014186201617121696,
-0.010913119651377201,
-0.020014507696032524,
-0.03488438203930855,
-0.010049983859062195,
-0.021467311307787895,
-0.009665417484939098,
0.00549501646310091,
-0.02466347999870777,
-0.007981874980032444,
-0.007708405610173941,
0.03281627222895622,
0.006738445721566677,
-0.04809635132551193,
-0.00341622531414032,
-0.023877257481217384,
0.007447755429893732,
0.0016867478843778372,
-0.08176721632480621,
-0.015715917572379112,
-0.001844847109168768,
-0.0034375900868326426,
0.04840400069952011,
0.001057021552696824,
0.013288881629705429,
-0.02358669601380825,
0.05524072423577309,
0.027039241045713425,
0.028526227921247482,
0.036644838750362396,
-0.04433615133166313,
0.022014249116182327,
0.029517553746700287,
-0.054112665355205536,
-0.02326195128262043,
-0.024834398180246353,
0.04679737240076065,
-0.015835560858249664,
0.08969781547784805,
-0.056676436215639114,
0.040610138326883316,
0.10836206376552582,
-0.02305684983730316,
0.021142566576600075,
-0.006366698537021875,
0.024697663262486458,
0.008152793161571026,
-0.02165532112121582,
-0.008998837321996689,
0.0838182270526886,
0.01115240529179573,
0.03428616747260094,
-0.08142537623643875,
0.017459282651543617,
0.023501237854361534,
0.03657647222280502,
0.018083132803440094,
-0.03322647511959076,
0.02697087451815605,
-0.04331064224243164,
0.08272435516119003,
0.09154372662305832,
0.03934534266591072,
-0.02750072069466114,
0.0346280038356781,
-0.0627269372344017,
0.03568769618868828,
-0.021108383312821388,
0.03565351292490959,
0.061086125671863556,
-0.05578766390681267,
-0.00396529957652092,
0.03548259660601616,
0.014408394694328308,
-0.008567268960177898,
-0.03156857192516327,
0.0008812964078970253,
-0.015997933223843575,
-0.019535938277840614,
-0.012912861071527004,
0.02893643267452717,
-0.0025231782346963882,
-0.02069818042218685,
-0.003672602353617549,
-0.030269593000411987,
-0.04549839347600937,
-0.04088360816240311,
0.05691572278738022,
-0.018561704084277153,
0.05165144428610802,
0.018664255738258362,
0.047036658972501755,
-0.041464727371931076,
-0.006576073355972767,
-0.05452286824584007,
-0.020783638581633568,
0.018903540447354317,
0.048540737479925156,
0.04631880298256874,
-0.004764341749250889,
-0.06652131676673889,
-0.04088360816240311,
-0.02416781708598137,
0.0026663220487535,
0.020510170608758926,
-0.017536194995045662,
0.005700118374079466,
0.016433773562312126,
-0.08949270844459534,
-0.01120368018746376,
0.026560671627521515,
0.010135442949831486,
-0.004845527932047844,
-0.018800988793373108,
-0.019108641892671585,
-0.0381489172577858,
-0.04669482260942459,
0.037020858377218246,
-0.003247443586587906,
-0.00406144093722105,
-0.004576331935822964,
-0.010092712938785553,
-0.05975296348333359,
0.02406526729464531,
-0.012331739999353886,
-0.06354734301567078,
-0.030303776264190674,
0.02562062069773674,
-0.01731400191783905,
-0.041567277163267136,
0.003516639582812786,
-0.03367086499929428,
0.012784672901034355,
0.033739231526851654,
-0.037977997213602066,
0.04696828871965408,
-0.01821986772119999,
-0.05715500935912132,
0.036644838750362396,
-0.031602755188941956,
0.047515228390693665,
0.04078105464577675,
0.0094090411439538,
-0.014852781780064106,
0.000452131760539487,
-0.03201295807957649,
0.02803056687116623,
0.06286367028951645,
-0.04908767342567444,
0.04276370629668236,
0.0294833704829216,
-0.014006737619638443,
0.008246798068284988,
0.015271531417965889,
-0.029551737010478973,
0.033739231526851654,
0.021108383312821388,
-0.043379008769989014,
-0.0034439994487911463,
-0.007093100808560848,
0.023877257481217384,
0.004249450750648975,
-0.011348960921168327,
-0.038354020565748215,
0.027295619249343872,
0.024697663262486458,
-0.009485953487455845,
-0.003894795896485448,
0.028321126475930214,
0.021535679697990417,
-0.033260658383369446,
0.013092325069010258,
0.055548377335071564,
0.0162457637488842,
0.015476632863283157,
-0.025876998901367188,
0.01897190697491169,
0.03862748667597771,
0.036849938333034515,
0.04238768666982651,
0.0044438703916966915,
0.037601977586746216,
0.027842557057738304,
0.026253018528223038,
-0.03510657325387001,
0.00953722931444645,
0.047891248017549515,
-0.005106177646666765,
0.0012231325963512063,
0.013041050173342228,
0.00020643700554501265,
0.01892063207924366,
-0.031483110040426254,
-0.03006449155509472,
0.03349994495511055,
-0.01052855420857668,
-0.0767764076590538,
0.005700118374079466,
0.057428475469350815,
-0.04372084513306618,
-0.001759388018399477,
0.014425486326217651,
-0.013775997795164585,
0.002644957508891821,
-0.020458895713090897,
0.0013363658217713237,
-0.07369987666606903,
-0.05045501887798309,
-0.015168980695307255,
0.038456570357084274,
-0.015886835753917694,
-0.046558085829019547,
0.0019527391996234655,
-0.01021235529333353,
-0.04385758191347122,
-0.035721879452466965,
0.022715013474225998,
0.005204455927014351,
-0.02240736037492752,
-0.002897061640396714,
-0.06552999466657639,
-0.03428616747260094,
-0.033260658383369446,
-0.02262955531477928,
0.060265716165304184,
-0.04272952303290367,
-0.016955073922872543,
-0.006268420722335577,
0.004418232478201389,
-0.06717080622911453,
0.0058026690967381,
0.015177526511251926,
-0.04922441020607948,
0.02175787277519703,
0.014271660707890987,
0.013357248157262802,
-0.011853169649839401,
-0.03156857192516327,
-0.0827927216887474,
0.00854590442031622,
0.011417328380048275,
0.04310554265975952,
0.007152921985834837,
0.02840658649802208,
-0.011947174556553364,
-0.0017187950434163213,
-0.002850059187039733,
0.03575606271624565,
-0.0003079196030739695,
0.030799439176917076,
-0.03705504164099693,
0.029090259224176407,
0.010579830035567284,
0.022321902215480804,
0.021159660071134567,
-0.012468474917113781,
0.016647420823574066,
-0.0036597836297005415,
0.002557361964136362,
-0.013160692527890205,
-0.021262209862470627,
-0.04501982405781746,
0.07520395517349243,
-0.010426003485918045,
0.0023608061019331217,
0.02203134074807167,
0.00807160697877407,
-0.010306360200047493,
-0.04037085175514221,
0.026082100346684456,
0.022475728765130043,
0.029415002092719078,
0.032782088965177536,
0.047412678599357605,
-0.028902249410748482,
-0.014100742526352406,
0.02225353568792343,
-0.003020977135747671,
-0.011673705652356148,
0.02423618547618389,
0.04631880298256874,
-0.04426778480410576,
-0.032252244651317596,
-0.018305327743291855,
0.005806942004710436,
-0.040712688118219376,
0.021159660071134567,
0.01326324325054884,
0.017775481566786766,
0.027945106849074364,
-0.0068879988975822926,
0.03244025260210037,
-0.003296582493931055,
0.023877257481217384,
-0.022697921842336655,
0.03297010064125061,
-0.00932358205318451,
-0.031124183908104897,
-0.023894349113106728,
-0.03821728378534317,
-0.026304293423891068,
-0.04488309100270271,
0.01592101901769638,
-0.06450448930263519,
0.02423618547618389,
-0.01152842491865158,
0.015579183585941792,
-0.05787286534905434,
0.028184393420815468,
-0.014032375067472458,
0.05859072133898735,
0.0024163543712347746,
-0.013699084520339966,
-0.0021802738774567842,
0.04225094988942146,
-0.0032859002240002155,
0.01864716410636902,
-0.037123408168554306,
-0.07028152048587799,
0.014408394694328308,
0.07219579815864563,
0.00044839290785603225,
-0.028064750134944916,
-0.007806683424860239,
-0.032457344233989716,
-0.028987707570195198,
-0.03134637698531151,
0.021518588066101074,
0.05783868208527565,
0.003394860541447997,
-0.009870519861578941,
-0.014246022328734398,
0.011511333286762238,
0.002617183141410351,
-0.0003952480910811573,
0.07110192626714706,
0.008588633500039577,
0.03691830858588219,
-0.030047399923205376,
0.02632138505578041,
0.03978973254561424,
-0.027569087222218513,
-0.015066429041326046,
0.04915604367852211,
0.0067213536240160465,
0.0022219351958483458,
0.056300416588783264,
0.031602755188941956,
-0.062316734343767166,
-0.05643715336918831,
0.03201295807957649,
-0.05927439406514168,
-0.003189758863300085,
-0.015878289937973022,
-0.031004540622234344,
-0.09113352745771408,
0.05763357877731323,
0.031431835144758224,
0.015835560858249664,
0.05824888497591019,
-0.024936949834227562,
-0.01897190697491169,
-0.009520137682557106,
-0.05042083561420441,
-0.012297556735575199,
0.08210904896259308,
-0.014468216337263584,
-0.0009859837591648102,
0.03103872388601303,
0.06836723536252975,
-0.06197489798069,
-0.09263760596513748,
-0.028902249410748482,
-0.007969056256115437,
-0.007828048430383205,
0.010203809477388859,
-0.02225353568792343,
0.0005044754361733794,
-0.023894349113106728,
0.027415260672569275,
-0.0254667941480875,
0.006704261992126703,
-0.027893831953406334,
-0.02175787277519703,
-0.023330319672822952,
-0.050625938922166824,
0.02953464537858963,
-0.029671380296349525,
0.03978973254561424,
0.00454214820638299,
-0.02009996771812439,
-0.0552065409719944,
0.003411952406167984,
-0.03780708089470863,
-0.022715013474225998,
-0.016587600111961365,
0.029671380296349525,
0.07547742873430252,
0.06457285583019257,
-0.02850913628935814,
0.054215218871831894,
-0.023449961096048355,
0.00983633566647768,
0.05452286824584007,
-0.0339956060051918,
-0.032935913652181625,
0.06269275397062302,
0.05127542465925217,
-0.013545257970690727,
-0.045054007321596146,
0.022475728765130043,
-0.01945047825574875,
0.03435453400015831,
0.03103872388601303,
-0.0928427055478096,
0.024184908717870712,
0.00020777230383828282,
-0.017382370308041573,
-0.055445827543735504,
0.00037468448863364756,
-0.02225353568792343,
0.055069807916879654,
-0.004584877751767635,
0.008998837321996689,
-0.03281627222895622,
0.0023287588264793158,
-0.09304780513048172,
0.050899405032396317,
-0.061086125671863556,
0.01032345276325941,
-0.02744944393634796,
-0.0023308955132961273,
0.030218318104743958,
-0.07465702295303345,
-0.028064750134944916,
0.01569882594048977,
-0.009451770223677158,
-0.021894607692956924,
0.040986157953739166,
0.007524668704718351,
-0.015168980695307255,
-0.01667306013405323,
-0.03473055362701416,
0.013895640149712563,
-0.05859072133898735,
0.031107092276215553,
-0.0062043266370892525,
0.011622429825365543,
-0.010836206376552582,
-0.02186042256653309,
-0.0024697664193809032,
-0.008964654058218002,
-0.06662387400865555,
-0.05151471123099327,
-0.032987192273139954,
-0.046011149883270264,
-0.0652223452925682,
0.0006088956724852324,
-0.00035438797203823924,
0.02025379240512848,
-0.05698408931493759,
0.07082845270633698,
-0.020834915339946747,
0.017237089574337006,
-0.03471346199512482,
0.044575437903404236,
-0.052984606474637985,
-0.023945624008774757,
0.030919082462787628,
0.021894607692956924,
0.04423360154032707,
-0.06115449219942093,
0.039960648864507675,
0.10521717369556427,
-0.02020251750946045,
-0.025227509438991547,
-0.002751781139522791,
0.024834398180246353,
-0.05397593230009079,
0.04946369305253029,
-0.02042471058666706,
-0.01090457383543253,
0.007597309071570635,
0.020117059350013733,
-0.0012840221170336008,
0.009443224407732487,
0.005892401095479727,
-0.028714237734675407,
-0.01471604686230421,
0.06457285583019257,
-0.05264277011156082,
0.003465364221483469,
0.021416036412119865,
-0.010579830035567284,
0.010280722752213478,
0.05127542465925217,
0.07308457046747208,
-0.035824429243803024,
-0.060060616582632065,
0.011058400385081768,
-0.08245088160037994,
-0.04368666186928749,
0.009280852042138577,
0.04078105464577675,
-0.02283465676009655,
-0.008507448248565197,
-0.06115449219942093,
0.022390268743038177,
-0.03131219372153282,
0.004469507839530706,
-0.02652648650109768,
0.02358669601380825,
0.08333966135978699,
-0.05042083561420441,
0.01704053394496441,
0.04710502550005913,
0.0469341054558754,
-0.05828306823968887,
-0.04163564741611481,
0.0037879720330238342,
0.028816789388656616,
0.032987192273139954,
0.02198006585240364,
0.02085200697183609,
-0.016433773562312126,
0.01106694620102644
]
|
31,554 | laspy.header | update | null | def update(self, points: PackedPointRecord) -> None:
self.partial_reset()
if not points:
self.maxs = [0.0, 0.0, 0.0]
self.mins = [0.0, 0.0, 0.0]
else:
self.grow(points)
| (self, points: laspy.point.record.PackedPointRecord) -> NoneType | [
0.04912711679935455,
-0.02377505600452423,
-0.058177750557661057,
0.0484071783721447,
-0.0529324971139431,
-0.02427215501666069,
-0.014364453963935375,
0.028557494282722473,
-0.0026376256719231606,
0.04950422793626785,
-0.0771360844373703,
-0.027203327044844627,
0.01686709187924862,
0.03839663043618202,
-0.025437766686081886,
0.010679062455892563,
0.04240770637989044,
-0.02771756798028946,
0.0011891813483089209,
0.0054938034154474735,
0.04641878232359886,
-0.043744731694459915,
0.03836234658956528,
0.07192511856555939,
-0.011159020476043224,
0.010524790734052658,
0.060680389404296875,
0.008514966815710068,
0.00686939712613821,
-0.03819093480706215,
-0.014433018863201141,
0.025009233504533768,
0.03788238763809204,
-0.007992155849933624,
0.02139240875840187,
-0.06551425158977509,
-0.019969675689935684,
0.018906911835074425,
-0.01868407428264618,
0.04491034522652626,
0.037025321274995804,
-0.002299083862453699,
0.04395042732357979,
-0.025506332516670227,
0.05536656826734543,
0.03925369679927826,
0.028128959238529205,
0.0676397755742073,
0.05399525910615921,
-0.04137922450900078,
-0.0035868280101567507,
0.0028111818246543407,
0.030340194702148438,
0.01736419089138508,
0.020038241520524025,
0.05238397419452667,
0.035208337008953094,
0.1013396754860878,
0.022866563871502876,
-0.041104964911937714,
0.007002242375165224,
-0.030374476686120033,
-0.0362711027264595,
-0.08899790048599243,
-0.02710047923028469,
-0.04837289825081825,
0.01558148954063654,
-0.01931830495595932,
0.003959652502089739,
0.016532834619283676,
0.008154998533427715,
0.05649789795279503,
-0.03699103742837906,
-0.009453455917537212,
0.0033361357636749744,
0.02158096246421337,
-0.02401503548026085,
0.0321228951215744,
0.03436841070652008,
-0.07439347356557846,
0.013807359151542187,
-0.0018362674163654447,
0.03226002678275108,
-0.006068038754165173,
-0.026826217770576477,
0.02452927641570568,
0.05286393314599991,
0.010250529274344444,
-0.035208337008953094,
0.024940667673945427,
0.028763189911842346,
0.04247627034783363,
0.009959125891327858,
-0.03022020496428013,
0.0732964277267456,
-0.010044832713901997,
-0.06417722254991531,
-0.027991829439997673,
-0.03585971146821976,
0.033579908311367035,
0.018975477665662766,
-0.0593433640897274,
-0.053960978984832764,
-0.008566390722990036,
-0.00500098941847682,
0.0052109709940850735,
0.062428805977106094,
-0.07322786003351212,
0.008339268155395985,
0.025369202718138695,
-0.00010632995690684766,
0.007002242375165224,
-0.08488398045301437,
0.004300336819142103,
-0.0801529660820961,
-0.004709586501121521,
0.019044043496251106,
0.012598894536495209,
0.04014504700899124,
0.003186148824170232,
-0.04439610242843628,
0.023295098915696144,
-0.005446664988994598,
-0.0010413371492177248,
0.004283195361495018,
-0.02139240875840187,
0.030871575698256493,
0.04785865545272827,
0.03328850865364075,
-0.08035866171121597,
-0.03465981408953667,
-0.02019251324236393,
-0.02878033183515072,
0.02578059397637844,
-0.0593433640897274,
-0.05135549232363701,
0.03501978516578674,
-0.04141350835561752,
-0.013567380607128143,
0.02139240875840187,
0.033151376992464066,
0.047755807638168335,
0.048818573355674744,
0.00019752730440814048,
-0.0173813309520483,
0.0010863331845030189,
0.04031646251678467,
0.05687500908970833,
-0.08029009401798248,
0.029140299186110497,
-0.036853909492492676,
-0.0028926031664013863,
0.05012131482362747,
-0.006676557008177042,
0.029500268399715424,
-0.023792197927832603,
0.01830696500837803,
0.004071071278303862,
-0.0006626204121857882,
-0.008999209851026535,
-0.04796150326728821,
0.027683284133672714,
0.02176951803267002,
0.019901109859347343,
-0.04371044784784317,
0.04264768585562706,
-0.03699103742837906,
-0.008930644951760769,
-0.06253165751695633,
0.02965454012155533,
0.06044040992856026,
-0.004133208654820919,
-0.011304722167551517,
0.02075817808508873,
0.04264768585562706,
0.010181963443756104,
0.002391218673437834,
-0.021992355585098267,
0.044121842831373215,
-0.042681969702243805,
0.015315799042582512,
-0.04021361470222473,
0.026740510016679764,
-0.025917725637555122,
0.0046410211361944675,
0.03945939242839813,
-0.015067248605191708,
0.017132781445980072,
-0.055537983775138855,
-0.05354958400130272,
-0.02809467725455761,
0.020998157560825348,
-0.0037089602556079626,
-0.040042199194431305,
-0.01116759143769741,
0.05550369992852211,
-0.014921547845005989,
-0.024974951520562172,
0.009264901280403137,
0.012401768937706947,
-0.07158228754997253,
-0.06133176013827324,
0.02917458303272724,
-0.06383439898490906,
0.043744731694459915,
0.008112145587801933,
0.004876714665442705,
-0.006599420681595802,
0.011013318784534931,
0.025163505226373672,
0.01533294003456831,
0.016267143189907074,
-0.007062237244099379,
-0.05831488221883774,
0.009204906411468983,
-0.050395578145980835,
0.003996077924966812,
-0.014150186441838741,
0.015838610008358955,
0.00912777055054903,
0.02917458303272724,
-0.02646624855697155,
-0.004347475711256266,
-0.03788238763809204,
0.015547206625342369,
0.013190271332859993,
0.014681568369269371,
-0.0061837430112063885,
-0.06013186648488045,
-0.03805380314588547,
-0.011621837504208088,
-0.051081232726573944,
-0.11107596755027771,
-0.04580169543623924,
0.01849551871418953,
-0.04175633564591408,
0.02590058371424675,
0.010010549798607826,
-0.009453455917537212,
0.012376056984066963,
0.007503627333790064,
-0.015915745869278908,
-0.017672734335064888,
0.01674710214138031,
-0.04922996461391449,
-0.028574634343385696,
0.04340190440416336,
-0.04679589346051216,
-0.016335709020495415,
0.08625528961420059,
0.041619203984737396,
-0.021666670218110085,
-0.021803800016641617,
0.025437766686081886,
0.02488924376666546,
-0.0563264861702919,
-0.02891746163368225,
-0.012316062115132809,
-0.010627638548612595,
-0.03908228501677513,
-0.009050633758306503,
-0.054818045347929,
-0.010336236096918583,
0.03561973199248314,
0.029500268399715424,
0.07377637922763824,
0.025763453915715218,
-0.010824764147400856,
0.002209091791883111,
0.020792460069060326,
0.036476798355579376,
-0.0020987442694604397,
-0.025043515488505363,
0.006843685172498226,
0.015855751931667328,
0.09345465153455734,
0.04175633564591408,
-0.02264372631907463,
0.021495256572961807,
-0.03579114377498627,
0.045698847621679306,
-0.04347047209739685,
0.056532181799411774,
0.003546117339283228,
0.0022198052611202,
0.010739057324826717,
0.0003329172031953931,
0.02747758850455284,
-0.022420888766646385,
-0.032962821424007416,
-0.011716114357113838,
0.04998418316245079,
0.0036725348327308893,
0.0004480856587179005,
0.01427017617970705,
-0.05642933398485184,
-0.013164558447897434,
0.03154008835554123,
-0.0023997894022613764,
0.009084916673600674,
-0.010910470969974995,
-0.08502110838890076,
0.015478641726076603,
0.04453323408961296,
0.07363925129175186,
-0.06002901867032051,
0.01806698553264141,
-0.03155723214149475,
0.03675106167793274,
-0.05426952242851257,
0.030460184440016747,
0.05732068419456482,
-0.045630279928445816,
-0.03579114377498627,
0.057972054928541183,
-0.014038767665624619,
-0.009496309794485569,
0.006350871175527573,
-0.00169270858168602,
0.03208861127495766,
-0.01508439052850008,
-0.09551161527633667,
-0.022060921415686607,
0.052143994718790054,
-0.09777427464723587,
0.012144648469984531,
0.010747628286480904,
-0.00975342933088541,
-0.03599683940410614,
0.004593882709741592,
-0.028883179649710655,
-0.01661854051053524,
0.03022020496428013,
-0.016909943893551826,
-0.011870387010276318,
-0.014990112744271755,
-0.023689350113272667,
-0.0232608150690794,
0.012101794593036175,
0.028557494282722473,
0.031094413250684738,
0.000944381405133754,
-0.02458070032298565,
-0.010096256621181965,
0.0236379262059927,
0.012624606490135193,
0.07398207485675812,
-0.03733386471867561,
0.03393987938761711,
0.010919041931629181,
-0.08200423419475555,
-0.013018857687711716,
-0.008394977077841759,
0.0030318768694996834,
0.02214662730693817,
0.0019509001867845654,
0.027271892875432968,
-0.019798262044787407,
0.017527032643556595,
-0.03997363522648811,
-0.014887264929711819,
-0.017081357538700104,
-0.010944753885269165,
0.025574898347258568,
-0.03299710527062416,
0.0226951502263546,
-0.024049317464232445,
-0.043367620557546616,
-0.014261605218052864,
0.01674710214138031,
0.003993934951722622,
0.0036082547158002853,
-0.040556441992521286,
0.0292945709079504,
-0.04206487908959389,
0.06979958713054657,
-0.01153613068163395,
0.07014241814613342,
-0.013790218159556389,
-0.05265823379158974,
0.029963083565235138,
-0.030837293714284897,
0.001898404792882502,
0.04069356992840767,
0.05036129429936409,
0.025677746161818504,
-0.005348102189600468,
-0.02821466699242592,
-0.014724422246217728,
0.0016230718465521932,
0.04347047209739685,
-0.006513713859021664,
-0.04583597555756569,
-0.029363136738538742,
-0.015375792980194092,
0.02639768272638321,
0.057663511484861374,
-0.0005088839097879827,
-0.01950685866177082,
-0.020586764439940453,
-0.0021790943574160337,
-0.039425112307071686,
-0.029243147000670433,
0.029020309448242188,
-0.050018467009067535,
-0.05639505013823509,
0.023672208189964294,
0.002054819604381919,
-0.016472840681672096,
0.03323708102107048,
0.05248682200908661,
0.08303271234035492,
0.01480155810713768,
-0.03116297908127308,
0.023740774020552635,
-0.037470996379852295,
-0.032465722411870956,
-0.03651108220219612,
0.026826217770576477,
0.034145575016736984,
0.02578059397637844,
0.04967563971877098,
-0.021289560943841934,
0.043367620557546616,
-0.006462289951741695,
-0.0631144642829895,
-0.0423734225332737,
-0.051012665033340454,
-0.01338739600032568,
0.015127243474125862,
-0.009179194457828999,
-0.040864985436201096,
-0.004949565511196852,
-0.008467827923595905,
-0.027254750952124596,
-0.03047732450067997,
0.03166007995605469,
-0.0266548041254282,
-0.017158493399620056,
0.018341246992349625,
0.04000791534781456,
-0.017775582149624825,
0.045630279928445816,
-0.017227059230208397,
0.016412844881415367,
-0.03501978516578674,
-0.02998022548854351,
-0.0809071883559227,
-0.09215191006660461,
0.029448844492435455,
0.004718157462775707,
0.030185922980308533,
0.011596125550568104,
-0.00959058664739132,
0.020809601992368698,
-0.020089665427803993,
-0.04059072211384773,
-0.027820415794849396,
-0.022815139964222908,
-0.012487475760281086,
-0.006702268961817026,
-0.010327665135264397,
-0.05317247658967972,
0.018392670899629593,
-0.04158492013812065,
0.006355156656354666,
0.017227059230208397,
-0.018238399177789688,
-0.04107068106532097,
-0.006702268961817026,
0.057423532009124756,
-0.12074369192123413,
-0.012590323574841022,
-0.041996315121650696,
-0.01430445909500122,
0.013721653260290623,
0.027768991887569427,
0.040487874299287796,
-0.017964137718081474,
-0.01081619318574667,
-0.05536656826734543,
-0.018786922097206116,
0.010593355633318424,
-0.012993145734071732,
0.005412382073700428,
0.03805380314588547,
-0.020466774702072144,
-0.028454644605517387,
-0.02188950777053833,
0.00000636941877019126,
-0.034899793565273285,
-0.030391618609428406,
0.02139240875840187,
0.03162579610943794,
-0.06390295922756195,
0.019112607464194298,
0.03208861127495766,
-0.016978509724140167,
0.05893196910619736,
-0.04580169543623924,
0.003777525620535016,
-0.008412119001150131,
-0.007019383832812309,
-0.03244858235120773,
-0.0010734772076830268,
-0.0017259198939427733,
0.035276904702186584,
0.0313686765730381,
-0.018032703548669815,
-0.0010558002395555377,
-0.0021169569808989763,
-0.05231541022658348,
-0.003854661714285612,
0.04196203127503395,
0.019986817613244057,
0.0005592366214841604,
0.010147680528461933,
0.024923527613282204,
-0.03352848440408707,
-0.041173528879880905,
0.02471783012151718,
0.00503527233377099,
0.03952796012163162,
0.03335707262158394,
-0.03945939242839813,
-0.0017591313226148486,
-0.008082147687673569,
-0.03155723214149475,
0.01976398006081581,
-0.011776109226047993,
0.053960978984832764,
-0.0012813161592930555,
0.012101794593036175,
0.024974951520562172,
0.06033756211400032,
0.0665770173072815,
0.037985239177942276,
-0.08035866171121597,
-0.08611815422773361,
0.008266417309641838,
-0.006543711293488741,
0.007430776488035917,
0.015375792980194092,
-0.04936709627509117,
-0.04864715784788132,
0.01861550845205784,
-0.014184469357132912,
-0.026569096371531487,
0.04696730524301529,
-0.01894119381904602,
-0.0296716820448637,
0.010996177792549133,
0.036785341799259186,
0.041173528879880905,
0.06630275398492813,
0.013481673784554005,
-0.042613402009010315,
-0.05793777108192444,
-0.007700752466917038,
0.02658623829483986,
-0.003978936467319727,
-0.010593355633318424,
0.0983228012919426,
0.04340190440416336,
-0.029877377673983574,
0.005986617412418127,
-0.034265562891960144,
0.06698840856552124,
0.045870259404182434,
0.0374024324119091,
0.04254483804106712,
0.05018988251686096,
-0.048578593879938126,
-0.07802743464708328,
0.066508449614048,
-0.031094413250684738,
-0.005026701837778091,
-0.016952797770500183,
-0.027443306520581245,
0.015032966621220112,
0.0012073940597474575,
0.01849551871418953,
0.0017559173284098506,
-0.04508175700902939,
0.0007606475264765322,
0.023860763758420944,
-0.0692167803645134,
0.02890031971037388,
0.05118408054113388,
0.0699024349451065,
-0.03253428637981415,
0.015024395659565926,
-0.02747758850455284,
0.0047695813700556755,
-0.04278481751680374,
-0.012376056984066963,
-0.041550640016794205,
-0.03839663043618202,
-0.014870123006403446,
0.019232597202062607,
0.011553271673619747,
-0.009170623496174812,
-0.051389776170253754,
0.023946469649672508,
-0.020363926887512207,
-0.0695253238081932,
0.012256067246198654,
0.07021097838878632,
-0.028814613819122314,
0.06133176013827324,
0.0631830245256424,
0.00827927328646183,
0.03448840230703354,
0.01307885255664587,
-0.05437237024307251,
-0.030957283452153206,
0.008039294742047787,
-0.02528349496424198,
0.06787975877523422,
-0.007203653454780579,
-0.005952334497123957,
-0.011750397272408009,
-0.017724158242344856,
0.025694888085126877,
0.005798062775284052,
-0.03599683940410614,
0.06441720575094223,
-0.011596125550568104,
-0.01313884649425745,
-0.0033897024113684893,
0.003985364455729723,
-0.01345596183091402,
-0.0024062173906713724,
-0.04696730524301529,
-0.010576214641332626,
0.003196862293407321,
-0.013258836232125759,
0.00014302316412795335,
0.029843095690011978,
-0.0034839799627661705,
0.10229959338903427,
-0.04552743211388588,
0.035962559282779694,
-0.04611023887991905,
-0.0050481283105909824,
0.018906911835074425,
-0.03484836965799332,
-0.004872429650276899,
-0.0016423558117821813,
0.06026899442076683,
-0.003942511044442654,
-0.01533294003456831,
-0.05882912129163742,
-0.04031646251678467,
0.05457806587219238,
0.02118671126663685,
-0.02677479200065136,
-0.03294568136334419,
0.004030360374599695,
-0.005626649130135775,
-0.08371836692094803,
-0.018461236730217934,
0.04014504700899124,
0.01613001339137554,
-0.016729960218071938,
0.023106543347239494,
0.01587289199233055,
0.046384502202272415,
-0.009067775681614876,
0.040179330855607986,
-0.03719673678278923,
-0.04319620877504349,
-0.016395702958106995,
0.020998157560825348,
0.028934603556990623,
-0.012170360423624516,
-0.041036397218704224,
0.02290084771811962,
-0.05416667461395264,
0.024289296939969063,
0.07706752419471741,
0.011124737560749054,
-0.0502927303314209,
0.025506332516670227,
0.018924053758382797,
0.03344278037548065,
-0.021683810278773308,
0.019335445016622543,
0.013515956699848175,
0.03712816908955574,
0.07521625608205795,
-0.004940995015203953,
0.0457674115896225,
0.012736025266349316,
-0.0726107731461525,
-0.005223827436566353,
-0.02264372631907463,
-0.011921810917556286,
0.02715190313756466,
0.0050524137914180756,
0.015632914379239082,
0.014527296647429466,
-0.04659019783139229,
0.00482957623898983,
0.01173325628042221,
0.07055380940437317,
-0.013593092560768127,
0.05718355253338814,
-0.02396361157298088,
0.03267141804099083,
0.014098762534558773,
0.09036920964717865,
-0.04096783325076103,
-0.041550640016794205,
0.02578059397637844,
0.053720999509096146,
0.010944753885269165,
-0.008017867803573608,
-0.0006208383711054921,
0.028831755742430687,
-0.041482072323560715,
0.05488661304116249,
-0.01382450107485056,
-0.06904537230730057,
-0.0038868016563355923,
0.00934203714132309,
0.03375132381916046,
-0.02533491887152195,
-0.022780857980251312,
-0.006556567270308733,
-0.014981541782617569,
0.010027691721916199,
0.010764769278466702,
-0.00722507992759347,
0.022678010165691376,
0.0006652987794950604,
0.020981015637516975,
0.002299083862453699,
0.04977848753333092,
0.010310523211956024,
0.003850376233458519,
-0.03323708102107048,
0.01232463214546442,
-0.013661658391356468,
-0.015975739806890488,
0.020483916625380516,
-0.005086696241050959,
0.003533261362463236,
-0.07178798317909241,
0.0006251236773096025,
0.05135549232363701,
0.08858650922775269,
0.03465981408953667,
0.04278481751680374,
0.030305910855531693,
-0.0642457902431488,
-0.01988396979868412,
0.019026901572942734,
0.02219805121421814,
-0.03253428637981415,
-0.008454971946775913,
-0.014535866677761078,
-0.014295888133347034,
0.07010813057422638,
-0.018478378653526306,
0.0884493812918663,
-0.029928801581263542,
0.06342300772666931
]
|
31,555 | laspy.header | write_to |
ensure_same_size: if true this function will raise an internal error
if the written header would change the offset to point data
it originally had (meaning the file could become broken),
Used when rewriting a header to update the file (new point count, mins, maxs, etc)
| def write_to(
self,
stream: BinaryIO,
ensure_same_size: bool = False,
encoding_errors: str = "strict",
) -> None:
"""
ensure_same_size: if true this function will raise an internal error
if the written header would change the offset to point data
it originally had (meaning the file could become broken),
Used when rewriting a header to update the file (new point count, mins, maxs, etc)
"""
if self.point_count > self.max_point_count():
raise LaspyException(
f"Version {self.version} cannot save clouds with more than"
f" {self.max_point_count()} points (current: {self.point_count})"
)
little_endian = "little"
with io.BytesIO() as tmp:
self._vlrs.write_to(tmp, encoding_errors=encoding_errors)
vlr_bytes = tmp.getvalue()
header_size = LAS_HEADERS_SIZE[str(self.version)]
header_size += len(self.extra_header_bytes)
new_offset_to_data = header_size + len(vlr_bytes) + len(self.extra_vlr_bytes)
if ensure_same_size and new_offset_to_data != self.offset_to_point_data:
raise LaspyException(
"Internal error, writing header would change original offset to data"
"and break the file"
)
self.offset_to_point_data = new_offset_to_data
stream.write(LAS_FILE_SIGNATURE)
stream.write(self.file_source_id.to_bytes(2, little_endian, signed=False))
self.global_encoding.write_to(stream)
stream.write(self.uuid.bytes_le)
stream.write(self.version.major.to_bytes(1, little_endian, signed=False))
stream.write(self.version.minor.to_bytes(1, little_endian, signed=False))
was_truncated = write_string(
stream,
self.system_identifier,
SYSTEM_IDENTIFIER_LEN,
encoding_errors=encoding_errors,
)
if was_truncated:
logger.warning(
f"system identifier does not fit into the {SYSTEM_IDENTIFIER_LEN} maximum bytes,"
f" it will be truncated"
)
was_truncated = write_string(
stream,
self.generating_software,
GENERATING_SOFTWARE_LEN,
encoding_errors=encoding_errors,
)
if was_truncated:
logger.warning(
f"generating software does not fit into the {GENERATING_SOFTWARE_LEN} maximum bytes,"
f" it will be truncated"
)
if self.creation_date is None:
self.creation_date = date.today()
stream.write(
self.creation_date.timetuple().tm_yday.to_bytes(
2, little_endian, signed=False
)
)
stream.write(self.creation_date.year.to_bytes(2, little_endian, signed=False))
stream.write(header_size.to_bytes(2, little_endian, signed=False))
stream.write(self.offset_to_point_data.to_bytes(4, little_endian, signed=False))
stream.write(len(self._vlrs).to_bytes(4, little_endian, signed=False))
point_format_id = self.point_format.id
if self.are_points_compressed:
point_format_id = uncompressed_id_to_compressed(point_format_id)
stream.write(point_format_id.to_bytes(1, little_endian, signed=False))
stream.write(self.point_format.size.to_bytes(2, little_endian, signed=False))
# Point Count
if self.version.minor >= 4:
stream.write(int(0).to_bytes(4, little_endian, signed=False))
for i in range(5):
stream.write(int(0).to_bytes(4, little_endian, signed=False))
else:
stream.write(self.point_count.to_bytes(4, little_endian, signed=False))
for i in range(5):
stream.write(
int(self.number_of_points_by_return[i]).to_bytes(
4, little_endian, signed=False
)
)
for i in range(3):
stream.write(struct.pack("<d", self.scales[i]))
for i in range(3):
stream.write(struct.pack("<d", self.offsets[i]))
for i in range(3):
stream.write(struct.pack("<d", self.maxs[i]))
stream.write(struct.pack("<d", self.mins[i]))
if self.version.minor >= 3:
stream.write(
self.start_of_waveform_data_packet_record.to_bytes(
8, little_endian, signed=False
)
)
if self.version.minor >= 4:
stream.write(
self.start_of_first_evlr.to_bytes(8, little_endian, signed=False)
)
stream.write(self.number_of_evlrs.to_bytes(4, little_endian, signed=False))
stream.write(self.point_count.to_bytes(8, little_endian, signed=False))
for i in range(15):
stream.write(
int(self.number_of_points_by_return[i]).to_bytes(
8, little_endian, signed=False
)
)
stream.write(self.extra_header_bytes)
stream.write(vlr_bytes)
stream.write(self.extra_vlr_bytes)
| (self, stream: <class 'BinaryIO'>, ensure_same_size: bool = False, encoding_errors: str = 'strict') -> NoneType | [
-0.010229927487671375,
-0.03631749376654625,
-0.061709728091955185,
0.0903635323047638,
0.0032490650191903114,
-0.057107508182525635,
-0.09932784736156464,
0.04486161097884178,
-0.056427180767059326,
0.01386667974293232,
-0.011845706030726433,
-0.052345216274261475,
-0.000636556651443243,
0.030454671010375023,
-0.018428876996040344,
0.103569895029068,
0.006618188228458166,
-0.031074969097971916,
-0.04101976007223129,
0.023051103577017784,
-0.012375961989164352,
-0.009334496222436428,
-0.019329311326146126,
0.028473716229200363,
0.021570390090346336,
0.026752887293696404,
0.01314633246511221,
0.023431288078427315,
-0.006998371332883835,
-0.018548935651779175,
0.0001239659613929689,
-0.05302554368972778,
0.008619152009487152,
-0.011675624176859856,
-0.010415016673505306,
0.0038693640381097794,
0.03525698557496071,
-0.0012418482219800353,
-0.016437917947769165,
0.05582689121365547,
0.00013561220839619637,
-0.008794235996901989,
0.014637051150202751,
-0.026712868362665176,
-0.030554719269275665,
0.03165524825453758,
-0.05218513682484627,
0.03243562579154968,
0.00897932518273592,
0.011405494064092636,
-0.027633311226963997,
-0.005257532466202974,
0.025252165272831917,
-0.005287547130137682,
0.04075963422656059,
0.014166824519634247,
0.032795798033475876,
0.08916295319795609,
-0.02101012133061886,
-0.002663783263415098,
0.013636568561196327,
0.007713716011494398,
0.02297106571495533,
-0.025272173807024956,
0.0008354024030268192,
0.010515064932405949,
-0.04406122490763664,
-0.05782785639166832,
-0.020629938691854477,
0.062029879540205,
0.06226999685168266,
0.010169899091124535,
-0.0034191471058875322,
0.036217447370290756,
-0.009369513019919395,
0.05566681548953056,
-0.03811836242675781,
0.017068222165107727,
-0.010625118389725685,
-0.06226999685168266,
0.06086932122707367,
-0.00034766749013215303,
0.035056889057159424,
0.007643681950867176,
0.02599252015352249,
0.008944308385252953,
0.058308087289333344,
0.0277133509516716,
-0.020790014415979385,
0.002673787996172905,
-0.04606219008564949,
0.0564672015607357,
0.012846188619732857,
-0.022250719368457794,
0.0411798357963562,
-0.07399564236402512,
-0.020099682733416557,
-0.015217330306768417,
-0.027173088863492012,
0.016457928344607353,
-0.039118845015764236,
-0.010324973613023758,
-0.02483196184039116,
-0.0012493518879637122,
-0.011885725893080235,
-0.015657542273402214,
0.008339016698300838,
0.0056227087043225765,
-0.007803759071975946,
-0.025512289255857468,
-0.008444068022072315,
-0.008198949508368969,
-0.047462861984968185,
-0.04554193839430809,
-0.033055923879146576,
-0.007583653088659048,
0.024331720545887947,
0.05770779773592949,
-0.06058918684720993,
0.01399674266576767,
0.04418128356337547,
0.021430322900414467,
-0.01849891059100628,
0.012295923195779324,
-0.009414535015821457,
-0.041660066694021225,
0.03985920175909996,
0.04141995310783386,
0.03523697331547737,
-0.025672366842627525,
-0.03183533623814583,
0.030834853649139404,
-0.009524588473141193,
0.005382592789828777,
-0.027273137122392654,
-0.052345216274261475,
0.036257464438676834,
-0.015477456152439117,
-0.08332013338804245,
-0.010895248502492905,
0.057467684149742126,
0.026852935552597046,
0.03895876556634903,
-0.020009638741612434,
-0.022090641781687737,
0.07443585991859436,
0.013816655613481998,
-0.05186498537659645,
-0.013746622018516064,
0.02837366797029972,
0.04358099400997162,
-0.011445513926446438,
-0.054706353694200516,
0.02177048660814762,
-0.01056508906185627,
-0.09068368375301361,
0.01729833334684372,
-0.056707315146923065,
-0.028173571452498436,
0.04290066659450531,
-0.04738282412290573,
-0.013566534966230392,
0.02219069004058838,
-0.017118245363235474,
-0.06267018616199493,
0.02283099852502346,
-0.060269031673669815,
0.021570390090346336,
0.035717204213142395,
0.01444695983082056,
0.05354579538106918,
0.026112578809261322,
-0.038358479738235474,
0.05954868718981743,
0.009454554878175259,
0.03461667522788048,
0.006678217090666294,
-0.011975768953561783,
0.0038468530401587486,
-0.05554675683379173,
0.018168753013014793,
-0.016137773171067238,
-0.018368849530816078,
0.014787123538553715,
0.000306241272483021,
0.013426467776298523,
-0.0011011554161086679,
0.01287620235234499,
0.03049468994140625,
-0.006748250685632229,
-0.00009473313548369333,
0.03233557567000389,
-0.0007716217078268528,
-0.004091971088200808,
0.023991556838154793,
0.005627710837870836,
0.03423649072647095,
-0.020770005881786346,
0.0016620506066828966,
0.030434660613536835,
-0.03419647365808487,
0.023591363802552223,
-0.01925927773118019,
-0.10589101165533066,
-0.04470153525471687,
-0.002449930179864168,
0.025172125548124313,
0.007993850857019424,
-0.07231483608484268,
0.06883315742015839,
0.06403084844350815,
0.010004819370806217,
-0.026592809706926346,
0.01714826002717018,
0.04314078018069267,
-0.06575167179107666,
-0.06671213358640671,
0.015797609463334084,
-0.024511808529496193,
0.024451779201626778,
0.04069960489869118,
-0.016848115250468254,
-0.06563161313533783,
-0.01941935531795025,
0.004777301102876663,
0.027793388813734055,
0.05638716369867325,
-0.025032058358192444,
0.00722848204895854,
-0.04001927748322487,
0.037418026477098465,
0.02441176027059555,
-0.050624385476112366,
0.03765814006328583,
0.01069515198469162,
-0.008499094285070896,
-0.023311229422688484,
0.049183692783117294,
-0.05278542637825012,
-0.030134515836834908,
-0.03667766973376274,
-0.042980704456567764,
0.013616559095680714,
-0.004197021946310997,
-0.0030089495703577995,
-0.052345216274261475,
0.017648501321673393,
0.03195539489388466,
-0.019509397447109222,
0.02879387140274048,
0.04670249670743942,
-0.0472627691924572,
-0.03237559646368027,
-0.019209252670407295,
0.027633311226963997,
-0.08259978890419006,
0.009574612602591515,
-0.06631194055080414,
0.056707315146923065,
-0.02665283903479576,
-0.01980954222381115,
-0.01755845732986927,
0.0008329012198373675,
-0.02034980244934559,
-0.0068983230739831924,
0.006908327806740999,
-0.007368549704551697,
-0.03303591534495354,
0.02667284943163395,
0.054826412349939346,
-0.02257087267935276,
0.02097010239958763,
-0.11165378242731094,
0.018709013238549232,
0.016277842223644257,
-0.03971913456916809,
0.02721310965716839,
-0.015517475083470345,
0.07351541519165039,
0.03179531544446945,
0.06755254417657852,
0.03863861411809921,
0.030014459043741226,
0.008273986168205738,
0.017118245363235474,
-0.004011932760477066,
-0.02747323364019394,
-0.034656696021556854,
-0.03471672534942627,
-0.08159931004047394,
-0.012265908531844616,
0.04079965502023697,
-0.016708048060536385,
0.007208472583442926,
0.048783499747514725,
0.044941648840904236,
-0.0006206114776432514,
-0.03681773692369461,
0.05018417537212372,
-0.045461900532245636,
-0.03797829523682594,
0.0006659458158537745,
0.12077818065881729,
0.03751807287335396,
-0.007958834059536457,
-0.04582207277417183,
0.018929118290543556,
-0.0646311342716217,
0.0029664288740605116,
-0.03089488297700882,
-0.003769315779209137,
0.01888909935951233,
0.04226035624742508,
-0.005407604854553938,
0.057747818529605865,
0.039298929274082184,
0.021190207451581955,
0.03841850534081459,
0.007668694015592337,
0.06335051357746124,
-0.031215036287903786,
-0.01399674266576767,
0.02653278224170208,
-0.016307855024933815,
0.03555712848901749,
-0.046142227947711945,
0.01544744148850441,
-0.032275546342134476,
0.021610410884022713,
-0.012295923195779324,
-0.03251566365361214,
0.0053675854578614235,
0.02099011093378067,
0.059868838638067245,
0.004912366159260273,
-0.003886872436851263,
-0.01941935531795025,
-0.016948163509368896,
0.04262053221464157,
-0.04079965502023697,
0.020409831777215004,
0.00004244231968186796,
0.0004702265141531825,
0.015287363901734352,
-0.01782858744263649,
-0.04055953770875931,
-0.01730833761394024,
-0.07635678350925446,
-0.041499990969896317,
0.0710742399096489,
-0.03685775399208069,
0.04003928601741791,
-0.013926709070801735,
0.07859785854816437,
0.024351730942726135,
-0.005857822019606829,
-0.010244934819638729,
-0.04446141794323921,
0.03591730073094368,
0.0007253494113683701,
-0.03851855546236038,
0.021870534867048264,
-0.010199913755059242,
0.013126322999596596,
-0.02889391966164112,
-0.03351614624261856,
0.00870419293642044,
-0.03631749376654625,
0.0007966337725520134,
0.016157783567905426,
-0.04422130063176155,
-0.0686330646276474,
-0.010264945216476917,
-0.030794834718108177,
0.01901916228234768,
0.027413206174969673,
0.00031655875500291586,
0.04133991524577141,
-0.05290548503398895,
-0.06122949719429016,
0.019629456102848053,
0.012906217016279697,
-0.021290255710482597,
0.02217067964375019,
0.061189476400613785,
0.00824397150427103,
0.02335124835371971,
-0.007708713412284851,
-0.010374997742474079,
0.04141995310783386,
-0.0035892289597541094,
0.04686257615685463,
0.021330274641513824,
-0.020099682733416557,
0.026712868362665176,
0.039799172431230545,
-0.04057954624295235,
0.08964318037033081,
0.015007229521870613,
-0.028933938592672348,
-0.008749214932322502,
-0.03947901725769043,
-0.03115500882267952,
0.042180318385362625,
-0.03565717488527298,
-0.065511554479599,
0.04113981872797012,
-0.04254049435257912,
0.0023661397863179445,
0.04162004962563515,
-0.020529890432953835,
0.022610891610383987,
-0.030714794993400574,
-0.05390596762299538,
-0.024651875719428062,
0.027173088863492012,
-0.029214072972536087,
0.013876684941351414,
0.03471672534942627,
0.020549898967146873,
0.035857271403074265,
0.04043947905302048,
0.05962872505187988,
0.0934850350022316,
0.009959797374904156,
-0.025112096220254898,
-0.03103495016694069,
0.000627489760518074,
-0.032275546342134476,
0.03103495016694069,
0.047182727605104446,
0.016607999801635742,
-0.009749696590006351,
0.013886689208447933,
-0.01598770171403885,
-0.0003065539349336177,
0.008068886585533619,
-0.028213590383529663,
0.02813355252146721,
0.056707315146923065,
0.10284954309463501,
0.002673787996172905,
-0.016728058457374573,
0.017478419467806816,
-0.005102457944303751,
-0.01083521917462349,
-0.05794791504740715,
-0.028293630108237267,
-0.030014459043741226,
0.01833883486688137,
0.020139701664447784,
-0.026352694258093834,
-0.006263017188757658,
-0.024711905047297478,
-0.014667065814137459,
-0.021690448746085167,
-0.0019459374016150832,
-0.07947828620672226,
-0.032935865223407745,
-0.055786874145269394,
0.011265426874160767,
0.016167787835001945,
0.014196839183568954,
0.001650795224122703,
-0.0011730650439858437,
-0.050504330545663834,
-0.018158746883273125,
-0.030694786459207535,
-0.015397417359054089,
-0.025412240996956825,
0.03061474859714508,
-0.04346093535423279,
-0.01418683398514986,
-0.0004549066361505538,
0.05270538851618767,
0.010475046001374722,
-0.032155491411685944,
0.010229927487671375,
-0.029394159093499184,
-0.036617640405893326,
-0.06491126865148544,
-0.062390055507421494,
-0.030194545164704323,
-0.007448588032275438,
0.03827843815088272,
-0.011715644039213657,
-0.0017495928332209587,
0.007783749606460333,
0.02351132594048977,
-0.017058217898011208,
0.01056508906185627,
0.032155491411685944,
-0.04330085963010788,
0.004359600134193897,
-0.029754333198070526,
0.05122467502951622,
0.019769523292779922,
-0.02667284943163395,
-0.020109687000513077,
-0.05254531279206276,
-0.005162486806511879,
-0.06419092416763306,
-0.037698160856962204,
-0.07087413966655731,
0.03501686826348305,
0.029074005782604218,
0.022770969197154045,
-0.025972511619329453,
0.0016720554558560252,
-0.007873793132603168,
-0.05290548503398895,
0.000444589153630659,
-0.017648501321673393,
0.02639271318912506,
-0.02269093133509159,
0.06743248552083969,
-0.008038872852921486,
0.037297967821359634,
-0.06383074820041656,
0.010139884427189827,
-0.003058973466977477,
0.01208582241088152,
0.03633750602602959,
-0.016858121380209923,
-0.03299589455127716,
0.008228964172303677,
-0.05290548503398895,
-0.06243007257580757,
0.03237559646368027,
0.01661800593137741,
-0.03257569298148155,
-0.023671403527259827,
-0.0012168361572548747,
-0.030134515836834908,
0.08692187070846558,
0.04238041490316391,
0.014216848649084568,
-0.027093051001429558,
-0.012385966256260872,
-0.08468079566955566,
0.010324973613023758,
-0.03475674241781235,
-0.05070442706346512,
-0.0569874532520771,
-0.02903398685157299,
-0.002401156583800912,
0.01378664094954729,
-0.01445696409791708,
0.04670249670743942,
-0.03709787130355835,
0.011215402744710445,
-0.010219923220574856,
0.11029312759637833,
0.013816655613481998,
0.03311595320701599,
0.004369604866951704,
0.030454671010375023,
-0.0028863903135061264,
-0.006418091710656881,
0.020399827510118484,
0.0005293174763210118,
0.013606554828584194,
0.01491718553006649,
-0.02681291662156582,
-0.07875794172286987,
0.055386681109666824,
0.005032424349337816,
-0.001185571076348424,
0.00969467032700777,
0.005922853015363216,
0.04250047355890274,
0.09900769591331482,
-0.04650240018963814,
-0.05862824246287346,
0.04606219008564949,
-0.030054477974772453,
-0.03007448837161064,
0.054586295038461685,
0.04057954624295235,
-0.03499685972929001,
0.008559122681617737,
0.016397899016737938,
0.008719200268387794,
-0.0635906308889389,
0.013486497104167938,
0.034116435796022415,
-0.0038693640381097794,
0.02325120009481907,
0.05238523334264755,
0.06943345069885254,
-0.057907894253730774,
-0.01050506066530943,
0.005132472608238459,
-0.05870828032493591,
-0.022750958800315857,
0.025172125548124313,
0.016157783567905426,
-0.0319754034280777,
0.013766631484031677,
0.047182727605104446,
-0.04037944972515106,
0.020019643008708954,
-0.043100763112306595,
-0.00026809790870174766,
0.014106795191764832,
-0.012245899066329002,
-0.03777819871902466,
0.06279024481773376,
-0.023951537907123566,
0.0201997309923172,
0.051784947514534,
0.048383306711912155,
0.010204915888607502,
-0.09828734397888184,
-0.01755845732986927,
-0.021190207451581955,
0.022110650315880775,
0.01783859357237816,
0.04822323098778725,
-0.0007572397589683533,
0.009234447963535786,
-0.006348058115690947,
-0.025832444429397583,
-0.0056227087043225765,
-0.07359544932842255,
0.012445995584130287,
0.04406122490763664,
-0.001054883119650185,
0.04001927748322487,
-0.022390786558389664,
-0.03155520185828209,
-0.007003373466432095,
0.02575240470468998,
-0.021070150658488274,
0.014877166599035263,
0.02629266493022442,
-0.03167525678873062,
-0.00023089247406460345,
0.0236313845962286,
0.07275504618883133,
0.1058109700679779,
0.03297588601708412,
0.03263572230935097,
-0.0533456988632679,
-0.0012506024213507771,
0.05318561941385269,
0.05082448199391365,
-0.0039143855683505535,
0.017738545313477516,
0.03089488297700882,
-5.080572123006277e-7,
0.00518249673768878,
-0.016788087785243988,
-0.04370105266571045,
0.04129989445209503,
-0.025132106617093086,
-0.0053725880570709705,
0.019109204411506653,
0.04606219008564949,
-0.03091489151120186,
0.00478480476886034,
-0.03667766973376274,
0.03341609612107277,
-0.037297967821359634,
-0.04278060793876648,
0.006127952132374048,
-0.0007759988075122237,
0.023431288078427315,
0.007943826727569103,
0.009809725917875767,
-0.004509672522544861,
-0.011565571650862694,
-0.010064848698675632,
0.036877766251564026,
0.0639508068561554,
-0.024071596562862396,
-0.01412680558860302,
-0.03763813152909279,
-0.008334014564752579,
-0.012175865471363068,
0.022911036387085915,
0.07275504618883133,
-0.020649947226047516,
-0.0437810905277729,
-0.022670920938253403,
0.02189054526388645,
-0.02219069004058838,
0.027753369882702827,
0.003701783251017332,
-0.020289773121476173,
-0.0018383855931460857,
0.013386448845267296,
0.012906217016279697,
0.021850526332855225,
-0.024231672286987305,
-0.04003928601741791,
-0.005627710837870836,
-0.013416462577879429,
-0.0015670048305764794,
-0.00722347991541028,
-0.014516993425786495,
-0.02127024717628956,
0.007973841391503811,
0.040739625692367554,
-0.011675624176859856,
0.02575240470468998,
-0.006818284280598164,
-0.013106313534080982,
0.033836301416158676,
-0.006573166232556105,
0.025632347911596298,
0.042460452765226364,
-0.00063499336829409,
-0.05702747032046318,
-0.03035462275147438,
0.04698263108730316,
-0.03167525678873062,
0.033836301416158676,
-0.004599715583026409,
0.02627265639603138,
-0.03203543275594711,
0.05082448199391365,
0.04087969288229942,
-0.013116318732500076,
-0.06611184775829315,
-0.030794834718108177,
-0.04386112838983536,
0.016157783567905426,
0.006363064981997013,
0.037418026477098465,
0.019179239869117737,
0.03125505521893501,
-0.03747805207967758,
0.025932492688298225,
0.004697262775152922,
0.02087005414068699,
-0.016998188570141792,
0.023311229422688484,
0.02851373516023159,
0.01569756120443344,
0.015227335505187511,
0.017768559977412224,
-0.06263016909360886,
-0.05306556448340416,
0.006678217090666294,
0.05002409592270851,
0.06251011043787003,
0.028413686901330948,
-0.06407086551189423,
0.023071113973855972,
0.049423810094594955,
0.0036867759190499783,
-0.03185534477233887,
0.015327383764088154,
0.01400674693286419,
-0.021050140261650085,
0.016607999801635742,
0.03573721647262573,
0.020649947226047516,
-0.04027940332889557,
-0.014577021822333336,
-0.0380583330988884,
-0.02521214447915554,
0.09460557252168655,
0.010755181312561035,
0.06539150327444077,
-0.10012823343276978,
0.0630703791975975
]
|
31,556 | laspy.lasreader | LasReader | The reader class handles LAS and LAZ via one of the supported backend | class LasReader:
"""The reader class handles LAS and LAZ via one of the supported backend"""
def __init__(
self,
source: BinaryIO,
closefd: bool = True,
laz_backend: Optional[Union[LazBackend, Iterable[LazBackend]]] = None,
read_evlrs: bool = True,
decompression_selection: DecompressionSelection = DecompressionSelection.all(),
):
"""
Initialize the LasReader
Parameters
----------
source: file_object
closefd: bool, default True
laz_backend: LazBackend or list of LazBackend, optional
read_evlrs: bool, default True
only applies to __init__ phase, and for files
that support evlrs
decompression_selection: optional, DecompressionSelection
Selection of fields to decompress, only works form point format >= 6 <= 10
Ignored on other point formats
.. versionadded:: 2.4
The ``read_evlrs`` and ``decompression_selection`` parameters.
"""
self.closefd = closefd
if laz_backend is None:
laz_backend = LazBackend.detect_available()
self.laz_backend = laz_backend
self.header = LasHeader.read_from(source, read_evlrs=read_evlrs)
self.decompression_selection = decompression_selection
# The point source is lazily instanciated.
# Because some reader implementation may
# read informations that require to seek towards the end of
# the file (eg: chunk table), and we prefer to limit opening
# to reading the header
self._point_source: Optional["IPointReader"] = None
self._source = source
self.points_read = 0
@property
def evlrs(self) -> Optional[VLRList]:
return self.header.evlrs
@evlrs.setter
def evlrs(self, evlrs: VLRList) -> None:
self.header.evlrs = evlrs
@property
def point_source(self) -> "IPointReader":
if self._point_source is None:
self._point_source = self._create_point_source(self._source)
return self._point_source
def read_points(self, n: int) -> record.ScaleAwarePointRecord:
"""Read n points from the file
Will only read as many points as the header advertise.
That is, if you ask to read 50 points and there are only 45 points left
this function will only read 45 points.
If there are no points left to read, returns an empty point record.
Parameters
----------
n: The number of points to read
if n is less than 0, this function will read the remaining points
"""
points_left = self.header.point_count - self.points_read
if points_left <= 0:
return record.ScaleAwarePointRecord.empty(
self.header.point_format,
self.header.scales,
self.header.offsets,
)
if n < 0:
n = points_left
else:
n = min(n, points_left)
r = record.PackedPointRecord.from_buffer(
self.point_source.read_n_points(n), self.header.point_format
)
if len(r) < n:
logger.error(f"Could only read {len(r)} of the requested {n} points")
points = record.ScaleAwarePointRecord(
r.array, r.point_format, self.header.scales, self.header.offsets
)
self.points_read += n
return points
def read(self) -> LasData:
"""
Reads all the points that are not read and returns a LasData object
This will also read EVLRS
"""
points = self.read_points(-1)
las_data = LasData(header=self.header, points=points)
shall_read_evlr = (
self.header.version.minor >= 4
and self.header.number_of_evlrs > 0
and self.evlrs is None
)
if shall_read_evlr:
# If we have to read evlrs by now, it either means:
# - the user asked for them not to be read during the opening phase.
# - and/or the stream is not seekable, thus they could not be read during opening phase
#
if self.point_source.source.seekable():
self.read_evlrs()
else:
# In that case we are still going to
# try to read the evlrs by relying on the fact that they should generally be
# right after the last point, which is where we are now.
if self.header.are_points_compressed:
if not isinstance(self.point_source, LazrsPointReader):
raise errors.LaspyException(
"Reading EVLRs from a LAZ in a non-seekable stream "
"can only be done with lazrs backend"
)
# Few things: If the stream is non seekable, only a LazrsPointReader
# could have been created (parallel requires ability to seek)
#
# Also, to work, the next lines of code assumes that:
# 1) We actually are just after the last point
# 2) The chunk table _starts_ just after the last point
# 3) The first EVLR starts just after the chunk table
# These assumptions should be fine for most of the cases
# and non seekable sources are probably not that common
_ = self.point_source.read_chunk_table_only()
# Since the LazrsDecompressor uses a buffered reader
# the python file object's position is not at the position we
# think it is.
# So we have to read data from the decompressor's
# buffered stream.
class LocalReader:
def __init__(self, source: LazrsPointReader) -> None:
self.source = source
def read(self, n: int) -> bytes:
return self.source.read_raw_bytes(n)
self.evlrs = VLRList.read_from(
LocalReader(self.point_source),
self.header.number_of_evlrs,
extended=True,
)
else:
# For this to work, we assume that the first evlr
# start just after the last point
self.header.evlrs = VLRList.read_from(
self.point_source.source,
self.header.number_of_evlrs,
extended=True,
)
return las_data
def seek(self, pos: int, whence: int = io.SEEK_SET) -> int:
"""Seeks to the start of the point at the given pos
Parameters
----------
pos: index of the point to seek to
whence: optional, controls how the pos parameter is interpreted:
io.SEEK_SET: (default) pos is the index of the point from the beginning
io.SEEK_CUR: pos is the point_index relative to the point_index of the last point read
io.SEEK_END: pos is the point_index relative to last point
Returns
-------
The index of the point the reader seeked to, relative to the first point
"""
if whence == io.SEEK_SET:
allowed_range = range(0, self.header.point_count)
point_index = pos
elif whence == io.SEEK_CUR:
allowed_range = range(
-self.points_read, self.header.point_count - self.points_read
)
point_index = self.points_read + pos
elif whence == io.SEEK_END:
allowed_range = range(-self.header.point_count, 0)
point_index = self.header.point_count + pos
else:
raise ValueError(f"Invalid value for whence: {whence}")
if pos not in allowed_range:
whence_str = ["start", "current point", "end"]
raise IndexError(
f"When seeking from | (source: <class 'BinaryIO'>, closefd: bool = True, laz_backend: Union[laspy._compression.backend.LazBackend, Iterable[laspy._compression.backend.LazBackend], NoneType] = None, read_evlrs: bool = True, decompression_selection: laspy._compression.selection.DecompressionSelection = <DecompressionSelection.ALL_EXTRA_BYTES|WAVEPACKET|NIR|RGB|GPS_TIME|POINT_SOURCE_ID|USER_DATA|SCAN_ANGLE|INTENSITY|FLAGS|CLASSIFICATION|Z|XY_RETURNS_CHANNEL: 8191>) | [
0.015597750432789326,
-0.03839446231722832,
-0.0777323767542839,
0.06579563766717911,
0.016582224518060684,
0.017771795392036438,
-0.018140973523259163,
0.026498742401599884,
-0.04106074571609497,
-0.001711291610263288,
-0.02350430190563202,
-0.02857023850083351,
-0.021022608503699303,
0.05090547725558281,
-0.042988672852516174,
0.07022576779127121,
-0.017607716843485832,
0.046967584639787674,
-0.03980964422225952,
0.0059837521985173225,
-0.03792273625731468,
-0.028180550783872604,
-0.026744861155748367,
0.012018779292702675,
-0.0004053902521263808,
0.04253745451569557,
0.029021454975008965,
0.0019343363819643855,
-0.04516271874308586,
-0.016356615349650383,
0.0029918760992586613,
-0.01896136812865734,
-0.04639330878853798,
-0.011454758234322071,
-0.03946097567677498,
-0.0053633288480341434,
0.03308240696787834,
-0.012090563774108887,
-0.0326722115278244,
0.055171530693769455,
-0.017238538712263107,
-0.004773670341819525,
0.03849701210856438,
0.008521847426891327,
-0.054022978991270065,
0.019310034811496735,
-0.04348090663552284,
-0.02171994373202324,
0.03632296621799469,
0.0037225401028990746,
0.015946418046951294,
-0.021043118089437485,
0.04104023426771164,
-0.013731352984905243,
0.028365138918161392,
-0.016889872029423714,
-0.023647870868444443,
0.1224028617143631,
-0.014110784977674484,
0.020868785679340363,
0.01847938634455204,
0.0023586342576891184,
0.03336954489350319,
0.022273709997534752,
0.0066657052375376225,
-0.02615007385611534,
0.01837683655321598,
-0.04458843916654587,
-0.03390280157327652,
0.017248794436454773,
0.03135957941412926,
-0.003358490066602826,
0.005037734750658274,
0.0401172898709774,
0.01885881833732128,
-0.004273742437362671,
-0.04922366887331009,
0.03355413302779198,
0.010172891430556774,
-0.034066881984472275,
0.029103495180606842,
0.014777355827391148,
0.02717556804418564,
-0.010419010184705257,
0.023586342111229897,
-0.004007114563137293,
0.07715810090303421,
0.009070486761629581,
0.017823070287704468,
0.02941114269196987,
-0.022294219583272934,
0.0351744145154953,
-0.005711996462196112,
-0.007850149646401405,
0.02414010837674141,
-0.051807913929224014,
-0.007711708080023527,
0.0004053902521263808,
-0.0034174558240920305,
0.005006970372051001,
-0.04290663078427315,
0.015423416160047054,
-0.04565495252609253,
0.01973048783838749,
-0.009675527922809124,
0.026642311364412308,
-0.008532103151082993,
0.021986572071909904,
0.029308592900633812,
-0.026601292192935944,
-0.026580780744552612,
-0.024509284645318985,
-0.03663061559200287,
0.00889615248888731,
-0.06321139633655548,
0.007111794780939817,
0.018848562613129616,
0.03129804879426956,
-0.08794628828763962,
0.002643208485096693,
0.05791985243558884,
0.008932044729590416,
-0.06924129277467728,
0.021227708086371422,
-0.024017048999667168,
-0.08216250687837601,
0.04774696007370949,
0.003481549210846424,
0.02217116206884384,
-0.03708183020353317,
0.02118668705224991,
0.023360732942819595,
-0.024078577756881714,
-0.007306638639420271,
-0.04434232413768768,
-0.014582511968910694,
0.013741607777774334,
0.00948068406432867,
-0.11485522985458374,
-0.001536957803182304,
0.04270153492689133,
0.0361383780837059,
0.047828998416662216,
-0.04009678214788437,
-0.06247304007411003,
0.035851240158081055,
0.02559630759060383,
-0.0495518259704113,
-0.012664839625358582,
0.022212181240320206,
0.006655450444668531,
-0.03443605825304985,
-0.04368600621819496,
0.028611257672309875,
0.056648239493370056,
-0.07063596695661545,
-0.06427790969610214,
-0.012951978482306004,
-0.04967488721013069,
0.035420533269643784,
-0.04828021675348282,
-0.00006801903509767726,
-0.002030476462095976,
0.00984986126422882,
-0.06760050356388092,
0.005342819262295961,
-0.05414603650569916,
-0.021227708086371422,
-0.008521847426891327,
0.031441617757081985,
0.06542646139860153,
0.05172587186098099,
-0.059806760400533676,
0.03314393758773804,
0.012408467009663582,
0.03650755435228348,
-0.006332419812679291,
0.025985995307564735,
0.014879904687404633,
-0.07416366040706635,
0.009398644790053368,
-0.000601836247369647,
-0.008321876637637615,
-0.023688891902565956,
-0.013936451636254787,
0.04229133576154709,
0.023647870868444443,
-0.02885737642645836,
0.025698857381939888,
0.004930058028548956,
-0.04922366887331009,
0.009024339728057384,
0.01684885285794735,
-0.00989088136702776,
-0.004755724221467972,
0.006511881481856108,
0.018704993650317192,
0.02834462933242321,
-0.00296623888425529,
0.004822381306439638,
-0.036917753517627716,
0.04503965750336647,
0.007327148225158453,
-0.04116329550743103,
-0.09254050254821777,
0.025022031739354134,
-0.0023163326550275087,
0.048034097999334335,
-0.07834767550230026,
0.07043086737394333,
0.005476133432239294,
-0.0470496229827404,
0.005968370009213686,
0.01600794680416584,
0.03876363858580589,
-0.021473824977874756,
-0.08901280164718628,
0.01643865555524826,
0.04922366887331009,
0.033328525722026825,
0.07740422338247299,
-0.018079442903399467,
-0.054966431111097336,
-0.00226890342310071,
0.0455729141831398,
0.01593616232275963,
0.04021983966231346,
-0.0005781217478215694,
-0.015966927632689476,
-0.02153535559773445,
0.009803714230656624,
-0.018448621034622192,
-0.04905959218740463,
0.01170087605714798,
0.08339309692382812,
-0.005824801046401262,
0.011588072404265404,
0.05771475285291672,
-0.0911458283662796,
-0.0010094697354361415,
-0.009778076782822609,
0.011711131781339645,
0.0031380089931190014,
-0.04360396787524223,
-0.04302969202399254,
-0.013157077133655548,
0.06973353028297424,
0.018212758004665375,
-0.056238044053316116,
0.020427823066711426,
0.02518611028790474,
-0.012254642322659492,
-0.01037286315113306,
0.010818952694535255,
-0.0037686871364712715,
-0.08269576728343964,
0.02184300310909748,
-0.04627025127410889,
0.029554711654782295,
-0.036466535180807114,
-0.021555865183472633,
-0.07018475234508514,
-0.006260635331273079,
0.02980083040893078,
0.018058933317661285,
0.036158885806798935,
0.034271981567144394,
-0.05131567642092705,
0.01623355597257614,
0.013577529229223728,
0.1035337820649147,
-0.009260202758014202,
-0.09360700845718384,
0.017320578917860985,
0.01690012589097023,
0.01998686045408249,
0.018315307796001434,
-0.012921213172376156,
0.0480751171708107,
0.037102341651916504,
0.04360396787524223,
0.04186062887310982,
-0.01108558103442192,
0.021125158295035362,
-0.004709577187895775,
-0.027031999081373215,
-0.04618820920586586,
-0.06829784065485,
-0.01806918904185295,
-0.022868497297167778,
0.008332131430506706,
-0.008239837363362312,
-0.0015177298337221146,
-0.027667803689837456,
0.10730759799480438,
0.03724591061472893,
-0.0075219920836389065,
-0.05845310911536217,
0.005824801046401262,
-0.056114982813596725,
-0.017269304022192955,
-0.0609142929315567,
0.10747168213129044,
0.03336954489350319,
-0.06936435401439667,
-0.05964267998933792,
-0.013136566616594791,
-0.05562274530529976,
-0.008619269356131554,
-0.0609142929315567,
0.03507186472415924,
0.041409410536289215,
0.015741318464279175,
-0.050864458084106445,
0.004994151648133993,
0.017474403604865074,
-0.0013357048155739903,
0.08515694737434387,
0.04093768447637558,
0.015361886471509933,
-0.05287442356348038,
0.03055969439446926,
0.013146821409463882,
-0.009270457550883293,
0.026293642818927765,
0.014367158524692059,
0.01815122738480568,
-0.01784357987344265,
-0.011998269706964493,
-0.002331715077161789,
-0.055048469454050064,
0.009024339728057384,
-0.04071207717061043,
0.04471150040626526,
-0.026375683024525642,
-0.014110784977674484,
-0.014028745703399181,
0.009947283193469048,
0.05636110156774521,
-0.03687673434615135,
0.05279238522052765,
-0.01618228107690811,
0.0007530964794568717,
0.012316172011196613,
0.026580780744552612,
-0.03708183020353317,
0.05435113608837128,
-0.028283100575208664,
0.013936451636254787,
0.0967245101928711,
-0.029944399371743202,
0.002161226700991392,
-0.02414010837674141,
0.05508948862552643,
-0.00792706198990345,
-0.02141229622066021,
-0.018930602818727493,
-0.024816934019327164,
0.006122193764895201,
-0.0007582239923067391,
-0.0003097309672739357,
0.005578682757914066,
-0.05324360355734825,
0.024324696511030197,
-0.056320082396268845,
-0.0416555292904377,
-0.002577833365648985,
-0.03509237617254257,
0.029165023937821388,
0.026847409084439278,
-0.05714047700166702,
-0.04946978762745857,
-0.021863512694835663,
-0.016787322238087654,
0.002157381037250161,
-0.05644313991069794,
0.0495518259704113,
0.037102341651916504,
-0.010952266864478588,
0.031769778579473495,
0.025165600702166557,
0.03862006962299347,
-0.010675383731722832,
0.029124004766345024,
-0.013187841512262821,
0.005014661233872175,
-0.0297187902033329,
0.003227739594876766,
0.02688843011856079,
0.021248217672109604,
0.034682177007198334,
0.024324696511030197,
0.0012395648518577218,
-0.041737571358680725,
-0.0011190694058313966,
0.025473248213529587,
-0.04122482240200043,
0.05919146165251732,
0.007045137695968151,
-0.06509830057621002,
-0.005650467239320278,
-0.006722107529640198,
-0.036158885806798935,
0.04389110580086708,
-0.014982454478740692,
-0.041840117424726486,
0.11698825657367706,
-0.03548206016421318,
0.0002417920477455482,
0.031544167548418045,
0.01820250228047371,
0.036261435598134995,
-0.0070861573331058025,
-0.020150939002633095,
-0.02184300310909748,
0.02184300310909748,
-0.027524234727025032,
-0.0220481026917696,
0.009337115101516247,
0.04021983966231346,
0.034169431775808334,
0.032815780490636826,
-0.01406976580619812,
0.021268727257847786,
0.0063734399154782295,
-0.014551747590303421,
-0.05640212073922157,
0.022827476263046265,
-0.04692656546831131,
0.0008037302177399397,
0.01885881833732128,
0.006045281887054443,
-0.015156787820160389,
-0.04860837385058403,
-0.054022978991270065,
0.015659280121326447,
-0.016736047342419624,
-0.0018869073828682303,
0.04294764995574951,
0.002331715077161789,
0.06070919334888458,
0.04442436248064041,
0.023976029828190804,
0.017043694853782654,
-0.011567562818527222,
-0.006947715766727924,
-0.03250813111662865,
0.0013536509359255433,
-0.0872899740934372,
-0.02467336505651474,
-0.012100818566977978,
0.006440097000449896,
0.017043694853782654,
-0.005240269936621189,
-0.02877533622086048,
-0.01605922169983387,
-0.0009312759502790868,
-0.006358057260513306,
-0.043398868292570114,
0.008891025558114052,
0.02949318289756775,
0.032692719250917435,
0.00661443080753088,
-0.041204314678907394,
0.00923969317227602,
0.01973048783838749,
0.006317037623375654,
-0.008660289458930492,
-0.05919146165251732,
-0.009357624687254429,
0.005655594635754824,
-0.034477077424526215,
-0.026314154267311096,
-0.01626432128250599,
0.018028169870376587,
0.02645772323012352,
0.01827428676187992,
0.005917095113545656,
0.008567995391786098,
-0.011988014914095402,
-0.032159462571144104,
-0.11264016479253769,
0.007378423120826483,
-0.007598903961479664,
0.009649890474975109,
0.023442773148417473,
-0.01480812020599842,
0.02130974642932415,
-0.025227131322026253,
-0.021966062486171722,
-0.04725472256541252,
0.04421926289796829,
0.0016689900076016784,
0.038271404802799225,
0.0028816356789320707,
0.020961079746484756,
0.06616481393575668,
0.009424281306564808,
0.09213030338287354,
-0.05394093692302704,
0.014879904687404633,
-0.029267573729157448,
-0.01863320916891098,
-0.07518915832042694,
0.05262830853462219,
0.042168278247117996,
0.005609447136521339,
-0.001751029514707625,
-0.02500152215361595,
-0.005171048920601606,
-0.014695316553115845,
0.00444038538262248,
0.03033408708870411,
0.016038712114095688,
-0.025493759661912918,
0.06120143085718155,
0.02559630759060383,
0.07756830006837845,
-0.040158309042453766,
0.006029899697750807,
0.011557307094335556,
0.009080741554498672,
0.05193097144365311,
-0.03745101019740105,
-0.029452161863446236,
0.029267573729157448,
-0.03390280157327652,
-0.059888798743486404,
0.0416555292904377,
-0.004566008225083351,
-0.002048422582447529,
-0.02424265816807747,
0.0009235847392119467,
-0.02688843011856079,
0.05722251534461975,
0.03423095867037773,
0.017874345183372498,
-0.01804867945611477,
-0.023340223357081413,
-0.042988672852516174,
0.021576374769210815,
0.0013715970562770963,
-0.0007454053265973926,
-0.0235248114913702,
0.017238538712263107,
-0.030826322734355927,
0.011988014914095402,
0.03597429767251015,
0.04700860381126404,
0.01186495553702116,
0.06760050356388092,
-0.05074140056967735,
0.05882228538393974,
-0.02559630759060383,
0.0505773201584816,
-0.03892771899700165,
0.0019804835319519043,
-0.04065054655075073,
-0.011526542715728283,
0.002111234003677964,
-0.005706869065761566,
0.056935377418994904,
-0.0062298704870045185,
-0.030395615845918655,
-0.022417278960347176,
0.011957249604165554,
0.023545321077108383,
-0.006501626223325729,
0.017371853813529015,
-0.016705282032489777,
0.05960166081786156,
0.06226794049143791,
-0.04075309634208679,
-0.009649890474975109,
0.013290390372276306,
-0.0091781634837389,
-0.022335240617394447,
0.007183579262346029,
0.005404348950833082,
-0.04590107128024101,
0.059806760400533676,
-0.01636687107384205,
0.009408899582922459,
-0.09623227268457413,
0.010465157218277454,
0.03199538588523865,
-0.027647294104099274,
0.039830151945352554,
0.06169366464018822,
0.05771475285291672,
-0.04631127044558525,
-0.046229228377342224,
-0.01969972252845764,
-0.05164383351802826,
0.013741607777774334,
0.03589225932955742,
0.024427246302366257,
-0.01748465746641159,
0.015208062715828419,
0.0430707111954689,
-0.06817477941513062,
-0.00609142892062664,
-0.06477014720439911,
-0.021863512694835663,
-0.013803137466311455,
-0.0406915657222271,
-0.03435401991009712,
0.02867278829216957,
-0.0010761268204078078,
0.007747600320726633,
0.03181079775094986,
0.0411427840590477,
-0.003904565004631877,
-0.05763271450996399,
-0.021863512694835663,
-0.03687673434615135,
0.009024339728057384,
-0.011034306138753891,
0.09590411931276321,
0.03558460995554924,
0.0055735548958182335,
-0.02360685169696808,
0.007614286616444588,
0.017341088503599167,
-0.039830151945352554,
-0.02098158933222294,
0.04914163053035736,
-0.04405518248677254,
0.027052508667111397,
-0.00359691702760756,
0.014203079976141453,
0.006004262249916792,
0.03316444903612137,
-0.011106090620160103,
0.01228540763258934,
0.018458876758813858,
0.024324696511030197,
-0.013044272549450397,
0.024488775059580803,
0.05722251534461975,
0.020202213898301125,
-0.018930602818727493,
-0.0011376563925296068,
-0.043521929532289505,
-0.004609591793268919,
0.02245829999446869,
0.04836225509643555,
0.029985418543219566,
0.07810155302286148,
0.07883991301059723,
0.021350767463445663,
0.02584242634475231,
-0.026498742401599884,
-0.037409987300634384,
-0.012244387529790401,
0.00045121696894057095,
0.005558172706514597,
0.020397057756781578,
0.018663974478840828,
-0.005804290995001793,
0.011793171055614948,
-0.028734317049384117,
0.01223413273692131,
0.004801871720701456,
-0.005876075476408005,
-0.03583072870969772,
-0.012818664312362671,
0.053366661071777344,
-0.011362464167177677,
0.06440097093582153,
-0.05865820497274399,
-0.025985995307564735,
-0.01885881833732128,
0.0198022723197937,
0.07260490953922272,
-0.05459725484251976,
-0.0053274366073310375,
-0.06948741525411606,
0.002480411436408758,
0.0011652165558189154,
0.015126023441553116,
0.07588648796081543,
-0.017782051116228104,
0.009085869416594505,
-0.028365138918161392,
0.08474674820899963,
-0.008214199915528297,
-0.02414010837674141,
0.029964908957481384,
-0.03782018646597862,
0.015454181469976902,
0.06870803982019424,
0.04380906745791435,
0.005814545787870884,
-0.045408833771944046,
-0.0719485953450203,
-0.027954941615462303,
-0.036794692277908325,
-0.029329102486371994,
-0.027995962649583817,
0.018930602818727493,
-0.03872261941432953,
-0.007239981554448605,
-0.000127866180264391,
-0.030621225014328957,
0.024857953190803528,
-0.03045714646577835,
0.00984986126422882,
-0.03131856024265289,
0.0029790576081722975,
0.014572257176041603,
0.03119550086557865,
0.012100818566977978,
-0.031216010451316833,
0.031216010451316833,
0.03341056406497955,
-0.04081462696194649,
0.02321716398000717,
-0.014182569459080696,
0.030087968334555626,
-0.03482574597001076,
0.038148343563079834,
0.003702030051499605,
0.04606515169143677,
-0.040794115513563156,
-0.007178451865911484,
-0.04095819592475891,
0.015156787820160389,
-0.04327581077814102,
0.030375106260180473,
0.029575221240520477,
0.041840117424726486,
-0.030046949163079262,
0.015761829912662506,
0.004127610009163618,
-0.048239197582006454,
0.020632920786738396,
0.020602157339453697,
0.032590169459581375,
-0.01259305514395237,
-0.0007537374622188509,
-0.020704705268144608,
-0.08515694737434387,
-0.012367446906864643,
0.0198022723197937,
0.0406915657222271,
0.01746414788067341,
0.023791439831256866,
-0.033349037170410156,
0.0003650114522315562,
0.03131856024265289,
-0.0193202905356884,
-0.005201813764870167,
0.0451216958463192,
-0.004542934708297253,
-0.05931452289223671,
-0.002750885207206011,
0.01896136812865734,
-0.019125446677207947,
-0.05890432372689247,
-0.06690317392349243,
-0.049387749284505844,
0.0039404574781656265,
0.061488568782806396,
0.01085997186601162,
0.008685926906764507,
-0.0713743194937706,
0.06025797501206398
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.