Example #1
0
def _bytescan_rectangle(alg, top):
    return chart(
        "bytescan",
        data=_bytescan_data(top.width + 2 * alg.margin, top.height + 2 * alg.margin),
        topology=_scantop.rectangle,
        margin=alg.margin,
    )
Example #2
0
def _bytescan_projective_plane(alg, top):
    return chart(
        "bytescan",
        data=_bytescan_data(top.width + 2 * alg.margin, top.height + 2 * alg.margin),
        topology=_scantop.projective_plane,
        margin=alg.margin,
    )
Example #3
0
def _bytescan_torus(alg, top):
    return chart(
        "bytescan",
        data=_bytescan_data(top.width + 2 * alg.margin, top.height + 2 * alg.margin),
        topology=_scantop.torus,
        margin=alg.margin,
    )
Example #4
0
def _complexscan_projective_plane(alg, top):
    return chart('complexscan',
                 data=_complexscan_data(top.width + 2*alg.margin, 
                                      top.height + 2*alg.margin,
                                      getattr(alg, 'planes', 1)),
                 topology=_scantop.projective_plane,
                 margin=alg.margin
                 )
Example #5
0
def _complexscan_torusfall(alg, top):
    return chart('complexscan',
                 data=_complexscan_data(top.width + 2*alg.margin, 
                                      top.height + 2*alg.margin,
                                      getattr(alg, 'planes', 1)),
                 topology=_scantop.torusfall(top.fall),
                 margin=alg.margin
                 )
Example #6
0
def _floatscan_rectangle(alg, top):
    return chart('floatscan',
                 data=_floatscan_data(top.width + 2*alg.margin, 
                                      top.height + 2*alg.margin,
                                      getattr(alg, 'planes', 1)),
                 topology=_scantop.rectangle,
                 margin=alg.margin
                 )
Example #7
0
def _bytescan_to_projective_plane(c, top):
    return chart("bytescan", data=c.data, topology=_scantop.projective_plane, margin=c.margin)
Example #8
0
def _bytescan_to_rectangle(c, top):
    return chart("bytescan", data=c.data, topology=_scantop.rectangle, margin=c.margin)
Example #9
0
def _bytescan_to_torus(c, top):
    return chart("bytescan", data=c.data, topology=_scantop.torus, margin=c.margin)
Example #10
0
def _complexscan_to_projective_plane(c, top):
    return chart('complexscan',
                 data=c.data,
                 topology=_scantop.projective_plane,
                 margin=c.margin
                 )
Example #11
0
def _complexscan_to_rectangle(c, top):
    return chart('complexscan',
                 data=c.data,
                 topology=_scantop.rectangle,
                 margin=c.margin
                 )
Example #12
0
def _complexscan_to_torus(c, top):
    return chart('complexscan',
                 data=c.data,
                 topology=_scantop.torus,
                 margin=c.margin
                 )
Example #13
0
def _floatscan_to_rectangle(c, top):
    return chart('floatscan',
                 data=c.data,
                 topology=_scantop.rectangle,
                 margin=c.margin
                 )
Example #14
0
def _floatscan_to_torus(c, top):
    return chart('floatscan',
                 data=c.data,
                 topology=_scantop.torus,
                 margin=c.margin
                 )