diff --git a/deapi/Guide to use mamba.pdf b/deapi/Guide to use mamba.pdf new file mode 100644 index 0000000..d70dccc Binary files /dev/null and b/deapi/Guide to use mamba.pdf differ diff --git a/deapi/python_3_instruction.txt b/deapi/python_3_instruction.txt index 72a86d4..a5148e4 100644 --- a/deapi/python_3_instruction.txt +++ b/deapi/python_3_instruction.txt @@ -1,31 +1,8 @@ -1. Install Python 3 +1. Install miniforge and setup python environment =================== -Download the latest version on https://repo.anaconda.com/archive/Anaconda3 -Check Install for All users -Check Add Path +Follow the instructions in the document "Guide to use mamba" -2. Packages requried by Direct Electron -=================================== -python -m pip install --upgrade pip -python -m pip install protobuf -python -m pip install mrcfile - -3. The Path Environment variable -============================== -If you encourter ssl module problem while installing packages, add the following to the path variable -C:\...\Anaconda3 -C:\...\Anaconda3\Scripts -C:\...\Anaconda3\Library\bin - - -4. Migrate Python 2 code to Python 3 -================================== -If you have Python 2 code, you can migrate to Python 3 using this tool. -python -m pip install 2to3 -Example: 2to3.exe -w some_p2_code.py - - -5. Documentation +2. Test API ================ Run 90_example2.py with the simulator version server to verify the API is work. -The result should be "OnTestMovieBuffer : Check value passed!" +The result should be "OnTestMovieBuffer : Check value passed!" diff --git a/deapi/release_notes.txt b/deapi/release_notes.txt index 514c72e..52a6678 100644 --- a/deapi/release_notes.txt +++ b/deapi/release_notes.txt @@ -1,3 +1,38 @@ +Changes in 5.2.3: +================= +#3179 C++ SDK GetResult function has deadlock issue if DE-MC version is 2.5 + +Changes in 5.2.2: +================= +#3010 Fixed Python API compatible issue for GetResult +#2966 Fixed a crashing issue for SetROI function +#2917 Added Python function PropertyValidValues back(Deprecated, please use GetPropertySpecifications) + +Changes in 5.2.1: +================= +#2981 Made GetResult compatible with server 2.5. +#2978 Fixed issue with setting ROI using Python 5.2 API and 2.7.2 +#2977 Fixed issue connecting using 5.2 API with older server versions +#2966 fixed issues with SetROI function + +Changes in 5.2.0: +================= +#2459 Add statistic for "Incident e-/pix/s" - Refactored style of image attributes incident statistics for Python SDK +#2924 Add property "Ignore Stretch Type From Client" force to ignore contrast stretch for SDK versions below released 5.2 +#2917 Update property read-only status on GUI when server changes a property's read-only status +#2901 Add function SetAdaptiveROI(int offsetX, int offsetY, int sizeX, int sizeY) to API +#2319 Display the fraction of saturated pixels in the acquisition - Added saturation warning image attributes for SDK. +#2805 Add an API function for the scan controller that allows users to pass an array of X, Y coordinates +#2833 Test RTX 5000 Ada for CeleritasXS - Fixed printing issue in python api +#2794 Allow start/stop saving during acquisition through SDK +#2747 Exception occurs when setScanROI() by Python API +#1560 Support read-only client connection +#2671 Make the ID correspond to the virtual mask index +#2669 SDK cannot get virtual mask until the SDK take an acquisition first +#2658 Modify the 90_example to make it support for both 2.7.2 and 2.7.3 +#2651 Add SetScanSize, SetScanROI, SetScanSizeAndGetChangedProperties, SetScanROIAndGetChangedProperties in all SDK +#2386 Use API function to set Engineering Mode instead of using property + Changes in 5.1.0: ================= #2522 Fixed GetResult for scanning in SDK uses image size instead of scan size