Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
43f49c9
fixed bug due to new version of lsqfit
thomasorb Nov 28, 2018
7710ed3
other bug fixed due to new version of lsqfit
thomasorb Nov 28, 2018
6c6935d
wcs bugs fixed
thomasorb Dec 4, 2018
eb54c36
Update and rename README.rst to README.md
thomasorb Apr 25, 2019
d661b7e
Update README.md
thomasorb May 14, 2019
dbec50b
Update README.md
thomasorb May 14, 2019
72f124f
bugfix in setup.py reference to README.rst changed to README.md
thomasorb May 14, 2019
001d064
Create .readthedocs.yml
thomasorb Jun 4, 2019
4c0ef39
updated requirement.txts
thomasorb Jun 4, 2019
bcfb3fb
Merge branch 'master' of https://github.com/thomasorb/orb
thomasorb Jun 4, 2019
102bf4d
Update .readthedocs.yml
thomasorb Jun 4, 2019
ded7669
changed requirements.txt by an environment.yml for conda
thomasorb Jun 4, 2019
4b6c32c
Merge branch 'master' of https://github.com/thomasorb/orb
thomasorb Jun 4, 2019
3f4ff54
changed environement.yml
thomasorb Jun 4, 2019
6a4da40
rebuilt docs, updated environment.yml
thomasorb Jun 4, 2019
ebeb172
testing a new conda env format
thomasorb Jun 4, 2019
d3b8859
updated requirements.txt
thomasorb Jun 4, 2019
2418ead
removed orb-kernel and orcs from requirements.txt
thomasorb Jun 4, 2019
0b7b279
docs update to make it compile on readthedocs
thomasorb Jun 4, 2019
47c9a40
still trying to make it build on rtd
thomasorb Jun 4, 2019
991aa6c
still trying to make it build on rtd
thomasorb Jun 4, 2019
fadcc48
still trying to make it build on rtd
thomasorb Jun 4, 2019
c6181c8
readthedocs passed !!! updated README.md to put the readthedocs link …
thomasorb Jun 4, 2019
acb8e3d
added function orb.utils.io.write_cube_to_fits() to convert any cube …
thomasorb Jun 11, 2019
f918e03
bugfix in orb.utils.io.write_cube_as_fits
thomasorb Jun 11, 2019
de12ced
readded requirements.txt
thomasorb Jun 11, 2019
eae1e63
fixed gvar and lsqfit install version
thomasorb Jun 17, 2019
01d797f
fixed install doc for scisoft users
thomasorb Jun 17, 2019
49ae785
Update README.md
thomasorb Jul 4, 2019
3269cf1
changed filter SN2 for new filter curve (already implemented in hdf5 …
thomasorb Oct 17, 2019
1750381
Bump notebook from 5.7.2 to 5.7.8 in /docs
dependabot[bot] Oct 17, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Introduction

[ORB](https://github.com/thomasorb/orb) is the kernel module for the
whole suite of data reduction and analysis tools for
[SITELLE](http://www.cfht.hawaii.edu/Instruments/Sitelle):
[ORBS](https://github.com/thomasorb/orbs),
[ORCS](https://github.com/thomasorb/orcs).

It provides basic access to the data cubes as long as the fitting
engine of ORCS and numerous utilitary functions for the analysis of
interferometric and spectral data, imaging data, astrometry,
photometry.


You can find the up-to-date documentation here:

https://orb.readthedocs.io


## installation instructions with Anaconda (should work on Linux, Mac OSX, Windows)

### 1. download Miniconda for your OS and python 2.7.

**If you already have [Anaconda](https://www.anaconda.com/) installed go to step 2**

instructions are here: [Miniconda — Conda](https://conda.io/miniconda.html)
1. place the downloaded file on your home directory
2. install it (use the real file name instead of `Miniconda*.sh`)
```bash
bash Miniconda*.sh
```
### 2. install `conda-build` tools
```bash
conda install conda-build
```

### 3. create orb environment
#### automatic procedure if you have a `*.yml*` file:
create an environment automatically
```bash
conda env create -f orb-env.yml
```

#### manual installation of the librairies
create an environment and install needed modules manually
```bash
conda create -n orb python=2.7
conda install -n orb numpy scipy bottleneck matplotlib astropy cython h5py dill pandas
conda install -n orb -c conda-forge pyregion
conda install -n orb -c astropy photutils
```
if your shell is bash, which is now generally the case for OSX and most linux distributions please do
```
conda init bash
```
If you have a different shell replace bash with the name of your shell.

Now if you have Scisoft installed (which does not goes well with Anaconda/Python... but still you may want to have it)
then please add `export PYTHONPATH=''` at the end of your profile file where some environment variables are defined (e.g. `.bashrc`, `.profile`, `.bash_profile`).

You may then activate your environment with
```
conda activate orb
```
now your prompt should be something like `(orb) $`. If `conda activate orb` does not work. Please do the following `conda init bash` (if bash is your shell

note: you may now have to install `gcc` on Mac OSX or linux if you want to be able to execute the following with no error (see https://discussions.apple.com/thread/8336714). To check that you have gcc installed type `gcc --help` in a terminal. You should see the usage informations displayed.

e.g. to install `gcc` under ubuntu (or debian based distributions):

```bash
sudo apt update
sudo apt install build-essential
```

Then you can install the last python modules
```bash
pip install gvar --no-deps
pip install lsqfit --no-deps
pip install pp --no-deps
```

### 4. add orb module

clone [ORB](https://github.com/thomasorb/orb)
```bash
mkdir orb-stable # do it where you want to put orb files
cd orb-stable
git clone https://github.com/thomasorb/orb.git
```

in the downloaded folder
```bash
conda activate orb # you don't need to do it if you are already in the orb environment
cd path/to/orb-stable/orb
python setup.py build_ext --inplace
python setup.py install
```

Test it:
```bash
conda activate orb # you don't need to do it if you are already in the orb environment
python -c 'import orb.core'
```

### 5. Install jupyter

```bash
conda install -n orb -c conda-forge jupyterlab
```
Run it

```bash
conda activate orb # you don't need to do it if you are already in the orb environment
jupyter lab
```
You should now have your web browser opened and showing the jupyter lab interface !


115 changes: 0 additions & 115 deletions README.rst

This file was deleted.

1 change: 1 addition & 0 deletions docs/README.md
Binary file added docs/_build/doctrees/README.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/astrometry_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/changelog.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/code.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/code_utils.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/constants_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/core_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/cutils_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/data_analysis_with_orb.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/data_module.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/_build/doctrees/fit_module.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/installation.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/installing_orb.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/installing_python.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/orb.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/orb.ext.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/orb.utils.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/python_for_orb.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/utils_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/viewer_module.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/visual_module.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: abf231106efa3c2b791f493c0ec13db9
config: 081849eb718ae0908a49b5a6c629a6d1
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added docs/_build/html/.nojekyll
Empty file.
Loading