Skip to content

Commit

Permalink
Remove deprecated components.gratings
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Mar 21, 2023
1 parent a1b4d88 commit d73500c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 275 deletions.
18 changes: 1 addition & 17 deletions stimupy/components/__init__.py
Expand Up @@ -15,7 +15,6 @@
"edges",
"frames",
"gaussians",
"gratings",
"lines",
"shapes",
"waves",
Expand Down Expand Up @@ -210,18 +209,7 @@ def draw_regions(mask, intensities, intensity_background=0.5):
return img


from . import (
angulars,
checkerboards,
circulars,
edges,
frames,
gaussians,
gratings,
lines,
shapes,
waves,
)
from . import angulars, checkerboards, circulars, edges, frames, gaussians, lines, shapes, waves


def create_overview():
Expand Down Expand Up @@ -268,10 +256,6 @@ def create_overview():
"frames_square_wave": frames.square_wave(**p, frequency=0.5),
# gaussians
"gaussian": gaussians.gaussian(**p, sigma=(1, 2)),
# gratings
"square_wave": gratings.square_wave(**p, frequency=1),
"square_wave2": gratings.square_wave(**p, frequency=1, rotation=45),
"sine_wave": gratings.sine_wave(**p, frequency=1),
# lines
"line": lines.line(**p, line_length=3),
"dipole": lines.dipole(**p, line_length=3, line_gap=0.5),
Expand Down
257 changes: 0 additions & 257 deletions stimupy/components/gratings.py

This file was deleted.

2 changes: 1 addition & 1 deletion stimupy/papers/modelfest.py
Expand Up @@ -37,7 +37,7 @@
import numpy as np
import pandas as pd

from stimupy.components import checkerboards, gaussians, gratings, lines, shapes
from stimupy.components import checkerboards, gaussians, lines, shapes
from stimupy.components.circulars import bessel
from stimupy.components.edges import gaussian_edge
from stimupy.gabors import gabor
Expand Down

0 comments on commit d73500c

Please sign in to comment.