|
| 1 | +# Copyright 2024 AstroLab Software |
| 2 | +# Author: Julien Peloton |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +"""Contains definition for the SSO Fink Table""" |
| 16 | + |
| 17 | +COLUMNS = { |
| 18 | + "ssnamenr": { |
| 19 | + "type": "str", |
| 20 | + "description": "Designation (name or number) of the object from MPC archive as given by ZTF", |
| 21 | + }, |
| 22 | + "sso_name": { |
| 23 | + "type": "str", |
| 24 | + "description": "Official name or provisional designation of the SSO", |
| 25 | + }, |
| 26 | + "sso_number": {"type": "int", "description": "IAU number of the SSO"}, |
| 27 | + "last_jd": { |
| 28 | + "type": "double", |
| 29 | + "description": "Julian Date for the last detection in Fink, in UTC", |
| 30 | + }, |
| 31 | + "H_1": { |
| 32 | + "type": "double", |
| 33 | + "description": "Absolute magnitude for the ZTF filter band g", |
| 34 | + }, |
| 35 | + "H_2": { |
| 36 | + "type": "double", |
| 37 | + "description": "Absolute magnitude for the ZTF filter band r", |
| 38 | + }, |
| 39 | + "err_H_1": { |
| 40 | + "type": "double", |
| 41 | + "description": "Uncertainty on the absolute magnitude for the ZTF filter band g", |
| 42 | + }, |
| 43 | + "err_H_2": { |
| 44 | + "type": "double", |
| 45 | + "description": "Uncertainty on the absolute magnitude for the ZTF filter band r", |
| 46 | + }, |
| 47 | + "min_phase": { |
| 48 | + "type": "double", |
| 49 | + "description": "Minimum phase angle of the observations used to compute the phase function, in degree", |
| 50 | + }, |
| 51 | + "min_phase_1": { |
| 52 | + "type": "double", |
| 53 | + "description": "Minimum phase angle of the observations used to compute the phase function for the ZTF filter band g, in degree", |
| 54 | + }, |
| 55 | + "min_phase_2": { |
| 56 | + "type": "double", |
| 57 | + "description": "Minimum phase angle of the observations used to compute the phase function for the ZTF filter band r, in degree", |
| 58 | + }, |
| 59 | + "max_phase": { |
| 60 | + "type": "double", |
| 61 | + "description": "Maximum phase angle of the observations used to compute the phase function, in degree", |
| 62 | + }, |
| 63 | + "max_phase_1": { |
| 64 | + "type": "double", |
| 65 | + "description": "Maximum phase angle of the observations used to compute the phase function for the ZTF filter band g, in degree", |
| 66 | + }, |
| 67 | + "max_phase_2": { |
| 68 | + "type": "double", |
| 69 | + "description": "Maximum phase angle of the observations used to compute the phase function for the ZTF filter band r, in degree", |
| 70 | + }, |
| 71 | + "chi2red": {"type": "double", "description": "Reduced chi-square of the fit"}, |
| 72 | + "rms": {"type": "double", "description": "RMS of the fit, in magnitude"}, |
| 73 | + "rms_1": { |
| 74 | + "type": "double", |
| 75 | + "description": "RMS of the fit for the filter band g, in magnitude", |
| 76 | + }, |
| 77 | + "rms_2": { |
| 78 | + "type": "double", |
| 79 | + "description": "RMS of the fit for the filter band r, in magnitude", |
| 80 | + }, |
| 81 | + "median_error_phot": { |
| 82 | + "type": "double", |
| 83 | + "description": "Median of the 1-sigma uncertainty on the measurements, in magnitude", |
| 84 | + }, |
| 85 | + "median_error_phot_1": { |
| 86 | + "type": "double", |
| 87 | + "description": "Median of the 1-sigma uncertainty on the measurements for the filter band g, in magnitude", |
| 88 | + }, |
| 89 | + "median_error_phot_2": { |
| 90 | + "type": "double", |
| 91 | + "description": "Median of the 1-sigma uncertainty on the measurements for the filter band r, in magnitude", |
| 92 | + }, |
| 93 | + "mean_astrometry": { |
| 94 | + "type": "double", |
| 95 | + "description": "Astrometry: mean of the angular separation between observations and ephemerides, in arcsecond", |
| 96 | + }, |
| 97 | + "std_astrometry": { |
| 98 | + "type": "double", |
| 99 | + "description": "Astrometry: standard deviation of the angular separation between observations and ephemerides, in arcsecond", |
| 100 | + }, |
| 101 | + "skew_astrometry": { |
| 102 | + "type": "double", |
| 103 | + "description": "Astrometry: skewness of the angular separation between observations and ephemerides", |
| 104 | + }, |
| 105 | + "kurt_astrometry": { |
| 106 | + "type": "double", |
| 107 | + "description": "Astrometry: kurtosis of the angular separation between observations and ephemerides", |
| 108 | + }, |
| 109 | + "period": { |
| 110 | + "type": "double", |
| 111 | + "description": "Sidereal period estimated, in hour. Available only from 2024.10", |
| 112 | + }, |
| 113 | + "period_chi2red": { |
| 114 | + "type": "double", |
| 115 | + "description": "Reduced chi-square for the period estimation. Available only from 2024.10", |
| 116 | + }, |
| 117 | + "n_obs": {"type": "int", "description": "Number of observations in Fink"}, |
| 118 | + "n_obs_1": { |
| 119 | + "type": "int", |
| 120 | + "description": "Number of observations for the ZTF filter band g in Fink", |
| 121 | + }, |
| 122 | + "n_obs_2": { |
| 123 | + "type": "int", |
| 124 | + "description": "Number of observations for the ZTF filter band r in Fink", |
| 125 | + }, |
| 126 | + "n_days": { |
| 127 | + "type": "int", |
| 128 | + "description": "Number of days between the first and the last observations in Fink", |
| 129 | + }, |
| 130 | + "n_days_1": { |
| 131 | + "type": "int", |
| 132 | + "description": "Number of days between the first and the last observations in Fink, for the ZTF filter band g", |
| 133 | + }, |
| 134 | + "n_days_2": { |
| 135 | + "type": "int", |
| 136 | + "description": "Number of days between the first and the last observations in Fink, for the ZTF filter band r", |
| 137 | + }, |
| 138 | + "fit": { |
| 139 | + "type": "int", |
| 140 | + "description": "Code to assess the quality of the fit: 0: success, 1: bad_vals, 2: MiriadeFail, 3: RunTimError, 4: LinalgError", |
| 141 | + }, |
| 142 | + "status": { |
| 143 | + "type": "int", |
| 144 | + "description": "Code for quality `status` (least square convergence): -2: failure, -1 : improper input parameters status returned from MINPACK, 0 : the maximum number of function evaluations is exceeded, 1 : gtol termination condition is satisfied, 2 : ftol termination condition is satisfied, 3 : xtol termination condition is satisfied, 4 : Both ftol and xtol termination conditions are satisfied.", |
| 145 | + }, |
| 146 | + "flag": {"type": "int", "description": "TBD"}, |
| 147 | + "version": {"type": "str", "description": "Version of the SSOFT YYYY.MM"}, |
| 148 | +} |
| 149 | + |
| 150 | +COLUMNS_SSHG1G2 = { |
| 151 | + "G1_1": { |
| 152 | + "type": "double", |
| 153 | + "description": "G1 phase parameter for the ZTF filter band g", |
| 154 | + }, |
| 155 | + "G1_2": { |
| 156 | + "type": "double", |
| 157 | + "description": "G1 phase parameter for the ZTF filter band r", |
| 158 | + }, |
| 159 | + "G2_1": { |
| 160 | + "type": "double", |
| 161 | + "description": "G2 phase parameter for the ZTF filter band g", |
| 162 | + }, |
| 163 | + "G2_2": { |
| 164 | + "type": "double", |
| 165 | + "description": "G2 phase parameter for the ZTF filter band r", |
| 166 | + }, |
| 167 | + "a_b": {"type": "double", "description": "a/b ratio of the ellipsoid (a>=b>=c)."}, |
| 168 | + "a_c": {"type": "double", "description": "a/c ratio of the ellipsoid (a>=b>=c)."}, |
| 169 | + "phi0": { |
| 170 | + "type": "double", |
| 171 | + "description": "Initial rotation phase at reference time t0, in radian", |
| 172 | + }, |
| 173 | + "alpha0": { |
| 174 | + "type": "double", |
| 175 | + "description": "Right ascension of the spin axis (EQJ2000), in degree", |
| 176 | + }, |
| 177 | + "delta0": { |
| 178 | + "type": "double", |
| 179 | + "description": "Declination of the spin axis (EQJ2000), in degree", |
| 180 | + }, |
| 181 | + "alpha0_alt": { |
| 182 | + "type": "double", |
| 183 | + "description": "Flipped `alpha0`: (`alpha0` + 180) modulo 360, in degree", |
| 184 | + }, |
| 185 | + "delta0_alt": { |
| 186 | + "type": "double", |
| 187 | + "description": "Flipped `delta0`: -`delta0`, in degree", |
| 188 | + }, |
| 189 | + "obliquity": { |
| 190 | + "type": "double", |
| 191 | + "description": "Obliquity of the spin axis, in degree", |
| 192 | + }, |
| 193 | + "err_G1_1": { |
| 194 | + "type": "double", |
| 195 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band g", |
| 196 | + }, |
| 197 | + "err_G1_2": { |
| 198 | + "type": "double", |
| 199 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band r", |
| 200 | + }, |
| 201 | + "err_G2_1": { |
| 202 | + "type": "double", |
| 203 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band g", |
| 204 | + }, |
| 205 | + "err_G2_2": { |
| 206 | + "type": "double", |
| 207 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band r", |
| 208 | + }, |
| 209 | + "err_a_b": {"type": "double", "description": "Uncertainty on a/b"}, |
| 210 | + "err_a_c": {"type": "double", "description": "Uncertainty on a/c"}, |
| 211 | + "err_phi0": { |
| 212 | + "type": "double", |
| 213 | + "description": "Uncertainty on the initial rotation phase, in radian", |
| 214 | + }, |
| 215 | + "err_alpha0": { |
| 216 | + "type": "double", |
| 217 | + "description": "Uncertainty on the right ascension of the spin axis (EQJ2000), in degree", |
| 218 | + }, |
| 219 | + "err_delta0": { |
| 220 | + "type": "double", |
| 221 | + "description": "Uncertainty on the declination of the spin axis (EQJ2000), in degree", |
| 222 | + }, |
| 223 | + "err_period": { |
| 224 | + "type": "double", |
| 225 | + "description": "Uncertainty on the sidereal period, in hour. Available only from 2024.10", |
| 226 | + }, |
| 227 | + "max_cos_lambda": { |
| 228 | + "type": "double", |
| 229 | + "description": "Maximum of the absolute value of the cosine for the aspect angle", |
| 230 | + }, |
| 231 | + "mean_cos_lambda": { |
| 232 | + "type": "double", |
| 233 | + "description": "Mean of the absolute value of the cosine for the aspect angle", |
| 234 | + }, |
| 235 | + "min_cos_lambda": { |
| 236 | + "type": "double", |
| 237 | + "description": "Minimum of the absolute value of the cosine for the aspect angle", |
| 238 | + }, |
| 239 | +} |
| 240 | + |
| 241 | +COLUMNS_SHG1G2 = { |
| 242 | + "G1_1": { |
| 243 | + "type": "double", |
| 244 | + "description": "G1 phase parameter for the ZTF filter band g", |
| 245 | + }, |
| 246 | + "G1_2": { |
| 247 | + "type": "double", |
| 248 | + "description": "G1 phase parameter for the ZTF filter band r", |
| 249 | + }, |
| 250 | + "G2_1": { |
| 251 | + "type": "double", |
| 252 | + "description": "G2 phase parameter for the ZTF filter band g", |
| 253 | + }, |
| 254 | + "G2_2": { |
| 255 | + "type": "double", |
| 256 | + "description": "G2 phase parameter for the ZTF filter band r", |
| 257 | + }, |
| 258 | + "R": {"type": "double", "description": "Oblateness of the object"}, |
| 259 | + "a_b": { |
| 260 | + "type": "double", |
| 261 | + "description": "a/b ratio of the ellipsoid (a>=b>=c). Estimation based on the fit residuals and the oblateness.", |
| 262 | + }, |
| 263 | + "a_c": { |
| 264 | + "type": "double", |
| 265 | + "description": "a/c ratio of the ellipsoid (a>=b>=c). Estimation based on the fit residuals and the oblateness.", |
| 266 | + }, |
| 267 | + "alpha0": { |
| 268 | + "type": "double", |
| 269 | + "description": "Right ascension of the spin axis (EQJ2000), in degree", |
| 270 | + }, |
| 271 | + "delta0": { |
| 272 | + "type": "double", |
| 273 | + "description": "Declination of the spin axis (EQJ2000), in degree", |
| 274 | + }, |
| 275 | + "alpha0_alt": { |
| 276 | + "type": "double", |
| 277 | + "description": "Flipped `alpha0`: (`alpha0` + 180) modulo 360, in degree", |
| 278 | + }, |
| 279 | + "delta0_alt": { |
| 280 | + "type": "double", |
| 281 | + "description": "Flipped `delta0`: -`delta0`, in degree", |
| 282 | + }, |
| 283 | + "obliquity": { |
| 284 | + "type": "double", |
| 285 | + "description": "Obliquity of the spin axis, in degree", |
| 286 | + }, |
| 287 | + "err_G1_1": { |
| 288 | + "type": "double", |
| 289 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band g", |
| 290 | + }, |
| 291 | + "err_G1_2": { |
| 292 | + "type": "double", |
| 293 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band r", |
| 294 | + }, |
| 295 | + "err_G2_1": { |
| 296 | + "type": "double", |
| 297 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band g", |
| 298 | + }, |
| 299 | + "err_G2_2": { |
| 300 | + "type": "double", |
| 301 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band r", |
| 302 | + }, |
| 303 | + "err_R": {"type": "double", "description": "Uncertainty on the oblateness"}, |
| 304 | + "err_alpha0": { |
| 305 | + "type": "double", |
| 306 | + "description": "Uncertainty on the right ascension of the spin axis (EQJ2000), in degree", |
| 307 | + }, |
| 308 | + "err_delta0": { |
| 309 | + "type": "double", |
| 310 | + "description": "Uncertainty on the declination of the spin axis (EQJ2000), in degree", |
| 311 | + }, |
| 312 | + "max_cos_lambda": { |
| 313 | + "type": "double", |
| 314 | + "description": "Maximum of the absolute value of the cosine for the aspect angle", |
| 315 | + }, |
| 316 | + "mean_cos_lambda": { |
| 317 | + "type": "double", |
| 318 | + "description": "Mean of the absolute value of the cosine for the aspect angle", |
| 319 | + }, |
| 320 | + "min_cos_lambda": { |
| 321 | + "type": "double", |
| 322 | + "description": "Minimum of the absolute value of the cosine for the aspect angle", |
| 323 | + }, |
| 324 | +} |
| 325 | + |
| 326 | +COLUMNS_HG1G2 = { |
| 327 | + "G1_1": { |
| 328 | + "type": "double", |
| 329 | + "description": "G1 phase parameter for the ZTF filter band g", |
| 330 | + }, |
| 331 | + "G1_2": { |
| 332 | + "type": "double", |
| 333 | + "description": "G1 phase parameter for the ZTF filter band r", |
| 334 | + }, |
| 335 | + "G2_1": { |
| 336 | + "type": "double", |
| 337 | + "description": "G2 phase parameter for the ZTF filter band g", |
| 338 | + }, |
| 339 | + "G2_2": { |
| 340 | + "type": "double", |
| 341 | + "description": "G2 phase parameter for the ZTF filter band r", |
| 342 | + }, |
| 343 | + "err_G1_1": { |
| 344 | + "type": "double", |
| 345 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band g", |
| 346 | + }, |
| 347 | + "err_G1_2": { |
| 348 | + "type": "double", |
| 349 | + "description": "Uncertainty on the G1 phase parameter for the ZTF filter band r", |
| 350 | + }, |
| 351 | + "err_G2_1": { |
| 352 | + "type": "double", |
| 353 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band g", |
| 354 | + }, |
| 355 | + "err_G2_2": { |
| 356 | + "type": "double", |
| 357 | + "description": "Uncertainty on the G2 phase parameter for the ZTF filter band r", |
| 358 | + }, |
| 359 | +} |
| 360 | + |
| 361 | +COLUMNS_HG = { |
| 362 | + "G_1": { |
| 363 | + "type": "double", |
| 364 | + "description": "G phase parameter for the ZTF filter band g", |
| 365 | + }, |
| 366 | + "G_2": { |
| 367 | + "type": "double", |
| 368 | + "description": "G phase parameter for the ZTF filter band r", |
| 369 | + }, |
| 370 | + "err_G_1": { |
| 371 | + "type": "double", |
| 372 | + "description": "Uncertainty on the G phase parameter for the ZTF filter band g", |
| 373 | + }, |
| 374 | + "err_G_2": { |
| 375 | + "type": "double", |
| 376 | + "description": "Uncertainty on the G phase parameter for the ZTF filter band r", |
| 377 | + }, |
| 378 | +} |
0 commit comments