Skip to content

Commit

Permalink
Documentation Updates (#11)
Browse files Browse the repository at this point in the history
* PIXI-DOCS: Reorganize admin nesting

* PIXI-DOCS: Add documentation for Animal Endpoints preference

* PIXI-DOCS: Update hotel splitter configuration docs with latest docker image.

* PIXI-DOCS: Add note about left/right scroll in batch data entry form

* PIXI-DOCS: Update hotel splitter usage instructions. Pixel offsets no longer used.

* PIXI-DOCS: Add date of death and animal endpoint to the data models docs

* PIXI-DOCS: Add note on Inveon importer plugin setting to the admin docs

* PIXI-DOCS: Update BLI importer usage instructions
  • Loading branch information
andylassiter authored Jun 13, 2024
1 parent 7a2b0db commit f51686b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 28 deletions.
57 changes: 37 additions & 20 deletions docs/source/administration.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Administration
==============

Plugin Settings
---------------
Site Settings
-------------

Plugin settings for the PIXI plugin or any other XNAT plugin can be modified by administrators.
From any view, select Administer -> Plugin Settings in the menu bar.
Expand All @@ -12,17 +12,16 @@ Please see instructions below for various configuration settings.
.. image:: ./images/plugin_settings.png
:align: center

--------------------------
Site Plugin Settings
--------------------------

**Subject Settings**
----------------
Subject Settings
----------------

Subject settings include:

- Subject Display Preferences
- Species
- Animal Vendors / Suppliers
- Animal Endpoints

Select Subject settings under PIXI in the Plugin Setting column of the display.

Expand Down Expand Up @@ -53,7 +52,15 @@ The administrator can enter a known list of suppliers in this preference setting
XNAT will provide these as menu items at the point of data entry to support consistent terminology.
As with species, a user will be able to enter a different value, but that value will not be automatically added to this list.

**PDX and Cell Line Preferences**
*Animal Endpoints:*
Data entry forms include animal endpoint selections. The PIXI plugin supports an ontology of defined terms for endpoints
that will appear in menu items for user selection. The administrator can create, update and delete terms through this
setting. Users will be able to user other terms for endpoints when entering data, but these terms are not automatically
added to the ontology.

-----------------------------
PDX and Cell Line Preferences
-----------------------------

Patient-Derived Xenograft (PDX) information is maintained by PIXI as a site-wide resource.
That allows the PDX information to be entered once and reused/referenced in a single project and across multiple projects.
Expand All @@ -68,9 +75,8 @@ You can provide a web link for both types of entities to refer to documentation
.. image:: ./images/pdx_cell-line_administration.png
:align: center


----------------------------
Hotel splitter configuration
Hotel Splitter Configuration
----------------------------

The hotel image splitter is a feature of the PIXI plugin that allows you to split multi-subject DICOM images into
Expand Down Expand Up @@ -182,23 +188,23 @@ Before proceeding you'll need to have XNAT's Container Service running. We will
1. Navigate to Administer --> Plugin Settings.
2. Under "Container Service" select the "Images & Commands" tab.
3. Click "New Image".
4. For the image name enter "xnat/pixi_pydicom_split".
4. For the image name enter "xnat/mice-image-splitter".
5. For the version enter ":latest". For specific version tags checkout out
`Docker Hub <https://hub.docker.com/r/xnat/pixi_pydicom_split/tags>`_.
`Docker Hub <https://hub.docker.com/r/xnat/mice-image-splitter/tags>`_.
6. Click "Pull Image".
7. Navigate to the "Command Configurations" tab.
8. Enable the two xnat/pixi_pydicom_split commands.
8. Enable the xnat/mice-image-splitter commands.

The two container commands also need to be enabled at the project level by a project owner or a site admin.
The container commands also need to be enabled at the project level by a project owner or a site admin.

1. Navigate to a project and click the "Project Settings" link in the Actions box.
2. Click the "Configure Commands" tab.
3. Click the "Enable" toggle on the two xnat/pixi_pydicom_split commands.
3. Click the "Enable" toggle on all of the xnat/mice-image-splitter commands.

*Setting up Hotels*

The 'hotel' splitting is based on the `DICOM Subject Relative Position in Image <https://dicom.nema.org/medical/dicom/current/output/html/part03.html#sect_C.7.1.4.1.1.1>`_
tag. PIXI includes hotel configurations for 2, 3 and 4 subjects. If you need to add a hotel with a different
tag. PIXI includes some common hotel configurations. If you need to add a hotel with a different
configuration you can do so by following the steps below.

1. Navigate to Administer --> Plugin Settings.
Expand All @@ -209,11 +215,20 @@ configuration you can do so by following the steps below.
Note that Z is always set to 1, splitting is currently only done in the X and Y dimensions.
6. Click "Save".

----------------
---------------
Image Importers
---------------

The Inveon image importer is a feature of the PIXI plugin that allows you to import native Inveon PET/CT images into
XNAT. To use the Inveon image importer, click the enable toggle and then click "Save" to save the changes. The Inveon
image importer will be available in the Upload navigation menu when enabled.

Project Settings
----------------

*Subject Settings*
----------------
Subject Settings
----------------

**Subject Display Preferences**
The subject display preferences can be set at the project level to override the site-wide preferences. This allows
Expand All @@ -222,12 +237,14 @@ set the subject display preferences for a project, navigate to the project and c
Actions box. Select the "Subject Settings" tab and select the desired subject display preferences (xnat:demographicData
or pixi:animalDemographicData) from the "Subject Display Preferences" dropdown. Click "Save" to save the changes.

*Image Acquisition Contexts*
--------------------------
Image Acquisition Contexts
--------------------------

The image acquisition context preferences are set at the project level and are used to help populate commonly repeated
fields for fasting, anesthesia, and heating conditions in the hotel scan record form.

To create a fasting, anesthesia, or heating conditions template for a project, navigate to the project and click the
"Project Settings" link in the Actions box. Select the "Subject Settings" tab and click the "Add" button for each
context type. Add a name for the template, and then add the values that will be populated in the hotel scan record form.
Click "Save" to save the changes.

Binary file not shown.
4 changes: 4 additions & 0 deletions docs/source/pixi_data_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ Rows marked with PIXI indicate items that are unique to small animal subjects.
+-----------------------------------------+----------------+-----------+------+
| Strain Immune System Humanization Type | String | | X |
+-----------------------------------------+----------------+-----------+------+
| Date of Death | Date | | X |
+-----------------------------------------+----------------+-----------+------+
| Animal Endpoint | String | | X |
+-----------------------------------------+----------------+-----------+------+

Experiments
---------------------
Expand Down
16 changes: 8 additions & 8 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ In this context, you can batch enter multiple research subjects using a spreadsh

- Select the project where the subject information will be stored.
- The software defaults to a spreadsheet with 5 rows, but you can increase the number of rows.
- Scroll left and right to see all the columns that are available for data entry.

You will likely find it convenient to fill in one row and then copy/paste common data into the following rows.

Expand Down Expand Up @@ -159,12 +160,8 @@ In the Actions box on the Session Page, select Run Containers -> Hotel Session S
.. image:: ./images/pixi_select_hotel_splitter_container.png
:align: center

8. PIXI will present a dialog box to allow you to adjust pixel offsets for the images
and a button to run the container that will perform this task.
When you select "Run Container", that job is launched using the Container infrastructure you have deployed.

.. image:: ./images/pixi_run_hotel_splitter_container.png
:align: center
8. Container service will present a dialog with the parameters used for the hotel splitter. When you select
"Run Container", the job is launched using the container infrastructure you have deployed.

Uploading Native Inveon PET/CT Imaging Data
-------------------------------------------
Expand Down Expand Up @@ -217,7 +214,7 @@ top menu.
File Format Requirements
~~~~~~~~~~~~~~~~~~~~~~~~

The PIXI BLI importer is designed to import data from IVIS Imaging Systems. The IVIS system produces a directory
The BLI importer is designed to import data from IVIS Imaging Systems. The IVIS system produces a directory
of imaging and non-imaging files. The directory generally contains the following files:

- AnalyzedClickInfo.txt (required)
Expand Down Expand Up @@ -254,8 +251,11 @@ In certain cases, the user input my need to extract a substring from a field. Fo
Comment1 field may contain a string like 'M1 Prone'. The user may want to extract the 'M1' part of the string to use as
the subject label. The user can specify a regular expression to extract a substring from a field in the Advanced Options
section. In the example, the user would specify a regular expression like '^(\w+)' to extract the first word from the
Comment1 field. `Regex101 <https://regex101.com/>`_ is a useful tool for testing regular expressions in the browser.
Comment1 field.

After selecting the project, zip file, and labeling options, click 'Begin Upload' to start the upload process. If there
are any issues with uploading the IVIS BLI images to your project, the image sessions will be stored in the XNAT
prearchive which can be accessed from the top menu by selecting Upload -> Go to prearchive.

.. _XNAT platform: https://www.xnat.org
.. _How To Use XNAT: https://wiki.xnat.org/documentation/how-to-use-xnat
Expand Down

0 comments on commit f51686b

Please sign in to comment.