def scales_communities(ctx): outdir = ctx.obj["outdir"] two = ctx.obj["two"] runs = int(ctx.obj["runs"]) best = ctx.obj["best"] intervals = int(ctx.obj["intervals"]) scales = Scales(outdir, intervals) scales.generate_communities(two, runs, best)
def scales_communities(ctx): outdir = ctx.obj['outdir'] two = ctx.obj['two'] runs = int(ctx.obj['runs']) best = ctx.obj['best'] intervals = int(ctx.obj['intervals']) scales = Scales(outdir, intervals) scales.generate_communities(two, runs, best)
def dist_sequence(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] intervals = int(ctx.obj['intervals']) smooth = ctx.obj['smooth'] scales = Scales(outdir, intervals) scales.dist_sequence(db, smooth)
def dist_sequence(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] intervals = int(ctx.obj["intervals"]) smooth = ctx.obj["smooth"] scales = Scales(outdir, intervals) scales.dist_sequence(db, smooth)
def scales_usermetrics(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] intervals = int(ctx.obj['intervals']) scale_membership = ctx.obj['scale_membership'] s = Scales(outdir, intervals) s.usermetrics(db, scale_membership)
def scales_usermetrics(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] intervals = int(ctx.obj["intervals"]) scale_membership = ctx.obj["scale_membership"] s = Scales(outdir, intervals) s.usermetrics(db, scale_membership)
def scales_borders(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] best = ctx.obj['best'] smooth = ctx.obj['smooth'] intervals = int(ctx.obj['intervals']) scales = Scales(outdir, intervals) scales.generate_borders(db, best, smooth)
def similarity_matrix(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] intervals = int(ctx.obj['intervals']) smooth = ctx.obj['smooth'] optimize = ctx.obj['optimize'] scales = Scales(outdir, intervals) scales.similarity_matrix(db, smooth, optimize)
def scales_graphs(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] intervals = int(ctx.obj["intervals"]) scale = ctx.obj["scale"] table = ctx.obj["table"] scales = Scales(outdir, intervals) scales.generate_graphs(db, scale, table)
def similarity_matrix(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] intervals = int(ctx.obj["intervals"]) smooth = ctx.obj["smooth"] optimize = ctx.obj["optimize"] scales = Scales(outdir, intervals) scales.similarity_matrix(db, smooth, optimize)
def scales_graphs(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] intervals = int(ctx.obj['intervals']) scale = ctx.obj['scale'] table = ctx.obj['table'] scales = Scales(outdir, intervals) scales.generate_graphs(db, scale, table)
def scales_borders(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] best = ctx.obj["best"] smooth = ctx.obj["smooth"] intervals = int(ctx.obj["intervals"]) scales = Scales(outdir, intervals) scales.generate_borders(db, best, smooth)
def scales_multi_borders(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] outfile = ctx.obj["outfile"] smooth = ctx.obj["smooth"] intervals = int(ctx.obj["intervals"]) scales = ctx.obj["scales"] s = Scales(outdir, intervals) s.generate_multi_borders(db, outfile, smooth, scales)
def scales_multi_borders(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] outfile = ctx.obj['outfile'] smooth = ctx.obj['smooth'] intervals = int(ctx.obj['intervals']) scales = ctx.obj['scales'] s = Scales(outdir, intervals) s.generate_multi_borders(db, outfile, smooth, scales)
def scales_metric(ctx): dbname = ctx.obj['dbname'] db = DB(dbname, ctx.obj['config']) db.open() outdir = ctx.obj['outdir'] best = ctx.obj['best'] intervals = int(ctx.obj['intervals']) smooth = ctx.obj['smooth'] scale = ctx.obj['scale'] metric = ctx.obj['metric'] scales = Scales(outdir, intervals) scales.metric(metric, db, best, smooth, scale)
def scales_metric(ctx): dbname = ctx.obj["dbname"] db = DB(dbname, ctx.obj["config"]) db.open() outdir = ctx.obj["outdir"] best = ctx.obj["best"] intervals = int(ctx.obj["intervals"]) smooth = ctx.obj["smooth"] scale = ctx.obj["scale"] metric = ctx.obj["metric"] scales = Scales(outdir, intervals) scales.metric(metric, db, best, smooth, scale)
def scales_normalize(ctx): outdir = ctx.obj["outdir"] intervals = int(ctx.obj["intervals"]) scales = Scales(outdir, intervals) scales.normalize()
def scales_normalize(ctx): outdir = ctx.obj['outdir'] intervals = int(ctx.obj['intervals']) scales = Scales(outdir, intervals) scales.normalize()