[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DCC7D40P70Y8Z83NA11HYB":3,"skill-same:01M7DCC7D40P70Y8Z83NA11HYB":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DCC7D40P70Y8Z83NA11HYB","distribute-inversion",null,"Distribute an existing single-process PyLops workflow over MPI with PyLops-MPI - choose what to split (blocks, sources, frequencies, a spatial axis), map operators to MPIBlockDiag \u002F MPIVStack \u002F MPIHStack \u002F stacked and derivative operators, build DistributedArrays with the right partition (SCATTER vs BROADCAST) and local shapes, dot-test, solve with pylops_mpi solvers (cgls, cg, ista, fista), and run with mpiexec, optionally on GPUs with CuPy\u002FNCCL. Use when the user says \"my PyLops inversion does not fit in memory \u002F is too slow on one node\", \"parallelise this over shots \u002F frequencies with MPI\", \"port this to pylops-mpi\".","PyLops\u002Fpylops-agent-skills","PyLops","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F74298005?v=4","01M7DCC0YV3FVDPP4GR6V7F43H","01M7DCC0ZTN5K09ZH48X951TBX",1,"LGPL-2.1","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops-mpi\u002Fskills\u002Fdistribute-inversion\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: distribute-inversion\ndescription: Distribute an existing single-process PyLops workflow over MPI with PyLops-MPI - choose what to split (blocks, sources, frequencies, a spatial axis), map operators to MPIBlockDiag \u002F MPIVStack \u002F MPIHStack \u002F stacked and derivative operators, build DistributedArrays with the right partition (SCATTER vs BROADCAST) and local shapes, dot-test, solve with pylops_mpi solvers (cgls, cg, ista, fista), and run with mpiexec, optionally on GPUs with CuPy\u002FNCCL. Use when the user says \"my PyLops inversion does not fit in memory \u002F is too slow on one node\", \"parallelise this over shots \u002F frequencies with MPI\", \"port this to pylops-mpi\".\n---\n\nGoal: an MPI version of the user's PyLops script that gives the same result as\nthe serial one on a small case, scales to their real size, and is launched with\n`mpiexec`. Do not modify the installed `pylops` \u002F `pylops_mpi` packages.\n\n## 0. Check the environment\n\n- Use the project's Python runner. Check versions:\n  `python -c \"import pylops, pylops_mpi, mpi4py; print(pylops.__version__, pylops_mpi.__version__, mpi4py.__version__)\"`\n  and that an MPI implementation is available (`mpiexec --version`).\n- PyLops-MPI changes quickly (new operators and solvers every release): inspect\n  the installed API (`help(pylops_mpi.MPIBlockDiag)`, `dir(pylops_mpi)`) rather\n  than relying on memory. Keep `pylops`, `pylops_mpi` and `pyproximal` versions\n  mutually compatible (released versions from the same period); mixing a\n  development checkout of one with a release of another can break imports or\n  solvers.\n- Installing: MPI itself first (conda `openmpi`\u002F`mpich` recommended), then\n  `pip install pylops-mpi`; `mpi4py-fft` for the distributed FFTs. Ask before\n  installing, and ask before launching MPI jobs on the user's machine (they may\n  prefer to run them on a cluster\u002FCI).\n\n## 1. Decide what to distribute\n\nRead the serial script and find the natural split:\n\n| Structure of the serial problem | Pattern | PyLops-MPI |\n|---|---|---|\n| independent sub-problems `yᵢ = Aᵢ xᵢ` (e.g. post-stack inversion per inline, per frequency with no coupling) | block diagonal | `MPIBlockDiag(ops=[Aᵢ])` – model and data **SCATTER** |\n| one model, data in blocks `yᵢ = Aᵢ x` (shots in LSM\u002FFWI-like, receivers, time windows) | vertical stack | `MPIVStack(ops=[Aᵢ])` – model **BROADCAST**, data **SCATTER** |\n| several models summed into one data `y = Σ Aᵢ xᵢ` (e.g. blended sources) | horizontal stack | `MPIHStack(ops=[Aᵢ])` – model **SCATTER**, data **BROADCAST** |\n| large dense matrix | distributed matmul | `MPIMatrixMult(A_local, M, kind=\"summa\" or \"block\")` |\n| operator already written for full arrays, identical on all ranks | replicated | `asmpilinearoperator(Op)` \u002F `MPILinearOperator(Op)` – **BROADCAST** |\n| regularisation coupling the split axis | derivatives with halo exchange | `MPIFirstDerivative`, `MPISecondDerivative`, `MPILaplacian`, `MPIGradient`, `MPIHalo` |\n| data + regularisation terms | stacking MPI operators | `MPIStackedVStack([Op, eps * Reg])` with `StackedDistributedArray([y, zeros])` |\n| MDC \u002F Fredholm over frequencies, FFTs | specialised | `pylops_mpi.waveeqprocessing.MPIMDC`, `pylops_mpi.signalprocessing.MPIFredholm1`, `MPIFFT2D`, `MPIFFTND`, `MPINonStationaryConvolve1D` |\n\nEach rank builds **only its own blocks** (its shots, frequencies, slices):\nsplit the index range with `from pylops_mpi.DistributedArray import local_split`\n(`local_split(global_shape, comm, Partition.SCATTER, axis)`) or explicit\n`rank * n : (rank + 1) * n` slicing, and load only the corresponding data.\n\n## 2. Build arrays with the right partition\n\n- `DistributedArray(global_shape, partition=Partition.SCATTER|BROADCAST, axis=0,\n  local_shapes=..., dtype=...)`, fill each rank's part with `x[:] = local_values`;\n  or `DistributedArray.to_dist(full_array, partition=...)` when the full array\n  exists (small cases).\n- Match the partition to the operator (table above); a mismatch raises\n  `ValueError` or silently re-distributes data.\n- For SCATTER arrays, pass `local_shapes=Op.local_shapes_m` (model) \u002F\n  `Op.local_shapes_n` (data) from `MPIBlockDiag`\u002F`MPIVStack` so each rank's local\n  size matches its blocks; the default even split only matches when blocks have\n  equal size.\n- Writing to a BROADCAST array broadcasts rank 0's values to all ranks.\n- `x0` is **required** by `pylops_mpi` solvers and must have the model partition\n  (`x0 = x.zeros_like()` or a DistributedArray filled with the starting model).\n\n## 3. Write the script\n\nAdapt `reference\u002Fmpi_template.py` (both the block-diagonal and the stacked\npatterns are there):\n\n- one script run by every rank; `rank = MPI.COMM_WORLD.Get_rank()`;\n- dot-test with `pylops_mpi.utils.dottest(Op, u, v, nr, nc)` where `u`, `v` are\n  DistributedArrays with the model\u002Fdata partitions;\n- solvers: `pylops_mpi.cgls(Op, y, x0, niter, damp, tol)` →\n  `(x, istop, iiter, r1norm, r2norm, cost)`, `pylops_mpi.cg(Op, y, x0, niter, tol)` →\n  `(x, iiter, cost)`; sparsity `pylops_mpi.ista` \u002F `pylops_mpi.fista` (recent\n  versions) with `pylops_mpi.optimization.eigs.power_iteration` for the step;\n  proximal solvers in `pylops_mpi.proximal` (recent versions);\n- **collective calls** (`asarray()`, `norm()`, `dot()`, solvers, operator\n  applications) must be executed by **all ranks**; guard only printing, plotting\n  and file writing with `if rank == 0:`;\n- gather to rank 0 (`x.asarray()`) only for final output and small cases; for\n  large models write per-rank files or use parallel I\u002FO;\n- keep the serial script: compare results on a small case (template's\n  `serial_check`).\n\n## 4. GPUs (optional)\n\n- CuPy: create the local operators with CuPy arrays, `DistributedArray(..., engine=\"cupy\")`,\n  and bind one GPU per rank (`cp.cuda.Device(rank % ndev).use()`).\n- NCCL for GPU-to-GPU communication: create the communicator with\n  `pylops_mpi.utils._nccl.initialize_nccl_comm()` (private module – check the\n  installed docs\u002Fexamples for the current entry point) and pass\n  `base_comm_nccl=...` to DistributedArrays; `NCCL_PYLOPS_MPI=0` disables it.\n  Check the PyLops-MPI GPU page for which operators support NCCL.\n\n## 5. Run and verify\n\n- Run with `mpiexec -n \u003CN> python script.py` (on a cluster, the scheduler's\n  launcher, e.g. `srun`). Start with `-n 2` on a small case, compare with the\n  serial run, then scale. If the user asked not to run MPI jobs locally, do only\n  static checks (`python -m py_compile`, API inspection) and give them the\n  command to run.\n- Timing: `from pylops_mpi.utils.benchmark import benchmark, mark` (decorator\n  `@benchmark`, `mark(\"label\")` inside it) in recent versions, or `MPI.Wtime()` around the solve with a barrier.\n\n## 6. Hand off\n\nReport: the split chosen and why, the operator\u002Fpartition mapping, the files\ncreated, the dot-test and serial-vs-MPI comparison, the exact launch command,\nand any version constraints discovered.\n","Goal: an MPI version of the user's PyLops script that gives the same result as\nthe serial one on a small case, scales to their real size, and is launched with\n`mpiexec`. Do not modify the installed `pylops` \u002F `pylops_mpi` packages.\n\n## 0. Check the environment\n\n- Use the project's Python runner. Check versions:\n  `python -c \"import pylops, pylops_mpi, mpi4py; print(pylops.__version__, pylops_mpi.__version__, mpi4py.__version__)\"`\n  and that an MPI implementation is available (`mpiexec --version`).\n- PyLops-MPI changes quickly (new operators and solvers every release): inspect\n  the installed API (`help(pylops_mpi.MPIBlockDiag)`, `dir(pylops_mpi)`) rather\n  than relying on memory. Keep `pylops`, `pylops_mpi` and `pyproximal` versions\n  mutually compatible (released versions from the same period); mixing a\n  development checkout of one with a release of another can break imports or\n  solvers.\n- Installing: MPI itself first (conda `openmpi`\u002F`mpich` recommended), then\n  `pip install pylops-mpi`; `mpi4py-fft` for the distributed FFTs. Ask before\n  installing, and ask before launching MPI jobs on the user's machine (they may\n  prefer to run them on a cluster\u002FCI).\n\n## 1. Decide what to distribute\n\nRead the serial script and find the natural split:\n\n| Structure of the serial problem | Pattern | PyLops-MPI |\n|---|---|---|\n| independent sub-problems `yᵢ = Aᵢ xᵢ` (e.g. post-stack inversion per inline, per frequency with no coupling) | block diagonal | `MPIBlockDiag(ops=[Aᵢ])` – model and data **SCATTER** |\n| one model, data in blocks `yᵢ = Aᵢ x` (shots in LSM\u002FFWI-like, receivers, time windows) | vertical stack | `MPIVStack(ops=[Aᵢ])` – model **BROADCAST**, data **SCATTER** |\n| several models summed into one data `y = Σ Aᵢ xᵢ` (e.g. blended sources) | horizontal stack | `MPIHStack(ops=[Aᵢ])` – model **SCATTER**, data **BROADCAST** |\n| large dense matrix | distributed matmul | `MPIMatrixMult(A_local, M, kind=\"summa\" or \"block\")` |\n| operator already written for full arrays, identical on all ranks | replicated | `asmpilinearoperator(Op)` \u002F `MPILinearOperator(Op)` – **BROADCAST** |\n| regularisation coupling the split axis | derivatives with halo exchange | `MPIFirstDerivative`, `MPISecondDerivative`, `MPILaplacian`, `MPIGradient`, `MPIHalo` |\n| data + regularisation terms | stacking MPI operators | `MPIStackedVStack([Op, eps * Reg])` with `StackedDistributedArray([y, zeros])` |\n| MDC \u002F Fredholm over frequencies, FFTs | specialised | `pylops_mpi.waveeqprocessing.MPIMDC`, `pylops_mpi.signalprocessing.MPIFredholm1`, `MPIFFT2D`, `MPIFFTND`, `MPINonStationaryConvolve1D` |\n\nEach rank builds **only its own blocks** (its shots, frequencies, slices):\nsplit the index range with `from pylops_mpi.DistributedArray import local_split`\n(`local_split(global_shape, comm, Partition.SCATTER, axis)`) or explicit\n`rank * n : (rank + 1) * n` slicing, and load only the corresponding data.\n\n## 2. Build arrays with the right partition\n\n- `DistributedArray(global_shape, partition=Partition.SCATTER|BROADCAST, axis=0,\n  local_shapes=..., dtype=...)`, fill each rank's part with `x[:] = local_values`;\n  or `DistributedArray.to_dist(full_array, partition=...)` when the full array\n  exists (small cases).\n- Match the partition to the operator (table above); a mismatch raises\n  `ValueError` or silently re-distributes data.\n- For SCATTER arrays, pass `local_shapes=Op.local_shapes_m` (model) \u002F\n  `Op.local_shapes_n` (data) from `MPIBlockDiag`\u002F`MPIVStack` so each rank's local\n  size matches its blocks; the default even split only matches when blocks have\n  equal size.\n- Writing to a BROADCAST array broadcasts rank 0's values to all ranks.\n- `x0` is **required** by `pylops_mpi` solvers and must have the model partition\n  (`x0 = x.zeros_like()` or a DistributedArray filled with the starting model).\n\n## 3. Write the script\n\nAdapt `reference\u002Fmpi_template.py` (both the block-diagonal and the stacked\npatterns are there):\n\n- one script run by every rank; `rank = MPI.COMM_WORLD.Get_rank()`;\n- dot-test with `pylops_mpi.utils.dottest(Op, u, v, nr, nc)` where `u`, `v` are\n  DistributedArrays with the model\u002Fdata partitions;\n- solvers: `pylops_mpi.cgls(Op, y, x0, niter, damp, tol)` →\n  `(x, istop, iiter, r1norm, r2norm, cost)`, `pylops_mpi.cg(Op, y, x0, niter, tol)` →\n  `(x, iiter, cost)`; sparsity `pylops_mpi.ista` \u002F `pylops_mpi.fista` (recent\n  versions) with `pylops_mpi.optimization.eigs.power_iteration` for the step;\n  proximal solvers in `pylops_mpi.proximal` (recent versions);\n- **collective calls** (`asarray()`, `norm()`, `dot()`, solvers, operator\n  applications) must be executed by **all ranks**; guard only printing, plotting\n  and file writing with `if rank == 0:`;\n- gather to rank 0 (`x.asarray()`) only for final output and small cases; for\n  large models write per-rank files or use parallel I\u002FO;\n- keep the serial script: compare results on a small case (template's\n  `serial_check`).\n\n## 4. GPUs (optional)\n\n- CuPy: create the local operators with CuPy arrays, `DistributedArray(..., engine=\"cupy\")`,\n  and bind one GPU per rank (`cp.cuda.Device(rank % ndev).use()`).\n- NCCL for GPU-to-GPU communication: create the communicator with\n  `pylops_mpi.utils._nccl.initialize_nccl_comm()` (private module – check the\n  installed docs\u002Fexamples for the current entry point) and pass\n  `base_comm_nccl=...` to DistributedArrays; `NCCL_PYLOPS_MPI=0` disables it.\n  Check the PyLops-MPI GPU page for which operators support NCCL.\n\n## 5. Run and verify\n\n- Run with `mpiexec -n \u003CN> python script.py` (on a cluster, the scheduler's\n  launcher, e.g. `srun`). Start with `-n 2` on a small case, compare with the\n  serial run, then scale. If the user asked not to run MPI jobs locally, do only\n  static checks (`python -m py_compile`, API inspection) and give them the\n  command to run.\n- Timing: `from pylops_mpi.utils.benchmark import benchmark, mark` (decorator\n  `@benchmark`, `mark(\"label\")` inside it) in recent versions, or `MPI.Wtime()` around the solve with a barrier.\n\n## 6. Hand off\n\nReport: the split chosen and why, the operator\u002Fpartition mapping, the files\ncreated, the dot-test and serial-vs-MPI comparison, the exact launch command,\nand any version constraints discovered.\n",{"name":5,"description":7},"main","a0aead16681bea6df74af88096782ad6ab4eddfb","plugins\u002Fpylops-mpi\u002Fskills\u002Fdistribute-inversion",0,"https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills","https:\u002F\u002Fpylops.github.io\u002Fpylops-agent-skills\u002F","https:\u002F\u002Fgithub.com\u002FPyLops","https:\u002F\u002Fpylops.github.io","Matrix-Free linear algebra and optimization in Python","2026-11-02 05:28:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add PyLops\u002Fpylops-agent-skills --skill distribute-inversion",{"tool":39,"command":40},"bunx","bunx skills add PyLops\u002Fpylops-agent-skills --skill distribute-inversion",{"tool":42,"command":43},"pnpm","pnpm dlx skills add PyLops\u002Fpylops-agent-skills --skill distribute-inversion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops-mpi\u002Fskills\u002Fdistribute-inversion\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"reference\u002Fmpi_template.py","SCRIPT","脚本",4266,"https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops-mpi\u002Fskills\u002Fdistribute-inversion\u002Freference\u002Fmpi_template.py",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7DCE0ERZ2MCH1ANEBTC1Y40","solve-nonsmooth-problem","Use this skill whenever the user wants to solve an inverse problem on PyLops operators with a non-smooth, constrained or non-convex term - load it before writing the objective, choosing a solver or writing optimisation code, even when a SciPy bounded solver or a hand-written FISTA\u002FADMM loop would also work. Covers total variation, L1\u002Fsparsity in a transform, joint sparsity across signals sharing the same components, bounds\u002Fpositivity\u002Fball\u002Faffine constraints, low-rank matrix completion (nuclear norm) and plug-and-play priors with a denoiser (median filter, BM3D), solved with PyProximal (ProximalGradient, ADMM, PrimalDual, ...), step sizes from operator norms. E.g. \"add TV regularisation\", \"keep the model within physical bounds\", \"recover several signals that share their components\", \"fill in missing entries of a low-rank matrix\", \"use PyProximal\". Not for purely quadratic regularisation (Tikhonov, damping, derivative smoothing), which is plain least squares - use the pylops skill solve-inverse-problem.","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpyproximal\u002Fskills\u002Fsolve-nonsmooth-problem\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7DCDT6XDJPE8W9JPVAAX50X","wrap-operator","Wrap a user's own forward model as a PyLops linear operator inside their project (not inside the PyLops library), with a verified adjoint, a dot-test and a small test suite. Use when the user wants to turn existing forward\u002Fadjoint code, a script at a URL, or a mathematical description into a PyLops operator they can pass to PyLops solvers (e.g. \"make my blurring function a PyLops operator\", \"wrap this forward model so I can invert it with lsqr\", \"I have a forward and adjoint, plug them into PyLops\").","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops\u002Fskills\u002Fwrap-operator\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7DCDKBBA8PJA706HD1W3AVR","tune-regularization","Choose regularisation weights and thresholds for a PyLops inversion (epsRs in regularized_inversion, damp in cgls\u002Flsqr, eps in ista\u002Ffista, epsRL1s in splitbregman, sigma\u002Ftau in spgl1, niter as implicit regularisation) with a principled, reproducible sweep - L-curve, discrepancy principle, GCV for small problems, or a synthetic test with a known model. Use when the user asks \"how do I choose epsilon \u002F lambda \u002F damping\", \"my inversion is too smooth \u002F too noisy\", \"make an L-curve\", or after solve-inverse-problem produced a working but untuned inversion.","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops\u002Fskills\u002Ftune-regularization\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7DCDBNA6XGWDZQ1A15CG1S6","solve-inverse-problem","Use this skill whenever the user has (or can build) a PyLops operator and data and wants to invert it - load it before choosing a solver or writing any inversion code, even when the right solver or regularisation seems obvious. It sets up and runs the inversion in the user's project - choose the solver (lsqr, cgls, cg, regularized_inversion, preconditioned_inversion, fista, spgl1, omp, irls, splitbregman), the regularisation and the stopping parameters, and write a runnable script that reports convergence. E.g. \"invert my data with this operator\", \"which PyLops solver should I use\", \"add Tikhonov \u002F smoothness \u002F sparsity regularisation to my inversion\", \"solve y = Op x\". Not for an inversion that already misbehaves (use debug-inversion) or for choosing regularisation weights with an L-curve or sweep (use tune-regularization).","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops\u002Fskills\u002Fsolve-inverse-problem\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7DCD5Q5P09A2R28QWWVSPGM","sliding-patch-processing","Set up PyLops windowed operators - Sliding1D, Sliding2D, Sliding3D, Patch2D, Patch3D - to apply a local transform or operator over overlapping windows of 1-D\u002F2-D\u002F3-D data, choosing window size, overlap, taper and model size with the *_design and *_pad_to_next helpers, checking coverage and the dot-test, and using them for local denoising, interpolation or inversion. Use when the user asks \"apply FFT\u002FRadon\u002Fany operator in overlapping windows\", \"local transform \u002F patching with PyLops\", \"Patch2D gives artefacts at the edges\", \"how do I pick nwin, nover, nop\".","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops\u002Fskills\u002Fsliding-patch-processing\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7DCCXVMV97MEBGWSTETYPYJ","pick-sparsifying-transform","Choose a sparsifying transform for a signal or image in a PyLops sparsity-promoting inversion (FFT\u002FFFT2D\u002FFFTND, DCT, DWT\u002FDWT2D\u002FDWTND, DTCWT, Seislet, curvelets via UDCT, Radon\u002FFourierRadon\u002FChirpRadon, windowed versions with Sliding\u002FPatch), check its optional dependencies and frame properties, compare candidates quantitatively with a best-k-term compressibility test, and wire the winner into fista\u002Fspgl1 in synthesis or analysis form. Use when the user asks \"which transform should I use for sparsity\", \"wavelets or curvelets for my data\", \"make my model sparse for fista\u002Fspgl1\", \"compressive sensing \u002F interpolation with PyLops\".","https:\u002F\u002Fgithub.com\u002FPyLops\u002Fpylops-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpylops\u002Fskills\u002Fpick-sparsifying-transform\u002FSKILL.md",[],[]]