etspy.base.CommonStack.invert() → Self[source] Create a copy of a Stack with inverted contrast levels. Returns:¶ inverted – Copy of the input stack with contrast inverted Return type:¶ Self Examples¶ >>> import etspy.datasets as ds >>> stack = ds.get_needle_data() >>> s_inverted = stack.invert()