antares-devkit 0.9.1__tar.gz → 0.9.2__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.
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/PKG-INFO +1 -1
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/decam_shadow/__init__.py +7 -6
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/passta_nearby_transients/__init__.py +8 -5
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/pyproject.toml +1 -1
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/LICENSE.txt +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/README.md +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/bad_detection/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/bad_seeing/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/crash_filter/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/desi_target/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/dwarf_nova_outburst/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/ecl_transient_1/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/ecl_transient_2/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/extragalactic/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/highamp/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/highfluxchange/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/highsnr/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/if_anomaly_detection/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/if_anomaly_detection/data/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/if_anomaly_detection/data/paleo2_106IFmodel_472727objs_nest=1000_cont=0.001_transf.pkl +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/imbh/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/inm31/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/laiss_rfc_ad_filter/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/laiss_rfc_ad_filter/data/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/laiss_rfc_ad_filter/data/cls=binary_n_estimators=100_max_depth=35_rs=11_max_feats=35_cw=balanced.pkl +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lantern/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lantern/data/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lantern/data/lantern_xgboost_t2.0.7.pkl +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lsst_ddf/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lsst_transient_quality_scimma/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/malanchev_anomaly_transient_dmdt/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/malanchev_anomaly_transient_dmdt/data/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/malanchev_anomaly_transient_dmdt/data/malanchev_ssiforest_v1.pickle +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/malanchev_features_v1/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/microlensing/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/novtest/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/nuclear_transient/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/nuttela_tao/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/persistent_dimmers/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/random_tagger_filter/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/recent_reddening/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/refitt_newsources_snrcut/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/rubin_NovTest_soraisam/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/sample_filter/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/shadow_virgo/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/siena_mag_coord_cut/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/sso/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/sub_lum/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/superphot_plus_v1/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/superphot_plus_ztf_v3/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_all/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_lsst/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_ztf/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/uniform_random_sample/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/vpdf/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/vpdf/data/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/vpdf/data/matheson_percent_grid_v1 +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/young_extragalactic_candidate/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/young_rubin_transients_soraisam/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/models.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/utils.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/Dockerfile +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/__init__.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/conftest.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/data/large_locus.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/data/small_locus.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_all.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_lsst.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_ztf.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/test_models.py +0 -0
- {antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/test_filters.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: antares-devkit
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.2
|
|
4
4
|
Summary: Provides tools and utility methods to write and debug ANTARES filters with Python.
|
|
5
5
|
Keywords: antares,devkit,filter development
|
|
6
6
|
Author-Email: NSF NOIRLab ANTARES Team <antares@noirlab.edu>
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/decam_shadow/__init__.py
RENAMED
|
@@ -30,14 +30,15 @@ class InDecamShadow(BaseFilter):
|
|
|
30
30
|
#print('upper limit')
|
|
31
31
|
return
|
|
32
32
|
|
|
33
|
+
#Exit if the alert has a solar system object ID associated with it
|
|
33
34
|
if locus.alert.properties['ant_survey'] == 4:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
if 'lsst_diaSource_ssObjectId' in locus.alert.properties.keys():
|
|
36
|
+
if (locus.alert.properties['lsst_diaSource_ssObjectId'] != 0) is True:
|
|
37
|
+
return
|
|
37
38
|
elif locus.alert.properties['ant_survey'] == 1:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
if 'ztf_ssnamenr' in locus.alert.properties.keys():
|
|
40
|
+
if locus.alert.properties['ztf_ssnamenr'] != 'null':
|
|
41
|
+
return
|
|
41
42
|
|
|
42
43
|
# return
|
|
43
44
|
ra = locus.alert.properties['ant_ra']
|
|
@@ -23,18 +23,21 @@ class InPasstaNearbyTransients(BaseFilter):
|
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
def _run(self, locus):
|
|
26
|
-
|
|
26
|
+
|
|
27
27
|
#Exit if the alert is an upper limit
|
|
28
28
|
if locus.alert.properties['ant_survey'] == 2: #be sure we don't work with upper limits
|
|
29
29
|
return
|
|
30
30
|
|
|
31
31
|
#Exit if the alert has a solar system object ID associated with it
|
|
32
32
|
if locus.alert.properties['ant_survey'] == 4:
|
|
33
|
-
if
|
|
34
|
-
|
|
33
|
+
if 'lsst_diaSource_ssObjectId' in locus.alert.properties.keys():
|
|
34
|
+
if (locus.alert.properties['lsst_diaSource_ssObjectId'] != 0) is True:
|
|
35
|
+
return
|
|
35
36
|
elif locus.alert.properties['ant_survey'] == 1:
|
|
36
|
-
if locus.alert.properties
|
|
37
|
-
|
|
37
|
+
if 'ztf_ssnamenr' in locus.alert.properties.keys():
|
|
38
|
+
if locus.alert.properties['ztf_ssnamenr'] != 'null':
|
|
39
|
+
return
|
|
40
|
+
|
|
38
41
|
|
|
39
42
|
matching_catalog_names = locus.catalogs
|
|
40
43
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/bad_detection/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/crash_filter/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/desi_target/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/dwarf_nova_outburst/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/ecl_transient_1/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/ecl_transient_2/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/extragalactic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/highfluxchange/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/laiss_rfc_ad_filter/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/lantern/data/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/microlensing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/nuclear_transient/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/nuttela_tao/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/persistent_dimmers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/recent_reddening/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/sample_filter/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/shadow_virgo/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/siena_mag_coord_cut/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/superphot_plus_v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_all/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_lsst/__init__.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/antares_devkit/filters/test_dev_ztf/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_all.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_lsst.py
RENAMED
|
File without changes
|
{antares_devkit-0.9.1 → antares_devkit-0.9.2}/test/unit/antares_devkit/filters/test_test_dev_ztf.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|