Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-6086: JSON serialization for the SQuaSH dashboard application #17

Merged
merged 7 commits into from
Jun 2, 2016

Commits on Jun 1, 2016

  1. Create DatumSerializer

    The Datum data structure wraps a value and annotates it with a name,
    plot label and units (integrated with Astropy units).
    
    Currently skips unit validation checks for millimag units. We need to
    add 'millimag' as an Astropy unit derived from 'mag'.
    
    Includes a unit tests.
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    3fd0908 View commit details
    Browse the repository at this point in the history
  2. Serializers: Job/Metric/Measurement/Blob/Parameter

    The Blob and Parameters serializers are baseclasses that can be extended
    for specialized schemas for different metrics
    
    WIP MeasurementSerializer
    
    Implement all serializers
    
    Fix serializer base inits
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    7dd07a3 View commit details
    Browse the repository at this point in the history
  3. Pass filter name to runOneFilter

    This allows the serializers to know what bandpass is being used.
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    1881691 View commit details
    Browse the repository at this point in the history
  4. Implement MultiVisitStarBlobSerializer

    This serializes matched star catalog statistics along with fits to the
    astrometric and photometric error models.
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    fa665d8 View commit details
    Browse the repository at this point in the history
  5. Implement serialization for PA1, PF1 and PA2

    In calcSrd there are serializers that define the metrics as well as
    serializers that define parameter sets.
    
    In validate the measurements are captured with a MeasurementSerializer.
    
    This setup can certainly be refactored, streamlined, and made more
    robust by turning the measurement functions into classes that implement
    an API that consistently provides the measurement itself in addition to
    metadata.
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    14e40f7 View commit details
    Browse the repository at this point in the history
  6. Persist job to JSON

    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    5afbbf7 View commit details
    Browse the repository at this point in the history
  7. Add serialization for AMx, AFx, ADx

    Implements both parameter serializers specific for these measurements,
    and the serialization itself as part of the validate core executable.
    jonathansick committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    e7bbaed View commit details
    Browse the repository at this point in the history