Array.init (function)


def __init__(self, value, unit=None)

This is available as a top-level convenience function as nparray.array.

Arguments

  • value (array or list): array or list of values.
  • unit (astropy unit or string, optional, default=None): unit corresponding to the passed values.

Returns