class_docstr: Name dynamic instrument filter
  
  Filter the instruments based on a regulated name format.
  
  A name rule regular expression is required.
class_docstr_tok: ["Name","dynamic","instrument","filter","Filter","the","instruments","based","on","a","regulated","name","format",".","A","name","rule","regular","expression","is","required","."]
code: def _getFilterSeries(self, instruments, fstart, fend):
      all_filter_series = {}
      filter_calendar = Cal.calendar(
          start_time=fstart, end_time=fend, freq=self.filter_freq
      )
      for inst, timestamp in instruments.items():
          if re.match(self.name_rule_re, inst):
              _filter_series = pd.Series(
                  {timestamp: True for timestamp in filter_calendar}
              )
          else:
              _filter_series = pd.Series(
                  {timestamp: False for timestamp in filter_calendar}
              )
          all_filter_series[inst] = _filter_series
      return all_filter_series
  
imports: from __future__ import print_function
  from abc import abstractmethod
  import re
  import pandas
  import numpy
  import abc
  from .data import Cal, DatasetD
label_desc: Use image node_id 2 for calling the NameDFilter obj's underlying member method code with example usage: obj._getFilterSeries(instruments, fstart, fend) and returns: all_filter_series