File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def load_from_netcdf(cls, filename):
363
363
return eddies
364
364
365
365
@staticmethod
366
- def cost_function2 (records_in , records_out , distance ):
366
+ def cost_function (records_in , records_out , distance ):
367
367
nb_records = records_in .shape [0 ]
368
368
costs = ma .empty (nb_records ,dtype = 'f4' )
369
369
for i_record in xrange (nb_records ):
@@ -390,7 +390,7 @@ def mask_function(self, other):
390
390
return self .circle_mask (other , radius = 125 )
391
391
392
392
@staticmethod
393
- def cost_function (records_in , records_out , distance ):
393
+ def cost_function2 (records_in , records_out , distance ):
394
394
m = EddiesObservations .across_ground (records_in , records_out , distance )
395
395
cost = ((records_in ['amplitude' ] - records_out ['amplitude' ]
396
396
) / records_in ['amplitude' ]
You can’t perform that action at this time.
0 commit comments