def make_filename(params, run):
    """Generate a filename based on params and run.
    params: (net, seed, freq, weight)"""
    nets = ['net_ppdynamicstuned',
            'net_ppdynamicsoff']

    return(f"time-stamps_{nets[int(params[0])]}.TunedNetwork_{params[2]}_{str(run).zfill(3)}_00.00025_00.00050_{params[1]}_0100_.npz")