asteroid_spinprops 1.3.2__py3-none-any.whl → 1.3.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -173,7 +173,7 @@ def get_fit_params(
173
173
  etime = t2 - t1
174
174
  SOCCA_opt["invtime"] = etime
175
175
  return SOCCA_opt
176
- except IndexError:
176
+ except (IndexError, ValueError):
177
177
  SOCCA_opt = {"Failed at bootsrap sampling": 1}
178
178
  if time_me:
179
179
  t2 = time.time()
@@ -247,6 +247,12 @@ def get_fit_params(
247
247
  ra_init = ra_minima
248
248
  dec_init = dec_minima
249
249
 
250
+ ra_init = np.append(ra_init, 220)
251
+ ra_init = np.append(ra_init, 140)
252
+
253
+ dec_init = np.append(ra_init, 70)
254
+ dec_init = np.append(ra_init, -70)
255
+
250
256
  H_key = next(
251
257
  (
252
258
  f"H_{i}" for i in range(1, 7) if f"H_{i}" in shg1g2_params
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid_spinprops
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: Collection of tools used for fitting sHG1G2 and SOCCA photometric models to sparse asteroid photometry
5
5
  License: MIT
6
6
  Author: Odysseas
@@ -1,10 +1,10 @@
1
1
  asteroid_spinprops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  asteroid_spinprops/ssolib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  asteroid_spinprops/ssolib/dataprep.py,sha256=7PfkVNpLjPERkhr8dZQfN8haFCFmoeXB3fWuTSBLVuc,7848
4
- asteroid_spinprops/ssolib/modelfit.py,sha256=0a1zv_ARCC428WnSKq0qJ6oLKqEZsFt1wiGetmP3jXg,22356
4
+ asteroid_spinprops/ssolib/modelfit.py,sha256=oUMLLPGkUDYnaCEBj0dkLU5H6jMHGzfGu5ji-aEQLG4,22589
5
5
  asteroid_spinprops/ssolib/periodest.py,sha256=dAKytw-Oelb35ZjDXHuxGe5L5H8UPVCX42eU1I0jTIo,13434
6
6
  asteroid_spinprops/ssolib/ssptools.py,sha256=DlSgYtXenztRAtEV9d4itzp5OZMjkbXkW2yZ_Qumu4U,4490
7
7
  asteroid_spinprops/ssolib/utils.py,sha256=kbe69JxyCnbMebqkObuMS-0DFulnlgLNHxHNbP_U9J4,13334
8
- asteroid_spinprops-1.3.2.dist-info/METADATA,sha256=E9NJbpC-UayGMowZ1dV6-VM2exEGbJIQrouTjjm7pQs,6143
9
- asteroid_spinprops-1.3.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
10
- asteroid_spinprops-1.3.2.dist-info/RECORD,,
8
+ asteroid_spinprops-1.3.4.dist-info/METADATA,sha256=pnN3a2wS8BHYNCKuHUtKSGXlHAe9U3LgZy9gPub-TsE,6143
9
+ asteroid_spinprops-1.3.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
10
+ asteroid_spinprops-1.3.4.dist-info/RECORD,,