Skip to content

Releases: waqasbhatti/astrobase

astrobase v0.3.11

27 Mar 18:51
Compare
Choose a tag to compare

New stuff

  • checkplot.checkplot_pickle_to_png: can now export to StringIO or BytesIO instance in addition to a PNG filename.
  • checkplot/lcproc: added a maxnumneighbors kwarg to control the max number of neighbors the function retrieves around the target object. Added by Joshua Wallace (@joshuawallace).
  • cpserver UI: added object-neighbor color and mag diffs per neighbor to the overview tab if available.
  • cpserver UI: zoom effects on mouse-over for phased LC tiles to make reviewing easier.
  • lcproc.make_lclist/filter_lclist: can now make overlayed FITS finder charts if a FITS file for the object catalog is provided. The lc-collection-work Jupyter notebook has more details.
  • plotbase: added a fits_finder_chart function to make an annotated finder chart from a given FITS file with WCS information.

Changes

  • cpserver UI: finder chart reticle appearance changed slightly to obscure stars near the target less.
  • cpserver UI: moved the 'Save to PNG' button to the overview tab so it's more obvious.
  • checkplot:checkplot_pickle: can now fall back to GAIA proper motions if 'pmra' and 'pmdecl' are not provided in the input objectinfo dict kwarg.
  • cpserver: now gzips the response (slightly speed up if the checkplotserver is running somewhere else other than localhost).
  • cpserver: PNG export for a checkplot is now done in memory (theoretically, this enables PNG export in readonly mode, but that's disabled for now).

Fixes

  • checkplot.checkplot_pickle_to_png: fix py2 StringIO isinstance() issues.
  • cpserver: fix broken handling of missing nbr mag and color diffs.
  • cpserver UI: fix the CSV/JSON export to correctly include all previous reviewed objects instead of just the ones from the current session.
  • cpserver: readonly mode now disables all input correctly.
  • cpserver UI: fix checkplot list traverse breaking at ends of list.
  • periodbase.kbls.bls_snr: fixed transit duration calculation, pointed out in Github PR #45.
  • lcproc: fix readerfunc apply if sequences are returned.

astrobase v0.3.9

14 Mar 14:08
Compare
Choose a tag to compare

New stuff

  • checkplot: can now provide epochs for folding phased light curves as input, overriding the default light curve time-of-minimum finding strategy
  • starfeatures and checkplot: can now use arbitrary mags and colors in input objectinfo dicts, can add custom bandpasses as well
  • checkplotserver UI: added highlight for each GAIA neighbor in the DSS finder chart as cursor mouses over its row in the GAIA neighbor list table to help with visualizing close neighbors
  • tests: added tests for new epoch and mag/color handling
  • added a CITE.md

Changes

  • checkplot: no longer warns if a pickle was written in Python 2 and latin1 encoding was needed to read it in Python 3
  • checkplot: a Savitsky-Golay fit is now tried before giving up on finding time-of-minimum of a light curve if the initial spline fit failed
  • checkplotserver: UI fixes to not squish phased LC tiles into too small an area; now they overflow off the page with scroll-bars, but should remain legible
  • lcmath.sigclip_magseries can now use either median/MAD or mean/stdev as the central and spread values in determining where to clip (added by @joshuawallace in #40)

Fixes

  • checkplotserver: handle more nan-JSON breakage
  • starfeatures: handle missing information correctly
  • fixed link at the top of hatlc.py to the astrobase-notebooks repository (added by @adrn in #37)
  • checkplotlist: fixed to not use non-existent str.isdecimal() in Python 2
  • various other Python 3 specific things were fixed to make them work on python 2.7 as well

astrobase v0.3.8

27 Feb 15:44
Compare
Choose a tag to compare

New stuff

  • added a varbase/trends.py module for detrending LCs
  • varbase/trends: added implementation of classic EPD and random-forest EPD
  • lcmath: add a sigclip_magseries_with_extparams function
  • checkplots: now able to handle multiple invocations of the same period-finder method (e.g. for exploring different period-ranges with the same PF method)

Changes

  • timeutils: use HTTPS url for JPL ephem download
  • setup.py: use pip>=6 requirements format; allows conditional py2 dependency on the backported future package, instead of the hack we had before
  • lcproc.filter_lclist: get the whole matching row from the external catalog for xmatches instead of just the objectid
  • lcfit.legendre_fit_magseries: add legendre fit coeffs to output dict
  • removed imageutils.py, moved to another package in development
  • periodbase: periodepsilon is now a fraction diff from previous peak instead of an absolute diff, should work better for finding peaks in the periodograms for all period ranges now

Fixes

  • kbls.bls_snr: fix for not using the same kwargs from the initial BLS run
  • kbls: fixing nphasebins and messaging about autofreq
  • starfeatures.neighbor_gaia_features: handle missing K mag
  • cpserver.js: better handle missing checkplot info from GAIA, etc.
  • tests: fixed some bugs
  • checkplot.checkplot_pickle_to_png: guard against missing phased LCs for nbestperiods
  • lcproc: various fixes for new generation checkplots

astrobase v0.3.5

09 Feb 04:35
Compare
Choose a tag to compare

Changes

  • removed example PNGs from PyPI source and wheel distributions to cut down on size; now back to a reasonable ~750 kB instead of ~4 MB previously.

astrobase v0.3.4

02 Feb 21:32
Compare
Choose a tag to compare

New stuff

  • checkplot: added cross-matching against external catalogs
  • checkplotserver: add GAIA information
  • checkplotserver: add display of GAIA CMD for object if available
  • checkplotserver: add xmatch information
  • checkplotserver: added all current astrobase period-finders and their specific options
  • checkplotserver: added time, mag/flux filtering, and sigclip for period-search tab
  • checkplotserver: link to neighbors' checkplots if they're in current collection
  • checkplotserver: add some more var/obj tags available by default
  • coordutils: add general kdtree functions
  • cpserver.js: add xypos to GAIA neighbor display, for TBD cutout overlay
  • lcproc: add xmatch drivers
  • lcproc: get color/mag diffs between object and LCC neighbors
  • lcproc: implemented functions to add CMDs to checkplots
  • magnitudes: add GAIA absolute mag calc
  • services.gaia: also get parallaxes from the gaia_source table if available
  • starfeatures: attempt to handle no close GAIA matches
  • starfeatures: get BV from JHK if necessary
  • starfeatures: get GAIA xy positions on object Skyview cutout

Changes

Lots of reorganization and cleanup:

  • hatlc, hplc, oldhatlc, k2hat were all moved to the hatsurveys subpackage
  • all checkplotserver related modules are now in the cpserver subpackage

Other changes:

  • checkplot, lcproc: change default nbr radius to 60 arcsec
  • checkplot: starfeatures.neighbor_features -> neighbor_gaia_features
  • checkplotserver: default nav shortcut key now alt+shift+left/right instead of ctrl+left/right
  • checkplotserver UI: reorganized for better workflow, disabled TBD elements for now
  • lcproc, checkplot: put in xmatch kwargs and calls
  • setup.py: add cpserver subpackage

Fixes

  • checkplot: fix location for font
  • checkplot, cpserver: various fixes to imports and nan-handling
  • cpserver, cp: fix JSON encoder to handle more weird things
  • cpserver: make ACF period search actually work from the frontend
  • cpserver: handle case where neighbors don't have LCs
  • cpserver: handle nans better in arrays sent to frontend
  • cpserver: handle nans from xmatch results
  • cps UI: clear periodsearch elems on checkplot load
  • cps UI: load previously saved period/epoch for plotting in psearch-tab
  • cps UI: more small fixes
  • lcmath: add missing imports
  • lcproc: fixed bugs with new neighbor processing
  • lcproc: fix issue with missing LC renorm for runcp
  • periodbase.macf: fix filterwindow kwarg

astrobase v0.3.3

16 Jan 23:35
Compare
Choose a tag to compare

New stuff

  • checkplot: added all new star features to checkplot dict objectinfo
  • cpserver: added implementation for neighbors tab
  • cpserver: add GAIA neighbors, dereddened colors, color classes to web interface
  • services.skyview: add sizepix param, gracefully handle older cache fnames
  • checkplotlist: add a default sortorder and sortkey (objectid - asc)

Fixes

  • checkplot: fix broken coordutils imports for checkplot_png, et al.
  • checkplot: add extra guards against measurements being all nan or not enough finite values
  • checkplot.checkplot_pickle_to_png: guard against missing or insufficient neighbor LCs
  • checkplot: fix checkplot_png download of finder charts
  • checkplotlist: fix various horrendous bugs when no sorting/filtering specified
  • cpserver js: fix long-broken arbitrary period, epoch, etc. input
  • lcproc: check if a neighbor LC actually exists before processing it
  • lcproc: guard against insufficient measurements for neighbors too
  • plotbase: fix long-broken stamp fetch that tests ignored
  • starfeatures.neighbor_features: correctly handle case where there are no GAIA neighbors

astrobase v0.3.2

10 Jan 23:13
Compare
Choose a tag to compare

Changes in this release

  • cpserver: correct imports for varfeatures
  • cpserver: enable specwindow LSP, AoVMH, ACF plots
  • cpserver: show time-sampling specwindow LSP if it exists
  • lcproc.get_periodicfeatures: handle insufficient # of finite LC pts
  • lcproc: makelclist -> make_lclist, getlclist -> filter_lclist
  • services.gaia: added GAIA cone-search function
  • varclass.periodicfeatures: lots of fixes for handling LC fit errors
  • varclass.starfeatures: fix dist_arcsec calculation from xyz_dist
  • varclass.starfeatures, lcproc: added GAIA nbr dist features, fixed more bugs

astrobase v0.3.0

10 Jan 18:34
Compare
Choose a tag to compare

Changes in this release

  • moved some modules around for better organization

    • fakelcgen -> fakelcs.generation
    • fakelcrecovery -> fakelcs.recovery
    • varbase.features -> varclass.varfeatures
    • hatds -> services.hatds
  • new modules:

    • varclass.periodicfeatures
    • varclass.starfeatures
    • varclass.rfclass
    • services.dust
    • services.gaia
    • services.skyview
    • services.trilegal
  • checkplot: arbitrary lspmethods in priority order for neighbors

  • checkplotlist: use '|' to separate filter/sort ops/operands, not '_'

  • fakelcs.generation: add in cepheids as a fakevar class

  • fakelcs.recovery: added grid-search for optimizing per-magbin varidx

  • fakelcs.recovery: added plotting for optimization results

  • lcfit: additional guards against leastsq failure

  • lcfit: handle case where covxmatrix isn't returned

  • lcmodels.eclipses: add secondaryphase as another param

  • lcproc: added get_starfeatures, serial and parallel drivers

  • lcproc: added parallel_periodicfeatures, _lcdir

  • lcproc: adding in per-magbin variable index thresholds

  • lcproc: fix glob for parallel_runcp_pfdir

  • lcproc: added star, periodic_feature parallel and serial drivers

  • lcproc.runpf: remove BLS, add AoVMH + specwindow L-S as default PF

  • periodbase, plotbase: add specwindow function to registries

  • periodbase.zgls: add specwindow_lsp to check for peaks caused by time-sampling

  • many other bugfixes

Work that may be in progress

  • added lcproc_batch.py for running LC processing on AWS, GKE, etc.
  • added Dockerfiles to run astrobase from a Docker container

astrobase v0.2.9

21 Nov 20:48
Compare
Choose a tag to compare

Changes in this release

astrobase v0.2.8

10 Nov 17:26
Compare
Choose a tag to compare

Fixes in this release

  • checkplot: add a short cp2png function for convenience
  • checkplot/hplc: add gzip support
  • checkplot, hplc, lcproc: fix binary mode opening for gzipped pickles
  • checkplot: remove stray re-raise so things won't break if no finder
  • fakelcgen.add_fakelc_variability: don't add variability if it exists
  • fakelcgen: add generate_transit_lightcurve, add_fakelc_variability fns
  • fakelcgen: add timecols, magcols, errcols to fakelcdict; transit stuff
  • fakelcgen: finished up add_variability_to_fakelc_collection
  • fakelcgen: fixed bugs in generate_[eb|flare]_lightcurve
  • fakelcgen: fixing generate_transit_lightcurve
  • fakelcgen: fix random declination range
  • fakelcgen: handle non-variables in add_fakelc_variability
  • fakelcgen/lcproc: chosen random mag -> scalar; feature arrays -> 1-d
  • fakelcgen: use the correct bin count dist for random mag assignments
  • hplc: read gzipped pklc transparently
  • lcproc: add parallel_runcp for list of periodfinding result pickles
  • lcproc: HP gzipped pklc glob update

Work that may be in progress

  • [WIP] varclass.fakelcrecovery: TBD