This repository contains tutorials for the py4DSTEM Python package

Overview
Comments
  • Binder dev

    Binder dev

    • Binder link created, currently lands in Index.ipynb
    • data loaded as part of the notebooks, running all cells on notebooks inside binder will work.
    • Added file_getter.py which takes command-line arguments, which makes extending the download to more notebooks fairly straightforward.
    • Both notebooks work, make_probe_templates.ipynb required adding some clean-up steps to avoid going over 2GB ram limit, the alternative is to split them into more separate notebooks.
    • There's a slight issue that if people don't shutdown notebooks properly or if they have multiple notebooks over, they may cause kernel panics, both notebooks peak memory usage push the 2GB limit .
    • I haven't given much attention to style or formatting currently just wanted to get something functional and working to see if works as required.
    opened by alex-rakowski 1
  • SSB tutorial notebooks with new dataset

    SSB tutorial notebooks with new dataset

    These are two new tutorial notebooks I updated. One is for single-run reconstruction, the other is for interactive mode with ipywidgets and matplotlib visualization.

    opened by PhilippPelz 0
  • Binder dev

    Binder dev

    • Binder link created, currently lands in Index.ipynb
    • data loaded as part of the notebooks, running all cells on notebooks inside binder will work.
    • Added file_getter.py which takes command-line arguments, which makes extending the download to more notebooks fairly straightforward.
    • Both notebooks work, make_probe_templates.ipynb required adding some clean-up steps to avoid going over 2GB ram limit, the alternative is to split them into more separate notebooks.
    • There's a slight issue that if people don't shutdown notebooks properly or if they have multiple notebooks over, they may cause kernel panics, both notebooks peak memory usage push the 2GB limit .
    • I haven't given much attention to style or formatting currently just wanted to get something functional and working to see if works as required.
    opened by alex-rakowski 0
  • Add simulations for dynamical scattering

    Add simulations for dynamical scattering

    I found that there is almost no proper documentation for the dynamical scattering simulation in py4DSTEM unless you read the source code (actually I couldn't find the documentation for the whole diffraction module). So I created a tutorial using NaCl as an example. Hope I have done it right.

    opened by Taimin 0
  • py4DSTEM.process.virtualimage.get_virtualimage_circ (strain mapping tutorial)

    py4DSTEM.process.virtualimage.get_virtualimage_circ (strain mapping tutorial)

    in the strain mapping tutorial, this step doesn't work !

    [12]

    Next, create a BF virtual detector using the the center beam position (qxy0, qy0)

    We will expand the BF radius slightly (+ 2 px).

    The DF virtual detector can be set to all remaining pixels.

    expand_BF = 2.0 image_BF = py4DSTEM.process.virtualimage.get_virtualimage_circ( dataset, qx0, qy0, probe_semiangle + expand_BF) image_DF = py4DSTEM.process.virtualimage.get_virtualimage_ann( dataset, qx0, qy0, probe_semiangle + expand_BF, 1e3)

    [return]

    AttributeError Traceback (most recent call last) Input In [168], in <cell line: 5>() 1 # Next, create a BF virtual detector using the the center beam position (qxy0, qy0) 2 # We will expand the BF radius slightly (+ 2 px). 3 # The DF virtual detector can be set to all remaining pixels. 4 expand_BF = 2.0 ----> 5 image_BF = py4DSTEM.process.get_virtualimage_circ( 6 dataset, 7 qx0, qy0, 8 probe_semiangle + expand_BF) 9 image_DF = py4DSTEM.process.virtualimage.get_virtualimage_ann( 10 dataset, 11 qx0, qy0, 12 probe_semiangle + expand_BF, 13 1e3)

    AttributeError: module 'py4DSTEM.process' has no attribute 'get_virtualimage_circ'

    Any tips to fix that ?

    py4DSTEM.process.virtualimage.virtualimage.get_virtualimage_circ or py4DSTEM.process.virtualimage.get_virtualimage_circ ?

    opened by lylofu 0
  • ACOM_03_Au_NP_sim.ipynb bugs

    ACOM_03_Au_NP_sim.ipynb bugs

    Running the ACOM_03 notebook as downloaded, cell 25 gives the following error:

    ---------------------------------------------------------------------------
    NameError                                 Traceback (most recent call last)
    /var/folders/ts/tq6v7mks7hvg37ys5zvs1c2w0000gn/T/ipykernel_3012/3733081456.py in <module>
         14 
         15 # Fit an ellipse to the elliptically corrected bvm
    ---> 16 qx0_corr,qy0_corr,a_corr,e_corr,theta_corr = py4DSTEM.process.calibration.fit_ellipse_1D(bvm_ellipsecorr,(qx0,qy0),(qmin,qmax))
         17 
         18 py4DSTEM.visualize.show_elliptical_fit(
    
    NameError: name 'qmin' is not defined
    

    I think someone changed qmin, qmax to be a list called qrange and never actually tested the notebook in a fresh state.

    opened by sezelt 0
  • AttributeError: module 'py4DSTEM.process' has no attribute 'diffraction'

    AttributeError: module 'py4DSTEM.process' has no attribute 'diffraction'

    When I run the "ACOM Tutorial Notebook 01", it gives a following error message.

    AttributeError: module 'py4DSTEM.process' has no attribute 'diffraction'

    version python 3.8.0 py4DSTEM 0.12.6 pywin32 302

    error

    opened by nomurayuki0503 0
Releases(v0.13.8-alpha)
Python package for missing-data imputation with deep learning

MIDASpy Overview MIDASpy is a Python package for multiply imputing missing data using deep learning methods. The MIDASpy algorithm offers significant

MIDASverse 77 Dec 03, 2022
Source code for our CVPR 2019 paper - PPGNet: Learning Point-Pair Graph for Line Segment Detection

PPGNet: Learning Point-Pair Graph for Line Segment Detection PyTorch implementation of our CVPR 2019 paper: PPGNet: Learning Point-Pair Graph for Line

SVIP Lab 170 Oct 25, 2022
The official PyTorch implementation of recent paper - SAINT: Improved Neural Networks for Tabular Data via Row Attention and Contrastive Pre-Training

This repository is the official PyTorch implementation of SAINT. Find the paper on arxiv SAINT: Improved Neural Networks for Tabular Data via Row Atte

Gowthami Somepalli 284 Dec 21, 2022
ML-based medical imaging using Azure

Disclaimer This code is provided for research and development use only. This code is not intended for use in clinical decision-making or for any other

Microsoft Azure 68 Dec 23, 2022
Riemann Noise Injection With PyTorch

Riemann Noise Injection - PyTorch A module for modeling GAN noise injection based on Riemann geometry, as described in Ruili Feng, Deli Zhao, and Zhen

2 May 27, 2022
Codebase for the solution that won first place and was awarded the most human-like agent in the 2021 NeurIPS Competition MineRL BASALT Challenge.

KAIROS MineRL BASALT Codebase for the solution that won first place and was awarded the most human-like agent in the 2021 NeurIPS Competition MineRL B

Vinicius G. Goecks 37 Oct 30, 2022
Active window border replacement for window managers.

xborder Active window border replacement for window managers. Usage git clone https://github.com/deter0/xborder cd xborder chmod +x xborders ./xborder

deter 250 Dec 30, 2022
A full pipeline AutoML tool for tabular data

HyperGBM Doc | 中文 We Are Hiring! Dear folks,we are offering challenging opportunities located in Beijing for both professionals and students who are k

DataCanvas 240 Jan 03, 2023
Official Implementation of DE-CondDETR and DELA-CondDETR in "Towards Data-Efficient Detection Transformers"

DE-DETRs By Wen Wang, Jing Zhang, Yang Cao, Yongliang Shen, and Dacheng Tao This repository is an official implementation of DE-CondDETR and DELA-Cond

Wen Wang 41 Dec 12, 2022
Weak-supervised Visual Geo-localization via Attention-based Knowledge Distillation

Weak-supervised Visual Geo-localization via Attention-based Knowledge Distillation Introduction WAKD is a PyTorch implementation for our ICPR-2022 pap

2 Oct 20, 2022
A Loss Function for Generative Neural Networks Based on Watson’s Perceptual Model

This repository contains the similarity metrics designed and evaluated in the paper, and instructions and code to re-run the experiments. Implementation in the deep-learning framework PyTorch

Steffen 86 Dec 27, 2022
TrackTech: Real-time tracking of subjects and objects on multiple cameras

TrackTech: Real-time tracking of subjects and objects on multiple cameras This project is part of the 2021 spring bachelor final project of the Bachel

5 Jun 17, 2022
Repository of 3D Object Detection with Pointformer (CVPR2021)

3D Object Detection with Pointformer This repository contains the code for the paper 3D Object Detection with Pointformer (CVPR 2021) [arXiv]. This wo

Zhuofan Xia 117 Jan 06, 2023
The official implementation of "Rethink Dilated Convolution for Real-time Semantic Segmentation"

RegSeg The official implementation of "Rethink Dilated Convolution for Real-time Semantic Segmentation" Paper: arxiv D block Decoder Setup Install the

Roland 61 Dec 27, 2022
potpourri3d - An invigorating blend of 3D geometry tools in Python.

A Python library of various algorithms and utilities for 3D triangle meshes and point clouds. Managed by Nicholas Sharp, with new tools added lazily as needed. Currently, mainly bindings to C++ tools

Nicholas Sharp 295 Jan 05, 2023
🔥 TensorFlow Code for technical report: "YOLOv3: An Incremental Improvement"

🆕 Are you looking for a new YOLOv3 implemented by TF2.0 ? If you hate the fucking tensorflow1.x very much, no worries! I have implemented a new YOLOv

3.6k Dec 26, 2022
Implementation of ICCV2021(Oral) paper - VMNet: Voxel-Mesh Network for Geodesic-aware 3D Semantic Segmentation

VMNet: Voxel-Mesh Network for Geodesic-Aware 3D Semantic Segmentation Created by Zeyu HU Introduction This work is based on our paper VMNet: Voxel-Mes

HU Zeyu 82 Dec 27, 2022
This is a package for LiDARTag, described in paper: LiDARTag: A Real-Time Fiducial Tag System for Point Clouds

LiDARTag Overview This is a package for LiDARTag, described in paper: LiDARTag: A Real-Time Fiducial Tag System for Point Clouds (PDF)(arXiv). This wo

University of Michigan Dynamic Legged Locomotion Robotics Lab 159 Dec 21, 2022
This repository contains code accompanying the paper "An End-to-End Chinese Text Normalization Model based on Rule-Guided Flat-Lattice Transformer"

FlatTN This repository contains code accompanying the paper "An End-to-End Chinese Text Normalization Model based on Rule-Guided Flat-Lattice Transfor

THUHCSI 74 Nov 28, 2022
This repo is customed for VisDrone.

Object Detection for VisDrone(无人机航拍图像目标检测) My environment 1、Windows10 (Linux available) 2、tensorflow = 1.12.0 3、python3.6 (anaconda) 4、cv2 5、ensemble

53 Jul 17, 2022