<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><div>Hi ,<br></div>Could someone suggest me a way to normalise the PC values and retain the same unit?<br></div><div><br><br></div><div>Thanks <br><br><br></div>;time=41,sta=392<br><div>xx1 = dats(time | :,sta|:) ; reorder ... eofunc want 'time' as rightmost dimension<br>printVarSummary(xx1)<br>printMinMax(xx1,0)<br>o=dats(sta|:,time|:)<br>printVarSummary(o)<br>evecv = eofunc_Wrap (o,neval,False)<br>evecv_ts = eofunc_ts_Wrap (o,evecv,False)<br>print(evecv_ts(0,:))<br>printVarSummary(evecv)<br>printMinMax(evecv(0,:),0);Normalised<br>; ================================> ; SUM OF THE SQUARES<br> ; IF NORMALIZED, THEY SHOULD BE 1<br>; sumsqr = dim_sum(evecv^2)<br>; print("sum of squares: " + sumsqr)<br><br>;To retain same unit;Denormalise<br> do ne=0,neval-1<br> evecv(ne,:) = evecv(ne,:)*sqrt( evecv@eval(ne) )<br> end do<br>printMinMax(evecv(0,:),0);Normalised<br>evecv_ts = eofunc_ts_Wrap (o,evecv,False)<br><br>Output of min/max<br> min=-1693.35 max=1080.62<br></div><div><br></div></div>
</div><br></div>