SYMBOL INDEX (667 symbols across 52 files) FILE: teletext/celp.py class LtpCodebook (line 28) | class LtpCodebook: method __init__ (line 29) | def __init__(self, subframe_length): method insert (line 34) | def insert(self, subframe): method get (line 37) | def get(self, lag): class CELPStats (line 44) | class CELPStats: method __init__ (line 45) | def __init__(self, decoder): method __str__ (line 48) | def __str__(self): class CELPDecoder (line 57) | class CELPDecoder: method __init__ (line 129) | def __init__(self, lsf_lut='suddle', vec_gain_lut='audetel', sample_ra... method lsf_error (line 141) | def lsf_error(self): method vector_gain_error (line 145) | def vector_gain_error(self): method stats (line 148) | def stats(self): method vector_parity (line 151) | def vector_parity(self, data, parity): method decode_params (line 156) | def decode_params(self, raw_frame): method apply_lpc_filter (line 177) | def apply_lpc_filter(self, lsf, signal): method generate_audio (line 183) | def generate_audio(self, raw_frame): method decode_packet_stream (line 206) | def decode_packet_stream(self, packets, frame=None): method stream_pcm (line 217) | def stream_pcm(self, packets, frame, device): method play (line 232) | def play(self, packets, frame=None): method convert (line 247) | def convert(self, output, packets, frame=None): method plot (line 258) | def plot(cls, packets): FILE: teletext/cli/celp.py function celp (line 7) | def celp(): function play (line 18) | def play(progress, frame, output, lsf_lut, gain_lut, packets): function plot (line 30) | def plot(packets): FILE: teletext/cli/clihelpers.py class BasedIntType (line 21) | class BasedIntType(click.ParamType): method convert (line 24) | def convert(self, value, param, ctx): function dcnparams (line 37) | def dcnparams(f): function filterparams (line 41) | def filterparams(enabled=True): function progressparams (line 52) | def progressparams(progress=True, mag_hist=False, row_hist=False, err_hi... function carduser (line 66) | def carduser(extended=False): function chunkreader (line 89) | def chunkreader(loop=False, dup_stdin=False): function packetreader (line 112) | def packetreader(filtered=True, progress=True, mag_hist=False, row_hist=... function paginated (line 185) | def paginated(always=False, filtered=True): function packetwriter (line 228) | def packetwriter(f): FILE: teletext/cli/teletext.py function teletext (line 40) | def teletext(ctx, unicode, help_all): function filter (line 78) | def filter(packets, pages, subpages, paginate, n, keep_empty): function grep (line 106) | def grep(packets, pages, subpages, paginate, regex, v, i, n, keep_empty): function _list (line 139) | def _list(packets, count, subpages): function split (line 174) | def split(packets, pattern, pages, subpages): function diff (line 198) | def diff(a, b, mags, rows): function finders (line 211) | def finders(packets): function scan (line 225) | def scan(packets, lines, frames): function squash (line 282) | def squash(packets, min_duplicates, threshold, pages, subpages, ignore_e... function spellcheck (line 301) | def spellcheck(packets, language, both, threads): function service (line 332) | def service(packets, replace_headers, title): function servicedir (line 345) | def servicedir(directory, replace_headers, title): function interactive (line 356) | def interactive(packets, initial_page): function serial (line 367) | def serial(packets, port): function urls (line 397) | def urls(packets, editor, pages, subpages): function images (line 412) | def images(packets, outdir, font, pages, subpages): function html (line 459) | def html(packets, outdir, template, localcodepage): function record (line 476) | def record(output, device, config): function vbiview (line 512) | def vbiview(chunker, config, pause, tape_format, n_lines): function deconvolve (line 553) | def deconvolve(chunker, mags, rows, pages, subpages, paginate, config, m... FILE: teletext/cli/training.py function training (line 15) | def training(): function generate (line 22) | def generate(output): function split (line 35) | def split(chunker, outdir, config, threads, progress, rejects): function training_squash (line 61) | def training_squash(output, indir): function showbin (line 69) | def showbin(chunker): function build (line 90) | def build(input, output, mode, bits): function similarities (line 110) | def similarities(tape_format): function crifc (line 124) | def crifc(chunker, config, threads, progress, rejects): FILE: teletext/cli/vbi.py function vbi (line 9) | def vbi(): function histogram (line 21) | def histogram(output, diff, show, chunker, config, n_lines): function plot (line 62) | def plot(chunker, config): function classifygui (line 72) | def classifygui(input, sampledir, auto, config): function copy (line 82) | def copy(chunker, config, progress, output): function linesplit (line 96) | def linesplit(chunker, config, progress, output): function cluster (line 114) | def cluster(chunker, config, progress, output, prefix): function rendermap (line 129) | def rendermap(config, map, output): FILE: teletext/coding.py function thue_morse (line 31) | def thue_morse(n, even=True): function hamming8_encode (line 83) | def hamming8_encode(a): function hamming8_decode (line 87) | def hamming8_decode(a): function hamming16_encode (line 91) | def hamming16_encode(a): function hamming16_decode (line 98) | def hamming16_decode(a): function hamming8_correctable_errors (line 105) | def hamming8_correctable_errors(a): function hamming8_uncorrectable_errors (line 109) | def hamming8_uncorrectable_errors(a): function hamming8_errors (line 113) | def hamming8_errors(a): function parity_encode (line 117) | def parity_encode(a): function parity_decode (line 121) | def parity_decode(a): function parity_errors (line 125) | def parity_errors(a): function bcd8_decode (line 129) | def bcd8_decode(a): function bcd8_encode (line 135) | def bcd8_encode(a): function byte_reverse (line 141) | def byte_reverse(a): function crc (line 145) | def crc(n, c): FILE: teletext/elements.py class Element (line 9) | class Element(object): method __init__ (line 11) | def __init__(self, shape, array=None): method __getitem__ (line 22) | def __getitem__(self, item): method __setitem__ (line 25) | def __setitem__(self, item, value): method __repr__ (line 28) | def __repr__(self): method bytes (line 32) | def bytes(self): method sevenbit (line 36) | def sevenbit(self): method sevenbit (line 40) | def sevenbit(self, b): method errors (line 47) | def errors(self): class ElementParity (line 51) | class ElementParity(Element): method errors (line 54) | def errors(self): class ElementHamming (line 58) | class ElementHamming(Element): method errors (line 61) | def errors(self): class Mrag (line 65) | class Mrag(ElementHamming): method __init__ (line 67) | def __init__(self, array=None): method magazine (line 71) | def magazine(self): method row (line 76) | def row(self): method magazine (line 80) | def magazine(self, magazine): method row (line 86) | def row(self, row): method __str__ (line 92) | def __str__(self): class Displayable (line 96) | class Displayable(ElementParity): method place_string (line 98) | def place_string(self, string, x=0, y=None): method place_bitmap (line 107) | def place_bitmap(self, bitmap, x=1, y=0, colour=0x17, conceal=False): method to_ansi (line 126) | def to_ansi(self, colour=True): method _tti_escape (line 134) | def _tti_escape(self, array): method to_tti (line 137) | def to_tti(self): method bytes_no_parity (line 144) | def bytes_no_parity(self): class Page (line 148) | class Page(Element): method page (line 151) | def page(self): method page (line 155) | def page(self, page): method errors (line 161) | def errors(self): class Header (line 167) | class Header(Page): method __init__ (line 169) | def __init__(self, array): method subpage (line 173) | def subpage(self): method control (line 178) | def control(self): method displayable (line 183) | def displayable(self): method codepage (line 187) | def codepage(self): method newsflash (line 191) | def newsflash(self): method subtitle (line 195) | def subtitle(self): method supress_header (line 199) | def supress_header(self): method subpage (line 203) | def subpage(self, subpage): method control (line 213) | def control(self, control): method to_ansi (line 221) | def to_ansi(self, colour=True): method apply_finders (line 224) | def apply_finders(self): method errors (line 232) | def errors(self): class Triplet (line 239) | class Triplet(Element): method __init__ (line 241) | def __init__(self, array): method __str__ (line 244) | def __str__(self): method errors (line 248) | def errors(self): class PageLink (line 254) | class PageLink(Page): method __init__ (line 256) | def __init__(self, array, mrag): method subpage (line 261) | def subpage(self): method magazine (line 266) | def magazine(self): method subpage (line 272) | def subpage(self, subpage): method magazine (line 282) | def magazine(self, magazine): method __str__ (line 292) | def __str__(self): method errors (line 296) | def errors(self): class DesignationCode (line 302) | class DesignationCode(Element): method dc (line 305) | def dc(self): method dc (line 309) | def dc(self, dc): method errors (line 313) | def errors(self): class Triplets (line 319) | class Triplets(DesignationCode): method __init__ (line 321) | def __init__(self, array, mrag): method triplets (line 326) | def triplets(self): method to_ansi (line 329) | def to_ansi(self, colour=True): method errors (line 333) | def errors(self): class Fastext (line 340) | class Fastext(DesignationCode): method __init__ (line 342) | def __init__(self, array, mrag): method links (line 347) | def links(self): method control (line 351) | def control(self): method control (line 355) | def control(self, value): method checksum (line 359) | def checksum(self): method checksum (line 363) | def checksum(self, value): method to_ansi (line 367) | def to_ansi(self, colour=True): method errors (line 371) | def errors(self): class Format1 (line 378) | class Format1(Element): method __init__ (line 382) | def __init__(self, array): method network (line 386) | def network(self): method offset (line 390) | def offset(self): method mjd (line 397) | def mjd(self): method date (line 401) | def date(self): method hour (line 405) | def hour(self): method hour (line 409) | def hour(self, value): method minute (line 413) | def minute(self): method minute (line 417) | def minute(self, value): method second (line 421) | def second(self): method second (line 425) | def second(self, value): method to_ansi (line 428) | def to_ansi(self, colour=True): method errors (line 432) | def errors(self): class Format2 (line 437) | class Format2(Element): method __init__ (line 439) | def __init__(self, array): method day (line 443) | def day(self): method month (line 447) | def month(self): method hour (line 451) | def hour(self): method minute (line 455) | def minute(self): method country (line 459) | def country(self): method network (line 463) | def network(self): method to_ansi (line 466) | def to_ansi(self, colour=True): class BroadcastData (line 470) | class BroadcastData(DesignationCode): method __init__ (line 472) | def __init__(self, array, mrag): method displayable (line 477) | def displayable(self): method initial_page (line 481) | def initial_page(self): method format1 (line 485) | def format1(self): method format2 (line 489) | def format2(self): method to_ansi (line 492) | def to_ansi(self, colour=True): method errors (line 501) | def errors(self): class Celp (line 508) | class Celp(Element): method __init__ (line 525) | def __init__(self, array, mrag): method dcn (line 530) | def dcn(self): method service (line 534) | def service(self): method service (line 538) | def service(self, service): method control (line 542) | def control(self): method control (line 546) | def control(self, service): method to_ansi (line 549) | def to_ansi(self, colour=True): method errors (line 585) | def errors(self): FILE: teletext/file.py function PossiblyInfiniteRange (line 7) | def PossiblyInfiniteRange(start=0, stop=None, step=1, limit=None): class LenWrapper (line 20) | class LenWrapper(object): method __init__ (line 21) | def __init__(self, i, l): method __iter__ (line 25) | def __iter__(self): method __len__ (line 28) | def __len__(self): function _chunks (line 32) | def _chunks(f, size, flines, frange, seek): function chunks (line 49) | def chunks(f, size, start, step, flines=16, frange=(0, 16), seek=True): function FileChunker (line 65) | def FileChunker(f, size, start=0, stop=None, step=1, limit=None, flines=... FILE: teletext/finders.py class Finder (line 6) | class Finder(object): method __init__ (line 39) | def __init__(self, match1, match2, name, years, channels): method match (line 48) | def match(self, arr): method fixup (line 53) | def fixup(self, arr): FILE: teletext/gui/classify.py class Window (line 12) | class Window(QtWidgets.QMainWindow): method __init__ (line 13) | def __init__(self, dir, sampledir, auto, config, app, parent=None): method add_button (line 91) | def add_button(self, label, pos): method enable_buttons (line 101) | def enable_buttons(self, en): method button_pressed (line 105) | def button_pressed(self, label): method load (line 119) | def load(self): method loaded (line 138) | def loaded(self): method plot (line 149) | def plot(self, result): class VBILoader (line 171) | class VBILoader(QtCore.QThread): method __init__ (line 175) | def __init__(self, file, config): method run (line 180) | def run(self): function classify_gui (line 195) | def classify_gui(dir, sampledir, auto, config): FILE: teletext/gui/decoder.py class Palette (line 13) | class Palette(object): method __init__ (line 15) | def __init__(self, context): method __getitem__ (line 29) | def __getitem__(self, item): method __setitem__ (line 32) | def __setitem__(self, item, value): class ParserQML (line 39) | class ParserQML(Parser): method __init__ (line 41) | def __init__(self, tt, row, cells, nextrow): method emitcharacter (line 47) | def emitcharacter(self, c): method parse (line 54) | def parse(self): class Decoder (line 63) | class Decoder(object): method __init__ (line 65) | def __init__(self, widget): method __setitem__ (line 93) | def __setitem__(self, item, value): method __getitem__ (line 103) | def __getitem__(self, item): method randomize (line 106) | def randomize(self): method make_font (line 109) | def make_font(self, stretch): method palette (line 117) | def palette(self): method zoom (line 121) | def zoom(self): method zoom (line 125) | def zoom(self, zoom): method reveal (line 140) | def reveal(self): method reveal (line 144) | def reveal(self, reveal): method crteffect (line 148) | def crteffect(self): method crteffect (line 152) | def crteffect(self, crteffect): method size (line 155) | def size(self): method setEffect (line 159) | def setEffect(self, e): FILE: teletext/gui/editor.py class EditorWindow (line 16) | class EditorWindow(QtWidgets.QMainWindow): method __init__ (line 17) | def __init__(self): method showsubpage (line 56) | def showsubpage(self, index): method importt42 (line 63) | def importt42(self, filename=None): method importt42done (line 80) | def importt42done(self): function main (line 92) | def main(): FILE: teletext/gui/qthelpers.py function build_menu (line 4) | def build_menu(window, parent_menu, menu_defs): FILE: teletext/gui/service.py class StdSubpage (line 9) | class StdSubpage(QtGui.QStandardItem): method __init__ (line 10) | def __init__(self, subpage, number): class StdPage (line 19) | class StdPage(QtGui.QStandardItem): method __init__ (line 20) | def __init__(self, page, number): class StdMagazine (line 28) | class StdMagazine(QtGui.QStandardItem): method __init__ (line 29) | def __init__(self, magazine, number): class ServiceModel (line 38) | class ServiceModel(QtGui.QStandardItemModel): method __init__ (line 39) | def __init__(self, service = None): class ServiceModelLoader (line 46) | class ServiceModelLoader(QtCore.QThread): method __init__ (line 50) | def __init__(self, filename): method progress (line 54) | def progress(self, chunks): method run (line 60) | def run(self): FILE: teletext/gui/vbiplot.py class Window (line 20) | class Window(QMainWindow): method __init__ (line 21) | def __init__(self, chunker, config, parent=None): method plot (line 47) | def plot(self): function vbiplot (line 106) | def vbiplot(chunker, config): FILE: teletext/image.py class PcfFontFileUnicode (line 10) | class PcfFontFileUnicode(PcfFontFile): method unicode_glyphs (line 11) | def unicode_glyphs(self): function load_glyphs (line 43) | def load_glyphs(fp): class PrinterImage (line 48) | class PrinterImage(Parser): method __init__ (line 50) | def __init__(self, tt, glyphs, box=False, flash_off=False, colour=True... method emitcharacter (line 61) | def emitcharacter(self, c): method parse (line 79) | def parse(self): function subpage_to_image (line 84) | def subpage_to_image(s, glyphs, background=None, flash_off=False): FILE: teletext/interactive.py function setstyle (line 12) | def setstyle(self, fg=None, bg=None): class TerminalTooSmall (line 19) | class TerminalTooSmall(Exception): class ParserNcurses (line 23) | class ParserNcurses(Parser): method __init__ (line 24) | def __init__(self, tt, scr, row): method emitcharacter (line 29) | def emitcharacter(self, c): method parse (line 36) | def parse(self): class Interactive (line 41) | class Interactive(object): method __init__ (line 45) | def __init__(self, packet_iter, scr, initial_page=0x100): method set_concealed_pairs (line 79) | def set_concealed_pairs(self, show=False): method set_input_field (line 89) | def set_input_field(self, str, clr=0): method go_page (line 92) | def go_page(self, magazine, page): method addstr (line 98) | def addstr(self, packet): method do_alnum (line 105) | def do_alnum(self, i): method do_hold (line 127) | def do_hold(self): method do_reveal (line 139) | def do_reveal(self): method do_input (line 143) | def do_input(self, c): method handle_one_packet (line 167) | def handle_one_packet(self): method main (line 187) | def main(self): function main (line 199) | def main(packets, initial_page): FILE: teletext/mp.py function denumerate (line 11) | def denumerate(work, control, tmp_queue): function renumerate (line 28) | def renumerate(iterator, result, tmp_queue): function worker (line 43) | def worker(work_port, result_port, control_port, status_port, function, ... class _PureGeneratorPoolMP (line 71) | class _PureGeneratorPoolMP(object): method __init__ (line 73) | def __init__(self, function, processes=1, *args, **kwargs): method __enter__ (line 89) | def __enter__(self): method apply (line 131) | def apply(self, iterable): method __exit__ (line 181) | def __exit__(self, *args): class _PureGeneratorPoolSingle (line 188) | class _PureGeneratorPoolSingle(object): method __init__ (line 194) | def __init__(self, function, *args, **kwargs): method _work (line 202) | def _work(self): method __enter__ (line 209) | def __enter__(self): method apply (line 212) | def apply(self, iterable): method __exit__ (line 217) | def __exit__(self, *args): function PureGeneratorPool (line 224) | def PureGeneratorPool(function, processes, *args, **kwargs): function itermap (line 262) | def itermap(function, iterable, processes=1, *args, **kwargs): function f (line 272) | def f(iterator, *args, **kwargs): function main (line 290) | def main(jobs, threads, verbose): FILE: teletext/packet.py class Packet (line 4) | class Packet(Element): method __init__ (line 6) | def __init__(self, array=None, number=None, original=None): method __getitem__ (line 11) | def __getitem__(self, item): method __setitem__ (line 14) | def __setitem__(self, item, value): method is_padding (line 17) | def is_padding(self): method number (line 21) | def number(self): method type (line 25) | def type(self): method mrag (line 47) | def mrag(self): method dc (line 51) | def dc(self): method header (line 55) | def header(self): method displayable (line 59) | def displayable(self): method fastext (line 63) | def fastext(self): method triplets (line 67) | def triplets(self): method broadcast (line 71) | def broadcast(self): method celp (line 75) | def celp(self): method to_ansi (line 78) | def to_ansi(self, colour=True): method to_bytes_no_parity (line 98) | def to_bytes_no_parity(self): method to_binary (line 110) | def to_binary(self): method to_bytes (line 115) | def to_bytes(self): method ansi (line 119) | def ansi(self): method text (line 123) | def text(self): method bar (line 127) | def bar(self): method hex (line 131) | def hex(self): method debug (line 135) | def debug(self): method vbi (line 142) | def vbi(self): method errors (line 148) | def errors(self): FILE: teletext/parser.py class Parser (line 6) | class Parser(object): method __init__ (line 10) | def __init__(self, tt, localcodepage=None, codepage=0): method reset (line 17) | def reset(self): method setstate (line 35) | def setstate(self, **kwargs): method ttchar (line 47) | def ttchar(self, c): method _emitcharacter (line 62) | def _emitcharacter(self, c): method emitcode (line 69) | def emitcode(self): method setat (line 78) | def setat(self, **kwargs): method setafter (line 82) | def setafter(self, **kwargs): method parsebyte (line 86) | def parsebyte(self, b, prev): method parse (line 142) | def parse(self): FILE: teletext/pipeline.py function check_buffer (line 13) | def check_buffer(mb, pages, subpages, min_rows=0): function packet_squash (line 21) | def packet_squash(packets): function bsdp_squash_format1 (line 25) | def bsdp_squash_format1(packets): function bsdp_squash_format2 (line 33) | def bsdp_squash_format2(packets): function paginate (line 40) | def paginate(packets, pages=range(0x900), subpages=range(0x3f80), drop_e... function subpage_group (line 55) | def subpage_group(packet_lists, threshold, ignore_empty): function subpage_squash (line 81) | def subpage_squash(packet_lists, threshold=-1, min_duplicates=3, ignore_... function to_file (line 115) | def to_file(packets, f, format): FILE: teletext/printer.py class PrinterANSI (line 6) | class PrinterANSI(Parser): method __init__ (line 8) | def __init__(self, tt, colour=True, codepage=0): method fgChanged (line 12) | def fgChanged(self): method bgChanged (line 16) | def bgChanged(self): method emitcharacter (line 20) | def emitcharacter(self, c): method parse (line 23) | def parse(self): method __str__ (line 31) | def __str__(self): class PrinterHTML (line 35) | class PrinterHTML(Parser): method __init__ (line 37) | def __init__(self, tt, fastext=None, pages_set=range(0x100), localcode... method ttchar (line 47) | def ttchar(self, c): method stateChanged (line 58) | def stateChanged(self): method emitcharacter (line 80) | def emitcharacter(self, c): method linkify (line 83) | def linkify(self, html): method parse (line 93) | def parse(self): method __str__ (line 103) | def __str__(self): FILE: teletext/service.py class Page (line 15) | class Page(object): method __init__ (line 16) | def __init__(self): method _gen (line 20) | def _gen(self): method __iter__ (line 26) | def __iter__(self): method __next__ (line 29) | def __next__(self): class Magazine (line 33) | class Magazine(object): method __init__ (line 34) | def __init__(self, title=None): method _gen (line 39) | def _gen(self): method __iter__ (line 54) | def __iter__(self): method __next__ (line 57) | def __next__(self): class Service (line 61) | class Service(object): method __init__ (line 62) | def __init__(self, replace_headers=False, title=None): method header (line 68) | def header(self, title, mag, page): method insert_page (line 72) | def insert_page(self, page): method _gen (line 75) | def _gen(self): method __iter__ (line 88) | def __iter__(self): method __next__ (line 91) | def __next__(self): method packets (line 94) | def packets(self, n): method all_subpages (line 99) | def all_subpages(self): method pages_set (line 106) | def pages_set(self): method from_packets (line 110) | def from_packets(cls, packets, replace_headers=False, title=None): method from_file (line 124) | def from_file(cls, f): method to_html (line 129) | def to_html(self, outdir, template=None, localcodepage=None): FILE: teletext/servicedir.py class ServiceDir (line 10) | class ServiceDir(Service): method __init__ (line 20) | def __init__(self, directory, replace_headers, title): method file_changed (line 24) | def file_changed(self, f, deleted=False): method __enter__ (line 37) | def __enter__(self): method __exit__ (line 50) | def __exit__(self, *args, **kwargs): method dispatch (line 54) | def dispatch(self, evt): FILE: teletext/sigint.py class SigIntDefer (line 3) | class SigIntDefer(object): method __init__ (line 28) | def __init__(self, times=1): method __enter__ (line 32) | def __enter__(self): method handler (line 37) | def handler(self, f, n): method fired (line 44) | def fired(self): method __exit__ (line 47) | def __exit__(self, *args, **kwargs): FILE: teletext/spellcheck.py class SpellChecker (line 8) | class SpellChecker(object): method __init__ (line 17) | def __init__(self, language='en_GB'): method check_pair (line 20) | def check_pair(self, x, y): method weighted_hamming (line 25) | def weighted_hamming(self, a, b): method case_match (line 28) | def case_match(self, word, src): method suggest (line 31) | def suggest(self, word): method spellcheck (line 40) | def spellcheck(self, displayable): function spellcheck_packets (line 51) | def spellcheck_packets(packets, language='en_GB'): FILE: teletext/stats.py class Histogram (line 4) | class Histogram(object): method __init__ (line 10) | def __init__(self, shape=(1000, ), fill=255, dtype=np.uint8): method insert (line 14) | def insert(self, value): method histogram (line 20) | def histogram(self): method render (line 25) | def render(self): method __str__ (line 34) | def __str__(self): class MagHistogram (line 38) | class MagHistogram(Histogram): method __init__ (line 43) | def __init__(self, packets, size=1000): method __iter__ (line 47) | def __iter__(self): class RowHistogram (line 53) | class RowHistogram(MagHistogram): method __iter__ (line 58) | def __iter__(self): class Rejects (line 64) | class Rejects(Histogram): method __init__ (line 69) | def __init__(self, lines, size=1000): method __iter__ (line 73) | def __iter__(self): method __str__ (line 78) | def __str__(self): class ErrorHistogram (line 84) | class ErrorHistogram(Histogram): method __init__ (line 88) | def __init__(self, packets, size=100): method __iter__ (line 92) | def __iter__(self): method __str__ (line 97) | def __str__(self): class StatsList (line 104) | class StatsList(list): method __str__ (line 105) | def __str__(self): FILE: teletext/subpage.py class Subpage (line 12) | class Subpage(Element): method __init__ (line 14) | def __init__(self, array=None, numbers=None, prefill=False, magazine=1): method diff (line 31) | def diff(self, other): method numbers (line 38) | def numbers(self): method _slot (line 41) | def _slot(self, row, dc): method has_packet (line 47) | def has_packet(self, row, dc=0): method init_packet (line 50) | def init_packet(self, row, dc=0, magazine=1): method packet (line 55) | def packet(self, row, dc=0): method mrag (line 63) | def mrag(self): method header (line 67) | def header(self): method codepage (line 71) | def codepage(self): method fastext (line 75) | def fastext(self): method displayable (line 79) | def displayable(self): method checksum (line 83) | def checksum(self): method addr (line 104) | def addr(self): method from_packets (line 108) | def from_packets(cls, packets, ignore_empty=False): method from_url (line 127) | def from_url(cls, url): method from_file (line 152) | def from_file(cls, f): method packets (line 158) | def packets(self): method mrg_PN (line 164) | def mrg_PN(self): method mrg_PS (line 167) | def mrg_PS(self, transmit=False): method mrg_SC (line 175) | def mrg_SC(self): method url (line 181) | def url(self): method to_tti (line 205) | def to_tti(self, cycle_time=None, transmit=True): method to_html (line 219) | def to_html(self, pages_set, localcodepage=None): FILE: teletext/ts.py function parse_data (line 9) | def parse_data(data): function parse_pes (line 17) | def parse_pes(pes): function pidextract (line 25) | def pidextract(packets, pid): FILE: teletext/vbi/clustering.py function cluster (line 8) | def cluster(a, l, clusters=None, steps=None): function batched (line 22) | def batched(iterable, n): function batch_cluster (line 33) | def batch_cluster(chunks, output, prefix="", lpf=32): function rendermap (line 50) | def rendermap(config, map, output): FILE: teletext/vbi/config.py class Config (line 6) | class Config(object): method __init__ (line 103) | def __init__(self, card='bt8x8', **kwargs): method __repr__ (line 143) | def __repr__(self): method line_bytes (line 147) | def line_bytes(self): FILE: teletext/vbi/line.py function normalise (line 25) | def normalise(a, start=None, end=None): class Line (line 36) | class Line(object): method configure_patterns (line 44) | def configure_patterns(cls, method, tape_format): method configure (line 59) | def configure(cls, config, force_cpu=False, prefer_opencl=False, tape_... method __init__ (line 72) | def __init__(self, data, number=None): method reset (line 87) | def reset(self): method resampled (line 100) | def resampled(self): method original (line 105) | def original(self): method rolled (line 110) | def rolled(self): method gradient (line 117) | def gradient(self): method fchop (line 120) | def fchop(self, start, stop): method chop (line 128) | def chop(self, start, stop): method chopped (line 133) | def chopped(self): method noisefloor (line 138) | def noisefloor(self): method fft (line 147) | def fft(self): method find_start (line 155) | def find_start(self): method is_teletext (line 210) | def is_teletext(self): method start (line 217) | def start(self): method deconvolve (line 224) | def deconvolve(self, mags=range(9), rows=range(32), eight_bit=False): method slice (line 271) | def slice(self, mags=range(9), rows=range(32), eight_bit=False): function process_lines (line 293) | def process_lines(chunks, mode, config, force_cpu=False, prefer_opencl=F... FILE: teletext/vbi/pattern.py class Pattern (line 20) | class Pattern(object): method __init__ (line 22) | def __init__(self, filename): method match (line 32) | def match(self, inp): method similarities (line 43) | def similarities(self): class PatternBuilder (line 94) | class PatternBuilder(object): method __init__ (line 96) | def __init__(self, inwidth): method write_patterns (line 100) | def write_patterns(self, f, start, end): method add_pattern (line 116) | def add_pattern(self, key, pattern): function build_pattern (line 120) | def build_pattern(chunks, output, start, end, pattern_set=range(256)): FILE: teletext/vbi/patterncuda.py class PatternCUDA (line 27) | class PatternCUDA(Pattern): method __init__ (line 114) | def __init__(self, filename): method match (line 129) | def match(self, inp): FILE: teletext/vbi/patternopencl.py class PatternOpenCL (line 20) | class PatternOpenCL(Pattern): method __init__ (line 145) | def __init__(self, filename): method match (line 189) | def match(self, inp): FILE: teletext/vbi/training.py class PatternGenerator (line 27) | class PatternGenerator(object): method __init__ (line 33) | def __init__(self): method load_pattern (line 38) | def load_pattern(cls): method checksum (line 43) | def checksum(self, array): method generate_line (line 46) | def generate_line(self, offset): method to_file (line 71) | def to_file(self, file): function de_bruijn (line 84) | def de_bruijn(k, n): function save_pattern (line 105) | def save_pattern(filename): class TrainingLine (line 111) | class TrainingLine(Line): method tchop (line 115) | def tchop(self, start, stop): method lock (line 120) | def lock(self, offset): method checksum (line 137) | def checksum(self): method offset (line 141) | def offset(self): function process_training (line 155) | def process_training(chunks, config): function process_crifc (line 168) | def process_crifc(chunks, config): function split (line 187) | def split(data, files): function squash (line 206) | def squash(output, indir): FILE: teletext/vbi/viewer.py class VBIViewer (line 10) | class VBIViewer(object): method __init__ (line 12) | def __init__(self, lines, config, name = "VBI Viewer", width=800, heig... method reshape (line 60) | def reshape(self, width, height): method keyboard (line 65) | def keyboard(self, key, x, y): method mouse (line 94) | def mouse(self, button, state, x, y): method dumpline (line 113) | def dumpline(self, x, y, teletext): method dumpall (line 124) | def dumpall(self, teletext): method set_title (line 135) | def set_title(self): method draw_slice (line 138) | def draw_slice(self, slice, r, g, b, a=1.0): method draw_h_grid (line 147) | def draw_h_grid(self, r, g, b, a=1.0): method draw_bits (line 155) | def draw_bits(self, r, g, b, a=1.0): method draw_freq_bins (line 163) | def draw_freq_bins(self, n, r, g, b, a=1.0): method draw_lines (line 171) | def draw_lines(self): method display (line 203) | def display(self): FILE: tests/test_cli.py class TestCommandTeletext (line 9) | class TestCommandTeletext(unittest.TestCase): method setUp (line 12) | def setUp(self): method test_help (line 15) | def test_help(self): class TestCmdFilter (line 20) | class TestCmdFilter(TestCommandTeletext): class TestCmdDiff (line 24) | class TestCmdDiff(TestCommandTeletext): class TestCmdFinders (line 28) | class TestCmdFinders(TestCommandTeletext): class TestCmdSquash (line 32) | class TestCmdSquash(TestCommandTeletext): class TestCmdSpellcheck (line 36) | class TestCmdSpellcheck(TestCommandTeletext): class TestCmdService (line 40) | class TestCmdService(TestCommandTeletext): class TestCmdInteractive (line 44) | class TestCmdInteractive(TestCommandTeletext): class TestCmdUrls (line 48) | class TestCmdUrls(TestCommandTeletext): class TestCmdHtml (line 52) | class TestCmdHtml(TestCommandTeletext): class TestCmdRecord (line 56) | class TestCmdRecord(TestCommandTeletext): class TestCmdVBIView (line 60) | class TestCmdVBIView(TestCommandTeletext): class TestCmdDeconvolve (line 64) | class TestCmdDeconvolve(TestCommandTeletext): class TestCmdTraining (line 68) | class TestCmdTraining(TestCommandTeletext): class TestCmdGenerate (line 72) | class TestCmdGenerate(TestCommandTeletext): class TestCmdTrainingSquash (line 76) | class TestCmdTrainingSquash(TestCommandTeletext): class TestCmdShowBin (line 80) | class TestCmdShowBin(TestCommandTeletext): class TestCmdBuild (line 84) | class TestCmdBuild(TestCommandTeletext): FILE: tests/test_coding.py class ParityEncodeTestCase (line 9) | class ParityEncodeTestCase(unittest.TestCase): method _test_array (line 11) | def _test_array(self, array: np.ndarray): method test_full_array (line 32) | def test_full_array(self): method test_unit_arrays (line 35) | def test_unit_arrays(self): method test_array_type (line 39) | def test_array_type(self): method test_list_type (line 44) | def test_list_type(self): method test_unit_array_type (line 49) | def test_unit_array_type(self): method test_unit_list_type (line 54) | def test_unit_list_type(self): method test_int_type (line 59) | def test_int_type(self): method test_full_list (line 63) | def test_full_list(self): method test_unit_list (line 68) | def test_unit_list(self): method test_ints (line 73) | def test_ints(self): class Hamming8TestCase (line 89) | class Hamming8TestCase(unittest.TestCase): method test_all (line 91) | def test_all(self): class Reverse8TestCase (line 128) | class Reverse8TestCase(unittest.TestCase): method test_all (line 130) | def test_all(self): class CRCTestCase (line 139) | class CRCTestCase(unittest.TestCase): method test_all (line 141) | def test_all(self): FILE: tests/test_elements.py class TestElement (line 8) | class TestElement(unittest.TestCase): method make_element (line 15) | def make_element(self, array): method setUp (line 27) | def setUp(self): method test_type (line 31) | def test_type(self): method test_wrong_shape (line 34) | def test_wrong_shape(self): method test_getitem (line 39) | def test_getitem(self): method test_setitem (line 45) | def test_setitem(self): method test_repr (line 51) | def test_repr(self): method test_errors (line 54) | def test_errors(self): method test_bytes (line 58) | def test_bytes(self): class TestElementParity (line 62) | class TestElementParity(TestElement): method test_errors (line 67) | def test_errors(self): class TestElementHamming (line 73) | class TestElementHamming(TestElementParity): method test_errors (line 78) | def test_errors(self): class TestMrag (line 84) | class TestMrag(TestElementHamming): method test_magazine (line 90) | def test_magazine(self): method test_row (line 97) | def test_row(self): class TestDisplayable (line 105) | class TestDisplayable(TestElementParity): method test_place_string (line 110) | def test_place_string(self): class TestPage (line 115) | class TestPage(TestElementHamming): class TestHeader (line 121) | class TestHeader(TestPage): class TestPageLink (line 128) | class TestPageLink(TestPage): class TestDesignationCode (line 136) | class TestDesignationCode(TestElementHamming): method test_set_dc (line 141) | def test_set_dc(self): class TestFastext (line 147) | class TestFastext(TestDesignationCode): method test_errors (line 155) | def test_errors(self): FILE: tests/test_file.py class TestChunker (line 8) | class TestChunker(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_basic (line 13) | def test_basic(self): method test_step (line 19) | def test_step(self): FILE: tests/test_mp.py function multiply (line 14) | def multiply(it, a): function null (line 19) | def null(it, a): function callcount (line 25) | def callcount(it): function crashy (line 32) | def crashy(it): function early_crash (line 40) | def early_crash(it): function not_generator (line 44) | def not_generator(it): class TestMPSingle (line 48) | class TestMPSingle(unittest.TestCase): method setUp (line 52) | def setUp(self): method test_single (line 56) | def test_single(self): method test_called_once_single (line 62) | def test_called_once_single(self): method test_reuse (line 66) | def test_reuse(self): method test_called_once_reuse (line 76) | def test_called_once_reuse(self): method _crashing_iter (line 82) | def _crashing_iter(self, n): method test_crashing_iter (line 86) | def test_crashing_iter(self): method test_early_crash (line 91) | def test_early_crash(self): method test_not_generator (line 95) | def test_not_generator(self): method test_too_many_args (line 99) | def test_too_many_args(self): class TestMPMulti (line 104) | class TestMPMulti(TestMPSingle): method test_unpickleable_function (line 108) | def test_unpickleable_function(self): method test_unpickleable_item_in_args (line 112) | def test_unpickleable_item_in_args(self): method test_unpickleable_item_in_iter (line 116) | def test_unpickleable_item_in_iter(self): method test_empty_iter (line 120) | def test_empty_iter(self): class TestMPMultiSigInt (line 125) | class TestMPMultiSigInt(unittest.TestCase): method items (line 129) | def items(self): method test_sigint_to_self (line 134) | def test_sigint_to_self(self): method test_sigint_to_child (line 141) | def test_sigint_to_child(self): FILE: tests/test_packet.py class TestPacket (line 7) | class TestPacket(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_type (line 14) | def test_type(self): FILE: tests/test_sigint.py function ctrl_c (line 10) | def ctrl_c(pid): class TestSigInt (line 19) | class TestSigInt(unittest.TestCase): method test_ctrl_c (line 21) | def test_ctrl_c(self): method test_interrupt (line 25) | def test_interrupt(self): FILE: tests/test_spellcheck.py class TestSpellCheck (line 7) | class TestSpellCheck(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_case_match (line 12) | def test_case_match(self): method test_suggest (line 17) | def test_suggest(self): method test_spellcheck (line 23) | def test_spellcheck(self): FILE: tests/test_stats.py class TestStatsList (line 6) | class TestStatsList(unittest.TestCase): method test_str (line 8) | def test_str(self): FILE: tests/test_subpage.py class SubpageTestCase (line 8) | class SubpageTestCase(unittest.TestCase): method test_checksum (line 10) | def test_checksum(self): FILE: tests/vbi/test_line.py class LineTestCase (line 11) | class LineTestCase(unittest.TestCase): method noisegen (line 13) | def noisegen(self, max_loc, max_scale): method setUp (line 22) | def setUp(self): method test_empty_rejection (line 25) | def test_empty_rejection(self): method test_known_teletext (line 32) | def test_known_teletext(self): method test_known_reject (line 42) | def test_known_reject(self): FILE: tests/vbi/test_patterncuda.py class PatternCUDATestCase (line 11) | class PatternCUDATestCase(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_equal_to_cpu (line 18) | def test_equal_to_cpu(self): FILE: tests/vbi/test_patternopencl.py class PatternOpenCLTestCase (line 11) | class PatternOpenCLTestCase(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_equal_to_cpu (line 18) | def test_equal_to_cpu(self): FILE: tests/vbi/test_training.py class TrainingTestCase (line 10) | class TrainingTestCase(unittest.TestCase): method setUp (line 12) | def setUp(self): method test_split (line 16) | def test_split(self):