This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/env python3 | |
| import os | |
| from typing import List, Dict | |
| import subprocess | |
| import click | |
| def clean_your_shit(bytes_name: bytes) -> bytes: | |
| try: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/env python3 | |
| import socket | |
| import ctypes | |
| import ctypes.util | |
| import fcntl | |
| import errno | |
| import sys | |
| import os | |
| import click | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import numpy as np | |
| import sys | |
| from libertem.api import Context | |
| from libertem.common.buffers import BufferWrapper | |
| def make_max_buffer(): | |
| return { | |
| 'maxbuf': BufferWrapper( | |
| kind="sig", dtype="float32" | |
| ) |