public class GainService extends Object implements stream.service.Service
Modifier and Type | Field and Description |
---|---|
URL |
gainFile |
URL |
simulationGainFile |
Constructor and Description |
---|
GainService() |
Modifier and Type | Method and Description |
---|---|
double[] |
getGains(ZonedDateTime timestamp)
Get the closest gain measurement for a given timestamp
|
double[] |
getSimulationGains() |
void |
reset() |
@Parameter(defaultValue="classpath:/gains_20120503-20171103.fits.gz") public URL gainFile
@Parameter(defaultValue="classpath:/mc_gain_ceres_12.csv") public URL simulationGainFile
public double[] getGains(ZonedDateTime timestamp)
timestamp
- public double[] getSimulationGains()
public void reset()
reset
in interface stream.service.Service
Copyright © 2019. All rights reserved.