from grid_cell_model.submitting import flagparse
import noisefigs
from noisefigs.env import NoiseEnvironment

import config_original as config
import config_pastoll

parser = flagparse.FlagParser()
parser.add_flag('--grids_pastoll_pc_weight_3')
parser.add_flag('--grids_pastoll_pc_weight')
parser.add_flag('--grids_pastoll_pc_weight_no_vel')
args = parser.parse_args()

if args.grids_pastoll_pc_weight_3 or args.all:
    new_config = deepcopy(config_pastoll.get_config())
    new_config.update({
        'bump_data_root': None,
        'grids_data_root': os.path.join('simulation_data',
                                        'i_surround',
                                        'pastoll_et_al',
                                        'grids_pc_weight_3'),
        'vel_data_root':  None,
        'const_pos_data_root': None,
        'singleDataRoot': None,

        'noise_sigmas': [150],
        'even_shape': None,
        'output_dir': 'panels',
    })
    env = NoiseEnvironment(user_config=new_config)
from __future__ import absolute_import, print_function

from grid_cell_model.submitting import flagparse
import noisefigs
from noisefigs.env import NoiseEnvironment

import config_pastoll as config

parser = flagparse.FlagParser()
parser.add_flag('--velSweep')
parser.add_flag('--velFitStdSweep')
parser.add_flag('--velLines')
parser.add_flag('--vel_slope_sweeps')
args = parser.parse_args()

env = NoiseEnvironment(user_config=config.get_config())

if args.velSweep or args.all:
    env.register_plotter(noisefigs.plotters.VelFitErrSweepPlotter)

if args.velFitStdSweep or args.all:
    env.register_plotter(noisefigs.plotters.VelFitStdSweepPlotter)

if args.velLines or args.all:
    env.register_plotter(noisefigs.plotters.VelLinesPlotter)

if args.vel_slope_sweeps or args.all:
    env.register_plotter(noisefigs.plotters.VelSlopeSweepPlotter)

env.plot()
Ejemplo n.º 3
0
from __future__ import absolute_import, print_function

from grid_cell_model.submitting import flagparse
import noisefigs
from noisefigs.env import NoiseEnvironment

import config_pastoll as config

parser = flagparse.FlagParser()
parser.add_flag('--grids')
parser.add_flag('--examplesFlag')
parser.add_flag('--examples_colorbar')
parser.add_flag('--diff_sweep')
args = parser.parse_args()

env = NoiseEnvironment(user_config=config.get_config())

if args.grids or args.all:
    env.register_plotter(noisefigs.plotters.GridSweepsPlotter)

if args.examplesFlag or args.all:
    env.register_plotter(noisefigs.plotters.GridExamplesPlotter)
    env.register_plotter(noisefigs.plotters.GridExamplesPlotter,
                         config={
                             'GridExamplesPlotter': {
                                 'population_type': 'I'
                             },
                         })

if args.examples_colorbar or args.all:
    env.register_plotter(noisefigs.plotters.GridExampleColorbarPlotter)
Ejemplo n.º 4
0
from grid_cell_model.submitting import flagparse
import noisefigs
from noisefigs.env import NoiseEnvironment

import config_original as config
import config_pastoll

parser = flagparse.FlagParser()
parser.add_flag('--grids_pastoll_pc_weight_3')
parser.add_flag('--grids_pastoll_pc_weight')
parser.add_flag('--grids_pastoll_pc_weight_no_vel')
args = parser.parse_args()

if args.grids_pastoll_pc_weight_3 or args.all:
    new_config = deepcopy(config_pastoll.get_config())
    new_config.update({
        'bump_data_root':
        None,
        'grids_data_root':
        os.path.join('simulation_data', 'i_surround', 'pastoll_et_al',
                     'grids_pc_weight_3'),
        'vel_data_root':
        None,
        'const_pos_data_root':
        None,
        'singleDataRoot':
        None,
        'noise_sigmas': [150],
        'even_shape':
        None,