dhavalkadia-fda commited on
Commit
553d842
·
verified ·
1 Parent(s): 5767a61

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -3
README.md CHANGED
@@ -1,3 +1,64 @@
1
- ---
2
- license: cc0-1.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ pretty_name: PyBDC
4
+ ---
5
+
6
+ <p align="center">
7
+ <h1 align="center">Python Breast Dosage Calculator: PyBDC</h1>
8
+ </p>
9
+
10
+ ## Getting Started
11
+
12
+ ### General Information
13
+ **`PyBDC`** Python toolkit for calculating dosage for breast CT.
14
+
15
+ Developed by: Harsha Marupudi, M.Eng., Joseph Manus B.S., Bahaa Ghammraoui, Ph.D. US Food and Drug Administration, Center for Devices and Radiological Health, Office of Science and Engineering Labs, Division of Imaging, Diagnostics, and Software Reliability.
16
+
17
+ For more information please contact: **[[email protected]](mailto:[email protected]) or [[email protected]](mailto:[email protected])** (for issues with the toolbox).
18
+
19
+
20
+ ## Installation
21
+ Both containerized and python package for the toolbox are availabe. Apptainer (https://apptainer.org/) is used for containerization process. The container package is developed for Unix based system. It is not readily available for Windows (can be used with VM). This section will help you to install the packages needed for AUCPR.
22
+
23
+ ### Install Container Application
24
+ Installation process of apptainer can be found here:
25
+
26
+ • Apptainer: https://apptainer.org/docs/admin/main/installation.html
27
+
28
+ Singularity can also be used to build or run the container. Installation process of Singularity can be found here
29
+
30
+ • Singularity: https://apptainer.org/user-docs/3.4/installation.html
31
+
32
+ ## Using the tool
33
+ ### Container
34
+ Using container commands (if the container file .sif is ready):
35
+
36
+ • If you are using the incident spectrum provided by PyBDC (from `/usr/local/bin/PyBDC/incident_spectrum` inside the container), simply call the container file:
37
+ ```
38
+ apptainer run PyBDC_container.sif
39
+ ```
40
+
41
+ • If you are providing PyBDC an incident spectrum, create a new directory, and move into it; and bind that directory (or as a path) when you run the container. When you click the button "Upload Incident Spectrum File", you can access the content of that directory in `/mnt` directory.
42
+
43
+ For an example, if you create directory called `dir_spectrum`, you can bind it as below:
44
+ ```
45
+ apptainer run --bind ./dir_spectrum:/mnt PyBDC_container.sif
46
+ ```
47
+ OR
48
+ ```
49
+ apptainer run --bind {ABSOLUTE_PATH}/dir_spectrum:/mnt PyBDC_container.sif
50
+ ```
51
+
52
+ Using container commands (if the container file .sif needs to be rebuild):
53
+
54
+ • Assign the argument variable path_package the path to PyBDC between double quotation marks ("").
55
+
56
+ • Call the container recipe file (.def) to run and build the container. E.x.,
57
+ ```
58
+ apptainer build --fakeroot --build-arg path_package="/PATH_TO_THE_PACKAGE" PyBDC_container.sif PyBDC_definition.def
59
+ ```
60
+ • Then, follow the previously mentioned steps to run the container.
61
+
62
+ User guide
63
+ ----------
64
+ Please refer to the technical documentation https://pybdc.readthedocs.io/en/latest/