Changeset 13316 for fact/tools/pyscripts/doc/_build/html/_sources
- Timestamp:
- 04/05/12 14:10:40 (13 years ago)
- Location:
- fact/tools/pyscripts/doc/_build/html/_sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/doc/_build/html/_sources/classes.txt
r13151 r13316 18 18 19 19 FIR filter functions 20 -------------------- 20 ===================== 21 21 .. autoclass:: fir_filter 22 22 :members: -
fact/tools/pyscripts/doc/_build/html/_sources/getting_started.txt
r13151 r13316 1 =============== 2 Getting Started 3 =============== 4 5 1) Get an account at the FACT data center at ISDC 6 2) Setup your environment variables 7 3) Checkout the pyfact software repository 8 4) Try a few examples 9 10 1. Important links 11 ================================= 12 13 **FACT data center at ISDC** <http://www.isdc.unige.ch/fact/datacenter>** 14 here you find instructions how to get an account, how to set it up and how to use it 15 16 **SVN repository** <https://fact.isdc.unige.ch/svn/fact/> 17 hosts all FACT software (including pyfact) 18 19 **FACT run database** <https://www.fact-project.org/run_db/db/fact_runinfo.php> 20 here you find information about all available runs 21 22 **eLogbook** <https://www.fact-project.org/logbook/> 23 telescope logbook used since Dec. 1, 2012; for logbook information before this date have a look here: <http://fact.ethz.ch/FACTelog/index.jsp> 24 25 **FACT La Palma pages** <https://www.fact-project.org/> 26 plenty of information concerning the telescope in La Palma 27 28 2. Environment variables 29 ===================== 30 set the following env variables depending on the SHELL you are using, for instance in .bashrc or .tcshrc 31 32 * **ROOTSYS**: /swdev_nfs/root_v5.28.00 33 * **PATH**: add $ROOTSYS/bin 34 * **PATH**: add /swdev_nfs/FACT++ 35 * **LD_LIBRARY_PATH**: $ROOTSYS/lib:/swdev_nfs/FACT++/.libs 36 * **PYTHONPATH**: $ROOTSYS/lib 37 * **PYTHONPATH**: add all directories where python should search for modules. At least: 38 * pyscripts/pyfact 39 * pyscript/tools 40 * pyscripts/ecamples 41 * py 42 43 the absolute path depends on where you have checked (or will check) out the pyscripts repository 44 45 3. Check out the repository 46 ======================== 47 svn co https://fact.isdc.unige.ch/svn/fact/tools/pyscripts/ 48 49 4. Create pyfits library 50 ======================== 51 FACT data are stored in (gzipped) fits files, but the data files are too large to be read by the default tool: 52 53 `pyfits <http://www.stsci.edu/institute/software_hardware/pyfits>`. 54 55 To mitigate this problem a C++ class defined in `fits.h` is used. A simple possibility to create an interface of this C++ class and python is to use the 56 57 `pyroot http://root.cern.ch/drupal/category/package-context/pyroot>` module. 58 59 simple:: 60 61 [pceth118] /home/luster/py > root 62 ROOT 5.28/00h (branches/v5-28-00-patches@42209, Feb 13 2012, 23:52:00 on linux) 63 CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 64 Type ? for help. Commands must be C++ statements. 65 Enclose multiple statements between { }. 66 root [0] .L fits.h++ 67 Info in <TUnixSystem::ACLiC>: creating shared library /home/luster/py/./fits_h.so 68 root [1] 69 70 71 72 5. Run examples 73 ============ 74 75 1 76 ======= 2 77 Classes … … 8 83 rawdata access 9 84 ------- 10 .. autoclass:: pyfact. rawdata85 .. autoclass:: pyfact.RawData 11 86 :members: 12 87 -
fact/tools/pyscripts/doc/_build/html/_sources/index.txt
r13151 r13316 13 13 14 14 introduction 15 getting_started 15 16 classes 16 17 examples -
fact/tools/pyscripts/doc/_build/html/_sources/introduction.txt
r13151 r13316 9 9 * examples 10 10 11 The code of pyfact follows the `Style Guide for python code <http://www.python.org/dev/peps/pep-0008/>_. 11 If you are new to python you need to learn the basics. In any case it would be wise to study the following book: 12 13 *A Primer on Scientific Programming with Python - Hans Petter Langtangen* 14 15 pyfact is supposed to follow closely the programming style thought in this book. 16 17 `python documentation pages <http://docs.python.org/>`_ 18 19 `astropython.org <http://www.astropython.org/resources>`_ 20 21 Python version and modules used 22 ------------------------------- 23 As long as you work on the ISDC FACT cluster most things should be just fine. 24 |python version: 2.6.6 25 |--- add later: list of modules 26 27 Style guide and coding conventions 28 ---------------------------------- 29 The code of pyfact follows the `Style Guide for python code <http://www.python.org/dev/peps/pep-0008/>.
Note:
See TracChangeset
for help on using the changeset viewer.