SCETBase#
- class stixcore.time.datetime.SCETBase(*args, **kwargs)[source]#
Bases:
ShapedLikeNDArrayBase time class from which SCETime and SCETimeDelta inherit.
Attributes Summary
The shape of the underlying data.
Methods Summary
argmax([axis, out])Return indices of the maximum values along the given axis
argmin([axis, out])Return indices of the minimum values along the given axis
Return a uint64 representation of the SCET and time e.g. coarse << 16 + fine.
as_float()Return a float representation of the SCET and time e.g. coarse+fine*(1/MAX_FINE).
get_scedays(*[, timestamp])max([axis, out, keepdims])Return the maximum time or maximum time along an axis
min([axis, out, keepdims])Return the minimum of time or minimum time along an axis
Attributes Documentation
- shape#
Methods Documentation
- argmax(axis=None, out=None)[source]#
Return indices of the maximum values along the given axis
- Parameters:
axis
out
- argmin(axis=None, out=None)[source]#
Return indices of the minimum values along the given axis
- Parameters:
axis
out
- as_float()[source]#
Return a float representation of the SCET and time e.g. coarse+fine*(1/MAX_FINE)