Changeset 702


Ignore:
Timestamp:
Jun 11, 2012, 4:24:54 PM (13 years ago)
Author:
acolaitis
Message:

Python: enrichment factor working fine on start files, corrected a bug so that it works on diagfi as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r701 r702  
    165165          meanar[:] = meanar[:] + mmrarcol[:,yy,xx]
    166166    meanar = meanar/(znx*zny)
    167 
    168     enfact =-(meanar - mmrarcol)/meanar
     167    for tt in np.arange(znt):
     168      enfact[tt,:,:] =-(meanar[tt] - mmrarcol[tt,:,:])/meanar[tt]
     169
    169170    return enfact
    170171
Note: See TracChangeset for help on using the changeset viewer.