Skip to content

Where to put this example? #33

@mcdittmar

Description

@mcdittmar

This is a follow-up from the discussion which took place in the PR Issue #29.

I've completed a new example file and am trying to decide where this fits in the dm_usecases set.
I think it'd fit nicely into the "combined_data" case, whose primary goal appears to be in the AssociatedData relation (with WebEndpoint). This case covers the other 2 flavors, and could fit into the case description.. data obtained from cross match (Source, Detections with assoc. LightCurves) can be combined with similar from other catalogs to generate combined LightCurves.

My 'implementation' of this is merely to summarize the content, show that everything is accessible.

thoughts?

The example illustrates:

  • Multiple table usage
    • TimeSeries in Master table, with data from Detection table.
  • Different flavors of AssociatedData
    • VOModelInstance and AssociatedMangoInstance
  • Annotation to different models
    • The same data is annotated to difference model 'root' elements (mango:Source and cube:SparseCube). This would be a bit more clear if the TimeSeries relation was a reference.

Raw file: (modification of standard_properties case - Chandra file)

  • Master Source table: (one record per source)
    • identifier, position, significance, extent, variability
  • Detections table: (one per observation)
    • identifier, position, time, flux, hardness_ratios

These are mapped to model instances as:

  • Mango instance - Master Source
    Source.identifier => name
    Property (meas:Position) => (gal_l,gal_b)
    Property (meas:Generic) => significance
    Property (mango:FLAG) => extent_flag
    Property (mango:FLAG) => var_inter_hard_flag
    AssocData (mango:Source) => Detections
    AssocData (cube:SparseCube)=> TimeSeries

  • Mango instance - Detection
    Source.identifier => name
    Property (meas:Time) => o.gti_obs
    Property (mango:Photometry)=>o.flux_aper_b
    Property (mango:HR) => o.hard_hs|lolim|hilim
    Property (mango:HR) => o.hard_ms|lolim|hilim
    Property (mango:HR) => o.hard_hm|lolim|hilim

  • Cube - Light Curve of Detection data for each source
    Observable (meas:Time) => o.gti_obs
    Observable (mango:Photometry)=>o.flux_aper_b

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions