Giter VIP home page Giter VIP logo

Comments (1)

shkw0k avatar shkw0k commented on August 14, 2024

Data Model

An internal representation of the data to be processed can be realized in a base class that contains the most commonly used functions and properties of astronomical data, such images and spectra. This base class implements a data model that loosely corresponds to a FITS file and reflects the structure of the FITS. Let’s call this base class DataModel.
Different instruments sometimes use different header keywords to the same properties. DataModel provides a standard interface to access these properties, allowing libraries functions to be instrument independent. To achieve this, FITS readers will return objects of a sub-class of DataModel. This sub-class will handle all the instrument specific case when needed, and simply defaults to common cases otherwise.

Properties of Data Model Objects

It needs to be decided whether data objects are mutable, inmutable or mixed, where the data is inmutable but the properties are mutable.

DataModel class must provide methods to create new data objects, clone or (shallow) copy data objects.

DataModel does not implement arithmetic operations such as adding, subtracting two data objects, or other operations used in data processing, such as cut-out or mosaicing. Instead, other libraries will provide this capability.

DataModel shall not perform I/O operations from and to disks. Instead standard or instrument specific readers and writers shall be used.

from framework.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.