![infrapix.png](https://i.publiclab.org/system/images/photos/000/000/369/medium/infrapix.png) ### Using Flask, Twitter Bootstrap, and Heroku - Followed this brilliant intro to setting up a web app on Heroku, using Flask and Twitter Bootstrap: http://ryaneshea.com/lightweight-python-apps-with-flask-twitter-bootstrap-and-heroku - Trick for getting matplotlib to install after numpy -- see: https://gist.github.com/mt3/3680810 - Direct to S3 uploads: https://devcenter.heroku.com/articles/s3-upload-python - Code of uploading files using Flask: http://flask.pocoo.org/docs/patterns/fileuploads/ - General info on using python on Heroku: https://devcenter.heroku.com/articles/python - using Flask and boostrap: https://github.com/mbr/flask-bootstrap and http://www.andrewsturges.com/2012/08/installing-twitter-bootstrap-in-flask-09.html ###Craig's code for doing the ndvi conversion - [stuporblue to NDVI conversion](https://gist.github.com/cversek/5616453) - [tunable gaussian HSV colormap functions](https://gist.github.com/cversek/5622365) - relevant tutorial for using matplotlib for image processing: http://matplotlib.org/users/image_tutorial.html ### Discussion threads on processing NDVI in this manner, appropriate color tables, etc: -https://mail.google.com/mail/u/0/#search/craig/13ec4525bc160f90?compose=13ec886588389872 - https://groups.google.com/group/plots-infrared/browse_thread/thread/dcf3a9a0518ec55e - https://groups.google.com/group/plots-infrared/browse_thread/thread/3c4ebab96e9a90ac ### Test app on Heroku - http://infrapix.herokuapp.com/ - https://github.com/dwblair/infrapix