CBD.lib.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Standard CBD Library (BBL) &mdash; CBD Simulator documentation</title>
  8. <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  9. <!-- <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> -->
  10. <link rel="stylesheet" href="_static/style.css" type="text/css" />
  11. <link rel="index" title="Index" href="genindex.html" />
  12. <link rel="search" title="Search" href="search.html" />
  13. <link rel="next" title="CBD.lib.std module" href="CBD.lib.std.html" />
  14. <link rel="prev" title="CBD package" href="CBD.html" />
  15. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-167094275-1"></script>
  16. <script src="_static/js/googleanalytics.min.js"></script>
  17. <script src="_static/js/modernizr.min.js"></script>
  18. <!-- Preload the theme fonts -->
  19. <link rel="preload" href="_static/fonts/FreightSans/freight-sans-book.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  20. <link rel="preload" href="_static/fonts/FreightSans/freight-sans-medium.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  21. <link rel="preload" href="_static/fonts/IBMPlexMono/IBMPlexMono-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  22. <link rel="preload" href="_static/fonts/FreightSans/freight-sans-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  23. <link rel="preload" href="_static/fonts/FreightSans/freight-sans-medium-italic.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  24. <link rel="preload" href="_static/fonts/IBMPlexMono/IBMPlexMono-SemiBold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  25. <!-- Preload the katex fonts -->
  26. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Math-Italic.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  27. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Main-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  28. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Main-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  29. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size1-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  30. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size4-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  31. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size2-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  32. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size3-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  33. <link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Caligraphic-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
  34. </head>
  35. <div class="container-fluid header-holder tutorials-header" id="header-holder">
  36. <div class="container">
  37. <div class="header-container">
  38. <a class="header-logo" href="https://catalyst-team.com/" aria-label="Catalyst"></a>
  39. <div class="main-menu">
  40. <ul>
  41. <li>
  42. <div class="ecosystem-dropdown">
  43. <a id="dropdownMenuButtonEcosystem" data-toggle="ecosystem-dropdown">
  44. Ecosystem
  45. </a>
  46. <div class="ecosystem-dropdown-menu">
  47. <a class="nav-dropdown-item" href="https://alchemy.host">
  48. <span class=dropdown-title>Alchemy</span>
  49. <p>Experiments logging & visualization</p>
  50. </a>
  51. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/catalyst">
  52. <span class=dropdown-title>Catalyst</span>
  53. <p>Accelerated deep learning R&D</p>
  54. </a>
  55. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/reaction">
  56. <span class=dropdown-title>Reaction</span>
  57. <p>Convenient deep learning models serving</p>
  58. </a>
  59. </div>
  60. </div>
  61. </li>
  62. <li>
  63. <div class="projects-dropdown">
  64. <a id="dropdownMenuButtonProjects" data-toggle="projects-dropdown">
  65. Projects
  66. </a>
  67. <div class="projects-dropdown-menu">
  68. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/codestyle">
  69. <span class=dropdown-title>Codestyle</span>
  70. <p>Joint R&D codestyle</p>
  71. </a>
  72. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/neuro">
  73. <span class=dropdown-title>Catalyst.Neuro</span>
  74. <p>Catalyst.Team and TReNDS collaborative project</p>
  75. </a>
  76. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/classification">
  77. <span class=dropdown-title>Classification</span>
  78. <p>Image classification pipeline with transfer learning</p>
  79. </a>
  80. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/detection">
  81. <span class=dropdown-title>Detection</span>
  82. <p>Object detection pipeline</p>
  83. </a>
  84. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/segmentation">
  85. <span class=dropdown-title>Segmentation</span>
  86. <p>Image semantic segmentation pipeline</p>
  87. </a>
  88. <a class="nav-dropdown-item" href="https://github.com/catalyst-team/gan">
  89. <span class=dropdown-title>Catalyst.GAN</span>
  90. <p>GAN pipelines</p>
  91. </a>
  92. </div>
  93. </div>
  94. </li>
  95. <li>
  96. <a href="https://github.com/catalyst-team/dl-course">Deep learning course</a>
  97. </li>
  98. </ul>
  99. </div>
  100. <a class="main-menu-open-button" href="#" data-behavior="open-mobile-menu"></a>
  101. </div>
  102. </div>
  103. </div>
  104. <body class="catalyst-body">
  105. <div class="table-of-contents-link-wrapper">
  106. <span>Table of Contents</span>
  107. <a href="#" class="toggle-table-of-contents" data-behavior="toggle-table-of-contents"></a>
  108. </div>
  109. <nav data-toggle="wy-nav-shift" class="catalyst-left-menu" id="catalyst-left-menu">
  110. <div class="catalyst-side-scroll">
  111. <div class="catalyst-menu catalyst-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  112. <div class="catalyst-left-menu-search">
  113. <div role="search">
  114. <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
  115. <input type="text" name="q" placeholder="Search Docs" />
  116. <input type="hidden" name="check_keywords" value="yes" />
  117. <input type="hidden" name="area" value="default" />
  118. </form>
  119. </div>
  120. </div>
  121. <p class="caption"><span class="caption-text">Setup</span></p>
  122. <ul>
  123. <li class="toctree-l1"><a class="reference internal" href="install.html">How to install the CBD framework?</a></li>
  124. <li class="toctree-l1"><a class="reference internal" href="running.html">How to run a CBD simulation?</a></li>
  125. <li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
  126. </ul>
  127. <p class="caption"><span class="caption-text">Simple Examples</span></p>
  128. <ul>
  129. <li class="toctree-l1"><a class="reference internal" href="examples/SinGen.html">Sine Generator</a></li>
  130. <li class="toctree-l1"><a class="reference internal" href="examples/EvenNumberGen.html">Hierarchical Even Number Generator</a></li>
  131. <li class="toctree-l1"><a class="reference internal" href="examples/Fibonacci.html">Fibonacci Sequence Generator</a></li>
  132. <li class="toctree-l1"><a class="reference internal" href="examples/LCG.html">Linear Congruential Generator</a></li>
  133. </ul>
  134. <p class="caption"><span class="caption-text">Advanced Examples</span></p>
  135. <ul>
  136. <li class="toctree-l1"><a class="reference internal" href="examples/ContinuousTime.html">Continuous Time Simulation</a></li>
  137. <li class="toctree-l1"><a class="reference internal" href="examples/RealTime.html">Realtime Simulation</a></li>
  138. <li class="toctree-l1"><a class="reference internal" href="examples/LivePlot.html">Live Plotting of Data During the Simulation</a></li>
  139. <li class="toctree-l1"><a class="reference internal" href="examples/Dashboard.html">TkInter Dashboard with Editable Values</a></li>
  140. </ul>
  141. <p class="caption"><span class="caption-text">Internal Documentation</span></p>
  142. <ul class="current">
  143. <li class="toctree-l1 current"><a class="reference internal" href="CBD.html">CBD package</a></li>
  144. </ul>
  145. </div>
  146. </div>
  147. </nav>
  148. <div class="catalyst-container">
  149. <div class="catalyst-page-level-bar" id="catalyst-page-level-bar">
  150. <div class="catalyst-breadcrumbs-wrapper">
  151. <div role="navigation" aria-label="breadcrumbs navigation">
  152. <ul class="catalyst-breadcrumbs">
  153. <li>
  154. <a href="index.html">
  155. Docs
  156. </a> &gt;
  157. </li>
  158. <li><a href="CBD.html">CBD package</a> &gt;</li>
  159. <li>Standard CBD Library (BBL)</li>
  160. <li class="catalyst-breadcrumbs-aside">
  161. </li>
  162. </ul>
  163. </div>
  164. </div>
  165. <div class="catalyst-shortcuts-wrapper" id="catalyst-shortcuts-wrapper">
  166. Shortcuts
  167. </div>
  168. </div>
  169. <section data-toggle="wy-nav-shift" id="catalyst-content-wrap" class="catalyst-content-wrap">
  170. <div class="catalyst-content-left">
  171. <div class="rst-content">
  172. <div role="main" class="main-content" itemscope="itemscope" itemtype="http://schema.org/Article">
  173. <article itemprop="articleBody" id="catalyst-article" class="catalyst-article">
  174. <div class="section" id="module-CBD.lib">
  175. <span id="standard-cbd-library-bbl"></span><h1>Standard CBD Library (BBL)<a class="headerlink" href="#module-CBD.lib" title="Permalink to this headline">¶</a></h1>
  176. <div class="section" id="submodules">
  177. <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
  178. <div class="toctree-wrapper compound">
  179. <ul>
  180. <li class="toctree-l1"><a class="reference internal" href="CBD.lib.std.html">CBD.lib.std module</a></li>
  181. <li class="toctree-l1"><a class="reference internal" href="CBD.lib.io.html">CBD.lib.io module</a></li>
  182. <li class="toctree-l1"><a class="reference internal" href="CBD.lib.endpoints.html">CBD.lib.endpoints module</a></li>
  183. </ul>
  184. </div>
  185. </div>
  186. </div>
  187. </article>
  188. </div>
  189. <footer>
  190. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  191. <a href="CBD.lib.std.html" class="btn btn-neutral float-right" title="CBD.lib.std module" accesskey="n" rel="next">Next <img src="_static/images/chevron-right-orange.svg" class="next-page"></a>
  192. <a href="CBD.html" class="btn btn-neutral" title="CBD package" accesskey="p" rel="prev"><img src="_static/images/chevron-right-orange.svg" class="previous-page"> Previous</a>
  193. </div>
  194. <hr>
  195. <div role="contentinfo">
  196. <p>
  197. &copy; Copyright 2020, Randy Paredis.
  198. </p>
  199. </div>
  200. <div>
  201. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  202. </div>
  203. </footer>
  204. </div>
  205. </div>
  206. <div class="catalyst-content-right" id="catalyst-content-right">
  207. <div class="catalyst-right-menu" id="catalyst-right-menu">
  208. <div class="catalyst-side-scroll" id="catalyst-side-scroll-right">
  209. <ul>
  210. <li><a class="reference internal" href="#">Standard CBD Library (BBL)</a><ul>
  211. <li><a class="reference internal" href="#submodules">Submodules</a></li>
  212. </ul>
  213. </li>
  214. </ul>
  215. </div>
  216. </div>
  217. </div>
  218. </section>
  219. </div>
  220. <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
  221. <script type="text/javascript" src="_static/jquery.js"></script>
  222. <script type="text/javascript" src="_static/underscore.js"></script>
  223. <script type="text/javascript" src="_static/doctools.js"></script>
  224. <script type="text/javascript" src="_static/language_data.js"></script>
  225. <script type="text/javascript" src="_static/math.js"></script>
  226. <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
  227. <script type="text/javascript" src="_static/js/vendor/popper.min.js"></script>
  228. <script type="text/javascript" src="_static/js/vendor/bootstrap.min.js"></script>
  229. <script type="text/javascript" src="_static/js/theme.js"></script>
  230. <script type="text/javascript">
  231. jQuery(function () {
  232. SphinxRtdTheme.Navigation.enable(true);
  233. });
  234. </script>
  235. <!-- Begin Footer -->
  236. <footer class="site-footer" id="site-footer">
  237. <div class="container footer-container">
  238. <div class="footer-logo-wrapper">
  239. <a href="https://catalyst-team.com/" class="footer-logo"></a>
  240. </div>
  241. <div class="footer-links-wrapper">
  242. <div class="footer-links-col">
  243. <ul>
  244. <li class="list-title"><a href="https://github.com/catalyst-team">Ecosystem</a></li>
  245. <li><a class="nav-dropdown-item" href="https://alchemy.host">Alchemy</a></li>
  246. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/catalyst">Catalyst</a></li>
  247. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/reaction">Reaction</a></li>
  248. </ul>
  249. </div>
  250. <div class="footer-links-col">
  251. <ul>
  252. <li class="list-title"><a href="https://github.com/catalyst-team">Projects</a></li>
  253. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/codestyle">Codestyle</a></li>
  254. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/neuro">Catalyst.Neuro</a></li>
  255. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/classification">Classification</a></li>
  256. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/detection">Detection</a></li>
  257. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/segmentation">Segmentation</a></li>
  258. <li><a class="nav-dropdown-item" href="https://github.com/catalyst-team/gan">Catalyst.GAN</a></li>
  259. </ul>
  260. </div>
  261. <div class="footer-links-col">
  262. <ul>
  263. <li class="list-title"><a href="https://catalyst-team.com/">Support</a></li>
  264. <li><a href="https://github.com/catalyst-team/catalyst/issues" target="_blank">Github Issues</a></li>
  265. <li><a href="https://github.com/catalyst-team/catalyst/blob/master/CONTRIBUTING.md" target="_blank">Contributing</a></li>
  266. <li><a href="https://www.patreon.com/catalyst_team" target="_blank">Patreon</a></li>
  267. </ul>
  268. </div>
  269. <div class="footer-links-col follow-us-col">
  270. <div class="footer-social-icons">
  271. <a href="https://t.me/catalyst_team" target="_blank" class="telegram"></a>
  272. <a href="https://twitter.com/catalyst_core" target="_blank" class="twitter"></a>
  273. <a href="https://join.slack.com/t/catalyst-team-core/shared_invite/zt-d9miirnn-z86oKDzFMKlMG4fgFdZafw" target="_blank" class="ods"></a>
  274. </div>
  275. </div>
  276. </div>
  277. </div>
  278. </footer>
  279. <!-- End Footer -->
  280. <!-- Begin Mobile Menu -->
  281. <div class="mobile-main-menu">
  282. <div class="container-fluid">
  283. <div class="container">
  284. <div class="mobile-main-menu-header-container">
  285. <a class="header-logo" href="https://catalyst-team.com/" aria-label="Catalyst"></a>
  286. <a class="main-menu-close-button" href="#" data-behavior="close-mobile-menu"></a>
  287. </div>
  288. </div>
  289. </div>
  290. <div class="mobile-main-menu-links-container">
  291. <div class="main-menu">
  292. <ul>
  293. <li>
  294. <a href="">Get Started</a>
  295. </li>
  296. <li>
  297. <a href="https://github.com/catalyst-team/catalyst">Github</a>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. <!-- End Mobile Menu -->
  304. <script type="text/javascript" src="_static/js/vendor/anchor.min.js"></script>
  305. <script type="text/javascript">
  306. $(document).ready(function() {
  307. mobileMenu.bind();
  308. mobileTOC.bind();
  309. catalystAnchors.bind();
  310. sideMenus.bind();
  311. scrollToAnchor.bind();
  312. highlightNavigation.bind();
  313. mainMenuDropdown.bind();
  314. // Add class to links that have code blocks, since we cannot create links in code blocks
  315. $("article.catalyst-article a span.pre").each(function(e) {
  316. $(this).closest("a").addClass("has-code");
  317. });
  318. })
  319. </script>
  320. </body>
  321. </html>