I would go with iterable or array-like as it will also convert anything
that is iterable, so a tuple, generator etc.


On 27 May 2014 10:29, dpshelio <notifications@github.com> wrote:

> In sunpy/instr/goes.py:
>
> > +
> > +    Examples
> > +    --------
> > +    >>> longflux = np.array([7e-6, 7e-6])
> > +    >>> shortflux = np.array([7e-7, 7e-7])
> > +    >>> temp, em = goes_chianti_tem(longflux, shortflux, satellite=15,
> > +                                    date='2014-04-16', abundances="coronal")
> > +    >>> temp
> > +    array([11.28295376, 11.28295376])
> > +    >>> em
> > +    array([  4.78577516e+48,   4.78577516e+48])
> > +
> > +    """
> > +    # ENSURE INPUTS ARE OF CORRECT TYPE AND VALID VALUES
> > +    longflux = np.array(longflux, dtype=np.float64)
> > +    shortflux = np.array(shortflux, dtype=np.float64)
>
> So then should the docstring be changed to say list or np.array?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sunpy/sunpy/pull/969/files#r13068916>
> .
>