Skip to content

On the new package structure

Simon Torres edited this page Apr 7, 2017 · 3 revisions

Notes

From discussion with Bruno on 2016-12-27

We discussed a plan for the ideal

~/root/
  /goodman/
    __init__.py
    redspec.py
    wavelength.py
    ...
  /bin/
    goodman_ccd
    goodman_spec
  /docs/
    doc_content...
  setup.py
  readme.md
  LICENCE
  requirements.txt
  .gitignore

Status until 2016-12-28

I have created a new branch development and I have started to move things to the new data structure, in particular I have made the following changes.

  1. Create the branch development
  2. Created the directory goodman_tools
  3. Created the directory bin
  4. Moved all python files to goodman_tools
  • Created __init__.py inside goodman_tools
  1. Created inside bin a executable called redspec
[user@server goodman]$ pwd
~/development/soar/goodman
[user@server goodman]$ tree
.
├── bin
│   └── redspec
├── docs
│   ├── build
│   │   ├── doctrees
│   │   │   ├── environment.pickle
│   │   │   ├── index.doctree
│   │   │   ├── modules.doctree
│   │   │   ├── process.doctree
│   │   │   ├── redgoodman.doctree
│   │   │   └── redspec.doctree
│   │   └── html
│   │       ├── genindex.html
│   │       ├── index.html
│   │       ├── modules.html
│   │       ├── objects.inv
│   │       ├── process.html
│   │       ├── py-modindex.html
│   │       ├── redgoodman.html
│   │       ├── redspec.html
│   │       ├── search.html
│   │       ├── searchindex.js
│   │       ├── _sources
│   │       │   ├── index.txt
│   │       │   ├── modules.txt
│   │       │   ├── process.txt
│   │       │   ├── redgoodman.txt
│   │       │   └── redspec.txt
│   │       └── _static
│   │           ├── ajax-loader.gif
│   │           ├── basic.css
│   │           ├── comment-bright.png
│   │           ├── comment-close.png
│   │           ├── comment.png
│   │           ├── doctools.js
│   │           ├── down.png
│   │           ├── down-pressed.png
│   │           ├── file.png
│   │           ├── jquery-1.11.1.js
│   │           ├── jquery.js
│   │           ├── minus.png
│   │           ├── plus.png
│   │           ├── pygments.css
│   │           ├── searchtools.js
│   │           ├── underscore-1.3.1.js
│   │           ├── underscore.js
│   │           ├── up.png
│   │           ├── up-pressed.png
│   │           └── websupport.js
│   ├── Makefile
│   └── source
│       ├── conf.py
│       ├── index.rst
│       ├── modules.rst
│       ├── process.rst
│       └── redspec.rst
├── goodman_tools
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── linelist.py
│   ├── linelist.pyc
│   ├── process.py
│   ├── process.pyc
│   ├── redspec.py
│   ├── redspec.pyc
│   ├── refdata
│   ├── simulator.py
│   ├── wavelength.py
│   ├── wavelength.pyc
│   ├── wsbuilder.py
│   └── wsbuilder.pyc
├── LICENSE
├── README.md
├── refdata
│   ├── goodman_comp_1200_M5_GG455_HgArNe.fits
│   ├── goodman_comp_400M2_GG455.fits
│   ├── goodman_comp_400_M2_GG455_HgArNe.fits
│   ├── goodman_comp_600_BLUE_CuHeAr.fits
│   └── hgar_reference_soar.fits
└── requirements.txt

11 directories, 69 files