Skip to content
Back to skills

Scitex Nn

ASecurity

PyTorch neural-network building blocks for neuroscience and signal processing. Differentiable filters (`BandPassFilter`, `BandStopFilter`, `HighPassFilter`, `LowPassFilter`, `GaussianFilter`, `DifferentiableBandPassFilter`) operate on 1D channels-first tensors. `Hilbert` provides differentiable Hilbert transform for analytic-signal extraction. Architecture blocks: `BNet` / `BNet_Res` (B-shaped backbone with optional residual connections), `BHead` (decoder head). Augmentation/regularization: `...

  • 4 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
developmentpython

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill scitex-nn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scitex Nn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scitex Nn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-scitex-nn/badge)](https://www.skillsdirectory.com/skills/aibot88-scitex-nn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scitex-nn
description: PyTorch neural-network building blocks for neuroscience and signal processing. Differentiable filters (`BandPassFilter`, `BandStopFilter`, `HighPassFilter`, `LowPassFilter`, `GaussianFilter`, `DifferentiableBandPassFilter`) operate on 1D channels-first tensors. `Hilbert` provides differentiable Hilbert transform for analytic-signal extraction. Architecture blocks: `BNet` / `BNet_Res` (B-shaped backbone with optional residual connections), `BHead` (decoder head). Augmentation/regularization: `AxiswiseDropout`, `DropoutChannels`, `ChannelGainChanger`, `FreqGainChanger` (gain perturbation in time and frequency domains for SSL training). Drop-in replacement for hand-rolled `torch.nn.Conv1d` butterworth-init wrappers, scattered Hilbert implementations using `torch.fft`, and bespoke channel-dropout layers. Use whenever a model needs trainable filter banks, differentiable spectral features, or SSL-style time/frequency augmentation.
primary_interface: python
interfaces:
  python: 3
  cli: 0
  mcp: 0
  skills: 2
  hook: 0
  http: 0
canonical-location: scitex-nn/src/scitex_nn/_skills/scitex-nn/SKILL.md
tags: [scitex-nn, scitex-package, pytorch, neural-network, dsp, neuroscience]
---

> **Interfaces:** Python ⭐⭐⭐ (primary) · CLI — · MCP — · Skills ⭐⭐ · Hook — · HTTP —

# scitex-nn

PyTorch building blocks specialized for neuroscience / signal-processing
models — differentiable filters, Hilbert, B-shaped backbones, and
spectral augmentation.

## Differentiable filters

```python
from scitex_nn import BandPassFilter, BandStopFilter, GaussianFilter

bp = BandPassFilter(low=4.0, high=8.0, fs=1000.0, order=4)
y = bp(x)                       # x: (batch, channels, samples)
```

`DifferentiableBandPassFilter` learns `low`/`high` end-to-end (use when
the band of interest is itself a hyperparameter).

## Hilbert transform

```python
from scitex_nn import Hilbert
analytic = Hilbert()(x)          # x: (..., samples) → complex tensor
```

## Backbones

```python
from scitex_nn import BNet, BNet_Res, BNet_config_v1

cfg = BNet_config_v1(in_chans=64, out_chans=2, ...)
model = BNet(cfg)
```

`BNet_Res` adds residual connections; the same config dataclass works.

## Augmentation

- `AxiswiseDropout(p, axis)` — drops along a chosen axis (channel,
  time, frequency)
- `DropoutChannels(p)` — convenience wrapper
- `ChannelGainChanger(min_gain, max_gain)` — random per-channel gain
- `FreqGainChanger(...)` — same in frequency domain via FFT

These compose as plain `nn.Module`s — drop into a `nn.Sequential`.

## When to use

- ✅ Trainable / differentiable signal processing inside a model
- ✅ SSL-style time / frequency augmentation pipelines
- ✅ Replacing tens of lines of hand-rolled FIR/Butterworth init
- ❌ Classical (non-trainable) filtering — use `scipy.signal` or
  `scitex-dsp`

## See also

- `scitex-dsp` — non-trainable counterparts (numpy/scipy-backed)
- General skill `01_arch_06_local-state-directories.md` if model
  checkpoints / cache directories need a canonical location

<!-- EOF -->

Files in this skill

  • SKILL.md3 KB
  • source.json1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.