spectrochempy.logspace
- logspace(cls, start, stop, num=50, endpoint=True, base=10.0, dtype=None, **kwargs)[source]
- Return numbers spaced evenly on a log scale. - In linear space, the sequence starts at - base ** start(- baseto the power of- start) and ends with- base ** stop(see- endpointbelow).- Parameters:
- start (array_like) – - base ** startis the starting value of the sequence.
- stop (array_like) – - base ** stopis the final value of the sequence, unless- endpointis False. In that case,- num + 1values are spaced over the interval in log-space, of which all but the last (a sequence of length- num) are returned.
- num (int, optional) – Number of samples to generate. Default is 50. 
- endpoint (bool, optional) – If true, - stopis the last sample. Otherwise, it is not included. Default is True.
- base (float, optional) – The base of the log space. The step size between the elements in - ln(samples) / ln(base)(or- log_base(samples)) is uniform. Default is 10.0.
- dtype (dtype) – The type of the output array. If - dtypeis not given, infer the data type from the other input arguments.
- **kwargs – Keywords argument used when creating the returned object, such as units, name, title, … 
 
- Returns:
- logspace – - numsamples, equally spaced on a log scale.
 - See also - arange
- Similar to linspace, with the step size specified instead of the number of samples. Note that, when used with a float endpoint, the endpoint may or may not be included. 
- linspace
- Similar to logspace, but with the samples uniformly distributed in linear space, instead of log space. 
- geomspace
- Similar to logspace, but with endpoints specified directly.