Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge master #192

Merged
merged 22 commits into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a566dc6
fixes randbiasfield (#2645)
wyli Jul 23, 2021
325775b
1979 Enhance TTA to align with Invertd args and support no label (#2654)
Nic-Ma Jul 26, 2021
141e9db
2635 Enhance doc-string of UNet for spatial size (#2641)
Nic-Ma Jul 26, 2021
8d4f45f
new theme (#2657)
wyli Jul 27, 2021
aaeebd6
2635 enhance UNet doc for the typical use case (#2659)
Nic-Ma Jul 27, 2021
c4833f5
2648 add `RandCoarseDropout` transform (#2658)
Nic-Ma Jul 27, 2021
35e45df
add citation metadata (#2663)
wyli Jul 28, 2021
d8613b2
2648 Add LongestRescale transform (#2662)
Nic-Ma Jul 29, 2021
30ce63d
Stain normalization (#2666)
drbeh Jul 30, 2021
390fe7f
2583 Add DatasetCalculator (#2616)
yiheng-wang-nv Jul 30, 2021
607a31a
2648 Enhance RandLambda to execute deterministic transforms for rando…
Nic-Ma Jul 30, 2021
7f42efe
Restructure pathology transforms (#2671)
drbeh Jul 30, 2021
4f7371a
Updated RandKSpaceSpikeNoised. Collected Fourier mappings. (#2665)
yanielc Aug 2, 2021
9ecb0e1
Change MONAI author from a person to en entity (#2690)
tvercaut Aug 3, 2021
482ff5d
2679 Add IntensityStats transform to record intensity statistics into…
Nic-Ma Aug 4, 2021
f6ad4ba
2687 2688 Enhance doc-strings of Affine related transforms (#2693)
Nic-Ma Aug 4, 2021
03a8372
[DLMED] update int method (#2696)
Nic-Ma Aug 5, 2021
4298b14
Increase timeout of tests (#2711)
madil90 Aug 6, 2021
62425d7
2499 adds 2d/3d support of patchembedding, ViT, and unetr model (#2698)
wyli Aug 6, 2021
945e21c
[2678] Add transform to fill holes and to filter (#2692)
Spenhouet Aug 7, 2021
1ffa909
Remove unnecessary use of comprehension (#2719)
deepsource-autofix[bot] Aug 7, 2021
2f1c7a5
[DLMED] add select_fn for MaskIntensity (#2726)
Nic-Ma Aug 9, 2021
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
16 changes: 16 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# YAML 1.2
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
#
---
title: "MONAI: Medical Open Network for AI"
abstract: "AI Toolkit for Healthcare Imaging"
authors:
- name: "MONAI Consortium"
date-released: 2020-03-28
version: "0.6.0"
doi: "10.5281/zenodo.4323058"
license: "Apache-2.0"
repository-code: "https://github.com/Project-MONAI/MONAI"
cff-version: "1.1.0"
message: "If you use this software, please cite it using these metadata."
...
4 changes: 3 additions & 1 deletion docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
@import url('https://fonts.googleapis.com/css?family=Lekton:700|Roboto&display=swap');
body{font-family:'Roboto',sans-serif;}.wy-side-nav-search>div.version{color:#222;}a:visited{color:#0285b0;}.wy-menu-vertical a:visited{color:#d9d9d9;}.wy-menu-vertical p.caption{color:#7cccc7;}
body{font-family:'Roboto',sans-serif;}.wy-menu-vertical p.caption{color:#7cccc7;}
*{font-variant-ligatures: none;}.autoclasstoc td {padding:0.2rem;line-height:normal;}
dl.field-list>dt{word-break: normal}
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ scikit-image>=0.14.2
tensorboard
commonmark==0.9.1
recommonmark==0.6.0
Sphinx==3.5.3
sphinx-rtd-theme==0.5.2
Sphinx
pydata-sphinx-theme
sphinxcontrib-applehelp
sphinxcontrib-devhelp
sphinxcontrib-htmlhelp
Expand Down
20 changes: 20 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
:github_url: https://github.com/Project-MONAI/MONAI

API Reference
=============

.. toctree::
:maxdepth: 1

apps
transforms
losses
networks
metrics
optimizers
data
engines
inferers
handlers
visualize
utils
12 changes: 12 additions & 0 deletions docs/source/apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,15 @@ Clara MMARs
.. autofunction:: compute_isolated_tumor_cells
.. autoclass:: PathologyProbNMS
:members:

.. automodule:: monai.apps.pathology.transforms.stain.array
.. autoclass:: ExtractHEStains
:members:
.. autoclass:: NormalizeHEStains
:members:

.. automodule:: monai.apps.pathology.transforms.stain.dictionary
.. autoclass:: ExtractHEStainsd
:members:
.. autoclass:: NormalizeHEStainsd
:members:
47 changes: 34 additions & 13 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
import subprocess
import sys

sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))
Expand Down Expand Up @@ -68,12 +68,6 @@ def generate_apidocs(*args):
)


def setup(app):
# Hook to allow for automatic generation of API docs
# before doc deployment begins.
app.connect("builder-inited", generate_apidocs)


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
Expand All @@ -94,8 +88,10 @@ def setup(app):

autoclass_content = "both"
add_module_names = True
source_encoding = "utf-8"
autosectionlabel_prefix_document = True
napoleon_use_param = True
napoleon_include_init_with_doc = True
set_type_checking_flag = True

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -106,29 +102,54 @@ def setup(app):
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "pydata_sphinx_theme"
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
"external_links": [{"url": "https://github.com/Project-MONAI/tutorials", "name": "Tutorials"}],
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/project-monai/monai",
"icon": "fab fa-github-square",
},
{
"name": "Twitter",
"url": "https://twitter.com/projectmonai",
"icon": "fab fa-twitter-square",
},
],
"collapse_navigation": True,
"display_version": True,
"sticky_navigation": True, # Set to False to disable the sticky nav while scrolling.
"logo_only": True, # if we have a html_logo below, this shows /only/ the logo with no title text
"style_nav_header_background": "#FBFBFB",
"navigation_depth": 3,
"show_toc_level": 1,
"footer_items": ["copyright"],
"navbar_align": "content",
}
html_context = {
"display_github": True,
"github_user": "Project-MONAI",
"github_repo": "MONAI",
"github_version": "dev",
"doc_path": "docs/",
"conf_py_path": "/docs/",
"VERSION": version,
}
html_scaled_image_link = False
html_show_sourcelink = True
html_favicon = "../images/favicon.ico"
html_logo = "../images/MONAI-logo-color.png"
html_sidebars = {"**": ["search-field", "sidebar-nav-bs"]}
pygments_style = "sphinx"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["../_static"]
html_css_files = ["custom.css"]
html_title = f"{project} {version} Documentation"

# -- Auto-convert markdown pages to demo --------------------------------------


def setup(app):
# Hook to allow for automatic generation of API docs
# before doc deployment begins.
app.connect("builder-inited", generate_apidocs)
7 changes: 7 additions & 0 deletions docs/source/contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:github_url: https://github.com/Project-MONAI/MONAI

Development
===========

For guidance on making a contribution to MONAI, see the `contributing guidelines
<https://github.com/Project-MONAI/MONAI/blob/dev/CONTRIBUTING.md>`_.
4 changes: 4 additions & 0 deletions docs/source/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ DistributedWeightedRandomSampler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: monai.data.DistributedWeightedRandomSampler

DatasetSummary
~~~~~~~~~~~~~~
.. autoclass:: monai.data.DatasetSummary

Decathlon Datalist
~~~~~~~~~~~~~~~~~~
.. autofunction:: monai.data.load_decathlon_datalist
Expand Down
2 changes: 1 addition & 1 deletion docs/source/highlights.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Modules overview
# Modules Overview

MONAI aims at supporting deep learning in medical image analysis at multiple granularities.
This figure shows a typical example of the end-to-end workflow:
Expand Down
29 changes: 8 additions & 21 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,39 +45,26 @@ Technical documentation is available at `docs.monai.io <https://docs.monai.io>`_
:maxdepth: 1
:caption: Feature highlights

whatsnew_0_6.md
whatsnew_0_5.md
whatsnew
highlights.md

.. toctree::
:maxdepth: 1
:caption: APIs

apps
transforms
losses
networks
metrics
optimizers
data
engines
inferers
handlers
visualize
utils
:caption: API Reference

api

.. toctree::
:maxdepth: 1
:caption: Installation

installation

.. toctree::
:maxdepth: 1
:caption: Contributing

Contributing
------------

For guidance on making a contribution to MONAI, see the `contributing guidelines
<https://github.com/Project-MONAI/MONAI/blob/dev/CONTRIBUTING.md>`_.
contrib


Links
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Installation guide
# Installation Guide

## Table of Contents
1. [From PyPI](#from-pypi)
Expand Down
Loading