Astro-Wise - PowerPoint PPT Presentation

About This Presentation
Title:

Astro-Wise

Description:

... instead of the input. Python Persistency. Python OO layer to support ... class DataObject(DBObject): filename = persistent('File part of this object', str, ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 7
Provided by: astro72
Category:
Tags: astro | class | wise

less

Transcript and Presenter's Notes

Title: Astro-Wise


1
Astro-Wise
  • Processing Data
  • From raw images to source lists

2
Pipelines
  • Pipelines are about data administration
  • Persistent objects
  • Python classes
  • Object's state
  • Should also work
  • Distinguish between meta-data and bulk data
  • Meta data inpersistent objects
  • Bulk data through file server

3
The make metaphore
  • Targets and dependencies
  • Specify the result instead of the input

4
Python Persistency
  • Python OO layer to support
  • Database type/table creation
  • Row/object instantion
  • Querying
  • Datatypes
  • References

5
Persistency Example
  • from astro.database.DBMain import DBObject,
    persistent
  • class DataObject(DBObject)filename
    persistent('File part of this object', str, '')
  • example DataObject(filename'example.txt')
  • example.store()
  • example.commit()
  • g DataObject.filename.like('example')

6
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com