Sorry, I got this wrong—I thought that it was the y-axis name. Actually the
name should be taken from the "intensity" name but HyperSpy does have this
feature. I guess that "value" or "intensity" are both fine until we add the
missing feature.

Francisco

On 13 December 2013 13:31, pburdet <notifications@github.com> wrote:

> In hyperspy/signal.py:
>
> > +        from hyperspy import signals
> > +        from hyperspy.misc.borrowed.astroML.histtools import histogram
> > +
> > +        hist, bin_edges = histogram(img.data.flatten(),bins=bins,range=range_bins)
> > +        hist_spec = signals.Spectrum(hist)
> > +        if bins == 'blocks':
> > +            hist_spec.axes_manager.signal_axes[0].axis=bin_edges[:-1]
> > +            warnings.warn(
> > +            "The options `bins = 'blocks'` is not fully supported in this "
> > +            "versions of hyperspy. It should be used for plotting purpose"
> > +            "only.")
> > +        else:
> > +            hist_spec.axes_manager[0].scale=bin_edges[1]-bin_edges[0]
> > +            hist_spec.axes_manager[0].offset=bin_edges[0]
> > +
> > +        hist_spec.axes_manager[0].name= 'value'
>
> Is it a frequency (for me frequency sound like spatial frequency of a
> Fourier transform)? If you applied it to a gray image, the proper name is
> "value of gray level". Could it be "value of intensity" of something
> similar? I take "value" from imagej
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hyperspy/hyperspy/pull/124/files#r8332062>
> .
>