Skip to content

Commit

Permalink
Merge pull request #329 from FAIRmat-NFDI/plugins-in-docs
Browse files Browse the repository at this point in the history
Add plugins and links to individual docs to the main docs
  • Loading branch information
lukaspie authored May 6, 2024
2 parents e531bda + bd77a36 commit 23ec919
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,6 @@ data into the NeXus standard and visualising the files content.
# Documentation
Documentation for the different tools can be found [here](https://fairmat-nfdi.github.io/pynxtools/).

# Plugins
There are a number of plugins available for pynxtools. These are extensions of pynxtools used for reading data of specific experimental techniques.
- [**pynxtools-mpes**](https://github.com/FAIRmat-NFDI/pynxtools-mpes): A reader for multi-dimensional photoelectron spectroscopy data.
- [**pynxtools-stm**](https://github.com/FAIRmat-NFDI/pynxtools-stm): A reader for scanning tunneling microscopy (SPM) and spectroscopy (STS) data.
- [**pynxtools-xps**](https://github.com/FAIRmat-NFDI/pynxtools-xps): A reader for X-ray photoelectron spectroscopy (XPS) data.
- [**pynxtools-apm**](https://github.com/FAIRmat-NFDI/pynxtools-apm): A reader for atom probe as well as related field ion microscopy data.
- [**pynxtools-em**](https://github.com/FAIRmat-NFDI/pynxtools-em): A reader for electron microscopy data.
- [**pynxtools-ellips**](https://github.com/FAIRmat-NFDI/pynxtools-ellips): A reader for ellipsometry data.

Note that pynxtools-apm and pynxtools-em are currently refactored into pynxtools plugins.
Until this refactoring will have become completed, users are advised to use the apm and em readers via pynxtools<=0.1.1.


You can install each of the plugins together with `pynxtools` by passing the name of the plugin as an extra to the pip install call. For example, for the `pynxtools-mpes` plugin:
```shell
pip install pynxtools[mpes]
```

In addition, you can also install all of the `pynxtools` reader plugins which are maintained by FAIRmat by passing the `[convert]` extra to the pip install call:
```shell
pip install pynxtools[convert]
```
There is also a [cookiecutter template](https://github.com/FAIRmat-NFDI/pynxtools-plugin-template) available for creating your own pynxtools plugin.

# Contributing

## Development install
Expand Down
4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ An introduction to NeXus and its design principles.

### Reference

Within FAIRmat, we maintain a number of reader plugins for different experimental techniques. You can find more information [here](reference/plugins.md).

[Here](reference/definitions.md), you find the detailed list of application definitions and base classes and their respective fields.

Or go directly to the [official NIAC](https://manual.nexusformat.org/classes/index.html)
Expand All @@ -59,4 +61,4 @@ Or go directly to the [official NIAC](https://manual.nexusformat.org/classes/ind
</div>
</div>

<h2>Project and community</h2>
<h2>Project and community</h2>
25 changes: 25 additions & 0 deletions docs/reference/plugins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Plugins
There are a number of plugins available for pynxtools that are maintained within FAIRmat. These are extensions of pynxtools used for reading data of specific experimental techniques.

- [**pynxtools-mpes**](https://github.com/FAIRmat-NFDI/pynxtools-mpes): A reader for multi-dimensional photoelectron spectroscopy data.
- [**pynxtools-stm**](https://github.com/FAIRmat-NFDI/pynxtools-stm): A reader for scanning tunneling microscopy (SPM) and spectroscopy (STS) data.
- [**pynxtools-xps**](https://github.com/FAIRmat-NFDI/pynxtools-xps): A reader for X-ray photoelectron spectroscopy (XPS) data. Documentation can be found [here](https://fairmat-nfdi.github.io/pynxtools-xps/).
- [**pynxtools-apm**](https://github.com/FAIRmat-NFDI/pynxtools-apm): A reader for atom probe as well as related field ion microscopy data. Documentation can be found [here](https://fairmat-nfdi.github.io/pynxtools-apm/).
- [**pynxtools-em**](https://github.com/FAIRmat-NFDI/pynxtools-em): A reader for electron microscopy data. Documentation can be found [here](https://fairmat-nfdi.github.io/pynxtools-em/).
- [**pynxtools-ellips**](https://github.com/FAIRmat-NFDI/pynxtools-ellips): A reader for ellipsometry data. Documentation can be found [here](https://fairmat-nfdi.github.io/pynxtools-ellips/).

## Installation

You can install each of the plugins together with pynxtools by passing the name of the plugin as an extra to the pip install call. For example, for the pynxtools-mpes plugin:

```
pip install pynxtools[mpes]
```

In addition, you can also install all of the pynxtools reader plugins which are maintained by FAIRmat by passing the [convert] extra to the pip install call:

```
pip install pynxtools[convert]
```

There is also a [cookiecutter template](https://github.com/FAIRmat-NFDI/pynxtools-plugin-template) available for creating your own pynxtools plugin.
1 change: 1 addition & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ nav:
- learn/nexus-primer.md
- learn/multiple-appdefs.md
- Reference:
- reference/plugins.md
- reference/definitions.md
theme:
name: material
Expand Down

0 comments on commit 23ec919

Please sign in to comment.