AutoCNet is a suite of functions that parallelize network generation and analyze the health of networks. Networks within AutoCNet are represented with an [undirected graph](https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)), called a NetworkCandidateGraph.
It leverages a database for presistent storage of the images, points, and measures of a network. The use of this database allows for quick access of each elements geometries and how those geometries relate with one another.
Anaconda environments are a collection of python packages that are installed into an isolated environment and can be selectively accessed through activation of that environment. They are particularly helpful because various versions of a program or various combinations of programs in isolated environments do not effect those in another environment.
For example, ASC internally creates anaconda environments for each new release, and release candidate of the ISIS software. If a user would like to access any particular version of ISIS, they would type `conda activate isisx.y.z`, if later they wanted to access a different version they could `conda deactivate & conda activate isisu.v.w` without worrying about cross containination of environment variables.
%% Cell type:markdown id: tags:
### Where are they located?
There are internal environments and personal environments. Environments available to ASC internal users include ISIS release builds and select apps (autocnet, jupyter, plio, qgis, etc). You can view which environments area available to your user profile, along with the location of the installed apps using:
The -n argument is name that the new conda environment will be assigned. The -f argument points to a file that dictates which conda packages will be installed at the creation of the new environment. In this case, there is an environment.yml file located in the root folder of autocnet repository.
Write this function below filling in the two arguments.
%% Cell type:code id: tags:
``` python
![insertfunction]
```
%% Cell type:markdown id: tags:
Show the `conda list` command (see what is avaiable in the conda environment)
%% Cell type:code id: tags:
``` python
```
%%Celltype:markdownid:tags:
### What Packages are Available in an Environment?
In order to access python modules (or functions from a python module) they must be explicitly loaded into the notebook.
%% Cell type:code id: tags:
``` python
import numpy as np
import blah from BLAH
import BLAH
```
%% Cell type:markdown id: tags:
## Cells
Cells are isolated blocks of code that can be run individually. Although the code is sequester within a cell, the variables created in a cell can be accessed else were. For example,
%% Cell type:code id: tags:
``` python
a = 2+2
```
%% Cell type:code id: tags:
``` python
print(a)
```
%% Output
4
%% Cell type:markdown id: tags:
## Documenting
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:markdown id: tags:
# Killing Notebooks
Notebooks are hosted on the nebula cluster, unless specifically shut down, the job running the jupyter notebook will continue running even if jupyter hub fails. It is important to cancel your jupyter jobs after you are finished or you will get made fun of.
%% Cell type:code id: tags:
``` python
!squeue -u ladoramkershner
```
%% Output
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
21438177 longall jupyter- ladoramk R 8-07:33:17 1 neb15
I am going to do the point registration in isis, autocnet has had work on their subpixel registration techniques and I am not sure which one to use at the moment