dkirkby / bossdata

Tools for accessing SDSS BOSS data
MIT License
1 stars 3 forks source link

Adding model flux plotting to bossplot #113

Open kgage opened 8 years ago

kgage commented 8 years ago

This also adds to function to generate model flux arrays to the spec.py module for use outside of the bossplot script.

kgage commented 8 years ago

From the Travis push build for python 2.7 (after adding speclite to requirements.txt) line 626 to 635:

      File "scipy/linalg/setup.py", line 20, in configuration

        raise NotFoundError('no lapack/blas resources found')

    numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

    ----------------------------------------
    Command "/home/travis/virtualenv/python2.7.9/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-eKjz1j/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KGYSmp-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python2.7.9/include/site/python2.7" failed with error code 1 in /tmp/pip-build-eKjz1j/scipy
The command "pip install -r requirements.txt" failed and exited with 1 during .

It appears that there is a problem with the Travis build and scypi. The full setup is at https://travis-ci.org/dkirkby/bossdata/jobs/91049710

kgage commented 8 years ago

Verbose option for model building function currently prints in the following format:

Data for model {model #}:
    CLASS       {Data}
    SUBCLASS    {Data (can be blank)}
    Z           {Data}
    Z_ERR       {Data}
    RCHI2DIFF   {Data}
    ZWARNING    {Data}

Do we want to add the reduced chi squared value, or is the difference enough? Do we want to add anything else?