code: def mtscomp_parser():
      """Command-line interface to compress a file."""
      parser = argparse.ArgumentParser(
          description="Compress a raw binary file."
      )
  
      parser.add_argument(
          "path", type=str, help="input path of a raw binary file"
      )
  
      parser.add_argument(
          "out",
          type=str,
          nargs="?",
          help="output path of the compressed binary file (.cbin)",
      )
  
      parser.add_argument(
          "outmeta",
          type=str,
          nargs="?",
          help="output path of the compression metadata JSON file (.ch)",
      )
  
      parser.add_argument("-d", "--dtype", type=str, help="data type")
      parser.add_argument(
          "-s", "--sample-rate", type=float, help="sample rate"
      )
      parser.add_argument(
          "-n", "--n-channels", type=int, help="number of channels"
      )
      parser.add_argument(
          "-c", "--chunk", type=int, help="chunk duration"
      )
  
      _shared_options(parser)
  
      parser.add_argument(
          "--set-default",
          action="store_true",
          help="set the specified parameters as the default",
      )
  
      return parser
  
imports: import argparse
  import bisect
  from functools import lru_cache
  import hashlib
  import json
  import logging
  import multiprocessing
  from multiprocessing.dummy import Pool
  import os
  import os.path
  from pathlib import Path
  import sys
  from threading import Lock
  import zlib
  from tqdm import tqdm
  import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: mtscomp_parser() and returns: parser