Logscaled Histogram¶
-
class
apmapflow.data_processing.histogram_logscale.
HistogramLogscale
(field, **kwargs)[source]¶ Performs a histogram where the bin limits are logarithmically spaced based on the supplied scale factor. If there are negative values then the first bin contains everything below 0, the next bin will contain everything between 0 and 1. kwargs include:
- scale_fact - numeric value to generate axis scale for bins. A
- scale fact of 10 creates bins: 0-1, 1-10, 10-100, etc.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
classmethod
_add_subparser
(subparsers, parent)[source]¶ Adds a specific action based sub-parser to the supplied arg_parser instance.
-
_output_data
(filename=None, delim=', ')¶ Creates the output content for histograms
-
_process_data
(preserve_bins=False)¶ Calculates a histogram from a range of data. This uses the 1st and 99th percentiles as limits when defining bins
-
copy_processed_data
(data_dict, alt_key=False)¶ Copys the current processed data array to a dict object using a key defined in the subclass initialization or a key supplied by the alt_key keyword.
-
gen_output
(**kwargs)¶ Calls the subclassed routine output_data to create outfile content
-
print_data
()¶ Writes the data processor’s data the screen
-
process
(**kwargs)¶ Calls the subclassed routine process_data to create outfile content
-
setup
(**kwargs)¶ Sets or resets arguments
-
write_data
(path='/home/docs/checkouts/readthedocs.org/user_builds/netl-ap-map-flow/checkouts/latest/docs')¶ Writes the data processor’s data to its outfile