% a MATLAB function function x = some_func() fs = 1000; d = 1; t = 0:1 / fs:d; x = sin(t); ex = 0.1 * randn(size(x)) + x; end
class Point(object):
"""
"""
def __init__(self, x, y):
"""__init__
Arguments:
- `x`:
- `y`:
"""
self._x = x
self._y = y
@property
def x(self):
return self._x
@x.setter
def x(self, value):
self._x = value
@x.deleter
def x(self):
del self._x
No comments:
Post a Comment