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

Where to put this example? #33

Open
mcdittmar opened this issue Apr 6, 2021 · 1 comment
Open

Where to put this example? #33

mcdittmar opened this issue Apr 6, 2021 · 1 comment
Labels
question Further information is requested

Comments

@mcdittmar
Copy link
Collaborator

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

@mcdittmar mcdittmar added the question Further information is requested label Apr 6, 2021
@lmichel
Copy link
Collaborator

lmichel commented Apr 7, 2021

combined data is the good place for your dataset.
Please put the raw VOTable in raw_data and update the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants