-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install and astra tomopy venv instructions
- Loading branch information
Showing
8 changed files
with
95 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""Al-recon. Everyone can reconstruct""" | ||
__title__ = "Al-recon" | ||
__version__ = "0.3.1" | ||
__version__ = "0.3.2" | ||
__description__ = "Computed Tomography reconstruction web applicatoin. Built with solara." |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: alrecon | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.8 | ||
- astra-toolbox::astra-toolbox | ||
- tomopy | ||
- plotly::plotly | ||
- dxchange | ||
- pandas | ||
- tifffile | ||
- pip | ||
- pip: | ||
- pypng | ||
- matplotlib | ||
- gspread | ||
- gspread-dataframe | ||
- oauth2client | ||
- solara | ||
- napari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## the following commands were used to create a virtual environment for alrecon with full GPU functionalities using astra-toolbox and tomopy | ||
```commandline | ||
conda create --name tomopy python=3.8 | ||
conda activate tomopy | ||
conda install -c astra-toolbox astra-toolbox | ||
conda install -c conda-forge tomopy | ||
conda install dxchange pandas tifffile | ||
conda install -c conda-forge dxchange pandas tifffile | ||
pip install pypng matplotlib gspread gspread-dataframe oauth2client | ||
pip install solara | ||
``` | ||
|
||
--- | ||
## the following is an attempt to install tomopy and alrecon in development mode in a virtual environment with the astra-toolbox | ||
|
||
### 1. clone the TomoPy GitHub repository | ||
### 2. create virtual env | ||
```commandline | ||
conda env create -f /tomopy/envs/linux-cuda.yml --name alrecon python=3.8 | ||
conda activate alrecon | ||
``` | ||
|
||
### 3. install astra-toolbox | ||
```commandline | ||
conda install -c astra-toolbox astra-toolbox | ||
``` | ||
|
||
### 4. build TomoPy | ||
```commandline | ||
cd tomopy/ | ||
pip install . --no-deps | ||
mkdir build | ||
cd build | ||
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_INSTALL_LIBDIR=lib | ||
cmake --build . | ||
cmake --install . | ||
``` | ||
|
||
### 5. Clone the alrecon GitHub repository | ||
### 6. Install the alrecon dependencies | ||
```commandline | ||
cd alrecon/ | ||
conda install -c plotly plotly | ||
conda install pandas tifffile | ||
pip install pypng matplotlib gspread gspread-dataframe oauth2client | ||
pip install solara | ||
``` | ||
### 7. Build alrecon | ||
```commandline | ||
pip install -e . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
filelist = getArgument() | ||
print("Importing .TIFF sequence:") | ||
print(filelist) | ||
run("Image Sequence...", "open=" + filelist + " sort use"); | ||
print("Done.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters