astropop 0.9.5.dev1__tar.gz → 0.9.5.dev9__tar.gz

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 (142) hide show
  1. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/PKG-INFO +1 -2
  2. astropop-0.9.5.dev9/astropop/catalogs/vizier_catalogs/skymapper.yml +29 -0
  3. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/ucac4.yml +3 -3
  4. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/cache_manager.py +3 -2
  5. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/version.py +2 -2
  6. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop.egg-info/PKG-INFO +1 -2
  7. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop.egg-info/SOURCES.txt +1 -0
  8. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop.egg-info/requires.txt +0 -1
  9. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/pyproject.toml +1 -2
  10. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_catalogs_online.py +62 -3
  11. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.codacy.yml +0 -0
  12. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.github/workflows/build-n-publish.yml +0 -0
  13. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.github/workflows/ci_devdeps.yml +0 -0
  14. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.github/workflows/ci_workflows.yml +0 -0
  15. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.github/workflows/code_quality_analysis.yml +0 -0
  16. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.gitignore +0 -0
  17. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/.readthedocs.yml +0 -0
  18. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/MANIFEST.in +0 -0
  19. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/README.rst +0 -0
  20. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/__init__.py +0 -0
  21. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/_unit_property.py +0 -0
  22. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/astrometry/__init__.py +0 -0
  23. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/astrometry/astrometrynet.py +0 -0
  24. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/astrometry/coords_utils.py +0 -0
  25. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/astrometry/manual_wcs.py +0 -0
  26. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/__init__.py +0 -0
  27. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/_online_tools.py +0 -0
  28. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/_sources_catalog.py +0 -0
  29. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/gaia.py +0 -0
  30. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/simbad.py +0 -0
  31. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier.py +0 -0
  32. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/allwise.yml +0 -0
  33. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/apass9.yml +0 -0
  34. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/denis.yml +0 -0
  35. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/gsc242.yml +0 -0
  36. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/hip.yml +0 -0
  37. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/twomass.yml +0 -0
  38. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/tycho2.yml +0 -0
  39. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/ucac5.yml +0 -0
  40. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/vsx.yml +0 -0
  41. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/catalogs/vizier_catalogs/wise.yml +0 -0
  42. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/file_collection.py +0 -0
  43. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/fits_utils.py +0 -0
  44. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/flags.py +0 -0
  45. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/__init__.py +0 -0
  46. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/_compat.py +0 -0
  47. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/_memmap.py +0 -0
  48. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/framedata.py +0 -0
  49. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/framedata/util.py +0 -0
  50. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/__init__.py +0 -0
  51. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/_tools.py +0 -0
  52. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/imarith.py +0 -0
  53. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/imcombine.py +0 -0
  54. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/processing.py +0 -0
  55. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/image/register.py +0 -0
  56. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/logger.py +0 -0
  57. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/__init__.py +0 -0
  58. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/_deriv.py +0 -0
  59. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/array.py +0 -0
  60. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/hasher.py +0 -0
  61. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/models.py +0 -0
  62. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/math/physical.py +0 -0
  63. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/photometry/__init__.py +0 -0
  64. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/photometry/aperture.py +0 -0
  65. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/photometry/background.py +0 -0
  66. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/photometry/detection.py +0 -0
  67. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/polarimetry/__init__.py +0 -0
  68. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/py_utils.py +0 -0
  69. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop/testing.py +0 -0
  70. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop.egg-info/dependency_links.txt +0 -0
  71. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/astropop.egg-info/top_level.txt +0 -0
  72. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/codecov.yml +0 -0
  73. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/Makefile +0 -0
  74. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/_static/le2pol.jpeg +0 -0
  75. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/conf.py +0 -0
  76. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/data_structures/framedata.rst +0 -0
  77. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/data_structures/physical.rst +0 -0
  78. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/data_structures.rst +0 -0
  79. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/dev/pixel_convention.rst +0 -0
  80. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/index.rst +0 -0
  81. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/ipynb/astrometry_example.ipynb +0 -0
  82. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/ipynb/diy_reduction_script.ipynb +0 -0
  83. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/ipynb/online_catalogs.ipynb +0 -0
  84. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/make.bat +0 -0
  85. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reducing.rst +0 -0
  86. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/astrometry.rst +0 -0
  87. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/ccdprocessing.rst +0 -0
  88. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/imarith.rst +0 -0
  89. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/photometry.rst +0 -0
  90. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/pipelines.rst +0 -0
  91. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/polarimetry.rst +0 -0
  92. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/reduction/registering.rst +0 -0
  93. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/references.txt +0 -0
  94. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/catalog/gaia.rst +0 -0
  95. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/catalog/simbad.rst +0 -0
  96. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/catalog/vizier.rst +0 -0
  97. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/catalogs.rst +0 -0
  98. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/files.rst +0 -0
  99. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/fits_utils.rst +0 -0
  100. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/logger.rst +0 -0
  101. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/py_utils.rst +0 -0
  102. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools/testing.rst +0 -0
  103. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/tools.rst +0 -0
  104. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/docs/user_guide.rst +0 -0
  105. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/licenses/LICENSE.rst +0 -0
  106. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/licenses/TEMPLATE_LICENCE.rst +0 -0
  107. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/scripts/fitsheader_set +0 -0
  108. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/setup.cfg +0 -0
  109. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/setup.py +0 -0
  110. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/__init__.py +0 -0
  111. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/conftest.py +0 -0
  112. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_aperture.py +0 -0
  113. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_astrometry.py +0 -0
  114. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_catalogs.py +0 -0
  115. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_detection.py +0 -0
  116. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_filecollection.py +0 -0
  117. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_fits_utils.py +0 -0
  118. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_flags.py +0 -0
  119. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata.py +0 -0
  120. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_cachemanager.py +0 -0
  121. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_compat.py +0 -0
  122. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_getset.py +0 -0
  123. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_io.py +0 -0
  124. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_memmap.py +0 -0
  125. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_meta.py +0 -0
  126. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_tools.py +0 -0
  127. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_framedata_utils.py +0 -0
  128. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_image_imarith.py +0 -0
  129. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_image_imcombine.py +0 -0
  130. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_image_mergers.py +0 -0
  131. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_image_processing.py +0 -0
  132. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_image_register.py +0 -0
  133. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_logger.py +0 -0
  134. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_math.py +0 -0
  135. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_math_models.py +0 -0
  136. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_physical.py +0 -0
  137. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_physical_numpyfuncs.py +0 -0
  138. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_polarimetry.py +0 -0
  139. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_pyutils.py +0 -0
  140. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_testing.py +0 -0
  141. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tests/test_unit_property.py +0 -0
  142. {astropop-0.9.5.dev1 → astropop-0.9.5.dev9}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: astropop
3
- Version: 0.9.5.dev1
3
+ Version: 0.9.5.dev9
4
4
  Summary: Astronomical Polarimetry and Photometry Pipeline
5
5
  Author-email: Julio Campagnolo <julio.campagnolo@cefet-rj.br>
6
6
  License: BSD-3-Clause
@@ -33,7 +33,6 @@ Requires-Dist: astroalign
33
33
  Requires-Dist: tqdm
34
34
  Requires-Dist: nest-asyncio
35
35
  Requires-Dist: dbastable
36
- Requires-Dist: platformdirs
37
36
  Provides-Extra: all
38
37
  Requires-Dist: matplotlib; extra == "all"
39
38
  Provides-Extra: test
@@ -0,0 +1,29 @@
1
+ ---
2
+ table: 'II/379/smssdr4'
3
+ bibcode: '2024yCat.2379....0O'
4
+ description: 'SkyMapper Southern Survey (SMSS) DR4 (Onken+, 2024)'
5
+ columns: ['+_r', 'SMSS', 'RAICRS', 'DEICRS', 'EpMean',
6
+ 'ObjectId', 'flags', 'ClassStar',
7
+ 'uPSF', 'e_uPSF', 'vPSF', 'e_vPSF',
8
+ 'gPSF', 'e_gPSF', 'rPSf', 'e_rPSF',
9
+ 'iPSF', 'e_iPSF', 'zPSF', 'e_zPSF'] # not so many columns
10
+ available_filters: {
11
+ 'u': 'Sloan u-band PSF magnitude',
12
+ 'v': 'Sloan v-band PSF magnitude',
13
+ 'g': 'Sloan g-band PSF magniture',
14
+ 'r': 'Sloan r-band PSF magnitude',
15
+ 'i': 'Sloan i-band PSF magnitude',
16
+ 'z': 'Sloan z-band PSF magnitude'
17
+ }
18
+ coordinates:
19
+ ra_column: 'RAICRS'
20
+ dec_column: 'DEICRS'
21
+ magnitudes:
22
+ mag_column: '{band}PSF'
23
+ err_mag_column: 'e_{band}PSF'
24
+ epoch:
25
+ column: 'EpMean'
26
+ format: 'mjd'
27
+ ids:
28
+ prepend: 'SMSS-DR4'
29
+ column: 'ObjectId'
@@ -2,7 +2,7 @@
2
2
  table: 'ucac4'
3
3
  description: "UCAC4 Catalogue (Zacharias+, 2012)"
4
4
  bibcode: "2012yCat.1322....0Z"
5
- columns: ['+_r', 'UCAC4', 'RAJ2000', 'DEJ2000', 'pmRA', 'pmDE', 'EpRA']
5
+ columns: ['+_r', 'UCAC4', 'RA_ICRS', 'DE_ICRS', 'pmRA', 'pmDE', 'EpRA']
6
6
  available_filters: {
7
7
  'J': '2MASS J magnitude (1.2um)',
8
8
  'H': '2MASS H magnitude (1.6um)',
@@ -14,8 +14,8 @@ available_filters: {
14
14
  'i': 'i magnitude from APASS'
15
15
  }
16
16
  coordinates:
17
- ra_column: 'RAJ2000'
18
- dec_column: 'DEJ2000'
17
+ ra_column: 'RA_ICRS'
18
+ dec_column: 'DE_ICRS'
19
19
  pm_ra_column: 'pmRA'
20
20
  pm_dec_column: 'pmDE'
21
21
  frame: 'icrs'
@@ -4,7 +4,8 @@
4
4
  import os
5
5
  import atexit
6
6
  import shutil
7
- from platformdirs import user_cache_dir
7
+
8
+ from astropy.config import get_cache_dir
8
9
 
9
10
 
10
11
  from ..logger import logger
@@ -18,7 +19,7 @@ __all__ = ['TempFile', 'TempDir', 'BaseTempDir', 'cleanup',
18
19
  # elements are TempDir instances
19
20
  managed_folders = []
20
21
  DELETE_ON_EXIT = True
21
- CACHE_DIR = os.path.join(user_cache_dir('astropop'))
22
+ CACHE_DIR = os.path.join(get_cache_dir(), 'astropop')
22
23
 
23
24
 
24
25
  def cleanup():
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.9.5.dev1'
16
- __version_tuple__ = version_tuple = (0, 9, 5, 'dev1')
15
+ __version__ = version = '0.9.5.dev9'
16
+ __version_tuple__ = version_tuple = (0, 9, 5, 'dev9')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: astropop
3
- Version: 0.9.5.dev1
3
+ Version: 0.9.5.dev9
4
4
  Summary: Astronomical Polarimetry and Photometry Pipeline
5
5
  Author-email: Julio Campagnolo <julio.campagnolo@cefet-rj.br>
6
6
  License: BSD-3-Clause
@@ -33,7 +33,6 @@ Requires-Dist: astroalign
33
33
  Requires-Dist: tqdm
34
34
  Requires-Dist: nest-asyncio
35
35
  Requires-Dist: dbastable
36
- Requires-Dist: platformdirs
37
36
  Provides-Extra: all
38
37
  Requires-Dist: matplotlib; extra == "all"
39
38
  Provides-Extra: test
@@ -40,6 +40,7 @@ astropop/catalogs/vizier_catalogs/apass9.yml
40
40
  astropop/catalogs/vizier_catalogs/denis.yml
41
41
  astropop/catalogs/vizier_catalogs/gsc242.yml
42
42
  astropop/catalogs/vizier_catalogs/hip.yml
43
+ astropop/catalogs/vizier_catalogs/skymapper.yml
43
44
  astropop/catalogs/vizier_catalogs/twomass.yml
44
45
  astropop/catalogs/vizier_catalogs/tycho2.yml
45
46
  astropop/catalogs/vizier_catalogs/ucac4.yml
@@ -12,7 +12,6 @@ astroalign
12
12
  tqdm
13
13
  nest-asyncio
14
14
  dbastable
15
- platformdirs
16
15
 
17
16
  [all]
18
17
  matplotlib
@@ -43,8 +43,7 @@ dependencies = [
43
43
  "astroalign",
44
44
  "tqdm",
45
45
  "nest-asyncio",
46
- "dbastable",
47
- "platformdirs"
46
+ "dbastable"
48
47
  ]
49
48
 
50
49
  [project.optional-dependencies]
@@ -462,7 +462,7 @@ class Test_VizierGeneral:
462
462
 
463
463
 
464
464
  @pytest.mark.flaky(reruns=5)
465
- @pytest.mark.remote_data
465
+ # @pytest.mark.remote_data
466
466
  class Test_Vizier_UCAC4:
467
467
  hd674_mags = {
468
468
  'J': [10.157, 0.02],
@@ -470,8 +470,6 @@ class Test_Vizier_UCAC4:
470
470
  'K': [10.029, 0.02],
471
471
  'B': [10.752, 0.01],
472
472
  'V': [10.597, 0.07],
473
- 'g': [np.nan, np.nan],
474
- 'r': [np.nan, np.nan],
475
473
  'i': [10.688, 0.01]
476
474
  }
477
475
 
@@ -1107,3 +1105,64 @@ class Test_GaiaDR3:
1107
1105
  # space motion must be applyied
1108
1106
  assert_not_equal(c.ra.degree, a.ra.degree)
1109
1107
  assert_not_equal(c.dec.degree, a.dec.degree)
1108
+
1109
+
1110
+ @pytest.mark.flaky(reruns=5)
1111
+ # @pytest.mark.remote_data
1112
+ class Test_SMSSDR4:
1113
+ hd674_mags = {
1114
+ 'u': [11.9227, 0.0135],
1115
+ 'v': [11.1721, 0.0140],
1116
+ 'g': [10.5768, 0.0110],
1117
+ 'r': [10.6059, 0.0117],
1118
+ 'i': [10.7294, 0.0104],
1119
+ 'z': [10.8096, 0.0119]
1120
+ }
1121
+
1122
+ def test_smssdr4_creation_errors(self):
1123
+ # Need arguments
1124
+ with pytest.raises(TypeError):
1125
+ vizier.skymapper()
1126
+ with pytest.raises(TypeError):
1127
+ vizier.skymapper('test')
1128
+
1129
+ with pytest.raises(ValueError, match='Filter None not available.'):
1130
+ vizier.skymapper('Sirius', '0.05d', band='None')
1131
+ # Filter None should pass, no mag data
1132
+ vizier.skymapper('HD 674', '0.05d', None)
1133
+
1134
+ def test_smssdr4_creation_filters(self):
1135
+ c = vizier.skymapper(hd674_coords[0], '0.01d')
1136
+
1137
+ assert_equal(c.sources_id()[0], 'SMSS-DR4 503264202')
1138
+ for k, v in self.hd674_mags.items():
1139
+ assert_almost_equal(c.mag_list(k)[0], v, decimal=3)
1140
+
1141
+ def test_smssdr4_properties_types(self):
1142
+ s = vizier.skymapper(hd674_coords[0], search_radius[0])
1143
+
1144
+ assert_is_instance(s.sources_id(), np.ndarray)
1145
+ assert_equal(s.sources_id().shape, (len(s)))
1146
+ assert_is_instance(s.skycoord(), SkyCoord)
1147
+ for i in ['u', 'v', 'g', 'z', 'r', 'i']:
1148
+ assert_is_instance(s.magnitude(i), QFloat)
1149
+ assert_is_instance(s.mag_list(i), np.ndarray)
1150
+ assert_equal(s.mag_list(i).shape, (len(s), 2))
1151
+ assert_is_instance(s.ra_dec_list(), np.ndarray)
1152
+ assert_equal(s.ra_dec_list().shape, (len(s), 2))
1153
+
1154
+ def test_skymapper_help(self):
1155
+ help = vizier.skymapper('hd 674', '10 arcsec').help()
1156
+ assert_equal(help[:9], 'skymapper')
1157
+ assert_in('Available filters are:', help)
1158
+ for i in self.hd674_mags.keys():
1159
+ assert_in(f' - {i}:', help)
1160
+
1161
+ def test_skymapper_properties(self):
1162
+ s = vizier.skymapper('hd 674', '10 arcsec',
1163
+ band=['u', 'v', 'g', 'r', 'i', 'z'])
1164
+ assert_equal(s.available_filters, ['u', 'v', 'g', 'r', 'i', 'z'])
1165
+ assert_equal(s.name, 'skymapper')
1166
+ assert_is_instance(s.center, SkyCoord)
1167
+ assert_is_instance(s.radius, Angle)
1168
+ assert_equal(s.filters, ['u', 'v', 'g', 'r', 'i', 'z'])
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes