EiffL commited on
Commit
aec9aa4
·
1 Parent(s): c823e67

Fixed dataset card

Browse files
Files changed (2) hide show
  1. DESI.py +21 -18
  2. README.md +51 -0
DESI.py CHANGED
@@ -80,24 +80,27 @@ class DESI(datasets.ArrowBasedBuilder):
80
  description=_DESCRIPTION,
81
  # This defines the different columns of the dataset and their types
82
  features=Features(
83
- {'TARGETID': Value(dtype='int64'),
84
- 'HEALPIX': Value(dtype='int32'),
85
- 'TARGET_RA': Value(dtype='float32'),
86
- 'TARGET_DEC': Value(dtype='float32'),
87
- 'RELEASE': Value(dtype='int16'),
88
- 'BRICKID': Value(dtype='int32'),
89
- 'BRICK_OBJID': Value(dtype='int32'),
90
- 'Z': Value(dtype='float32'),
91
- 'EBV': Value(dtype='float32'),
92
- 'FLUX_G': Value(dtype='float32'),
93
- 'FLUX_R': Value(dtype='float32'),
94
- 'FLUX_Z': Value(dtype='float32'),
95
- 'FLUX_IVAR_G': Value(dtype='float32'),
96
- 'FLUX_IVAR_R': Value(dtype='float32'),
97
- 'FLUX_IVAR_Z': Value(dtype='float32'),
98
- 'SPECTRUM': Sequence(feature=Value(dtype='float32'), length=7781),
99
- 'SPECTRUM_IVAR': Sequence(feature=Value(dtype='float32'), length=7781)
100
- }),
 
 
 
101
  # Homepage of the dataset for documentation
102
  homepage=_HOMEPAGE,
103
  # License for the dataset if available
 
80
  description=_DESCRIPTION,
81
  # This defines the different columns of the dataset and their types
82
  features=Features(
83
+ {'TARGETID': Value(dtype='int64', id=None),
84
+ 'SURVEY': Value(dtype='binary', id=None),
85
+ 'PROGRAM': Value(dtype='binary', id=None),
86
+ 'HEALPIX': Value(dtype='int32', id=None),
87
+ 'TARGET_RA': Value(dtype='float64', id=None),
88
+ 'TARGET_DEC': Value(dtype='float64', id=None),
89
+ 'RELEASE': Value(dtype='int16', id=None),
90
+ 'BRICKID': Value(dtype='int32', id=None),
91
+ 'BRICK_OBJID': Value(dtype='int32', id=None),
92
+ 'Z': Value(dtype='float64', id=None),
93
+ 'EBV': Value(dtype='float32', id=None),
94
+ 'FLUX_G': Value(dtype='float32', id=None),
95
+ 'FLUX_R': Value(dtype='float32', id=None),
96
+ 'FLUX_Z': Value(dtype='float32', id=None),
97
+ 'FLUX_IVAR_G': Value(dtype='float32', id=None),
98
+ 'FLUX_IVAR_R': Value(dtype='float32', id=None),
99
+ 'FLUX_IVAR_Z': Value(dtype='float32', id=None),
100
+ 'wave': Value(dtype='float32', id=None),
101
+ 'flux': Sequence(feature=Value(dtype='float32', id=None), length=7781, id=None),
102
+ 'ivar': Sequence(feature=Value(dtype='float32', id=None), length=7781, id=None)}
103
+ ),
104
  # Homepage of the dataset for documentation
105
  homepage=_HOMEPAGE,
106
  # License for the dataset if available
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
1
  ---
2
  license: mit
3
+ dataset_info:
4
+ config_name: sv3
5
+ features:
6
+ - name: TARGETID
7
+ dtype: int64
8
+ - name: SURVEY
9
+ dtype: binary
10
+ - name: PROGRAM
11
+ dtype: binary
12
+ - name: HEALPIX
13
+ dtype: int32
14
+ - name: TARGET_RA
15
+ dtype: float64
16
+ - name: TARGET_DEC
17
+ dtype: float64
18
+ - name: RELEASE
19
+ dtype: int16
20
+ - name: BRICKID
21
+ dtype: int32
22
+ - name: BRICK_OBJID
23
+ dtype: int32
24
+ - name: Z
25
+ dtype: float64
26
+ - name: EBV
27
+ dtype: float32
28
+ - name: FLUX_G
29
+ dtype: float32
30
+ - name: FLUX_R
31
+ dtype: float32
32
+ - name: FLUX_Z
33
+ dtype: float32
34
+ - name: FLUX_IVAR_G
35
+ dtype: float32
36
+ - name: FLUX_IVAR_R
37
+ dtype: float32
38
+ - name: FLUX_IVAR_Z
39
+ dtype: float32
40
+ - name: wave
41
+ dtype: float32
42
+ - name: flux
43
+ sequence: float32
44
+ length: 7781
45
+ - name: ivar
46
+ sequence: float32
47
+ length: 7781
48
+ splits:
49
+ - name: train
50
+ num_bytes: 72417839557
51
+ num_examples: 1126441
52
+ download_size: 70656849405
53
+ dataset_size: 72417839557
54
  ---