asteroid_spinprops 0.2.32__py3-none-any.whl → 1.0.1__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.
Files changed (30) hide show
  1. asteroid_spinprops/ssolib/dataprep.py +0 -346
  2. asteroid_spinprops/ssolib/modelfit.py +143 -252
  3. asteroid_spinprops/ssolib/periodest.py +126 -158
  4. asteroid_spinprops/ssolib/utils.py +164 -211
  5. asteroid_spinprops-1.0.1.dist-info/METADATA +186 -0
  6. asteroid_spinprops-1.0.1.dist-info/RECORD +10 -0
  7. asteroid_spinprops/ssolib/.ruff_cache/.gitignore +0 -2
  8. asteroid_spinprops/ssolib/.ruff_cache/0.13.2/1980339045096230685 +0 -0
  9. asteroid_spinprops/ssolib/.ruff_cache/CACHEDIR.TAG +0 -1
  10. asteroid_spinprops/ssolib/pipetools.py +0 -167
  11. asteroid_spinprops/ssolib/testing/atlas_x_ztf_testing/test_pqfile_1.parquet +0 -0
  12. asteroid_spinprops/ssolib/testing/atlas_x_ztf_testing/test_pqfile_2.parquet +0 -0
  13. asteroid_spinprops/ssolib/testing/ephemeris_testing/2000 WL152 +0 -1702
  14. asteroid_spinprops/ssolib/testing/ephemeris_testing/2001 PC +0 -94
  15. asteroid_spinprops/ssolib/testing/ephemeris_testing/2001 SG276 +0 -111
  16. asteroid_spinprops/ssolib/testing/ephemeris_testing/2008 GX32 +0 -93
  17. asteroid_spinprops/ssolib/testing/ephemeris_testing/2009 BE185 +0 -130
  18. asteroid_spinprops/ssolib/testing/ephemeris_testing/2011 EY17 +0 -101
  19. asteroid_spinprops/ssolib/testing/ephemeris_testing/2134 T-1 +0 -352
  20. asteroid_spinprops/ssolib/testing/ephemeris_testing/Bellmore +0 -2657
  21. asteroid_spinprops/ssolib/testing/ephemeris_testing/Dermott +0 -2971
  22. asteroid_spinprops/ssolib/testing/ephemeris_testing/Duke +0 -2026
  23. asteroid_spinprops/ssolib/testing/ephemeris_testing/Izenberg +0 -2440
  24. asteroid_spinprops/ssolib/testing/ephemeris_testing/Lermontov +0 -2760
  25. asteroid_spinprops/ssolib/testing/ephemeris_testing/Poullain +0 -1272
  26. asteroid_spinprops/ssolib/testing/ephemeris_testing/Sonneberga +0 -2756
  27. asteroid_spinprops/ssolib/testing/testing_ssoname_keys.pkl +0 -0
  28. asteroid_spinprops-0.2.32.dist-info/METADATA +0 -77
  29. asteroid_spinprops-0.2.32.dist-info/RECORD +0 -31
  30. {asteroid_spinprops-0.2.32.dist-info → asteroid_spinprops-1.0.1.dist-info}/WHEEL +0 -0
@@ -1,77 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: asteroid_spinprops
3
- Version: 0.2.32
4
- Summary: Collection of tools used for fitting sHG1G2 and ssHG1G2 photometric models to sparse asteroid photometry
5
- License: MIT
6
- Author: Odysseas
7
- Author-email: odysseas.xenos@proton.me
8
- Requires-Python: >=3.11
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.11
12
- Classifier: Programming Language :: Python :: 3.12
13
- Classifier: Programming Language :: Python :: 3.13
14
- Classifier: Programming Language :: Python :: 3.14
15
- Requires-Dist: astropy (==7.0.0)
16
- Requires-Dist: fink-utils (==0.43.0)
17
- Requires-Dist: matplotlib (==3.10.1)
18
- Requires-Dist: nifty-ls (==1.1.0)
19
- Requires-Dist: pandas (==2.3.3)
20
- Requires-Dist: scipy (==1.16.2)
21
- Requires-Dist: space-rocks (==1.9.14)
22
- Requires-Dist: tqdm (==4.67.1)
23
- Project-URL: Homepage, https://gitlab.com/odysseas_xenos/asteroid-spinprops
24
- Project-URL: Repository, https://gitlab.com/odysseas_xenos/asteroid-spinprops
25
- Description-Content-Type: text/markdown
26
-
27
- # asteroid_spinprops
28
-
29
- ## Name
30
- asteroid-spinprops
31
-
32
- ## Description
33
- A collection of tools for fitting sHG1G2 and ssHG1G2 photometric models to sparse asteroid photometry
34
-
35
- ## Installation
36
- ```
37
- pip install asteroid_spinprops
38
- ```
39
- ## Usage
40
- ```
41
- import asteroid_spinprops.ssolib.utils as utils
42
- import asteroid_spinprops.ssolib.modelfit as mfit
43
- import asteroid_spinprops.ssolib.periodest as pest
44
- import asteroid_spinprops.ssolib.dataprep as dprep
45
- import os
46
-
47
- data_path = os.path.join(project_path, "data") # Path to collection of .parquet files containing your asteroid data (FINK x ATLAS for example)
48
-
49
- pqload = utils.pq_foler_to_dictionary(data_path, save=True)
50
-
51
- ephem_path = os.path.join(data_path, "ephem_cache") # Path to your cached sso ephemerides (optional)
52
-
53
- path_args = [data_path, pqload, ephem_path]
54
-
55
-
56
- name = "Oloosson" # Object name
57
- data = dprep.prepare_sso_data(name, *path_args) # Complement asteroid data with ephemerides/query the IMCCE Miriade service
58
- cdata, rejects = dprep.filter_sso_data(name, *path_args) # Implement object filtering suite
59
- dprep.plot_filtering(cdata, rejects) # Inspect filtering
60
-
61
-
62
- mparams = mfit.get_fit_params(cdata, "SHG1G2") # Get parameters from an sHG1G2 model
63
- shg1g2_resids = mfit.make_residuals_df(cdata, mparams) # Get sHG1G2 model residuals
64
- singnal, window, noise = pest.get_period_estimate(shg1g2_resids) # Get a period estimate from the sHG1G2 residuals
65
- pest.plot_periodograms(singnal, window, name) # Inspect periodogram
66
-
67
- # Combine all of the above to a single ssHG1G2 model fit & plot
68
- mfit.plot_model(cdata, "SSHG1G2", shg1g2_constrained=True, alt_spin=True, resolution=400, x_axis="Phase")
69
- ```
70
-
71
- ## Models
72
- Photometric models from Carry et al.(2024) {2024A&A...687A..38C}
73
- and https://github.com/astrolabsoftware
74
-
75
- ## Project status
76
- Under development
77
-
@@ -1,31 +0,0 @@
1
- asteroid_spinprops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- asteroid_spinprops/ssolib/.ruff_cache/.gitignore,sha256=njpg8ebsSuYCFcEdVLFxOSdF7CXp3e1DPVvZITY68xY,35
3
- asteroid_spinprops/ssolib/.ruff_cache/0.13.2/1980339045096230685,sha256=IJhydN8apOeSB8-CzZXEL41c4Dke_9JjaUvvnaqTN0A,138
4
- asteroid_spinprops/ssolib/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
5
- asteroid_spinprops/ssolib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- asteroid_spinprops/ssolib/dataprep.py,sha256=s4bXDCU15IsdIg9uLwFuO2VEGCxewrXkFIQolG8mKao,18716
7
- asteroid_spinprops/ssolib/modelfit.py,sha256=UICILWgNJp2Xked6ekQKt2LsLT0-AvMb6Pbhbvh16NI,18984
8
- asteroid_spinprops/ssolib/periodest.py,sha256=Go-O1m76y2cCCyhg-gQb_24TnUPUIqyZPSzBB5XttTw,12708
9
- asteroid_spinprops/ssolib/pipetools.py,sha256=DNu4mg8M69c2SHc2KHR5lsshNdsskeB7vNsZad_H0mo,5338
10
- asteroid_spinprops/ssolib/ssptools.py,sha256=DlSgYtXenztRAtEV9d4itzp5OZMjkbXkW2yZ_Qumu4U,4490
11
- asteroid_spinprops/ssolib/testing/atlas_x_ztf_testing/test_pqfile_1.parquet,sha256=qVTCAlpBZLNxCwuKAMwKdjh9yeHFvfrQcr-ebFMQOVI,56455
12
- asteroid_spinprops/ssolib/testing/atlas_x_ztf_testing/test_pqfile_2.parquet,sha256=Y-PEoaMAE0Tn2COlQgqdSGynbXnmy-j3NLYXf5KFwyY,242886
13
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2000 WL152,sha256=5PEc_VaMhYYD0IH6Zm30LwaRe8BMSgPRYxZDr5Mcu0A,430845
14
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2001 PC,sha256=mp4tTiUqrYGswT742nDwdE-egy8mPhDOuBQH9nmcrOo,23477
15
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2001 SG276,sha256=bC8VoBlfE96rC18oj1a5Qtm2RZoxlnIQNaieil0bbkA,27863
16
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2008 GX32,sha256=cDwiYq--vaBibpsSzpIlcDPkHmeYso0BkQBUjTi-sMQ,23281
17
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2009 BE185,sha256=BOru-vC6mUjti7JrY_HIVfGbvxz44oJgICHDW-bphJQ,32931
18
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2011 EY17,sha256=s7aN5ldebMKF2msd7xwE8hSBdXN-nC1jLKazF_RZLIY,25353
19
- asteroid_spinprops/ssolib/testing/ephemeris_testing/2134 T-1,sha256=OijtVUrCvbQd5ipZZPWpIBcymQ_VhOmc3l3xfyqmGXk,89593
20
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Bellmore,sha256=O_eVM5D4sqVNfnKzaN-buG21Bh0IxLOuPsxXuej6sqQ,675365
21
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Dermott,sha256=VUS9GXTBkb_2FP0OofKvN4cN8KdfHoOMEMCtWd6BxyA,753551
22
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Duke,sha256=cl1XGmaz10J1_HiMw7syU7sf0zgLEAPDNhPQvWQQv-8,515034
23
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Izenberg,sha256=GiQeVNxZ9DW33wjkNNfDFHjiz5PE_dsUVaAP1QOHwmA,619661
24
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Lermontov,sha256=3FmYQ-4smfVpgVDNWJG3TVPAwJKzSau1_mizxkNqwIE,700054
25
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Poullain,sha256=_KgyYqgy01zK6Dloq7p3y06c-BzkAdYGAgkj-XdLPhs,323209
26
- asteroid_spinprops/ssolib/testing/ephemeris_testing/Sonneberga,sha256=ER9ysLNa0kpGP78jM4SpHLLIbHpiDlIAXJ88eqw3gRU,700347
27
- asteroid_spinprops/ssolib/testing/testing_ssoname_keys.pkl,sha256=-gnpow_I4uTpPXlF9sLcVJ2YixWp5YXJHkVHIMjtOzo,241
28
- asteroid_spinprops/ssolib/utils.py,sha256=-9D161lmdPjHQC-t8j3wO7IdQiQ95QLwu7dvmLrCopA,12385
29
- asteroid_spinprops-0.2.32.dist-info/METADATA,sha256=CoXoVU4gUtYiWuIMXyJ5UhSQUenlTzFLPj9N2N0X8GE,2831
30
- asteroid_spinprops-0.2.32.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
31
- asteroid_spinprops-0.2.32.dist-info/RECORD,,