Changeset 7752d1f in ammosreader for doc/ammosreader/AmmosContainer.html
- Timestamp:
- 05/20/23 20:56:15 (2 years ago)
- Branches:
- AmmosSource, guix
- Children:
- f3b78e8
- Parents:
- 4eb8a2f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/ammosreader/AmmosContainer.html
r4eb8a2f r7752d1f 6 6 <meta name="generator" content="pdoc 0.10.0" /> 7 7 <title>ammosreader.AmmosContainer API documentation</title> 8 <meta name="description" content="I store the content of an R&S Ammos file in a more accessible way." />8 <meta name="description" content="I provide an Ammos container." /> 9 9 <link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin> 10 10 <link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/typography.min.css" integrity="sha256-7l/o7C8jubJiy74VsKTidCy1yBkRtiUGbVkYBylBqUg=" crossorigin> … … 23 23 </header> 24 24 <section id="section-intro"> 25 <p>I store the content of an R&S Ammos file in a more accessible way.</p> 26 <details class="source"> 27 <summary> 28 <span>Expand source code</span> 29 </summary> 30 <pre><code class="python">"""I store the content of an R&S Ammos file in a more accessible way.""" 25 <p>I provide an Ammos container.</p> 26 <details class="source"> 27 <summary> 28 <span>Expand source code</span> 29 </summary> 30 <pre><code class="python">"""I provide an Ammos container.""" 31 31 32 32 33 class AmmosContainer(): 33 34 """I store the content of an R&S Ammos file in a more accessible way.""" 34 35 def __init__(self, name, frames): 35 36 self.__name = name … … 56 57 57 58 def size(self): 58 return sum([each.global_frame_header.frame_length for each in self.__global_frames]) 59 # return sum([each.global_frame_header.frame_length for each in self.__global_frames]) 60 return sum(each.global_frame_header.frame_length for each in self.__global_frames) 59 61 60 62 def frequencies(self): … … 101 103 </code></dt> 102 104 <dd> 103 <div class="desc">< /div>105 <div class="desc"><p>I store the content of an R&S Ammos file in a more accessible way.</p></div> 104 106 <details class="source"> 105 107 <summary> … … 107 109 </summary> 108 110 <pre><code class="python">class AmmosContainer(): 109 111 """I store the content of an R&S Ammos file in a more accessible way.""" 110 112 def __init__(self, name, frames): 111 113 self.__name = name … … 132 134 133 135 def size(self): 134 return sum([each.global_frame_header.frame_length for each in self.__global_frames]) 136 # return sum([each.global_frame_header.frame_length for each in self.__global_frames]) 137 return sum(each.global_frame_header.frame_length for each in self.__global_frames) 135 138 136 139 def frequencies(self): … … 293 296 </summary> 294 297 <pre><code class="python">def size(self): 295 return sum([each.global_frame_header.frame_length for each in self.__global_frames])</code></pre> 298 # return sum([each.global_frame_header.frame_length for each in self.__global_frames]) 299 return sum(each.global_frame_header.frame_length for each in self.__global_frames)</code></pre> 296 300 </details> 297 301 </dd>
Note:
See TracChangeset
for help on using the changeset viewer.