Scratch notes to copy/paste examples URLs during focus demo ADASS XXVII, 11/13/2018.
(For localhost example, please clone Firefly and build/deploy gradle :firefly:bAD
Then demos are here: http://localhost:8080/firefly/demo/ffapi-*.html
Search with IRSAviewer
WISE search 300" around Pleiades, m109, or favorite object
I can save table, highlight rows, filter, add footprint, change hips, fits when zoom in/out
Search via Gator m109, 20" on WISE Multiepoch photo
m109 light curve wise result: https://irsa.ipac.caltech.edu/workspace/TMP_fd7GHO_4548/Gator/irsa/4602/tbview.html
https://irsa.ipac.caltech.edu/onlinehelp/finderchart/#id=api
- docs: file:///Users/ejoliet/projects/firefly/build/firefly/war/docs/js/index.html
- gradle :firefly:buildJsDoc
- See Atlas example, show page source
- NED: API + IRSAViewer usage
- http://localhost:8080/firefly/demo/ffapi-highlevel-test.html, taken SIA url example from here
function loadSIA() {
var req = firefly.util.table.makeFileRequest('SIA result images',
'https://irsa.ipac.caltech.edu/ibe/sia/wise/allsky/4band_p1bm_frm?POS=20,40',
null,
{ pageSize: 15,
META_INFO: {
positionCoordColumns: 'ra_obj;dec_obj;EQ_J2000',
datasource: 'sia_url'
}
});
firefly.getViewer().showTable( req, {removable: true, showUnits: false, showFilters: true});
}
SDSS, dss, allwise, 2mass + ivo:// url from here https://irsa.ipac.caltech.edu/data/hips/list
more here IRSAViewer
- install FF client for python
git clone https://github.com/Caltech-IPAC/firefly_client.git
cd firefly_client/
pip install -e .
wget http://web.ipac.caltech.edu/staff/roby/demo/2mass-m31-green.fits
wget http://web.ipac.caltech.edu/staff/roby/demo/m31-2mass-2412-row.tbl
python
- in py console, import and launch viewer
from firefly_client import FireflyClient
fc = FireflyClient('https://irsa.ipac.caltech.edu/irsaviewer')
fc.launch_browser()
#show image
fval = fc.upload_file('2mass-m31-green.fits')
fc.show_fits(fval)
#display table
tval = fc.upload_file('m31-2mass-2412-row.tbl')
fc.show_table(tval)
#notebook
jupyter notebook