Yes. Thank you for finding this. Fixed in SVN.
Cheers,
Mike
Ryan May wrote:
> Hi,
>
> I think I found a bug while looking over scale.py:
>
> 127 class InvertedNaturalLogTransform(Transform):
> 128 input_dims = 1
> 129 output_dims = 1
> 130 is_separable = True
> 131 base = np.e
> 132
> 133 def transform(self, a):
> 134 return ma.power(np.e, a) / np.e
> 135
> 136 def inverted(self):
> 137 return LogScale.Log2Transform()
>
> Shouldn't line 137 instead read:
> return LogScale.NaturalLogTransform()
>
> Ryan
>
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA