معرفی شرکت ها


ampel-alerts-0.8.3b5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Alert support for the Ampel system
ویژگی مقدار
سیستم عامل -
نام فایل ampel-alerts-0.8.3b5
نام ampel-alerts
نسخه کتابخانه 0.8.3b5
نگهدارنده ['Jakob van Santen']
ایمیل نگهدارنده ['jakob.van.santen@desy.de']
نویسنده Valery Brinnel
ایمیل نویسنده -
آدرس صفحه اصلی https://ampelproject.github.io
آدرس اینترنتی https://pypi.org/project/ampel-alerts/
مجوز BSD-3-Clause
<img align="left" src="https://user-images.githubusercontent.com/17532220/213289600-aa1757d2-44ba-4de2-b12d-520ddb5d39ff.png" width="150" height="150"/> <br> # Alert support for AMPEL <br><br> Enables the processing of _alerts_ by AMPEL. The central class of this repository, `ampel.alert.AlertConsumer`, is capable of loading, filtering and "ingesting" these alerts. - The loading part involves instrument specific classes. - The optional filtering part allows the selection of events based on pre-defined rules. High-throughput systems, such as ZTF or LSST in astronomy, rely on such filters. - During _ingestion_, the content of alerts is saved into the AMPEL database, possibly together with other different documents which can be created according to pre-defined directives. <p align="center"> <img src="https://desycloud.desy.de/index.php/s/fiLRCFZtbTkeCtj/preview" width="40%" /> <img src="https://desycloud.desy.de/index.php/s/EBacs5bbApzpwDr/preview" width="40%" /> </p> <p align="center"> The <i>AlertConsumer</i> operates on the first three tiers of AMPEL: T0, T1 and T2. </p> ## Loading Alert Performed by subclasses of `ampel.abstract.AbsAlertSupplier`. Concrete implementation examples: `ampel.ztf.alert.ZiAlertSupplier` Actions break-down: - Load bytes (tar, network, ...) - Deserialize (avro, bson, json, ...) - First shape (instrument specific): morph into `AmpelAlert` or `PhotoAlert` Purpose: having a common format that the `AlertConsumer` and alert filters understand. A `PhotoAlert` typically contains two distinct flat sequences, one for photopoints and one for upperlimits. The associated object ID, such as the ZTF name, is converted into nummerical ampel IDs. This is necessary for all alerts (rejected one as well) since "autocomplete" is based on true Ampel IDs. ## Filtering Alert Alerts filtering is performed per channel, by subclasses of `ampel.abstract.AbsAlertFilter`. An `AlertConsumer` instance can handle multiple filters. Alert filters methods provided by user units are called by the class `FilterBlock`, that handles associated operations (what happens to rejected alerts ? what about auto-complete, etc...) `FilterBlock` instances are themselves embedded in `FilterBlocksHandler` Filters can return: - `False` or `None` to reject an alert. - `True` to accept the alert and create all t1/t2 documents defined in the alert processor directive - An `int` number to accept the alert and create only the t1/t2 documents associated with this group id (as defined in the alert processor directive) ## Ingesting Alert If any channel accepts a given alert, DB updates need to occur. v0.7 brought many updates regarding how ingestion happens. Class: `ampel.alert.ChainedIngestionHandler`, `ampel.abstract.AbsDocIngester` More details later ### Directives Nesting is chaining ### Second shape: morph into `DataPoint` Alerts that pass any T0 filter are further shaped in order to fullfill some requirements for DB storage and easy later retrieval. Among other things, individual datapoints can be tagged during this step. For ZTF, upper limits do not feature a unique ID, so we have to build our own. Each datapoint is shaped into a `ampel.content.DataPoint` structure. Implementation example: `ampel.ztf.ingest.ZiDataPointShaper` ### Compilers Optimize the number of created documents ### Ingesters Create and upserts documents into the DB


نیازمندی

مقدار نام
>=6.1.2,<6.2.0 Sphinx
>=1.11.1,<2.0.0 sphinx-autodoc-typehints
>=0.11.0,<0.12.0 tomlkit
>=0.8.3,<0.9.0 ampel-interface
>=0.8.3,<0.9.0 ampel-core


زبان مورد نیاز

مقدار نام
>=3.10,<3.12 Python


نحوه نصب


نصب پکیج whl ampel-alerts-0.8.3b5:

    pip install ampel-alerts-0.8.3b5.whl


نصب پکیج tar.gz ampel-alerts-0.8.3b5:

    pip install ampel-alerts-0.8.3b5.tar.gz