Deep BAIS2 Script

//VERSION=3
function setup() {
    return {
        input: [{
            bands: ["B04","B06","B07","B8A","B12"],
            units: "reflectance"
        }],
        output: {
            id:"default",
            bands: 1
        }
    }
}
function evaluatePixel(sample) {
    let BAI = ( 1 - (( sample.B06*sample.B07*sample.B8A )/ sample.B04 )**0.5)*( (sample.B12-sample.B8A) / ( (sample.B12+sample.B8A )**0.5 ) + 1 );
  
    return [predict(BAI)]
}

function pt0(BAI) { 
   return (BAI<=0.6550070345401765)?((BAI<=0.5358853936195375)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.6605:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?0.6503:0.6551):0.6483)):((BAI<=0.459419071674347)?((BAI<=0.41877242922782904)?((BAI<=0.2378494888544083)?0.6369:0.6324):0.635):((BAI<=0.49817037582397466)?((BAI<=0.4782732874155045)?0.6371:0.6386):((BAI<=0.5189815759658815)?0.6402:0.6417)))):((BAI<=0.5960716605186464)?((BAI<=0.5653291940689088)?0.6436:0.6463):((BAI<=0.6251067817211152)?0.6488:0.6514))):((BAI<=0.8166576027870179)?((BAI<=0.7319118380546571)?((BAI<=0.6915298998355867)?((BAI<=0.6726139187812806)?0.6535:0.655):((BAI<=0.713894933462143)?0.6566:0.6582)):((BAI<=0.7734263837337495)?((BAI<=0.7534714937210084)?0.6597:0.6612):((BAI<=0.7992925345897676)?0.6629:0.6646))):((BAI<=0.9085115492343904)?((BAI<=0.85598161816597)?((BAI<=0.8372708559036256)?0.6664:0.6682):((BAI<=0.8795782923698426)?0.6702:0.6723)):((BAI<=0.9838295876979829)?((BAI<=0.943037897348404)?0.675:0.6782):((BAI<=1.0295297503471377)?0.6811:0.6876))));
}


function pt1(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5335003435611726)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0065:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0027:0.0016):-0.0045)):((BAI<=0.45613391697406774)?((BAI<=0.42288430035114294)?((BAI<=0.2378494888544083)?-0.0147:-0.0187):-0.0164):((BAI<=0.4953493773937226)?-0.014:((BAI<=0.5139819085597993)?-0.012:-0.0107)))):((BAI<=0.591746360063553)?((BAI<=0.5609528124332429)?-0.0089:-0.0066):((BAI<=0.6211166083812715)?-0.0043:((BAI<=0.637125313282013)?-0.0026:-0.0012)))):((BAI<=0.8147450983524324)?((BAI<=0.7283866703510286)?((BAI<=0.6878041625022889)?((BAI<=0.6687581837177278)?-0.0001:0.0013):((BAI<=0.7082403898239137)?0.0027:0.0041)):((BAI<=0.7697248458862306)?((BAI<=0.7481760978698732)?0.0055:0.0069):((BAI<=0.7917618155479432)?0.0083:0.0099))):((BAI<=0.9141101837158204)?((BAI<=0.8588018715381623)?((BAI<=0.8394605815410615)?0.0118:0.0137):((BAI<=0.8866041004657746)?0.0156:0.0176)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0201:0.0234):((BAI<=1.0295297503471377)?0.0265:0.0309))));
}


function pt2(BAI) { 
   return (BAI<=0.6569403707981111)?((BAI<=0.5404831171035768)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0059:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0024:0.0015):-0.004)):((BAI<=0.46607871353626257)?((BAI<=0.4269573092460633)?((BAI<=0.2378494888544083)?-0.0132:((BAI<=0.40482535958290106)?-0.0171:-0.0159)):-0.0144):((BAI<=0.5061223804950715)?((BAI<=0.48406304419040685)?-0.0127:-0.0114):-0.0096))):((BAI<=0.6044397354125978)?((BAI<=0.5743848681449891)?-0.0073:-0.0051):((BAI<=0.6311065554618837)?-0.0031:-0.0012))):((BAI<=0.8205474615097047)?((BAI<=0.7390653789043428)?((BAI<=0.6990439295768739)?((BAI<=0.6784408390522004)?0.0004:0.0018):((BAI<=0.7195259928703309)?0.0031:0.0044)):((BAI<=0.7805939316749574)?((BAI<=0.758914351463318)?0.0056:0.0068):((BAI<=0.8032596409320832)?0.0081:0.0095))):((BAI<=0.9205364286899568)?((BAI<=0.8641988635063172)?((BAI<=0.841739594936371)?0.0109:0.0126):((BAI<=0.8902678191661836)?0.0143:0.0161)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0187:0.0214):((BAI<=1.0295297503471377)?0.0238:0.0278))));
}


function pt3(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5287362337112428)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0053:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0022:0.0013):-0.0036)):((BAI<=0.4529267847537995)?((BAI<=0.41451281309127813)?((BAI<=0.2604781091213227)?-0.0128:-0.0154):-0.0136):((BAI<=0.4897571802139283)?-0.0116:((BAI<=0.5113933086395265)?-0.0099:-0.0089)))):((BAI<=0.58738511800766)?((BAI<=0.5565202236175538)?-0.0075:-0.0056):((BAI<=0.6170983910560609)?-0.0038:((BAI<=0.639131397008896)?-0.0021:-0.001)))):((BAI<=0.8108713030815126)?((BAI<=0.72475203871727)?((BAI<=0.6859452426433564)?((BAI<=0.6668901443481446)?-0.0002:0.0009):((BAI<=0.7045802474021913)?0.002:0.0031)):((BAI<=0.7660429179668428)?((BAI<=0.7446430325508119)?0.0042:0.0054):((BAI<=0.7880479097366334)?0.0065:0.0078))):((BAI<=0.90316841006279)?((BAI<=0.8509475588798524)?((BAI<=0.830825448036194)?0.0091:0.0105):((BAI<=0.8729932308197023)?0.0119:0.0135)):((BAI<=0.9723564684391023)?((BAI<=0.9352515041828157)?0.0154:0.0177):((BAI<=1.0295297503471377)?0.02:0.025))));
}


function pt4(BAI) { 
   return (BAI<=0.6490603983402253)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0048:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.002:0.0012):-0.0033)):((BAI<=0.462689682841301)?((BAI<=0.43098454177379614)?((BAI<=0.2604781091213227)?-0.0115:((BAI<=0.3997863978147507)?-0.014:-0.0129)):-0.0116):((BAI<=0.49817037582397466)?-0.01:-0.0082))):((BAI<=0.5852862596511842)?((BAI<=0.5521027147769929)?-0.0069:-0.0053):((BAI<=0.6149423420429231)?-0.0035:-0.0017))):((BAI<=0.8090016841888429)?((BAI<=0.7230228185653688)?((BAI<=0.6839765608310701)?((BAI<=0.664901226758957)?-0.0002:0.0007):((BAI<=0.702749788761139)?0.0017:0.0027)):((BAI<=0.7624493241310121)?((BAI<=0.742799997329712)?0.0037:0.0047):((BAI<=0.7861073017120362)?0.0057:0.0069))):((BAI<=0.90316841006279)?((BAI<=0.8485683500766755)?((BAI<=0.8266457021236421)?0.008:0.0093):((BAI<=0.8729932308197023)?0.0107:0.0122)):((BAI<=0.9621613621711732)?((BAI<=0.9274739623069764)?0.0136:0.0155):((BAI<=1.0295297503471377)?((BAI<=0.9963030219078065)?0.017:0.0188):0.0225))));
}


function pt5(BAI) { 
   return (BAI<=0.6471018791198732)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0043:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0018:0.0011):-0.0029)):((BAI<=0.44938391447067266)?((BAI<=0.40987312793731695)?((BAI<=0.27778871357440954)?-0.0107:-0.0125):-0.0111):((BAI<=0.4868938475847245)?-0.0095:-0.0078))):((BAI<=0.5829839110374452)?((BAI<=0.5497947335243226)?-0.0064:-0.0049):((BAI<=0.6128008663654329)?-0.0033:((BAI<=0.632999211549759)?-0.002:-0.0011)))):((BAI<=0.8070923388004304)?((BAI<=0.7230228185653688)?((BAI<=0.6820487380027772)?((BAI<=0.664901226758957)?-0.0002:0.0006):((BAI<=0.7008104920387269)?0.0015:0.0024)):((BAI<=0.7607083320617677)?((BAI<=0.7408701479434968)?0.0033:0.0041):((BAI<=0.7824625670909883)?0.005:0.0061))):((BAI<=0.8985123038291932)?((BAI<=0.8462622165679933)?((BAI<=0.8246389031410218)?0.0071:0.0082):((BAI<=0.8669988811016084)?0.0094:0.0107)):((BAI<=0.9621613621711732)?((BAI<=0.9274739623069764)?0.0121:0.0139):((BAI<=1.0295297503471377)?((BAI<=0.9963030219078065)?0.0153:0.0169):0.0203))));
}


function pt6(BAI) { 
   return (BAI<=0.6471018791198732)?((BAI<=0.5239137709140779)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0039:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0016:0.001):-0.0026)):((BAI<=0.44938391447067266)?((BAI<=0.40987312793731695)?((BAI<=0.2378494888544083)?-0.0084:-0.0112):-0.01):((BAI<=0.48108206689357763)?-0.0088:((BAI<=0.503510743379593)?-0.0076:-0.0067)))):((BAI<=0.580994874238968)?((BAI<=0.5497947335243226)?-0.0058:-0.0044):((BAI<=0.608660787343979)?-0.0031:((BAI<=0.6291058063507081)?-0.0019:-0.0011)))):((BAI<=0.8051675558090211)?((BAI<=0.7212790250778199)?((BAI<=0.6820487380027772)?0.0002:((BAI<=0.697102725505829)?0.0012:0.0021)):((BAI<=0.758914351463318)?((BAI<=0.7373209893703462)?0.0029:0.0036):((BAI<=0.7805939316749574)?0.0045:0.0054))):((BAI<=0.8985123038291932)?((BAI<=0.8439951539039613)?((BAI<=0.8266457021236421)?0.0064:0.0074):((BAI<=0.8669988811016084)?0.0084:0.0096)):((BAI<=0.9621613621711732)?((BAI<=0.9352515041828157)?0.0111:0.0128):((BAI<=1.0117128491401675)?0.014:((BAI<=1.0295297503471377)?0.0159:0.0182)))));
}


function pt7(BAI) { 
   return (BAI<=0.6589796543121339)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0035:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0014:0.0009):-0.0024)):((BAI<=0.46923977136611944)?((BAI<=0.43487837910652166)?((BAI<=0.2378494888544083)?-0.0076:((BAI<=0.3947200477123261)?((BAI<=0.30409488081932073)?-0.0094:-0.0104):-0.0094)):-0.0083):((BAI<=0.5086932182312013)?-0.0069:-0.0056))):((BAI<=0.6023507416248323)?((BAI<=0.569825977087021)?-0.0044:-0.0031):((BAI<=0.6350176930427552)?-0.0018:-0.0006))):((BAI<=0.8205474615097047)?((BAI<=0.7355501651763917)?((BAI<=0.6952222585678102)?((BAI<=0.6745734214782716)?0.0002:0.001):((BAI<=0.715778410434723)?0.0017:0.0025)):((BAI<=0.7787702679634095)?((BAI<=0.7553981840610505)?0.0031:0.0039):((BAI<=0.8013842999935151)?0.0047:0.0056))):((BAI<=0.9141101837158204)?((BAI<=0.8614496588706971)?((BAI<=0.841739594936371)?0.0064:0.0074):((BAI<=0.883058935403824)?0.0083:0.0093)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.0105:0.0121):((BAI<=1.0295297503471377)?0.0137:0.0164))));
}


function pt8(BAI) { 
   return (BAI<=0.6610736846923829)?((BAI<=0.5451765060424806)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0031:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0013:0.0008):-0.0021)):((BAI<=0.47234624624252325)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0068:((BAI<=0.40482535958290106)?((BAI<=0.30409488081932073)?-0.0084:-0.0093):-0.0084)):-0.0074):((BAI<=0.5165352523326875)?((BAI<=0.4926817715168)?-0.0064:-0.0058):-0.0049))):((BAI<=0.6066072583198548)?((BAI<=0.5765441656112672)?-0.0038:-0.0026):((BAI<=0.639131397008896)?-0.0014:-0.0004))):((BAI<=0.8226184844970704)?((BAI<=0.7463814318180085)?((BAI<=0.7064093649387361)?((BAI<=0.6802011132240297)?0.0004:0.0011):((BAI<=0.7265700697898866)?0.0019:0.0026)):((BAI<=0.7898055911064149)?((BAI<=0.7678673565387727)?0.0032:0.0039):0.0048)):((BAI<=0.9205364286899568)?((BAI<=0.8614496588706971)?((BAI<=0.841739594936371)?0.0059:0.0066):((BAI<=0.8902678191661836)?0.0075:0.0086)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0098:0.0112):((BAI<=1.0295297503471377)?0.0129:0.0148))));
}


function pt9(BAI) { 
   return (BAI<=0.6589796543121339)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0028:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0012:0.0007):-0.0019)):((BAI<=0.46923977136611944)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0061:((BAI<=0.3947200477123261)?((BAI<=0.30409488081932073)?-0.0076:-0.0084):-0.0076)):-0.0067):((BAI<=0.503510743379593)?-0.0057:-0.0047))):((BAI<=0.6003090739250184)?((BAI<=0.5675454735755922)?-0.0037:-0.0026):((BAI<=0.6271224021911622)?-0.0016:-0.0006))):((BAI<=0.8166576027870179)?((BAI<=0.7355501651763917)?((BAI<=0.697102725505829)?((BAI<=0.6764546334743501)?0.0002:0.0008):((BAI<=0.715778410434723)?0.0014:0.002)):((BAI<=0.7770647406578065)?((BAI<=0.7517700195312501)?0.0025:0.0031):((BAI<=0.7955306470394136)?0.0037:0.0044))):((BAI<=0.9085115492343904)?((BAI<=0.8535394072532655)?((BAI<=0.8330204486846925)?0.005:0.0057):((BAI<=0.8761424124240876)?0.0064:0.0073)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0083:0.0095):((BAI<=1.0295297503471377)?0.0109:0.0133))));
}


function pt10(BAI) { 
   return (BAI<=0.6451557874679567)?((BAI<=0.5239137709140779)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0025:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.001:0.0006):-0.0017)):((BAI<=0.44585169851779943)?((BAI<=0.2378494888544083)?-0.0055:((BAI<=0.40482535958290106)?((BAI<=0.29203245043754583)?-0.0067:-0.0075):-0.0067)):((BAI<=0.48108206689357763)?-0.0058:-0.0047))):((BAI<=0.5787735283374787)?((BAI<=0.5544146597385408)?-0.0037:-0.0029):((BAI<=0.61075097322464)?-0.002:((BAI<=0.623159170150757)?-0.0013:-0.0008)))):((BAI<=0.8051675558090211)?((BAI<=0.7176615595817567)?((BAI<=0.6784408390522004)?0.0:((BAI<=0.6933715343475343)?0.0007:0.0013)):((BAI<=0.7571248710155488)?((BAI<=0.7373209893703462)?0.0019:0.0023):((BAI<=0.7824625670909883)?0.0029:0.0035))):((BAI<=0.8944797515869142)?((BAI<=0.8485683500766755)?((BAI<=0.830825448036194)?0.0043:0.005):((BAI<=0.8699747025966645)?0.0056:0.0063)):((BAI<=0.9621613621711732)?((BAI<=0.9274739623069764)?0.0071:0.0082):((BAI<=1.0117128491401675)?0.0092:((BAI<=1.0295297503471377)?0.0105:0.012)))));
}


function pt11(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5287362337112428)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0023:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0009:0.0006):-0.0016)):((BAI<=0.459419071674347)?((BAI<=0.4269573092460633)?((BAI<=0.2604781091213227)?-0.0054:((BAI<=0.38939248025417333)?((BAI<=0.30409488081932073)?-0.0062:-0.0069):-0.0062)):-0.0057):((BAI<=0.4897571802139283)?-0.0049:-0.0041))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.0032:-0.0022):((BAI<=0.623159170150757)?-0.0014:-0.0006))):((BAI<=0.8128569126129152)?((BAI<=0.7301895618438722)?((BAI<=0.6897094249725343)?((BAI<=0.6706680953502656)?-0.0:0.0005):((BAI<=0.7101130783557893)?0.001:0.0015)):((BAI<=0.7716553211212159)?((BAI<=0.7499956786632539)?0.0019:0.0024):((BAI<=0.7955306470394136)?0.0029:0.0035))):((BAI<=0.9085115492343904)?((BAI<=0.8535394072532655)?((BAI<=0.8330204486846925)?0.004:0.0046):((BAI<=0.883058935403824)?0.0053:0.0061)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0067:0.0077):((BAI<=1.0295297503471377)?0.0089:0.0108))));
}


function pt12(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5214436650276185)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.002:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0008:0.0005):-0.0014)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0044:((BAI<=0.38939248025417333)?((BAI<=0.30409488081932073)?-0.0055:-0.0062):-0.0055)):((BAI<=0.4782732874155045)?-0.0047:((BAI<=0.5009443163871766)?-0.0041:-0.0036)))):((BAI<=0.5787735283374787)?((BAI<=0.5474567413330079)?-0.0031:-0.0024):((BAI<=0.61075097322464)?-0.0016:-0.0009))):((BAI<=0.8090016841888429)?((BAI<=0.7212790250778199)?((BAI<=0.6859452426433564)?((BAI<=0.664901226758957)?-0.0002:0.0004):((BAI<=0.7101130783557893)?0.0008:0.0013)):((BAI<=0.7642702758312226)?((BAI<=0.7463814318180085)?0.0016:0.0021):((BAI<=0.7936316132545472)?0.0026:0.0031))):((BAI<=0.90316841006279)?((BAI<=0.8535394072532655)?((BAI<=0.830825448036194)?0.0035:0.0041):((BAI<=0.8761424124240876)?0.0047:0.0053)):((BAI<=0.9838295876979829)?((BAI<=0.943037897348404)?0.006:0.007):((BAI<=1.0295297503471377)?0.008:0.0097))));
}


function pt13(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5214436650276185)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0018:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0008:0.0005):-0.0013)):((BAI<=0.44585169851779943)?((BAI<=0.2378494888544083)?-0.004:((BAI<=0.38939248025417333)?((BAI<=0.29203245043754583)?-0.0049:-0.0056):-0.0049)):((BAI<=0.4752903431653977)?-0.0043:((BAI<=0.5009443163871766)?-0.0037:-0.0033)))):((BAI<=0.589671701192856)?((BAI<=0.5587316751480104)?((BAI<=0.5451765060424806)?-0.0028:-0.0025):-0.0019):((BAI<=0.6190786063671113)?-0.0013:-0.0007))):((BAI<=0.8032596409320832)?((BAI<=0.715778410434723)?((BAI<=0.6726139187812806)?-0.0001:((BAI<=0.6933715343475343)?0.0005:0.0009)):((BAI<=0.7571248710155488)?((BAI<=0.7337157726287843)?0.0013:0.0017):((BAI<=0.7770647406578065)?0.0021:0.0025))):((BAI<=0.8944797515869142)?((BAI<=0.8439951539039613)?((BAI<=0.8246389031410218)?0.003:0.0035):((BAI<=0.8669988811016084)?0.004:0.0046)):((BAI<=0.9723564684391023)?((BAI<=0.9274739623069764)?0.0052:0.0061):((BAI<=1.0117128491401675)?0.0068:0.0082))));
}


function pt14(BAI) { 
   return (BAI<=0.6610736846923829)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0017:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0007:0.0004):-0.0011)):((BAI<=0.47234624624252325)?((BAI<=0.43487837910652166)?((BAI<=0.2604781091213227)?-0.0039:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0046:-0.0051):-0.0046)):-0.004):((BAI<=0.5113933086395265)?-0.0033:-0.0026))):((BAI<=0.6003090739250184)?((BAI<=0.569825977087021)?-0.0021:-0.0015):((BAI<=0.632999211549759)?((BAI<=0.6190786063671113)?-0.001:-0.0007):-0.0003))):((BAI<=0.8166576027870179)?((BAI<=0.7390653789043428)?((BAI<=0.7045802474021913)?((BAI<=0.6839765608310701)?0.0002:0.0006):0.0011):((BAI<=0.7751857936382295)?((BAI<=0.7534714937210084)?0.0015:0.0018):((BAI<=0.7973746657371522)?0.0022:0.0026))):((BAI<=0.9141101837158204)?((BAI<=0.8588018715381623)?((BAI<=0.8350276052951814)?0.003:0.0034):((BAI<=0.883058935403824)?0.0039:0.0045)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.005:0.0058):((BAI<=1.0295297503471377)?0.0067:0.0079))));
}


function pt15(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5214436650276185)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0015:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0006:0.0004):-0.001)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0032:((BAI<=0.3835993260145188)?((BAI<=0.30409488081932073)?-0.004:-0.0046):-0.0041)):((BAI<=0.4782732874155045)?-0.0035:((BAI<=0.5061223804950715)?-0.0029:-0.0026)))):((BAI<=0.580994874238968)?((BAI<=0.5587316751480104)?-0.0022:-0.0016):((BAI<=0.608660787343979)?-0.0012:((BAI<=0.6271224021911622)?-0.0008:-0.0005)))):((BAI<=0.8128569126129152)?((BAI<=0.7283866703510286)?((BAI<=0.6897094249725343)?((BAI<=0.6706680953502656)?-0.0001:0.0003):((BAI<=0.7101130783557893)?0.0006:0.001)):((BAI<=0.7678673565387727)?((BAI<=0.7499956786632539)?0.0013:0.0016):((BAI<=0.7898055911064149)?0.0019:0.0022))):((BAI<=0.9205364286899568)?((BAI<=0.8588018715381623)?((BAI<=0.8350276052951814)?0.0026:0.0031):((BAI<=0.8902678191661836)?0.0036:0.0041)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0047:0.0054):0.0067)));
}


function pt16(BAI) { 
   return (BAI<=0.6610736846923829)?((BAI<=0.5451765060424806)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0013:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0006:0.0003):-0.0009)):((BAI<=0.47234624624252325)?((BAI<=0.43098454177379614)?((BAI<=0.27778871357440954)?-0.0033:((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0038:-0.0042):-0.0037)):-0.0032):((BAI<=0.5113933086395265)?-0.0027:-0.0021))):((BAI<=0.5981493890285493)?((BAI<=0.5721257627010347)?-0.0017:-0.0012):((BAI<=0.637125313282013)?((BAI<=0.6190786063671113)?-0.0008:-0.0005):-0.0002))):((BAI<=0.8166576027870179)?((BAI<=0.7337157726287843)?((BAI<=0.6990439295768739)?((BAI<=0.6745734214782716)?0.0001:0.0004):((BAI<=0.7119778692722322)?0.0007:0.0009)):((BAI<=0.7716553211212159)?((BAI<=0.7517700195312501)?0.0012:0.0014):((BAI<=0.8013842999935151)?0.0018:0.0022))):((BAI<=0.9205364286899568)?((BAI<=0.8614496588706971)?((BAI<=0.8350276052951814)?0.0024:0.0028):((BAI<=0.883058935403824)?0.0032:0.0036)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0042:0.0048):0.006)));
}


function pt17(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0012:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0005:0.0003):-0.0008)):((BAI<=0.46607871353626257)?((BAI<=0.42288430035114294)?((BAI<=0.27778871357440954)?-0.003:((BAI<=0.37164402008056646)?-0.0037:-0.0034)):-0.003):((BAI<=0.5009443163871766)?-0.0025:((BAI<=0.5189815759658815)?-0.0022:-0.0019)))):((BAI<=0.5981493890285493)?((BAI<=0.5631627738475801)?-0.0016:-0.0012):((BAI<=0.6271224021911622)?-0.0007:-0.0003))):((BAI<=0.8166576027870179)?((BAI<=0.7301895618438722)?((BAI<=0.6933715343475343)?((BAI<=0.6706680953502656)?0.0:0.0003):((BAI<=0.7119778692722322)?0.0006:0.0008)):((BAI<=0.7716553211212159)?((BAI<=0.7517700195312501)?0.0011:0.0013):((BAI<=0.7955306470394136)?0.0016:0.0019))):((BAI<=0.9141101837158204)?((BAI<=0.85598161816597)?((BAI<=0.8350276052951814)?0.0022:0.0025):((BAI<=0.8795782923698426)?0.0028:0.0032)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.0037:0.0042):((BAI<=1.0295297503471377)?0.0049:0.0058))));
}


function pt18(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5189815759658815)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0011:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0004:0.0003):-0.0007)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0022:((BAI<=0.40482535958290106)?((BAI<=0.29203245043754583)?-0.0029:((BAI<=0.3646949082612992)?-0.0034:-0.0031)):-0.0029)):((BAI<=0.48406304419040685)?-0.0025:-0.002))):((BAI<=0.5765441656112672)?((BAI<=0.5474567413330079)?-0.0017:-0.0013):((BAI<=0.6066072583198548)?-0.0009:-0.0005))):((BAI<=0.8013842999935151)?((BAI<=0.7176615595817567)?((BAI<=0.6764546334743501)?((BAI<=0.6630294024944307)?-0.0001:0.0001):((BAI<=0.697102725505829)?0.0003:0.0006)):((BAI<=0.7642702758312226)?((BAI<=0.7408701479434968)?0.0008:0.0011):0.0014)):((BAI<=0.8944797515869142)?((BAI<=0.8485683500766755)?((BAI<=0.8286325931549073)?0.0018:0.0021):((BAI<=0.8699747025966645)?0.0024:0.0027)):((BAI<=0.9723564684391023)?((BAI<=0.9274739623069764)?0.0031:0.0036):((BAI<=1.0295297503471377)?((BAI<=1.0117128491401675)?0.004:0.0046):0.0053))));
}


function pt19(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5214436650276185)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.001:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0004:0.0002):-0.0007)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.002:((BAI<=0.40482535958290106)?((BAI<=0.30409488081932073)?-0.0026:((BAI<=0.3646949082612992)?-0.0031:-0.0028)):-0.0026)):((BAI<=0.48406304419040685)?-0.0022:-0.0018))):((BAI<=0.589671701192856)?((BAI<=0.5587316751480104)?-0.0014:-0.001):((BAI<=0.6149423420429231)?-0.0007:-0.0004))):((BAI<=0.8108713030815126)?((BAI<=0.72475203871727)?((BAI<=0.6859452426433564)?((BAI<=0.6668901443481446)?-0.0001:0.0002):((BAI<=0.7082403898239137)?0.0004:0.0006)):((BAI<=0.7660429179668428)?((BAI<=0.7481760978698732)?0.0008:0.001):((BAI<=0.7898055911064149)?0.0012:0.0015))):((BAI<=0.9085115492343904)?((BAI<=0.8509475588798524)?((BAI<=0.8286325931549073)?0.0017:0.0019):((BAI<=0.8761424124240876)?0.0022:0.0026)):((BAI<=0.9963030219078065)?((BAI<=0.9352515041828157)?0.0029:0.0034):((BAI<=1.0295297503471377)?0.0039:0.0047))));
}


function pt20(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0009:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0004:0.0002):-0.0006)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0018:((BAI<=0.40482535958290106)?((BAI<=0.30409488081932073)?-0.0024:((BAI<=0.3646949082612992)?-0.0028:-0.0025)):-0.0024)):((BAI<=0.4752903431653977)?-0.0021:-0.0017))):((BAI<=0.5787735283374787)?((BAI<=0.5474567413330079)?-0.0014:-0.001):((BAI<=0.6066072583198548)?-0.0007:((BAI<=0.623159170150757)?-0.0005:-0.0003)))):((BAI<=0.8013842999935151)?((BAI<=0.713894933462143)?((BAI<=0.6726139187812806)?-0.0:((BAI<=0.6952222585678102)?0.0002:0.0004)):((BAI<=0.7607083320617677)?((BAI<=0.7301895618438722)?0.0006:0.0008):((BAI<=0.7842453122138978)?0.001:0.0012))):((BAI<=0.8902678191661836)?((BAI<=0.8439951539039613)?((BAI<=0.8226184844970704)?0.0014:0.0017):((BAI<=0.8641988635063172)?0.0019:0.0021)):((BAI<=0.9621613621711732)?((BAI<=0.9274739623069764)?0.0025:0.0029):((BAI<=1.0117128491401675)?0.0032:0.004))));
}


function pt21(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0008:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0003:0.0002):-0.0005)):((BAI<=0.47234624624252325)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0016:((BAI<=0.3835993260145188)?((BAI<=0.3153038173913956)?-0.0022:-0.0025):-0.0022)):-0.0019):((BAI<=0.5061223804950715)?-0.0016:-0.0013))):((BAI<=0.5981493890285493)?((BAI<=0.5675454735755922)?-0.001:-0.0007):((BAI<=0.637125313282013)?((BAI<=0.6190786063671113)?-0.0005:-0.0003):-0.0001))):((BAI<=0.8226184844970704)?((BAI<=0.742799997329712)?((BAI<=0.7045802474021913)?((BAI<=0.6878041625022889)?0.0001:0.0003):((BAI<=0.72475203871727)?0.0005:0.0006)):((BAI<=0.7880479097366334)?((BAI<=0.7660429179668428)?0.0008:0.001):0.0012)):((BAI<=0.9205364286899568)?((BAI<=0.8699747025966645)?((BAI<=0.8485683500766755)?0.0015:0.0018):((BAI<=0.8902678191661836)?0.002:0.0022)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0025:0.0029):((BAI<=1.0295297503471377)?0.0033:0.0039))));
}


function pt22(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0007:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0003:0.0002):-0.0005)):((BAI<=0.462689682841301)?((BAI<=0.41451281309127813)?((BAI<=0.2604781091213227)?-0.0016:((BAI<=0.37164402008056646)?-0.0022:-0.002)):-0.0018):((BAI<=0.4926817715168)?-0.0015:((BAI<=0.5165352523326875)?-0.0013:-0.0011)))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.001:-0.0007):((BAI<=0.623159170150757)?-0.0004:-0.0002))):((BAI<=0.8147450983524324)?((BAI<=0.7301895618438722)?((BAI<=0.6933715343475343)?((BAI<=0.6706680953502656)?-0.0:0.0002):((BAI<=0.7119778692722322)?0.0003:0.0005)):((BAI<=0.7751857936382295)?((BAI<=0.7517700195312501)?0.0006:0.0008):((BAI<=0.7992925345897676)?0.0009:0.0011))):((BAI<=0.9085115492343904)?((BAI<=0.85598161816597)?((BAI<=0.830825448036194)?0.0013:0.0014):((BAI<=0.883058935403824)?0.0017:0.0019)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0021:0.0024):((BAI<=1.0295297503471377)?0.0028:0.0035))));
}


function pt23(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0006:((BAI<=0.1746362000703812)?-0.0:-0.0004)):((BAI<=0.4529267847537995)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0013:-0.0017):((BAI<=0.3646949082612992)?-0.002:-0.0018)):-0.0017):((BAI<=0.4926817715168)?-0.0014:-0.0011))):((BAI<=0.589671701192856)?((BAI<=0.5544146597385408)?-0.0009:((BAI<=0.5721257627010347)?-0.0008:-0.0006)):((BAI<=0.6128008663654329)?-0.0005:-0.0003))):((BAI<=0.8051675558090211)?((BAI<=0.7195259928703309)?((BAI<=0.6802011132240297)?((BAI<=0.6630294024944307)?-0.0001:0.0001):((BAI<=0.7008104920387269)?0.0002:0.0004)):((BAI<=0.7642702758312226)?((BAI<=0.742799997329712)?0.0005:0.0006):((BAI<=0.7842453122138978)?0.0008:0.0009))):((BAI<=0.90316841006279)?((BAI<=0.8485683500766755)?((BAI<=0.8286325931549073)?0.0011:0.0013):((BAI<=0.8761424124240876)?0.0015:0.0017)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0019:0.0022):((BAI<=1.0295297503471377)?0.0025:0.0031))));
}


function pt24(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0006:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0003:0.0002):-0.0004)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0012:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0016:-0.0018):-0.0016)):((BAI<=0.4752903431653977)?-0.0014:((BAI<=0.4926817715168)?-0.0012:-0.0011)))):((BAI<=0.5721257627010347)?((BAI<=0.5474567413330079)?-0.0009:-0.0007):((BAI<=0.6044397354125978)?-0.0005:-0.0003))):((BAI<=0.8013842999935151)?((BAI<=0.713894933462143)?((BAI<=0.6706680953502656)?-0.0:((BAI<=0.6933715343475343)?0.0001:0.0003)):((BAI<=0.7553981840610505)?((BAI<=0.7301895618438722)?0.0004:0.0005):((BAI<=0.7787702679634095)?0.0007:0.0008))):((BAI<=0.8944797515869142)?((BAI<=0.841739594936371)?((BAI<=0.8226184844970704)?0.0009:0.0011):((BAI<=0.8699747025966645)?0.0013:0.0014)):((BAI<=0.9723564684391023)?((BAI<=0.9274739623069764)?0.0016:0.0019):((BAI<=1.0295297503471377)?((BAI<=1.0117128491401675)?0.0022:0.0024):0.0028))));
}


function pt25(BAI) { 
   return (BAI<=0.6610736846923829)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0005:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0002:0.0002):-0.0004)):((BAI<=0.4752903431653977)?((BAI<=0.4269573092460633)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0011:-0.0014):((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0015:-0.0017):-0.0015)):-0.0013):((BAI<=0.5086932182312013)?-0.001:-0.0008))):((BAI<=0.5981493890285493)?((BAI<=0.5675454735755922)?-0.0007:-0.0005):((BAI<=0.6311065554618837)?-0.0003:-0.0001))):((BAI<=0.8166576027870179)?((BAI<=0.7390653789043428)?((BAI<=0.7045802474021913)?((BAI<=0.6839765608310701)?0.0001:0.0002):0.0004):((BAI<=0.7842453122138978)?((BAI<=0.7607083320617677)?0.0005:0.0006):((BAI<=0.8013842999935151)?0.0007:0.0008))):((BAI<=0.9141101837158204)?((BAI<=0.8614496588706971)?((BAI<=0.841739594936371)?0.001:0.0011):((BAI<=0.8902678191661836)?0.0013:0.0014)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0016:0.0018):((BAI<=1.0295297503471377)?0.0021:0.0025))));
}


function pt26(BAI) { 
   return (BAI<=0.6550070345401765)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0005:((BAI<=0.1746362000703812)?-0.0:-0.0003)):((BAI<=0.459419071674347)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.001:-0.0012):((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0013:-0.0015):-0.0013)):-0.0012):((BAI<=0.4926817715168)?-0.001:((BAI<=0.5165352523326875)?-0.0009:-0.0007)))):((BAI<=0.589671701192856)?((BAI<=0.5631627738475801)?-0.0006:-0.0005):((BAI<=0.623159170150757)?-0.0003:-0.0001))):((BAI<=0.8147450983524324)?((BAI<=0.7301895618438722)?((BAI<=0.6897094249725343)?0.0001:((BAI<=0.7101130783557893)?0.0002:0.0003)):((BAI<=0.7751857936382295)?((BAI<=0.7499956786632539)?0.0004:0.0005):((BAI<=0.7936316132545472)?0.0006:0.0007))):((BAI<=0.9085115492343904)?((BAI<=0.85598161816597)?((BAI<=0.8350276052951814)?0.0008:0.001):((BAI<=0.8795782923698426)?0.0011:0.0012)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0014:0.0017):((BAI<=1.0295297503471377)?0.0019:0.0023))));
}


function pt27(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5189815759658815)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0004:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0002:0.0001):-0.0003)):((BAI<=0.44938391447067266)?((BAI<=0.2378494888544083)?-0.0009:((BAI<=0.41451281309127813)?((BAI<=0.3153038173913956)?-0.0011:((BAI<=0.3646949082612992)?-0.0014:-0.0012)):-0.0011)):((BAI<=0.4868938475847245)?-0.0009:-0.0008))):((BAI<=0.5829839110374452)?((BAI<=0.5544146597385408)?-0.0006:-0.0005):((BAI<=0.6128008663654329)?-0.0003:-0.0002))):((BAI<=0.8051675558090211)?((BAI<=0.7212790250778199)?((BAI<=0.6764546334743501)?((BAI<=0.6630294024944307)?-0.0:0.0001):((BAI<=0.6990439295768739)?0.0001:0.0002)):((BAI<=0.7660429179668428)?((BAI<=0.7481760978698732)?0.0003:0.0004):((BAI<=0.7898055911064149)?0.0005:0.0006))):((BAI<=0.90316841006279)?((BAI<=0.8485683500766755)?((BAI<=0.8286325931549073)?0.0007:0.0008):((BAI<=0.8761424124240876)?0.001:0.0011)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.0012:0.0015):((BAI<=1.0295297503471377)?0.0017:0.002))));
}


function pt28(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0004:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0002:0.0001):-0.0003)):((BAI<=0.4529267847537995)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0008:-0.001):((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0011:-0.0012):-0.0011)):-0.001):((BAI<=0.4897571802139283)?-0.0008:-0.0007))):((BAI<=0.589671701192856)?((BAI<=0.5565202236175538)?-0.0006:-0.0004):((BAI<=0.6149423420429231)?-0.0003:-0.0002))):((BAI<=0.8108713030815126)?((BAI<=0.7265700697898866)?((BAI<=0.6802011132240297)?((BAI<=0.6630294024944307)?-0.0:0.0001):((BAI<=0.7101130783557893)?0.0001:0.0002)):((BAI<=0.7678673565387727)?((BAI<=0.7499956786632539)?0.0003:0.0004):((BAI<=0.7936316132545472)?0.0005:0.0006))):((BAI<=0.9205364286899568)?((BAI<=0.8614496588706971)?((BAI<=0.8330204486846925)?0.0007:0.0008):((BAI<=0.8902678191661836)?0.0009:0.001)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0012:0.0014):0.0017)));
}


function pt29(BAI) { 
   return (BAI<=0.6431870758533479)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0003:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0002:0.0001):-0.0002)):((BAI<=0.46607871353626257)?((BAI<=0.43840202689170843)?((BAI<=0.2604781091213227)?-0.0008:((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0009:-0.0011):-0.0009)):-0.0008):((BAI<=0.5009443163871766)?-0.0007:-0.0006))):((BAI<=0.589671701192856)?((BAI<=0.5631627738475801)?-0.0005:-0.0003):((BAI<=0.6190786063671113)?-0.0002:-0.0001))):((BAI<=0.8128569126129152)?((BAI<=0.7283866703510286)?((BAI<=0.6878041625022889)?((BAI<=0.6668901443481446)?-0.0:0.0001):((BAI<=0.7101130783557893)?0.0001:0.0002)):((BAI<=0.7716553211212159)?((BAI<=0.7553981840610505)?0.0003:0.0004):((BAI<=0.7936316132545472)?0.0004:0.0005))):((BAI<=0.9205364286899568)?((BAI<=0.85598161816597)?((BAI<=0.841739594936371)?0.0006:0.0007):((BAI<=0.883058935403824)?0.0008:0.0009)):((BAI<=1.0117128491401675)?((BAI<=0.9723564684391023)?0.0011:0.0013):((BAI<=1.0295297503471377)?0.0015:0.0017))));
}


function pt30(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0003:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0002:0.0001):-0.0002)):((BAI<=0.4420959204435349)?((BAI<=0.2604781091213227)?-0.0007:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0008:-0.001):-0.0008)):((BAI<=0.4752903431653977)?-0.0007:-0.0006))):((BAI<=0.5721257627010347)?((BAI<=0.5474567413330079)?-0.0005:-0.0004):((BAI<=0.6023507416248323)?-0.0003:((BAI<=0.6291058063507081)?-0.0002:-0.0001)))):((BAI<=0.8013842999935151)?((BAI<=0.713894933462143)?((BAI<=0.6745734214782716)?-0.0:((BAI<=0.697102725505829)?0.0001:0.0002)):((BAI<=0.7553981840610505)?((BAI<=0.7337157726287843)?0.0002:0.0003):((BAI<=0.7842453122138978)?0.0004:0.0004))):((BAI<=0.8944797515869142)?((BAI<=0.8439951539039613)?((BAI<=0.8226184844970704)?0.0005:0.0006):((BAI<=0.8699747025966645)?0.0007:0.0008)):((BAI<=0.9723564684391023)?((BAI<=0.9274739623069764)?0.0009:0.001):((BAI<=1.0117128491401675)?0.0012:((BAI<=1.0295297503471377)?0.0013:0.0015)))));
}


function pt31(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5451765060424806)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0003:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0002)):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0005:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0007:((BAI<=0.3646949082612992)?-0.0009:-0.0008)):-0.0008)):-0.0007):((BAI<=0.5113933086395265)?-0.0005:-0.0004))):((BAI<=0.6023507416248323)?((BAI<=0.5721257627010347)?-0.0003:-0.0002):((BAI<=0.6350176930427552)?-0.0001:-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7408701479434968)?((BAI<=0.7045802474021913)?((BAI<=0.6859452426433564)?0.0:0.0001):0.0002):((BAI<=0.7842453122138978)?((BAI<=0.7642702758312226)?0.0003:0.0003):((BAI<=0.7992925345897676)?0.0004:0.0004))):((BAI<=0.9205364286899568)?((BAI<=0.8641988635063172)?((BAI<=0.841739594936371)?0.0005:0.0006):((BAI<=0.8902678191661836)?0.0007:0.0008)):((BAI<=1.0117128491401675)?((BAI<=0.9519672095775605)?0.0009:0.001):((BAI<=1.0295297503471377)?0.0012:0.0014))));
}


function pt32(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5474567413330079)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0002:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0002)):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.27778871357440954)?((BAI<=0.2378494888544083)?-0.0005:-0.0006):((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0007:-0.0008):-0.0007)):-0.0006):((BAI<=0.5061223804950715)?-0.0005:-0.0004))):((BAI<=0.6066072583198548)?((BAI<=0.5721257627010347)?-0.0003:-0.0002):((BAI<=0.637125313282013)?-0.0001:-0.0))):((BAI<=0.8226184844970704)?((BAI<=0.7446430325508119)?((BAI<=0.7101130783557893)?((BAI<=0.6897094249725343)?0.0:0.0001):((BAI<=0.7283866703510286)?0.0002:0.0002)):((BAI<=0.7898055911064149)?((BAI<=0.7660429179668428)?0.0003:0.0003):0.0004)):((BAI<=0.9274739623069764)?((BAI<=0.8699747025966645)?((BAI<=0.8462622165679933)?0.0005:0.0005):((BAI<=0.8902678191661836)?0.0006:0.0007)):((BAI<=1.0117128491401675)?((BAI<=0.9723564684391023)?0.0008:0.0009):((BAI<=1.0295297503471377)?0.0011:0.0012))));
}


function pt33(BAI) { 
   return (BAI<=0.6471018791198732)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0002:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0002)):((BAI<=0.4529267847537995)?((BAI<=0.41877242922782904)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0004:-0.0006):((BAI<=0.3646949082612992)?-0.0007:-0.0006)):-0.0006):((BAI<=0.4926817715168)?-0.0005:-0.0004))):((BAI<=0.589671701192856)?((BAI<=0.5544146597385408)?-0.0003:-0.0002):((BAI<=0.6190786063671113)?-0.0002:-0.0001))):((BAI<=0.8128569126129152)?((BAI<=0.7265700697898866)?((BAI<=0.6859452426433564)?((BAI<=0.6687581837177278)?-0.0:0.0):((BAI<=0.7119778692722322)?0.0001:0.0001)):((BAI<=0.7734263837337495)?((BAI<=0.7499956786632539)?0.0002:0.0002):((BAI<=0.7973746657371522)?0.0003:0.0003))):((BAI<=0.9085115492343904)?((BAI<=0.8535394072532655)?((BAI<=0.830825448036194)?0.0004:0.0004):((BAI<=0.8761424124240876)?0.0005:0.0006)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.0007:0.0008):((BAI<=1.0295297503471377)?0.0009:0.0011))));
}


function pt34(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0002:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0001)):((BAI<=0.4420959204435349)?((BAI<=0.2604781091213227)?-0.0005:((BAI<=0.40482535958290106)?((BAI<=0.3153038173913956)?-0.0006:((BAI<=0.3578751534223557)?-0.0007:-0.0006)):-0.0005)):((BAI<=0.48108206689357763)?-0.0005:-0.0004))):((BAI<=0.5765441656112672)?((BAI<=0.5521027147769929)?-0.0003:-0.0002):((BAI<=0.608660787343979)?-0.0002:-0.0001))):((BAI<=0.8090016841888429)?((BAI<=0.72475203871727)?((BAI<=0.6764546334743501)?((BAI<=0.6630294024944307)?-0.0:0.0):((BAI<=0.6990439295768739)?0.0001:0.0001)):((BAI<=0.7660429179668428)?((BAI<=0.7481760978698732)?0.0002:0.0002):((BAI<=0.7898055911064149)?0.0002:0.0003))):((BAI<=0.90316841006279)?((BAI<=0.8509475588798524)?((BAI<=0.830825448036194)?0.0003:0.0004):((BAI<=0.8729932308197023)?0.0005:0.0005)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0006:0.0007):((BAI<=1.0295297503471377)?0.0008:0.001))));
}


function pt35(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5189815759658815)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0002:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0001)):((BAI<=0.4420959204435349)?((BAI<=0.2378494888544083)?-0.0004:((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?-0.0005:((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0005:-0.0006):-0.0005)):-0.0005)):((BAI<=0.48108206689357763)?-0.0004:-0.0003))):((BAI<=0.5829839110374452)?((BAI<=0.5521027147769929)?-0.0003:-0.0002):((BAI<=0.6128008663654329)?((BAI<=0.5981493890285493)?-0.0002:-0.0001):-0.0001))):((BAI<=0.8013842999935151)?((BAI<=0.7176615595817567)?((BAI<=0.6706680953502656)?-0.0:((BAI<=0.697102725505829)?0.0:0.0001)):((BAI<=0.7553981840610505)?0.0001:((BAI<=0.7770647406578065)?0.0002:0.0002))):((BAI<=0.8944797515869142)?((BAI<=0.8462622165679933)?((BAI<=0.8246389031410218)?0.0003:0.0003):((BAI<=0.8699747025966645)?0.0004:0.0005)):((BAI<=0.9723564684391023)?((BAI<=0.9352515041828157)?0.0005:0.0006):((BAI<=1.0117128491401675)?0.0007:0.0008))));
}


function pt36(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0002:((BAI<=0.1746362000703812)?-0.0:-0.0001)):((BAI<=0.4752903431653977)?((BAI<=0.42288430035114294)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0003:-0.0004):((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0005:-0.0005):-0.0005)):-0.0004):((BAI<=0.5009443163871766)?-0.0003:-0.0003))):((BAI<=0.5981493890285493)?((BAI<=0.5721257627010347)?-0.0002:-0.0001):((BAI<=0.6311065554618837)?-0.0001:-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7337157726287843)?((BAI<=0.6952222585678102)?((BAI<=0.6687581837177278)?-0.0:0.0):((BAI<=0.7119778692722322)?0.0001:0.0001)):((BAI<=0.7787702679634095)?((BAI<=0.7553981840610505)?0.0001:0.0002):((BAI<=0.7992925345897676)?0.0002:0.0003))):((BAI<=0.9205364286899568)?((BAI<=0.8614496588706971)?((BAI<=0.841739594936371)?0.0003:0.0003):((BAI<=0.8866041004657746)?0.0004:0.0004)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0005:0.0006):((BAI<=1.0295297503471377)?0.0007:0.0008))));
}


function pt37(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0001:0.0001):-0.0001)):((BAI<=0.46923977136611944)?((BAI<=0.43487837910652166)?((BAI<=0.27778871357440954)?((BAI<=0.2378494888544083)?-0.0003:-0.0004):((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0004:((BAI<=0.350756123661995)?-0.0005:-0.0004)):-0.0004)):-0.0004):((BAI<=0.5009443163871766)?-0.0003:-0.0002))):((BAI<=0.6003090739250184)?((BAI<=0.5721257627010347)?-0.0002:-0.0001):((BAI<=0.632999211549759)?-0.0001:-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7355501651763917)?((BAI<=0.6990439295768739)?0.0:0.0001):((BAI<=0.7824625670909883)?((BAI<=0.7607083320617677)?0.0001:0.0002):((BAI<=0.8013842999935151)?0.0002:0.0002))):((BAI<=0.9141101837158204)?((BAI<=0.8614496588706971)?((BAI<=0.841739594936371)?0.0003:0.0003):((BAI<=0.883058935403824)?0.0004:0.0004)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0005:0.0005):((BAI<=1.0295297503471377)?0.0006:0.0007))));
}


function pt38(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0001:-0.0):((BAI<=0.46607871353626257)?((BAI<=0.42288430035114294)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0003:-0.0003):((BAI<=0.3578751534223557)?((BAI<=0.3153038173913956)?-0.0004:-0.0004):-0.0004)):-0.0003):((BAI<=0.4926817715168)?-0.0003:((BAI<=0.5139819085597993)?-0.0002:-0.0002)))):((BAI<=0.5981493890285493)?((BAI<=0.569825977087021)?-0.0002:-0.0001):((BAI<=0.6291058063507081)?-0.0001:-0.0))):((BAI<=0.8147450983524324)?((BAI<=0.7301895618438722)?((BAI<=0.6897094249725343)?((BAI<=0.6668901443481446)?-0.0:0.0):((BAI<=0.7119778692722322)?0.0001:0.0001)):((BAI<=0.7751857936382295)?((BAI<=0.7481760978698732)?0.0001:0.0001):((BAI<=0.7955306470394136)?0.0002:0.0002))):((BAI<=0.90316841006279)?((BAI<=0.8535394072532655)?((BAI<=0.830825448036194)?0.0002:0.0003):((BAI<=0.8795782923698426)?0.0003:0.0003)):((BAI<=0.9838295876979829)?((BAI<=0.943037897348404)?0.0004:0.0005):((BAI<=1.0295297503471377)?0.0005:0.0007))));
}


function pt39(BAI) { 
   return (BAI<=0.6411970555782319)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0001:0.0001)):-0.0001):((BAI<=0.4420959204435349)?((BAI<=0.27778871357440954)?((BAI<=0.2378494888544083)?-0.0002:-0.0003):((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0003:((BAI<=0.350756123661995)?-0.0004:-0.0004)):-0.0003)):((BAI<=0.4868938475847245)?-0.0003:-0.0002))):((BAI<=0.5765441656112672)?((BAI<=0.5521027147769929)?-0.0002:-0.0001):((BAI<=0.608660787343979)?-0.0001:-0.0001))):((BAI<=0.8090016841888429)?((BAI<=0.72475203871727)?((BAI<=0.6784408390522004)?-0.0:((BAI<=0.7045802474021913)?0.0:0.0001)):((BAI<=0.7678673565387727)?((BAI<=0.742799997329712)?0.0001:0.0001):((BAI<=0.7880479097366334)?0.0001:0.0002))):((BAI<=0.90316841006279)?((BAI<=0.8509475588798524)?((BAI<=0.830825448036194)?0.0002:0.0002):((BAI<=0.8699747025966645)?0.0003:0.0003)):((BAI<=0.9963030219078065)?((BAI<=0.943037897348404)?0.0004:0.0004):((BAI<=1.0295297503471377)?0.0005:0.0006))));
}


function pt40(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5381758511066438)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=-1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0001:0.0)):-0.0001):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.27778871357440954)?((BAI<=0.2378494888544083)?-0.0002:-0.0003):((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0003:-0.0003):-0.0003)):-0.0003):((BAI<=0.5113933086395265)?-0.0002:-0.0002))):((BAI<=0.5981493890285493)?((BAI<=0.5631627738475801)?-0.0001:-0.0001):((BAI<=0.6291058063507081)?-0.0001:-0.0))):((BAI<=0.8147450983524324)?((BAI<=0.7301895618438722)?((BAI<=0.6915298998355867)?((BAI<=0.6668901443481446)?-0.0:0.0):((BAI<=0.7119778692722322)?0.0:0.0001)):((BAI<=0.7770647406578065)?((BAI<=0.7553981840610505)?0.0001:0.0001):((BAI<=0.7973746657371522)?0.0001:0.0002))):((BAI<=0.9205364286899568)?((BAI<=0.85598161816597)?((BAI<=0.8350276052951814)?0.0002:0.0002):((BAI<=0.8866041004657746)?0.0003:0.0003)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0003:0.0004):0.0005)));
}


function pt41(BAI) { 
   return (BAI<=0.637125313282013)?((BAI<=0.5139819085597993)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0001:0.0)):-0.0001):((BAI<=0.44938391447067266)?((BAI<=0.2604781091213227)?-0.0002:((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?-0.0003:((BAI<=0.3578751534223557)?((BAI<=0.3153038173913956)?-0.0003:-0.0003):-0.0003)):-0.0003)):((BAI<=0.4868938475847245)?-0.0002:-0.0002))):((BAI<=0.5721257627010347)?((BAI<=0.5474567413330079)?-0.0002:-0.0001):((BAI<=0.6023507416248323)?-0.0001:-0.0))):((BAI<=0.8013842999935151)?((BAI<=0.713894933462143)?((BAI<=0.6706680953502656)?-0.0:((BAI<=0.6952222585678102)?0.0:0.0)):((BAI<=0.7553981840610505)?((BAI<=0.7355501651763917)?0.0001:0.0001):((BAI<=0.7787702679634095)?0.0001:0.0001))):((BAI<=0.8944797515869142)?((BAI<=0.8439951539039613)?((BAI<=0.8246389031410218)?0.0002:0.0002):((BAI<=0.8669988811016084)?0.0002:0.0002)):((BAI<=0.9723564684391023)?((BAI<=0.9352515041828157)?0.0003:0.0003):((BAI<=1.0117128491401675)?0.0004:0.0004))));
}


function pt42(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5474567413330079)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=-1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0:0.0)):-0.0001):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0002:-0.0002):((BAI<=0.3578751534223557)?((BAI<=0.3153038173913956)?-0.0003:-0.0003):((BAI<=0.41451281309127813)?-0.0003:-0.0002))):-0.0002):((BAI<=0.5061223804950715)?-0.0002:-0.0001))):((BAI<=0.6128008663654329)?((BAI<=0.5829839110374452)?-0.0001:-0.0001):((BAI<=0.6350176930427552)?-0.0:-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7408701479434968)?((BAI<=0.7045802474021913)?((BAI<=0.6802011132240297)?0.0:0.0):0.0001):((BAI<=0.7880479097366334)?((BAI<=0.7642702758312226)?0.0001:0.0001):0.0001)):((BAI<=0.9205364286899568)?((BAI<=0.8641988635063172)?((BAI<=0.841739594936371)?0.0002:0.0002):((BAI<=0.8902678191661836)?0.0002:0.0002)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0003:0.0003):((BAI<=1.0295297503471377)?0.0004:0.0004))));
}


function pt43(BAI) { 
   return (BAI<=0.6569403707981111)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=-1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0:0.0)):-0.0001):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0002:-0.0002):((BAI<=0.37164402008056646)?-0.0002:-0.0002)):-0.0002):((BAI<=0.5139819085597993)?((BAI<=0.4926817715168)?-0.0002:-0.0001):-0.0001))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.0001:-0.0001):((BAI<=0.6291058063507081)?-0.0:-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7301895618438722)?((BAI<=0.6897094249725343)?0.0:((BAI<=0.713894933462143)?0.0:0.0001)):((BAI<=0.7734263837337495)?((BAI<=0.7481760978698732)?0.0001:0.0001):((BAI<=0.7973746657371522)?0.0001:0.0001))):((BAI<=0.9274739623069764)?((BAI<=0.8699747025966645)?((BAI<=0.8509475588798524)?0.0001:0.0002):((BAI<=0.8902678191661836)?0.0002:0.0002)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0003:0.0003):((BAI<=1.0295297503471377)?0.0003:0.0004))));
}


function pt44(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5521027147769929)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=-1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0:0.0)):-0.0001):((BAI<=0.4752903431653977)?((BAI<=0.42288430035114294)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0001:-0.0002):((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0002:-0.0003):-0.0002)):((BAI<=0.44938391447067266)?-0.0002:-0.0002)):((BAI<=0.5139819085597993)?-0.0001:-0.0001))):((BAI<=0.6149423420429231)?((BAI<=0.5829839110374452)?-0.0001:-0.0001):((BAI<=0.637125313282013)?-0.0:-0.0))):((BAI<=0.8286325931549073)?((BAI<=0.7446430325508119)?((BAI<=0.7101130783557893)?((BAI<=0.6802011132240297)?0.0:0.0):0.0001):((BAI<=0.7936316132545472)?((BAI<=0.7642702758312226)?0.0001:0.0001):0.0001)):((BAI<=0.9274739623069764)?((BAI<=0.8729932308197023)?((BAI<=0.8509475588798524)?0.0001:0.0002):((BAI<=0.8902678191661836)?0.0002:0.0002)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0002:0.0003):((BAI<=1.0295297503471377)?0.0003:0.0004))));
}


function pt45(BAI) { 
   return (BAI<=0.6451557874679567)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0:0.0)):-0.0):((BAI<=0.44938391447067266)?((BAI<=0.2378494888544083)?-0.0001:((BAI<=0.40482535958290106)?((BAI<=0.3153038173913956)?-0.0002:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0002:-0.0003):-0.0002)):-0.0002)):((BAI<=0.4926817715168)?-0.0001:-0.0001))):((BAI<=0.589671701192856)?((BAI<=0.5544146597385408)?-0.0001:((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0001:-0.0):-0.0001)):((BAI<=0.6190786063671113)?-0.0:-0.0))):((BAI<=0.8090016841888429)?((BAI<=0.7283866703510286)?((BAI<=0.6764546334743501)?0.0:((BAI<=0.7008104920387269)?0.0:0.0)):((BAI<=0.7716553211212159)?0.0001:0.0001)):((BAI<=0.9141101837158204)?((BAI<=0.8535394072532655)?((BAI<=0.830825448036194)?0.0001:0.0001):((BAI<=0.883058935403824)?0.0001:0.0002)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0002:0.0002):((BAI<=1.0295297503471377)?0.0003:0.0003))));
}


function pt46(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5451765060424806)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.14195296168327334)?-0.0:0.0)):-0.0):((BAI<=0.4752903431653977)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?((BAI<=0.2378494888544083)?-0.0001:-0.0001):((BAI<=0.3578751534223557)?((BAI<=0.3153038173913956)?-0.0002:-0.0002):-0.0002)):((BAI<=0.43840202689170843)?-0.0002:-0.0001)):((BAI<=0.5061223804950715)?-0.0001:-0.0001))):((BAI<=0.6003090739250184)?((BAI<=0.5721257627010347)?-0.0001:-0.0001):((BAI<=0.6350176930427552)?-0.0:-0.0))):((BAI<=0.8246389031410218)?((BAI<=0.7390653789043428)?((BAI<=0.7101130783557893)?((BAI<=0.6802011132240297)?0.0:0.0):0.0):((BAI<=0.7880479097366334)?((BAI<=0.7642702758312226)?0.0001:0.0001):((BAI<=0.8013842999935151)?0.0001:0.0001))):((BAI<=0.9274739623069764)?((BAI<=0.8699747025966645)?((BAI<=0.8509475588798524)?0.0001:0.0001):((BAI<=0.90316841006279)?0.0001:0.0002)):((BAI<=1.0117128491401675)?((BAI<=0.9723564684391023)?0.0002:0.0002):0.0003)));
}


function pt47(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?0.0:-0.0):((BAI<=0.459419071674347)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0002:-0.0002):-0.0001)):-0.0001):((BAI<=0.4926817715168)?-0.0001:-0.0001))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.0001:((BAI<=0.5653291940689088)?-0.0:((BAI<=0.5675454735755922)?-0.0001:-0.0))):((BAI<=0.6271224021911622)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.5960716605186464)?-0.0:((BAI<=0.5981493890285493)?-0.0001:-0.0)):0.0):-0.0001):-0.0))):((BAI<=0.8147450983524324)?((BAI<=0.7301895618438722)?((BAI<=0.6990439295768739)?0.0:0.0):((BAI<=0.7770647406578065)?((BAI<=0.7517700195312501)?0.0:0.0001):0.0001)):((BAI<=0.9141101837158204)?((BAI<=0.8614496588706971)?((BAI<=0.8350276052951814)?0.0001:0.0001):0.0001):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0002:0.0002):((BAI<=1.0295297503471377)?0.0002:0.0003))));
}


function pt48(BAI) { 
   return (BAI<=0.639131397008896)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0001:((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0:0.0):-0.0)):((BAI<=0.44938391447067266)?((BAI<=0.2604781091213227)?-0.0001:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0002:-0.0001):-0.0002):-0.0001)):-0.0001)):((BAI<=0.4868938475847245)?-0.0001:-0.0001))):((BAI<=0.589671701192856)?((BAI<=0.5565202236175538)?-0.0001:((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:-0.0):-0.0001)):((BAI<=0.6190786063671113)?-0.0:-0.0))):((BAI<=0.8013842999935151)?((BAI<=0.7195259928703309)?((BAI<=0.6764546334743501)?-0.0:0.0):((BAI<=0.7607083320617677)?0.0:0.0001)):((BAI<=0.90316841006279)?((BAI<=0.8509475588798524)?((BAI<=0.8286325931549073)?0.0001:0.0001):((BAI<=0.8795782923698426)?0.0001:0.0001)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0001:0.0002):((BAI<=1.0295297503471377)?0.0002:0.0002))));
}


function pt49(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0:((BAI<=0.1746362000703812)?-0.0:-0.0)):((BAI<=0.459419071674347)?((BAI<=0.41451281309127813)?((BAI<=0.27778871357440954)?((BAI<=0.2378494888544083)?-0.0001:-0.0001):((BAI<=0.3646949082612992)?((BAI<=0.3153038173913956)?-0.0001:-0.0001):-0.0001)):-0.0001):((BAI<=0.4953493773937226)?-0.0001:-0.0001))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.0001:((BAI<=0.5653291940689088)?-0.0:((BAI<=0.5675454735755922)?-0.0001:-0.0))):((BAI<=0.6190786063671113)?((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0001:-0.0)):-0.0))):((BAI<=0.8051675558090211)?((BAI<=0.7265700697898866)?((BAI<=0.6878041625022889)?0.0:0.0):((BAI<=0.7678673565387727)?0.0:0.0001)):((BAI<=0.90316841006279)?((BAI<=0.8535394072532655)?((BAI<=0.830825448036194)?0.0001:0.0001):((BAI<=0.8795782923698426)?0.0001:0.0001)):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0001:0.0001):((BAI<=1.0295297503471377)?0.0002:0.0002))));
}


function pt50(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5544146597385408)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0:((BAI<=0.1746362000703812)?-0.0:-0.0)):((BAI<=0.4752903431653977)?((BAI<=0.43487837910652166)?((BAI<=0.2604781091213227)?-0.0001:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0001:-0.0001):-0.0002):-0.0001)):-0.0001)):-0.0001):((BAI<=0.5139819085597993)?-0.0001:-0.0001))):((BAI<=0.6149423420429231)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):-0.0001):-0.0):((BAI<=0.637125313282013)?-0.0:-0.0))):((BAI<=0.8226184844970704)?((BAI<=0.7408701479434968)?((BAI<=0.7119778692722322)?((BAI<=0.6897094249725343)?0.0:0.0):0.0):((BAI<=0.7880479097366334)?0.0:0.0001)):((BAI<=0.9274739623069764)?((BAI<=0.8699747025966645)?((BAI<=0.8439951539039613)?0.0001:0.0001):((BAI<=0.8902678191661836)?0.0001:0.0001)):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0001:0.0001):0.0002)));
}


function pt51(BAI) { 
   return (BAI<=0.6668901443481446)?((BAI<=0.5474567413330079)?((BAI<=0.20625887066125873)?((BAI<=1.0000000180025095e-35)?0.0:((BAI<=0.14195296168327334)?-0.0:-0.0)):((BAI<=0.48108206689357763)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0001:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0001:-0.0001):-0.0001):-0.0001)):-0.0001)):-0.0001):((BAI<=0.5139819085597993)?-0.0001:-0.0001))):((BAI<=0.608660787343979)?((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?-0.0:-0.0):-0.0001):-0.0):((BAI<=0.6350176930427552)?-0.0:-0.0))):((BAI<=0.8147450983524324)?((BAI<=0.7481760978698732)?((BAI<=0.713894933462143)?0.0:0.0):((BAI<=0.7898055911064149)?0.0:0.0001)):((BAI<=0.9085115492343904)?((BAI<=0.85598161816597)?((BAI<=0.8350276052951814)?0.0001:0.0001):((BAI<=0.883058935403824)?0.0001:0.0001)):((BAI<=0.9963030219078065)?((BAI<=0.9519672095775605)?0.0001:0.0001):((BAI<=1.0295297503471377)?0.0001:0.0002))));
}


function pt52(BAI) { 
   return (BAI<=0.6668901443481446)?((BAI<=0.5544146597385408)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.48108206689357763)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0001:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0001:-0.0001):-0.0001):-0.0001)):-0.0001)):-0.0001):((BAI<=0.5165352523326875)?-0.0001:-0.0))):((BAI<=0.6149423420429231)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):-0.0001):-0.0):((BAI<=0.637125313282013)?-0.0:-0.0))):((BAI<=0.8286325931549073)?((BAI<=0.7481760978698732)?((BAI<=0.7176615595817567)?((BAI<=0.6952222585678102)?0.0:0.0):0.0):((BAI<=0.7936316132545472)?0.0:0.0)):((BAI<=0.9352515041828157)?((BAI<=0.8761424124240876)?((BAI<=0.8535394072532655)?0.0001:0.0001):0.0001):((BAI<=1.0117128491401675)?((BAI<=0.9723564684391023)?0.0001:0.0001):0.0001)));
}


function pt53(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.4529267847537995)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.40987312793731695)?((BAI<=0.29203245043754583)?-0.0001:-0.0001):-0.0001)):((BAI<=0.4926817715168)?-0.0001:-0.0))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?-0.0:((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0001:-0.0))):((BAI<=0.6291058063507081)?((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0001:((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0001:-0.0)))):-0.0))):((BAI<=0.8051675558090211)?((BAI<=0.7212790250778199)?((BAI<=0.6784408390522004)?0.0:0.0):((BAI<=0.7642702758312226)?0.0:0.0)):((BAI<=0.90316841006279)?((BAI<=0.8485683500766755)?0.0:0.0001):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0001:0.0001):((BAI<=1.0295297503471377)?0.0001:0.0001))));
}


function pt54(BAI) { 
   return (BAI<=0.6668901443481446)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.46607871353626257)?((BAI<=0.41877242922782904)?((BAI<=0.27778871357440954)?-0.0001:((BAI<=0.3578751534223557)?((BAI<=0.3153038173913956)?-0.0001:-0.0001):-0.0001)):-0.0001):((BAI<=0.4953493773937226)?-0.0001:((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:-0.0):-0.0001)))):((BAI<=0.6066072583198548)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?-0.0:-0.0):((BAI<=0.5743848681449891)?0.0:((BAI<=0.5765441656112672)?-0.0001:-0.0))):((BAI<=0.6350176930427552)?-0.0:-0.0))):((BAI<=0.8246389031410218)?((BAI<=0.7481760978698732)?((BAI<=0.713894933462143)?0.0:0.0):((BAI<=0.7936316132545472)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0001):0.0):0.0)):((BAI<=0.9205364286899568)?((BAI<=0.8699747025966645)?0.0001:0.0001):((BAI<=1.0117128491401675)?((BAI<=0.9621613621711732)?0.0001:0.0001):0.0001)));
}


function pt55(BAI) { 
   return (BAI<=0.6668901443481446)?((BAI<=0.5544146597385408)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.4752903431653977)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0001:-0.0001):-0.0001):-0.0001)):-0.0001)):-0.0001):((BAI<=0.5009443163871766)?-0.0:-0.0))):((BAI<=0.6190786063671113)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):-0.0):-0.0):((BAI<=0.637125313282013)?((BAI<=0.6251067817211152)?0.0:-0.0):-0.0))):((BAI<=0.8147450983524324)?((BAI<=0.7355501651763917)?((BAI<=0.6990439295768739)?0.0:0.0):((BAI<=0.7824625670909883)?0.0:0.0)):((BAI<=0.8944797515869142)?((BAI<=0.8439951539039613)?0.0:0.0001):((BAI<=0.9838295876979829)?((BAI<=0.9352515041828157)?0.0001:0.0001):((BAI<=1.0295297503471377)?0.0001:0.0001))));
}


function pt56(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5544146597385408)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.48108206689357763)?((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0001:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0001:-0.0001):-0.0001)):-0.0001)):-0.0):((BAI<=0.5189815759658815)?-0.0:-0.0))):((BAI<=0.6190786063671113)?((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:-0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0001:-0.0)):0.0):-0.0):-0.0):-0.0)):((BAI<=0.8350276052951814)?((BAI<=0.7534714937210084)?((BAI<=0.7176615595817567)?0.0:0.0):((BAI<=0.7973746657371522)?0.0:0.0)):((BAI<=0.9352515041828157)?((BAI<=0.883058935403824)?0.0:0.0001):((BAI<=1.0117128491401675)?0.0001:0.0001)));
}


function pt57(BAI) { 
   return (BAI<=0.6451557874679567)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?-0.0:((BAI<=0.44585169851779943)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.3997863978147507)?((BAI<=0.29203245043754583)?-0.0:-0.0001):-0.0)):((BAI<=0.4868938475847245)?-0.0:-0.0))):((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:-0.0):-0.0):((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0:-0.0))):0.0):-0.0):((BAI<=0.6271224021911622)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):-0.0):-0.0))):((BAI<=0.8013842999935151)?((BAI<=0.7283866703510286)?((BAI<=0.6878041625022889)?0.0:0.0):((BAI<=0.7642702758312226)?0.0:0.0)):((BAI<=0.8902678191661836)?((BAI<=0.841739594936371)?((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?0.0:0.0):0.0):0.0):((BAI<=0.9838295876979829)?((BAI<=0.9519672095775605)?0.0001:0.0001):((BAI<=1.0295297503471377)?0.0001:0.0001))));
}


function pt58(BAI) { 
   return (BAI<=0.6509996354579927)?((BAI<=0.5311487317085267)?((BAI<=0.20625887066125873)?-0.0:((BAI<=0.459419071674347)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.41451281309127813)?-0.0:-0.0)):((BAI<=0.4953493773937226)?-0.0:-0.0))):((BAI<=0.5939456522464753)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?-0.0:-0.0):0.0):((BAI<=0.5428100526332856)?-0.0001:((BAI<=0.5497947335243226)?-0.0:((BAI<=0.5521027147769929)?-0.0:-0.0)))):-0.0):-0.0):((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0:-0.0))):((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):-0.0))))):((BAI<=0.8128569126129152)?((BAI<=0.7283866703510286)?((BAI<=0.6952222585678102)?0.0:0.0):((BAI<=0.7751857936382295)?0.0:0.0)):((BAI<=0.9085115492343904)?((BAI<=0.8641988635063172)?0.0:0.0):((BAI<=0.9963030219078065)?0.0001:0.0001)));
}


function pt59(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5474567413330079)?((BAI<=0.20625887066125873)?-0.0:((BAI<=0.46607871353626257)?((BAI<=0.43487837910652166)?((BAI<=0.27778871357440954)?-0.0:((BAI<=0.37772935628890997)?-0.0:-0.0)):-0.0):((BAI<=0.5009443163871766)?-0.0:((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:0.0):-0.0)))):((BAI<=0.6149423420429231)?((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5497947335243226)?0.0:((BAI<=0.5521027147769929)?-0.0:((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:-0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)))):0.0):-0.0):-0.0):-0.0)):((BAI<=0.830825448036194)?((BAI<=0.7534714937210084)?((BAI<=0.7176615595817567)?0.0:0.0):((BAI<=0.7936316132545472)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):-0.0):0.0)):((BAI<=0.9274739623069764)?((BAI<=0.8729932308197023)?0.0:0.0):((BAI<=1.0117128491401675)?0.0001:0.0001)));
}


function pt60(BAI) { 
   return (BAI<=0.637125313282013)?((BAI<=0.5165352523326875)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.43840202689170843)?((BAI<=0.2604781091213227)?-0.0:-0.0):((BAI<=0.48108206689357763)?-0.0:-0.0))):((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?-0.0:0.0):-0.0):((BAI<=0.6003090739250184)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):-0.0):0.0):((BAI<=0.5981493890285493)?-0.0:-0.0)):-0.0))):((BAI<=0.8013842999935151)?((BAI<=0.7195259928703309)?((BAI<=0.6764546334743501)?-0.0:0.0):((BAI<=0.7607083320617677)?((BAI<=0.758914351463318)?((BAI<=0.7553981840610505)?0.0:0.0):-0.0):0.0)):((BAI<=0.8902678191661836)?((BAI<=0.841739594936371)?((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?0.0:0.0):0.0):0.0):((BAI<=0.9723564684391023)?0.0:((BAI<=1.0295297503471377)?0.0001:0.0001))));
}


function pt61(BAI) { 
   return (BAI<=0.637125313282013)?((BAI<=0.5214436650276185)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.44585169851779943)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0)):((BAI<=0.4868938475847245)?-0.0:-0.0))):((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5239137709140779)?-0.0:((BAI<=0.5264380276203157)?-0.0:-0.0)):0.0):-0.0):-0.0)):((BAI<=0.8013842999935151)?((BAI<=0.7212790250778199)?((BAI<=0.6802011132240297)?-0.0:((BAI<=0.6820487380027772)?0.0:((BAI<=0.6839765608310701)?-0.0:0.0))):((BAI<=0.7607083320617677)?((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?((BAI<=0.7230228185653688)?0.0:((BAI<=0.72475203871727)?-0.0:0.0)):0.0):-0.0):0.0)):((BAI<=0.8866041004657746)?((BAI<=0.8535394072532655)?0.0:0.0):((BAI<=0.9621613621711732)?0.0:((BAI<=1.0295297503471377)?0.0:0.0001))));
}


function pt62(BAI) { 
   return (BAI<=0.6311065554618837)?((BAI<=0.5086932182312013)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.43840202689170843)?((BAI<=0.29203245043754583)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0):-0.0001):-0.0)):-0.0)):((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:0.0):-0.0):((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0:((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))))):((BAI<=0.8013842999935151)?((BAI<=0.7045802474021913)?((BAI<=0.6687581837177278)?-0.0:0.0):((BAI<=0.7499956786632539)?0.0:0.0)):((BAI<=0.9141101837158204)?((BAI<=0.8641988635063172)?((BAI<=0.8350276052951814)?0.0:((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?0.0:0.0))):0.0):((BAI<=0.9963030219078065)?0.0:0.0)));
}


function pt63(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?((BAI<=0.1746362000703812)?0.0:-0.0):((BAI<=0.46923977136611944)?((BAI<=0.41451281309127813)?((BAI<=0.29203245043754583)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0):-0.0):-0.0)):-0.0):((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:0.0):-0.0))):((BAI<=0.6023507416248323)?-0.0:((BAI<=0.6291058063507081)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)):-0.0))):((BAI<=0.8186408877372743)?((BAI<=0.7390653789043428)?((BAI<=0.6990439295768739)?0.0:0.0):((BAI<=0.7842453122138978)?0.0:((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)))))):((BAI<=0.9205364286899568)?((BAI<=0.8641988635063172)?0.0:0.0):((BAI<=1.0117128491401675)?0.0:0.0)));
}


function pt64(BAI) { 
   return (BAI<=0.632999211549759)?((BAI<=0.5139819085597993)?((BAI<=0.20625887066125873)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):((BAI<=0.43840202689170843)?((BAI<=0.2378494888544083)?-0.0:-0.0):((BAI<=0.4868938475847245)?-0.0:-0.0))):((BAI<=0.5787735283374787)?((BAI<=0.5544146597385408)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?-0.0:-0.0):0.0):-0.0):0.0):-0.0)):-0.0)):((BAI<=0.8090016841888429)?((BAI<=0.7283866703510286)?((BAI<=0.6915298998355867)?0.0:0.0):((BAI<=0.7716553211212159)?((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?0.0:0.0):-0.0):0.0)):((BAI<=0.90316841006279)?((BAI<=0.85598161816597)?0.0:0.0):((BAI<=0.9723564684391023)?0.0:((BAI<=1.0295297503471377)?0.0:0.0))));
}


function pt65(BAI) { 
   return (BAI<=0.6630294024944307)?((BAI<=0.5428100526332856)?((BAI<=0.20625887066125873)?-0.0:((BAI<=0.46607871353626257)?((BAI<=0.40482535958290106)?((BAI<=0.29203245043754583)?-0.0:-0.0):-0.0):((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.4953493773937226)?-0.0:((BAI<=0.5358853936195375)?-0.0:-0.0)):0.0):-0.0))):((BAI<=0.6003090739250184)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:-0.0))):0.0):((BAI<=0.5981493890285493)?-0.0:-0.0)):-0.0)):((BAI<=0.8286325931549073)?((BAI<=0.7390653789043428)?((BAI<=0.6990439295768739)?0.0:0.0):((BAI<=0.7842453122138978)?0.0:((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)))))):((BAI<=0.9519672095775605)?((BAI<=0.8761424124240876)?0.0:0.0):((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt66(BAI) { 
   return (BAI<=0.6291058063507081)?((BAI<=0.5086932182312013)?((BAI<=0.2378494888544083)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.4269573092460633)?-0.0:-0.0)):((BAI<=0.569825977087021)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.5743848681449891)?-0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))):((BAI<=0.7973746657371522)?((BAI<=0.7101130783557893)?((BAI<=0.6687581837177278)?-0.0:0.0):((BAI<=0.7534714937210084)?0.0:((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?0.0:0.0):((BAI<=0.7607083320617677)?-0.0:0.0)))):((BAI<=0.8866041004657746)?((BAI<=0.8350276052951814)?0.0:((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:0.0))):((BAI<=0.9723564684391023)?0.0:((BAI<=1.0295297503471377)?0.0:0.0))));
}


function pt67(BAI) { 
   return (BAI<=0.6529359221458436)?((BAI<=0.5264380276203157)?((BAI<=0.1746362000703812)?0.0:((BAI<=0.459419071674347)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0)):((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?-0.0:0.0):-0.0))):((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:-0.0)):0.0):-0.0):((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:-0.0)))):((BAI<=0.8186408877372743)?((BAI<=0.7355501651763917)?((BAI<=0.6952222585678102)?0.0:0.0):((BAI<=0.7824625670909883)?0.0:((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)))))):((BAI<=0.943037897348404)?((BAI<=0.8641988635063172)?0.0:0.0):((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt68(BAI) { 
   return (BAI<=0.6291058063507081)?((BAI<=0.5009443163871766)?((BAI<=0.2378494888544083)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.41877242922782904)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0:-0.0):-0.0)):-0.0)):((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?-0.0:0.0):-0.0):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))):((BAI<=0.8128569126129152)?((BAI<=0.7212790250778199)?((BAI<=0.6764546334743501)?-0.0:((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?0.0:0.0):((BAI<=0.6839765608310701)?-0.0:0.0))):((BAI<=0.7230228185653688)?0.0:((BAI<=0.72475203871727)?-0.0:((BAI<=0.7716553211212159)?((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?0.0:0.0):-0.0):0.0)))):((BAI<=0.9141101837158204)?((BAI<=0.8614496588706971)?0.0:0.0):((BAI<=0.9963030219078065)?0.0:0.0)));
}


function pt69(BAI) { 
   return (BAI<=0.6291058063507081)?((BAI<=0.5009443163871766)?((BAI<=0.2378494888544083)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?-0.0:0.0):-0.0):((BAI<=0.3997863978147507)?-0.0:-0.0)):((BAI<=0.5565202236175538)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?-0.0:0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))):((BAI<=0.7842453122138978)?((BAI<=0.7008104920387269)?0.0:0.0):((BAI<=0.8866041004657746)?((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.8350276052951814)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)):((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:0.0))))):((BAI<=0.9519672095775605)?0.0:0.0)));
}


function pt70(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5544146597385408)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.48108206689357763)?((BAI<=0.2604781091213227)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0):-0.0):-0.0)):((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?((BAI<=0.48406304419040685)?-0.0:((BAI<=0.4868938475847245)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))):((BAI<=0.6128008663654329)?-0.0:-0.0)):((BAI<=0.8350276052951814)?((BAI<=0.7534714937210084)?0.0:((BAI<=0.7842453122138978)?0.0:0.0)):((BAI<=0.9519672095775605)?((BAI<=0.883058935403824)?((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:0.0)):0.0):((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt71(BAI) { 
   return (BAI<=0.6569403707981111)?((BAI<=0.5264380276203157)?((BAI<=0.20625887066125873)?-0.0:((BAI<=0.459419071674347)?((BAI<=0.45613391697406774)?((BAI<=0.4529267847537995)?-0.0:-0.0):-0.0):((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?-0.0:0.0):-0.0))):((BAI<=0.5981493890285493)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?-0.0:-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:((BAI<=0.5497947335243226)?-0.0:-0.0))):0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:-0.0))))):0.0):-0.0):((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:-0.0)))):((BAI<=0.8186408877372743)?((BAI<=0.7355501651763917)?0.0:0.0):((BAI<=0.9352515041828157)?((BAI<=0.8641988635063172)?0.0:0.0):((BAI<=1.0117128491401675)?0.0:0.0)));
}


function pt72(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5544146597385408)?((BAI<=0.1746362000703812)?0.0:((BAI<=0.4752903431653977)?((BAI<=0.2604781091213227)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0):-0.0):-0.0)):((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?-0.0:0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))):((BAI<=0.6128008663654329)?-0.0:-0.0)):((BAI<=0.8350276052951814)?((BAI<=0.7390653789043428)?0.0:((BAI<=0.7824625670909883)?0.0:((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)))))):((BAI<=0.9519672095775605)?((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:0.0)):0.0));
}


function pt73(BAI) { 
   return (BAI<=0.6311065554618837)?((BAI<=0.4953493773937226)?((BAI<=0.2378494888544083)?((BAI<=1.0000000180025095e-35)?0.0:-0.0):((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?-0.0:-0.0):-0.0)):-0.0)):((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):-0.0):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?0.0:-0.0):0.0):((BAI<=0.5981493890285493)?-0.0:-0.0)))):0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))):((BAI<=0.8051675558090211)?((BAI<=0.7119778692722322)?0.0:0.0):((BAI<=0.8944797515869142)?0.0:((BAI<=0.9963030219078065)?0.0:0.0)));
}


function pt74(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5544146597385408)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.46923977136611944)?((BAI<=0.2604781091213227)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):-0.0):-0.0):-0.0)):((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))):((BAI<=0.6190786063671113)?-0.0:((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.6211166083812715)?0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))):((BAI<=0.8350276052951814)?((BAI<=0.7553981840610505)?0.0:((BAI<=0.758914351463318)?0.0:((BAI<=0.7607083320617677)?-0.0:0.0))):((BAI<=0.943037897348404)?((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:0.0)):((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt75(BAI) { 
   return (BAI<=0.6764546334743501)?((BAI<=0.5544146597385408)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.48108206689357763)?-0.0:((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.48406304419040685)?0.0:((BAI<=0.4868938475847245)?-0.0:((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?((BAI<=0.5287362337112428)?((BAI<=0.5264380276203157)?((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?-0.0:0.0):-0.0):0.0):((BAI<=0.5311487317085267)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)))):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))):((BAI<=0.6066072583198548)?-0.0:-0.0)):((BAI<=0.8535394072532655)?((BAI<=0.7716553211212159)?((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?0.0:0.0):((BAI<=0.6839765608310701)?-0.0:0.0)):0.0):-0.0):0.0):((BAI<=0.9838295876979829)?0.0:0.0));
}


function pt76(BAI) { 
   return (BAI<=0.6687581837177278)?((BAI<=0.5565202236175538)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.44938391447067266)?-0.0:-0.0)):((BAI<=0.6190786063671113)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:0.0):((BAI<=0.5631627738475801)?-0.0:((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0:((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?-0.0:0.0):((BAI<=0.5765441656112672)?-0.0:((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.5960716605186464)?0.0:-0.0))))))))):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.6211166083812715)?0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:((BAI<=0.664901226758957)?((BAI<=0.6630294024944307)?-0.0:0.0):-0.0))))))):((BAI<=0.8286325931549073)?((BAI<=0.7390653789043428)?0.0:0.0):((BAI<=0.9085115492343904)?0.0:((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt77(BAI) { 
   return (BAI<=0.6802011132240297)?((BAI<=0.5544146597385408)?((BAI<=0.1746362000703812)?0.0:((BAI<=0.48108206689357763)?-0.0:-0.0)):((BAI<=0.5981493890285493)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?-0.0:0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?-0.0:0.0):((BAI<=0.5765441656112672)?-0.0:-0.0)))):0.0):-0.0):0.0):-0.0):0.0):-0.0):-0.0)):((BAI<=0.8641988635063172)?((BAI<=0.6820487380027772)?0.0:((BAI<=0.6839765608310701)?-0.0:((BAI<=0.7824625670909883)?0.0:((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0))))))):((BAI<=0.9963030219078065)?0.0:0.0));
}


function pt78(BAI) { 
   return (BAI<=0.637125313282013)?((BAI<=0.4953493773937226)?((BAI<=0.2378494888544083)?((BAI<=1.0000000180025095e-35)?0.0:-0.0):((BAI<=0.3997863978147507)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.3341409862041474)?-0.0:((BAI<=0.34258764982223516)?0.0:((BAI<=0.350756123661995)?-0.0:((BAI<=0.38939248025417333)?((BAI<=0.37772935628890997)?-0.0:-0.0):-0.0))))):-0.0)):((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?-0.0:0.0):-0.0):0.0):-0.0):((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0)))))):((BAI<=0.8147450983524324)?((BAI<=0.7212790250778199)?((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:0.0)):((BAI<=0.7230228185653688)?0.0:((BAI<=0.72475203871727)?-0.0:0.0))):((BAI<=0.8944797515869142)?0.0:((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt79(BAI) { 
   return (BAI<=0.6915298998355867)?((BAI<=0.5565202236175538)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.4420959204435349)?((BAI<=0.29203245043754583)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?-0.0:0.0):-0.0):-0.0)):-0.0)):((BAI<=0.6190786063671113)?((BAI<=0.5609528124332429)?0.0:((BAI<=0.5631627738475801)?-0.0:((BAI<=0.5653291940689088)?0.0:((BAI<=0.5675454735755922)?-0.0:-0.0)))):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?0.0:0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?-0.0:0.0):((BAI<=0.6839765608310701)?-0.0:-0.0)))))):((BAI<=0.8729932308197023)?((BAI<=0.7824625670909883)?0.0:((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0))))):((BAI<=0.9838295876979829)?0.0:0.0));
}


function pt80(BAI) { 
   return (BAI<=0.6952222585678102)?((BAI<=0.5264380276203157)?((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.43487837910652166)?((BAI<=0.43098454177379614)?((BAI<=0.4269573092460633)?-0.0:0.0):-0.0):-0.0)):0.0):-0.0):((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:((BAI<=0.5981493890285493)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?0.0:-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?-0.0:0.0):((BAI<=0.5521027147769929)?-0.0:((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?-0.0:0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)))))):0.0):-0.0):0.0):-0.0):0.0):-0.0):-0.0)))):((BAI<=0.8761424124240876)?((BAI<=0.7787702679634095)?0.0:0.0):((BAI<=1.0117128491401675)?0.0:0.0));
}


function pt81(BAI) { 
   return (BAI<=0.637125313282013)?((BAI<=0.4926817715168)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.37772935628890997)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.3341409862041474)?-0.0:((BAI<=0.34258764982223516)?0.0:((BAI<=0.350756123661995)?-0.0:-0.0)))):((BAI<=0.3835993260145188)?0.0:((BAI<=0.3997863978147507)?-0.0:-0.0)))):((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?-0.0:0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):-0.0):-0.0)):((BAI<=0.8147450983524324)?((BAI<=0.7283866703510286)?((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?0.0:0.0):((BAI<=0.6509996354579927)?-0.0:0.0)):0.0):((BAI<=0.72475203871727)?-0.0:0.0)):0.0):((BAI<=0.9352515041828157)?0.0:0.0));
}


function pt82(BAI) { 
   return (BAI<=0.6915298998355867)?((BAI<=0.5214436650276185)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.43487837910652166)?((BAI<=0.43098454177379614)?((BAI<=0.4269573092460633)?-0.0:0.0):-0.0):-0.0)):((BAI<=0.5239137709140779)?0.0:((BAI<=0.5264380276203157)?-0.0:((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:((BAI<=0.6066072583198548)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?0.0:-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?-0.0:0.0):((BAI<=0.6839765608310701)?-0.0:-0.0)))))))):((BAI<=0.85598161816597)?((BAI<=0.7716553211212159)?((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?0.0:0.0):((BAI<=0.7607083320617677)?-0.0:((BAI<=0.7624493241310121)?0.0:((BAI<=0.7642702758312226)?-0.0:0.0)))):0.0):-0.0):0.0):((BAI<=0.9621613621711732)?0.0:0.0));
}


function pt83(BAI) { 
   return (BAI<=0.6311065554618837)?((BAI<=0.4926817715168)?((BAI<=0.2604781091213227)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.32520937919616705)?-0.0:-0.0):0.0):-0.0):-0.0)):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.5939456522464753)?-0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:-0.0))):((BAI<=0.7842453122138978)?((BAI<=0.7008104920387269)?((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:-0.0)):0.0):((BAI<=0.6839765608310701)?-0.0:0.0)):((BAI<=0.702749788761139)?0.0:((BAI<=0.7045802474021913)?-0.0:((BAI<=0.7064093649387361)?0.0:((BAI<=0.7082403898239137)?-0.0:0.0))))):((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.8944797515869142)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0)):((BAI<=1.0295297503471377)?0.0:0.0)))));
}


function pt84(BAI) { 
   return (BAI<=0.6668901443481446)?((BAI<=0.5214436650276185)?((BAI<=0.2378494888544083)?-0.0:((BAI<=0.41451281309127813)?-0.0:-0.0)):((BAI<=0.5239137709140779)?0.0:((BAI<=0.5264380276203157)?-0.0:((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:((BAI<=0.664901226758957)?((BAI<=0.6630294024944307)?((BAI<=0.5981493890285493)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?-0.0:-0.0):0.0):-0.0):-0.0):0.0):-0.0)))))):((BAI<=0.8350276052951814)?((BAI<=0.7390653789043428)?0.0:((BAI<=0.7463814318180085)?((BAI<=0.7446430325508119)?0.0:0.0):((BAI<=0.7481760978698732)?-0.0:((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?0.0:0.0):((BAI<=0.7607083320617677)?-0.0:((BAI<=0.7624493241310121)?0.0:((BAI<=0.7642702758312226)?-0.0:((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?0.0:0.0):((BAI<=0.7716553211212159)?-0.0:0.0))))))))):((BAI<=0.8394605815410615)?0.0:((BAI<=0.841739594936371)?-0.0:((BAI<=0.9519672095775605)?0.0:0.0))));
}


function pt85(BAI) { 
   return (BAI<=0.6952222585678102)?((BAI<=0.5565202236175538)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.46607871353626257)?-0.0:((BAI<=0.47234624624252325)?((BAI<=0.46923977136611944)?-0.0:0.0):((BAI<=0.4752903431653977)?-0.0:((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?((BAI<=0.5287362337112428)?((BAI<=0.5264380276203157)?((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?-0.0:0.0):-0.0):0.0):((BAI<=0.5311487317085267)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))))):((BAI<=0.5609528124332429)?0.0:-0.0)):((BAI<=0.883058935403824)?((BAI<=0.7842453122138978)?0.0:((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:0.0))))):0.0);
}


function pt86(BAI) { 
   return (BAI<=0.6291058063507081)?((BAI<=0.4926817715168)?((BAI<=0.27778871357440954)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.32520937919616705)?-0.0:-0.0):0.0):-0.0):((BAI<=0.48406304419040685)?((BAI<=0.48108206689357763)?((BAI<=0.47234624624252325)?((BAI<=0.46923977136611944)?-0.0:0.0):((BAI<=0.4752903431653977)?-0.0:-0.0)):0.0):((BAI<=0.4868938475847245)?-0.0:-0.0)))):((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?-0.0:0.0):((BAI<=0.6271224021911622)?-0.0:-0.0))):((BAI<=0.8246389031410218)?((BAI<=0.7301895618438722)?((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?0.0:0.0):((BAI<=0.72475203871727)?-0.0:0.0)):((BAI<=0.7319118380546571)?0.0:((BAI<=0.7337157726287843)?-0.0:0.0))):((BAI<=0.9141101837158204)?((BAI<=0.8266457021236421)?0.0:((BAI<=0.8286325931549073)?-0.0:((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?0.0:0.0):((BAI<=0.841739594936371)?-0.0:0.0)))):((BAI<=1.0295297503471377)?0.0:0.0)));
}


function pt87(BAI) { 
   return (BAI<=0.6190786063671113)?((BAI<=0.4926817715168)?((BAI<=0.2604781091213227)?-0.0:((BAI<=0.37164402008056646)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.3341409862041474)?-0.0:((BAI<=0.34258764982223516)?0.0:((BAI<=0.350756123661995)?-0.0:-0.0)))):((BAI<=0.48406304419040685)?((BAI<=0.48108206689357763)?((BAI<=0.3835993260145188)?0.0:-0.0):0.0):((BAI<=0.4868938475847245)?-0.0:-0.0)))):-0.0):((BAI<=0.8246389031410218)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.6211166083812715)?0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.7283866703510286)?((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?0.0:0.0):((BAI<=0.72475203871727)?-0.0:0.0)):((BAI<=0.7319118380546571)?((BAI<=0.7301895618438722)?0.0:0.0):((BAI<=0.7337157726287843)?-0.0:0.0))))):((BAI<=0.9621613621711732)?((BAI<=0.8266457021236421)?0.0:((BAI<=0.8286325931549073)?-0.0:((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?0.0:0.0):((BAI<=0.841739594936371)?-0.0:0.0)))):0.0));
}


function pt88(BAI) { 
   return (BAI<=0.6190786063671113)?((BAI<=0.4953493773937226)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):((BAI<=0.49817037582397466)?0.0:((BAI<=0.5009443163871766)?-0.0:-0.0))):((BAI<=0.7842453122138978)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.6211166083812715)?0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.7008104920387269)?((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?-0.0:0.0):((BAI<=0.6509996354579927)?-0.0:-0.0)):0.0):((BAI<=0.6839765608310701)?-0.0:0.0)):((BAI<=0.702749788761139)?0.0:((BAI<=0.7045802474021913)?-0.0:((BAI<=0.7064093649387361)?0.0:((BAI<=0.7082403898239137)?-0.0:0.0))))))):((BAI<=0.7861073017120362)?0.0:((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?0.0:0.0):((BAI<=0.7936316132545472)?-0.0:((BAI<=0.9085115492343904)?0.0:((BAI<=1.0295297503471377)?0.0:0.0)))))));
}


function pt89(BAI) { 
   return (BAI<=0.6190786063671113)?((BAI<=0.4926817715168)?((BAI<=0.27778871357440954)?-0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.32520937919616705)?-0.0:-0.0):0.0):-0.0):((BAI<=0.48406304419040685)?((BAI<=0.48108206689357763)?((BAI<=0.47234624624252325)?((BAI<=0.46923977136611944)?((BAI<=0.45613391697406774)?((BAI<=0.4529267847537995)?-0.0:0.0):((BAI<=0.459419071674347)?-0.0:((BAI<=0.462689682841301)?0.0:-0.0))):0.0):((BAI<=0.4752903431653977)?-0.0:-0.0)):0.0):((BAI<=0.4868938475847245)?-0.0:-0.0)))):-0.0):((BAI<=0.8246389031410218)?((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?((BAI<=0.6211166083812715)?0.0:-0.0):0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.7283866703510286)?((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?0.0:0.0):((BAI<=0.72475203871727)?-0.0:0.0)):((BAI<=0.7319118380546571)?((BAI<=0.7301895618438722)?0.0:0.0):((BAI<=0.7337157726287843)?-0.0:0.0))))):((BAI<=0.9963030219078065)?0.0:0.0));
}


function pt90(BAI) { 
   return (BAI<=0.639131397008896)?((BAI<=0.5139819085597993)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):-0.0):((BAI<=0.85598161816597)?((BAI<=0.7499956786632539)?((BAI<=0.7463814318180085)?((BAI<=0.7446430325508119)?((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?0.0:0.0):((BAI<=0.6509996354579927)?-0.0:0.0)):0.0):((BAI<=0.7481760978698732)?-0.0:0.0)):((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?((BAI<=0.7553981840610505)?0.0:0.0):0.0):((BAI<=0.7607083320617677)?-0.0:((BAI<=0.7624493241310121)?0.0:((BAI<=0.7642702758312226)?-0.0:((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?0.0:0.0):((BAI<=0.7716553211212159)?-0.0:((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:((BAI<=0.7917618155479432)?0.0:0.0))):0.0):((BAI<=0.841739594936371)?-0.0:0.0))))))))):((BAI<=1.0295297503471377)?0.0:0.0));
}


function pt91(BAI) { 
   return (BAI<=0.6003090739250184)?((BAI<=0.5960716605186464)?((BAI<=0.5939456522464753)?((BAI<=0.591746360063553)?((BAI<=0.589671701192856)?((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?((BAI<=0.5829839110374452)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?-0.0:0.0):-0.0):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):((BAI<=0.5765441656112672)?-0.0:-0.0)):0.0):0.0):-0.0):0.0):-0.0):0.0):((BAI<=0.5981493890285493)?-0.0:-0.0)):((BAI<=0.7973746657371522)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?0.0:0.0):((BAI<=0.7880479097366334)?-0.0:0.0)):0.0):((BAI<=0.7936316132545472)?-0.0:0.0)):((BAI<=0.9141101837158204)?0.0:0.0));
}


function pt92(BAI) { 
   return (BAI<=0.6859452426433564)?((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.1746362000703812)?((BAI<=0.14195296168327334)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):((BAI<=0.43487837910652166)?((BAI<=0.43098454177379614)?((BAI<=0.4269573092460633)?-0.0:0.0):-0.0):((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?-0.0:-0.0):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)))):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):-0.0):((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:((BAI<=0.5939456522464753)?-0.0:((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:-0.0))))))):0.0):((BAI<=0.6839765608310701)?-0.0:-0.0)):((BAI<=0.883058935403824)?0.0:0.0);
}


function pt93(BAI) { 
   return (BAI<=0.6990439295768739)?((BAI<=0.5765441656112672)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.29203245043754583)?0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.32520937919616705)?-0.0:-0.0):0.0):-0.0):-0.0)):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):-0.0):((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:((BAI<=0.5939456522464753)?-0.0:((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?-0.0:0.0):((BAI<=0.6839765608310701)?-0.0:-0.0))))))))):((BAI<=0.883058935403824)?((BAI<=0.702749788761139)?((BAI<=0.7008104920387269)?0.0:0.0):((BAI<=0.7045802474021913)?-0.0:((BAI<=0.7064093649387361)?0.0:((BAI<=0.7082403898239137)?-0.0:0.0)))):0.0);
}


function pt94(BAI) { 
   return (BAI<=0.6952222585678102)?((BAI<=0.5829839110374452)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?((BAI<=0.5287362337112428)?-0.0:-0.0):0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):((BAI<=0.5765441656112672)?-0.0:-0.0)):((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:((BAI<=0.5939456522464753)?-0.0:((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?-0.0:0.0):((BAI<=0.6839765608310701)?-0.0:-0.0))))))))):((BAI<=0.8729932308197023)?0.0:0.0);
}


function pt95(BAI) { 
   return (BAI<=0.6990439295768739)?((BAI<=0.5264380276203157)?((BAI<=0.5239137709140779)?((BAI<=0.5214436650276185)?((BAI<=0.29203245043754583)?0.0:((BAI<=0.350756123661995)?((BAI<=0.34258764982223516)?((BAI<=0.3341409862041474)?((BAI<=0.3153038173913956)?-0.0:-0.0):0.0):-0.0):-0.0)):0.0):-0.0):((BAI<=0.5287362337112428)?0.0:((BAI<=0.5311487317085267)?-0.0:((BAI<=0.5358853936195375)?0.0:((BAI<=0.5381758511066438)?-0.0:((BAI<=0.5404831171035768)?0.0:((BAI<=0.5428100526332856)?-0.0:((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?-0.0:0.0):((BAI<=0.5521027147769929)?-0.0:-0.0))))))))):((BAI<=0.8535394072532655)?((BAI<=0.702749788761139)?((BAI<=0.7008104920387269)?0.0:0.0):((BAI<=0.7045802474021913)?-0.0:((BAI<=0.7064093649387361)?0.0:((BAI<=0.7082403898239137)?-0.0:((BAI<=0.8394605815410615)?((BAI<=0.8350276052951814)?((BAI<=0.7230228185653688)?0.0:((BAI<=0.72475203871727)?-0.0:0.0)):0.0):((BAI<=0.841739594936371)?-0.0:0.0)))))):((BAI<=1.0295297503471377)?0.0:0.0));
}


function pt96(BAI) { 
   return (BAI<=0.7195259928703309)?((BAI<=0.5829839110374452)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=-1.0000000180025095e-35)?0.0:-0.0):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):((BAI<=0.5765441656112672)?-0.0:-0.0)):((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:((BAI<=0.5939456522464753)?-0.0:((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:((BAI<=0.61075097322464)?((BAI<=0.608660787343979)?-0.0:0.0):((BAI<=0.6128008663654329)?-0.0:((BAI<=0.6251067817211152)?((BAI<=0.623159170150757)?0.0:0.0):((BAI<=0.6271224021911622)?-0.0:((BAI<=0.6490603983402253)?0.0:((BAI<=0.6509996354579927)?-0.0:0.0))))))))))))):((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?0.0:0.0):((BAI<=0.72475203871727)?-0.0:((BAI<=0.9274739623069764)?0.0:0.0)));
}


function pt97(BAI) { 
   return (BAI<=0.6451557874679567)?((BAI<=0.46607871353626257)?((BAI<=0.45613391697406774)?((BAI<=0.4529267847537995)?((BAI<=0.3153038173913956)?-0.0:((BAI<=0.3341409862041474)?-0.0:-0.0)):0.0):((BAI<=0.459419071674347)?-0.0:((BAI<=0.462689682841301)?0.0:-0.0))):((BAI<=0.47234624624252325)?((BAI<=0.46923977136611944)?-0.0:0.0):((BAI<=0.4752903431653977)?-0.0:((BAI<=0.48406304419040685)?((BAI<=0.48108206689357763)?-0.0:0.0):((BAI<=0.4868938475847245)?-0.0:-0.0))))):((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?0.0:0.0):((BAI<=0.6509996354579927)?-0.0:((BAI<=0.7973746657371522)?((BAI<=0.7917618155479432)?((BAI<=0.7898055911064149)?((BAI<=0.7861073017120362)?((BAI<=0.7842453122138978)?((BAI<=0.7697248458862306)?((BAI<=0.7678673565387727)?((BAI<=0.758914351463318)?((BAI<=0.7571248710155488)?0.0:0.0):((BAI<=0.7607083320617677)?-0.0:0.0)):0.0):((BAI<=0.7716553211212159)?-0.0:0.0)):0.0):((BAI<=0.7880479097366334)?-0.0:0.0)):0.0):((BAI<=0.7936316132545472)?-0.0:0.0)):0.0)));
}


function pt98(BAI) { 
   return (BAI<=0.6451557874679567)?((BAI<=0.46607871353626257)?((BAI<=0.45613391697406774)?((BAI<=0.4529267847537995)?((BAI<=0.29203245043754583)?0.0:-0.0):0.0):((BAI<=0.459419071674347)?-0.0:((BAI<=0.462689682841301)?0.0:-0.0))):((BAI<=0.47234624624252325)?((BAI<=0.46923977136611944)?-0.0:0.0):((BAI<=0.4752903431653977)?-0.0:((BAI<=0.48406304419040685)?((BAI<=0.48108206689357763)?-0.0:0.0):((BAI<=0.4868938475847245)?-0.0:-0.0))))):((BAI<=0.6490603983402253)?((BAI<=0.6471018791198732)?0.0:0.0):((BAI<=0.6509996354579927)?-0.0:((BAI<=0.8147450983524324)?((BAI<=0.6589796543121339)?((BAI<=0.6569403707981111)?((BAI<=0.6550070345401765)?0.0:-0.0):0.0):((BAI<=0.6630294024944307)?-0.0:((BAI<=0.664901226758957)?0.0:((BAI<=0.6668901443481446)?-0.0:((BAI<=0.6820487380027772)?((BAI<=0.6802011132240297)?((BAI<=0.6726139187812806)?((BAI<=0.6706680953502656)?0.0:0.0):((BAI<=0.6745734214782716)?-0.0:-0.0)):0.0):((BAI<=0.6839765608310701)?-0.0:0.0)))))):((BAI<=1.0117128491401675)?0.0:0.0))));
}


function pt99(BAI) { 
   return (BAI<=0.7195259928703309)?((BAI<=0.5829839110374452)?((BAI<=0.5743848681449891)?((BAI<=0.5721257627010347)?((BAI<=0.5653291940689088)?((BAI<=0.5631627738475801)?((BAI<=0.5609528124332429)?((BAI<=0.5587316751480104)?((BAI<=0.5497947335243226)?((BAI<=0.5474567413330079)?((BAI<=0.5404831171035768)?((BAI<=0.5381758511066438)?((BAI<=0.5358853936195375)?((BAI<=0.5335003435611726)?((BAI<=0.5287362337112428)?-0.0:-0.0):0.0):-0.0):0.0):((BAI<=0.5428100526332856)?-0.0:-0.0)):0.0):((BAI<=0.5521027147769929)?-0.0:-0.0)):0.0):-0.0):0.0):((BAI<=0.5675454735755922)?-0.0:-0.0)):0.0):((BAI<=0.5765441656112672)?-0.0:-0.0)):((BAI<=0.58738511800766)?((BAI<=0.5852862596511842)?0.0:0.0):((BAI<=0.589671701192856)?-0.0:((BAI<=0.591746360063553)?0.0:((BAI<=0.5939456522464753)?-0.0:((BAI<=0.5960716605186464)?0.0:((BAI<=0.5981493890285493)?-0.0:-0.0))))))):((BAI<=0.7230228185653688)?((BAI<=0.7212790250778199)?0.0:0.0):((BAI<=0.72475203871727)?-0.0:((BAI<=1.0117128491401675)?0.0:0.0)));
}

function predict(BAI) { 
    return [1/(1+Math.exp(-1*(pt0(BAI)+pt1(BAI)+pt2(BAI)+pt3(BAI)+pt4(BAI)+pt5(BAI)+pt6(BAI)+pt7(BAI)+pt8(BAI)+pt9(BAI)+pt10(BAI)+pt11(BAI)+pt12(BAI)+pt13(BAI)+pt14(BAI)+pt15(BAI)+pt16(BAI)+pt17(BAI)+pt18(BAI)+pt19(BAI)+pt20(BAI)+pt21(BAI)+pt22(BAI)+pt23(BAI)+pt24(BAI)+pt25(BAI)+pt26(BAI)+pt27(BAI)+pt28(BAI)+pt29(BAI)+pt30(BAI)+pt31(BAI)+pt32(BAI)+pt33(BAI)+pt34(BAI)+pt35(BAI)+pt36(BAI)+pt37(BAI)+pt38(BAI)+pt39(BAI)+pt40(BAI)+pt41(BAI)+pt42(BAI)+pt43(BAI)+pt44(BAI)+pt45(BAI)+pt46(BAI)+pt47(BAI)+pt48(BAI)+pt49(BAI)+pt50(BAI)+pt51(BAI)+pt52(BAI)+pt53(BAI)+pt54(BAI)+pt55(BAI)+pt56(BAI)+pt57(BAI)+pt58(BAI)+pt59(BAI)+pt60(BAI)+pt61(BAI)+pt62(BAI)+pt63(BAI)+pt64(BAI)+pt65(BAI)+pt66(BAI)+pt67(BAI)+pt68(BAI)+pt69(BAI)+pt70(BAI)+pt71(BAI)+pt72(BAI)+pt73(BAI)+pt74(BAI)+pt75(BAI)+pt76(BAI)+pt77(BAI)+pt78(BAI)+pt79(BAI)+pt80(BAI)+pt81(BAI)+pt82(BAI)+pt83(BAI)+pt84(BAI)+pt85(BAI)+pt86(BAI)+pt87(BAI)+pt88(BAI)+pt89(BAI)+pt90(BAI)+pt91(BAI)+pt92(BAI)+pt93(BAI)+pt94(BAI)+pt95(BAI)+pt96(BAI)+pt97(BAI)+pt98(BAI)+pt99(BAI))))];
}

Evaluate and Visualize

General description of the script

The raw data for Burned Area Index for Sentinel 2 (BAIS2) has been extracted using a custom script via Sentinel Hub’s Feature Info Service (FIS). It performs elementary statistical computations - such as mean, standard deviation, etc. approximating the distribution of reflectance values - on remotely sensed data for a region specified in a given spatial reference system across different bands and time ranges.

The next subsections describe the different stages of the methodology for data handling, performing the prediction and visualizing the prediction results.

  • The region chosen for training the model in this notebook is Empedrado, Chile.
  • From the bounding box coordinated for Emperdrado, the region in the GeoJSON split into smaller tiles from which a 5x5 grid is selected.
  • The EOPatches are filled with BAI data from Sentinel Hub having minimal cloud coverage.

EOPatches are created and manipulated using EOTasks, which are then chained in an EOWorkflow. The following workflow is created and executed:

  • Create EOPatches with band and cloud data.
  • Add mask of valid pixels.
  • Calculate and add BAI data.
  • Save EOPatches

Once all the EOpatches are extracted, we visualize the following:

  • True colour image.
  • BAIS2 data with the VALID_DATA mask.
  • Mean BAIS2 data of all days.
  • Mean BAIS2 data over a single eopatch.

The obtained data is pre-processed and prepared for training for which we create a new workflow that performs the following preprocessing:

  • Checks the ratio of the valid data for each EOPatch and for each time frame
  • Retain only time frames with > 80% valid coverage

The complete data array is split to train and test sets in the ratio 0.7 Additional variables Normalized Difference Vegetation Index (NDVI), Normalized Difference Water Index (NDWI), Normalized Difference Built up Index (NDBI) are also used as features during the training process.

  • NDVI: (B08 - B04)/(B08 + B04)
  • NDWI: (B03 - B08)/(B03 + B08)
  • NDBI: (B11 - B08)/(B11 + B08)

The data is fit on a LightGBMRegressor().

Details of the script

Burnt Area Index for Sentinel 2 (BAIS2) is the index that highlights burned land in the red to near-infrared spectrum, by emphasizing the charcoal signal in post-fire images. The index is computed from the spectral distance from each pixel to a reference spectral point, where recently burned areas converge. Brighter pixels indicate burned areas.

A Burned Area Prediction Regression model has been developed in the form of a custom script for the Sentinel Hub EOBrowser, using Sentinel-2 MSI reflectance measurements in the short and near infrared wavebands as inputs.

Intents & Motivations

Change detection from multi-temporal remote sensing images is an effective way to identify the burned areas during and after wildfires. With the recent development of more improved models for the detection and prediction of Burned Area Index for Sentinel 2 (BAIS2), the severity of the wildfire can be anticipated so that adequate measures can be taken. This machine learning model can be deployed in a custom script format and visualised in Sentinel Hubís EOBrowser tool.

False Detection Problems (If Any)

The complex image scenario and the similar spectral signatures in multispectral bands may lead to many false positive errors, which make it difficult to exact the burned areas accurately.

More details are available in the supplementary material.

Authors of the script

Roshni Biswas, Anurag Saha Roy

Description of representative images

The Burn Area Index for Sentinel 2 (BAIS2) uses the reflectance values in the red and NIR portion of the spectrum to identify the areas of the terrain affected by fire.

BAI = 1/((0.1 -RED)^2 + (0.06 - NIR)^2)

  • Red = pixel values from the red band
  • NIR = pixel values from the near infrared band

The images here are in grayscale. They represent predicted vs actual data.

Deep BAIS2 script result

References

[1] Chuvieco, E., M. Pilar Martin, and A. Palacios. “Assessment of Different Spectral Indices in the Red-Near-Infrared Spectral Domain for Burned Land Discrimination.” Remote Sensing of Environment 112 (2002): 2381-2396.” (ESRI, 2018)