{% extends 'series-set-layout.html' %} {% from 'macros.html' import alerter, bootstrap_icon, visualize_series %} {% block styles %} {% endblock %} {% block menu %} {{ series_set_menu('Time series') }} {% endblock %} {% block custom_actions %} Add series {% endblock %} {% block series_set_content %}

Add time series

Time series are found by searching for the text pattern in the series name. This pattern can occur at any position in the name.

By using *, it is possible to search for simple patterns. *.PV searches for all series that end on .PV. 10_* searches for all series that start with 10_. 10_*.PV searches for all series that start with 10_ and end on .PV.

When the 'Structured' checkbox is enabled the pattern is a regular expression. The 10_1234\d{2}\.((PV)|(SP))$ regular expression selects all PVs and SPs that are part of 10_1234 and are themselves identified by 2 numbers (\d{2}).

{% if not new_series %} {% else %} {% endif %} {% if new_series %}
{% endif %}
{% if new_series %}

{{ new_series|count }} series found.

{% if is_structured %} {% endif %} {% for series in new_series|sort(attribute='name') %} {% endfor %}
Series name
{{ visualize_series(series) }}
{% elif pattern %}

No series found.

{% endif %}
Enter one time series name per line.
{{ alerter() }} {% if series_patterns %}
{% for pattern in series_patterns|sort(attribute='source_name') %} {% endfor %}
Source name Pattern
{{ pattern.source_name }} {{ pattern.pattern }}
{% endif %} {% if all_series|count > 0 %} {% if individual_series|count > 0 %}
{% endif %}
{% if individual_series|count > 0 %} {% endif %} {% for series in all_series|sort(attribute='name,source') %} {% if individual_series|count > 0 %} {% endif %} {% endfor %}
Series name
{% if series in individual_series %}
{% endif %}
{{ visualize_series(series) }}
{% else %}

Series set empty.

{% endif %}
{% endblock %}