[SCIDB-76] hscdata module Created: 27/Feb/19  Updated: 30/Jul/20

Status: Open
Project: Science Database
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Epic Priority: Normal
Reporter: michitaro Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to SCIDB-92 science database v2.5 Open
Epic Name: Implement hscdata module

 Description   

Implement hscdata module.

The module will help users access database in Jupyter environment.

It consists of the following submodules.

  • Image cut out sub-module
    This module is for cutting out image from the reduced data.
    The usage of it will be something like this:
    hscdata.image.cutout(ra=150, dec=2, size='1arcsec', filter='HSC-I') => cut out image
  • Psf picker sub-module
    This module is for retrieving PSF image or model from the reduced data.
    The usage of it will be something like this:
    hscdata.psf.pick(ra=150, dec=2, filter='HSC-I') => PSF Image or PSF Model
  • File search sub-module
    This module is for searching and retrieving the reduced data.
    The usage of it will be something like this:
    results = hscata.fileSearch.findCoadd(ra=150, dec=2, size='1arcsec', filter='HSC-I') => astropy.HDUList
    print(results[0].fileName) => '/somewhere/coadd-123.fits' # the file is mounted in compute environment.
  • SQL sub-module
    This module is for throwing SQL and retrieving resultant records from the Postgres database.
    The usage of it will be something like:
    object_id, mag = hscdata.sql.asNumpy('select object_id, imag_kron  from s18a_wide.forced limit 10' )
    object_id._class_ => numpy.ndarray
    mag._class_ => numpy.ndarra

Generated at Sat Feb 10 16:46:17 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.