Skip to content

Commit af71a3a

Browse files
committed
Bring latest changes from asteroid_spinprops and fink-utils. Not synchronised yet.
1 parent b6ee0c7 commit af71a3a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

fink_science/ztf/ssoft/processor.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@
252252
},
253253
"max_cos_lambda": {
254254
"type": "double",
255-
"description": "Maximum of the absolute value of the cosine for the aspect angle",
255+
"description": "Maximum of the cosine for the aspect angle",
256256
},
257257
"mean_cos_lambda": {
258258
"type": "double",
259-
"description": "Mean of the absolute value of the cosine for the aspect angle",
259+
"description": "Mean of the cosine for the aspect angle",
260260
},
261261
"min_cos_lambda": {
262262
"type": "double",
263-
"description": "Minimum of the absolute value of the cosine for the aspect angle",
263+
"description": "Minimum of the cosine for the aspect angle",
264264
},
265265
"period": {
266266
"type": "double",
@@ -345,15 +345,15 @@
345345
},
346346
"max_cos_lambda": {
347347
"type": "double",
348-
"description": "Maximum of the absolute value of the cosine for the aspect angle",
348+
"description": "Maximum of the cosine for the aspect angle",
349349
},
350350
"mean_cos_lambda": {
351351
"type": "double",
352-
"description": "Mean of the absolute value of the cosine for the aspect angle",
352+
"description": "Mean of the cosine for the aspect angle",
353353
},
354354
"min_cos_lambda": {
355355
"type": "double",
356-
"description": "Minimum of the absolute value of the cosine for the aspect angle",
356+
"description": "Minimum of the cosine for the aspect angle",
357357
},
358358
}
359359

@@ -481,7 +481,7 @@ def extract_ssoft_parameters(
481481
),
482482
},
483483
"SOCCA": {
484-
"p0": [15.0, 0.15, 0.15, np.pi, 0.0, 5.0, 1.05, 1.05, 0.0],
484+
"p0": [15.0, 0.15, 0.15, np.pi, 0.0, 5.0, 1.05, 1.15, 0.0],
485485
"bounds": (
486486
[-3, 0, 0, 0, -np.pi / 2, 2.2 / 24.0, 1, 1, -np.pi / 2],
487487
[30, 1, 1, 2 * np.pi, np.pi / 2, 1000, 5, 5, np.pi / 2],
@@ -538,11 +538,12 @@ def extract_ssoft_parameters(
538538
flavor=model_name,
539539
shg1g2_constrained=True,
540540
period_blind=True,
541-
pole_blind=True,
541+
pole_blind=False,
542542
alt_spin=False,
543543
period_in=None,
544544
terminator=False,
545545
period_quality_flag=True,
546+
time_in=True,
546547
)
547548

548549
# replace names inplace for the remaning computation

0 commit comments

Comments
 (0)