lightcurve (module) ∞
Generate the force-photometry lightcurves for ATLAS sources found in the marshall database
- Author
David Young
Classes
|
The worker class for the conversions module |
|
a database object that can setup up a ssh tunnel (optional) and a database connection |
|
The year, month and day arguments are required. |
|
itemgetter(item, …) –> itemgetter object |
|
str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
common setup methods & attributes of the main function in cl-util |
|
zip(*iterables) –> zip object |
Functions
|
multiprocess pool |
|
generate all atlas FP lightcurves (clipped and stacked) |
|
|
|
|
|
Equivalent to |
|
plot single result |
|
Given a mysql query, read the data from the database and return the results as a list of dictionaries (database rows) |
|
given a sorted list of values, median sigma-clip values based on a window of values either side of each value (rolling window) and return the array mask |
|
clean up rouge data from the files by performing some basic clipping |
|
stack the photometry for the given temporal range |
|
Execute a MySQL write command given a sql query |
Sub-modules
|
The worker class for the conversions module |
|
a database object that can setup up a ssh tunnel (optional) and a database connection |
|
AVOID INSTALLING THESE C-DEPENDENT PACKAGES |
|
The year, month and day arguments are required. |
|
|
|
multiprocess pool |
|
generate all atlas FP lightcurves (clipped and stacked) |
|
|
|
|
|
itemgetter(item, …) –> itemgetter object |
|
This module provides access to the mathematical functions defined by the C standard. |
|
AVOID INSTALLING THESE C-DEPENDENT PACKAGES |
|
AVOID INSTALLING THESE C-DEPENDENT PACKAGES |
|
AVOID INSTALLING THESE C-DEPENDENT PACKAGES |
|
Equivalent to |
|
OS routines for NT or Posix depending on what system we’re on. |
|
plot single result |
|
AVOID INSTALLING THESE C-DEPENDENT PACKAGES |
|
|
|
Given a mysql query, read the data from the database and return the results as a list of dictionaries (database rows) |
|
given a sorted list of values, median sigma-clip values based on a window of values either side of each value (rolling window) and return the array mask |
|
clean up rouge data from the files by performing some basic clipping |
|
stack the photometry for the given temporal range |
|
str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter. |
|
common setup methods & attributes of the main function in cl-util |
|
Python part of the warnings subsystem. |
|
Execute a MySQL write command given a sql query |
|
zip(*iterables) –> zip object |
-
generate_atlas_lightcurves
(dbConn, log, settings)[source] ∞ generate all atlas FP lightcurves (clipped and stacked)
Key Arguments
dbConn
– mysql database connectionlog
– loggersettings
– settings for the marshall.
from marshallEngine.feeders.atlas.lightcurve import generate_atlas_lightcurves generate_atlas_lightcurves( log=log, dbConn=dbConn, settings=settings )
-
plot_single_result
(transientBucketId, log, fig, converter, ax, settings)[source] ∞ plot single result
Key Arguments:
- `transientBucketId` -- thr transient ID for the source in the database - `log` -- logger - `fig` -- the matplotlib figure to use for the plot - `converter` -- converter to switch mjd to ut-date - `ax` -- plot axis - `settings` -- dictionary of settings (from yaml settings file)
Return:
- `filePath` -- path to the output PNG plot