Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/nyx/python/nyxus/nyxus.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from typing import Optional, List

class Nyxus:
"""Nyxus image feature extraction library
r"""Nyxus image feature extraction library

Scalably extracts features from images.

Expand Down Expand Up @@ -614,7 +614,7 @@ def roi_blacklist_get_summary (self):
return s

def set_gabor_feature_params (self, **kwargs):
"""Sets parameters of feature GABOR
r"""Sets parameters of feature GABOR

Keyword args:
* kersize (int): size of filter kernel's side. Example: customize_gabor_feature(kersize=16)
Expand Down Expand Up @@ -731,7 +731,7 @@ def set_environment_params (self, **params):
verb_lvl)

def set_params(self, **params):
"""Sets parameters of the Nyxus class
r"""Sets parameters of the Nyxus class

Keyword args:

Expand Down Expand Up @@ -795,7 +795,7 @@ def set_params(self, **params):


def get_params(self, *args):
"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.
r"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.

Valid parameters are:

Expand Down Expand Up @@ -1292,7 +1292,7 @@ def set_environment_params (self, **params):
verb_lvl)

def set_params(self, **params):
"""Sets parameters of the Nyxus class
r"""Sets parameters of the Nyxus class

Keyword args:

Expand Down Expand Up @@ -1343,7 +1343,7 @@ def set_params(self, **params):
self.set_environment_params(**environment_params)

def get_params(self, *args):
"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.
r"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.

Valid parameters are:

Expand Down Expand Up @@ -1910,7 +1910,7 @@ def roi_blacklist_get_summary (self):
return s

def set_gabor_feature_params (self, **kwargs):
"""Sets parameters of feature GABOR
r"""Sets parameters of feature GABOR

Keyword args:
* kersize (int): size of filter kernel's side. Example: customize_gabor_feature(kersize=16)
Expand Down Expand Up @@ -2026,7 +2026,7 @@ def set_environment_params (self, **params):
verb_lvl)

def set_params(self, **params):
"""Sets parameters of the Nyxus class
r"""Sets parameters of the Nyxus class

Keyword args:

Expand Down Expand Up @@ -2090,7 +2090,7 @@ def set_params(self, **params):
self.set_environment_params(**environment_params)

def get_params(self, *args):
"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.
r"""Returns the parameters of a Nyxus object. If no args are supplied, all parameters will be returned.

Valid parameters are:

Expand Down Expand Up @@ -2126,7 +2126,7 @@ def get_params(self, *args):


class Nested:
"""Nyxus image feature extraction library / ROI hierarchy analyzer
r"""Nyxus image feature extraction library / ROI hierarchy analyzer

Valid aggregate functions are any functions available in pandas.DatFrame.aggregate,
e.g. min, max, count, std. Lambda functions can also be passed. To provide a name to
Expand Down Expand Up @@ -2171,7 +2171,7 @@ def find_relations(
parent_file_pattern: str,
child_file_pattern: str):

"""Finds parent-child relationships.
r"""Finds parent-child relationships.

Find parent-child relationships of parent files matching the parent_file_pattern
and child files matching the child_file_pattern.
Expand Down
Loading