Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eoldas_ng/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,8 +1048,8 @@ def der_cost ( self, x_dict, state_config ):
####(( fwd_model[:] - \
####self.observations[band, self.mask] ) \
####/self.bu[band]**2)[:, None]).T

self.fwd_modelled_obs.append (
self.fwd_modelled_obs.append ( fwd_model )
j = 0
for i, (param, typo) in enumerate ( state_config.iteritems()) :
if typo == CONSTANT:
Expand Down
3 changes: 1 addition & 2 deletions eoldas_ng/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class State ( object ):
constant (so it is constant in time and/or space), or whether we
just prescribe some default value."""

def __init__ ( self, state_config, state_grid, default_values, \
parameter_min, parameter_max, verbose=False ):
def __init__ ( self, state_config, state_grid, default_values, parameter_min, parameter_max, verbose=False ):
"""State constructor


Expand Down