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):
363363 return eddies
364364
365365 @staticmethod
366- def cost_function2 (records_in , records_out , distance ):
366+ def cost_function (records_in , records_out , distance ):
367367 nb_records = records_in .shape [0 ]
368368 costs = ma .empty (nb_records ,dtype = 'f4' )
369369 for i_record in xrange (nb_records ):
@@ -390,7 +390,7 @@ def mask_function(self, other):
390390 return self .circle_mask (other , radius = 125 )
391391
392392 @staticmethod
393- def cost_function (records_in , records_out , distance ):
393+ def cost_function2 (records_in , records_out , distance ):
394394 m = EddiesObservations .across_ground (records_in , records_out , distance )
395395 cost = ((records_in ['amplitude' ] - records_out ['amplitude' ]
396396 ) / records_in ['amplitude' ]
You can’t perform that action at this time.
0 commit comments