gammapy/modeling/parameter.py
def update_from_dict(self, data):
        """Update parameters from a dict.
           Protection against changing parameter model, type, name."""
        keys=["value", "unit", "min", "max", "frozen"]
        for k in keys: setattr(self, k, data[k])
Update parameters from a dict.
           Protection against changing parameter model, type, name.
Update parameters from a dict.
Protection against changing parameter model, type, name.
Update parameters from a dict . Protection against changing parameter model type name .
def update_from_dict(self, data):
        keys=["value", "unit", "min", "max", "frozen"]
        for k in keys: setattr(self, k, data[k])
def update_from_dict ( self , data ) : keys = [ "value" , "unit" , "min" , "max" , "frozen" ] for k in keys : setattr ( self , k , data [ k ] )
Update parameters from a dict.
Update parameters from a dict .
"""Update parameters from a dict.
           Protection against changing parameter model, type, name."""
self
data