diff base/datasets/classes.lisp @ 250:b3260d1d2419

Add onset-in-bar-relative-to-tactus. This depends on tactus-duration, which needs revisiting.
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 24 Feb 2011 11:23:18 +0000
parents
children 6a3adca16910
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base/datasets/classes.lisp	Thu Feb 24 11:23:18 2011 +0000
@@ -0,0 +1,18 @@
+(cl:in-package #:amuse-database-admin)
+
+(defclass amuse-dataset-identifier (identifier)
+  ((dataset-id :reader dataset-id
+	       :initarg :dataset-id))
+  (:documentation "A dataset is a set of pieces used for a particualar
+analytical task. A dataset is not necessarily the same thing as a
+corpus or collection (are these things different?). Corpus indicates
+that a set of pieces have been curated in some way and in that sense
+`belong together'. A dataset is just simply a set of pieces gathered
+together to analyse, and the pieces can be from any corpus or
+backend (hence the amuse- prefix"))
+
+(defclass amuse-dataset (list-slot-sequence)
+  ((identifier :initarg :identifier
+	       :reader identifier)
+   (description :initarg :description
+		:reader description)))