- Enables FLIM with the "Laser" key in the input dictionary.
- Removed Modin from the required packages list.
- Fixed a bug with the API usage.
- Added FLIM capabilites (thanks to @berkodev). Check the correct boxes in the GUI and as long as your data was synched to the laser clock it should Just Work.
- A few bug fixes and package updates.
- Better handling of full stack files with number of frames per chunk equals one.
- When a frame chunk contains fewer-than-expected lines, PySight should now warn and move on to the next chunk instead of crashing.
- Fixed a bug related to writing to disk using zarr.
- Fix the sdist tar.gz file.
- Output file format is now
.zarr
and not HDF5, due to repeated misbehaviors of the latter. - Initial support for FLIM.
- General bug fixes.
This is a critical bug fix release, which deals with list files containing multiple sweeps. Up untill the previous version (0.10.0), list files with more than one sweep weren't parsed correctly due to a bug in PySight. This issue is now considered resolved.
This is a minor release containing new features and bug fixes.
- Added support for FLIM and image deinterleaving. This allows the user utilize the time-of-arrival of each photon relative to the last laser pulse for various applications. For more information please refer to the docs.
- Fixed several minor issues with the build process and installation.
- Upgrades depenedencies, now supports Python 3.7.
- Refactoring of code base structure for higher clarity.
- The "memory" output of PySight is now a
PySightOutput
object with simpler handles to the data, both raw and processed. - Configuration files are now TOML. Please look at
default.toml
in the repo for reference. - Improvemnets to use less RAM during runtime.
- Fixed a memory leak affecting mostly the processing of large
.lst
files.
- Fixed issues with the use of data not generated by a multiscaler.
- Documentation updates, especially for Windows installations.
- Re-introduced binary wheels.
- Added the
ReadData
class for easier testing of the data readout process. - Consequently, added tests.
- Should now support Mac/Linux-generated list files.
- Removed
numba
caching as it was causing some bugs on remote clusters. - Added initial
pyproject.toml
. - Moved to the
black
codestyle. - No wheels are currently generated. This might change in a future version.
- ScanImage-generated stacks better fit the original fill fraction value.
- Small fix with non-ordered line signals.
- Dependency upgrades to support Python 3.7. Note - still not officially supported.
- Small bug fixes.
- More documentation work.
- Lower memory usage in certain parts of the application.
- Many documentation updates, especially for the raw API.
- Tweaks to memory usage when writing chunks.
- PySight allows zero-events in binary files.
- Fixed lex-sort issue with the
Frames
column.
- Fixed a bug with single-frame-chunks.
- Smarter usage of memory using the
psutil
package. - Improvements to line extrapolation.
- Added binary list file support.
- Pinned versions of required libraries.
- Fixed bidirectional TAG stack generation.
- Fixed bug in
VolumeGenerator
when having a single frame slice.
- Unified configuration file keyword to be
cfg_file
. - Dramatically increased performance to due faster I/O.
- Refactored the
Movie
class, changing theVolume
class with aFrameChunk
class. - Added tests.
- Updated docs.
- Changed many internal file names.
- Bug fix in
setup.py
.
- Added
recursive
andn_proc
keywords tomp_batch
, and changed return type toNone
. - Changed source tree structure for better clarity.
- Renamed
run_batch
torun_batch_lst
. - More internal improvements.
- Z-axis bins range is equal, i.e. each bin spans the same axial distance in microns.
- Travis CI is back on.
- Added option to run PySight with a predetermined config file:
main.run(cfg_file='/path/to/file.json')
. - New integration tests.
- Bug fixes to
run_batch
. - New function
mp_batch(foldername, glob_str)
for parallel processing of a folder of list files.
- Minor bug fixes.
- GUI is now startable with "S" key and or "Enter".
- More tests to new SignalValidator class.
- Bug fix for the validation process.
- Making progress on multiprocessing support.
- Refactoring and additions to GUI, including new choices between imaging systems.
- Better UI and UX.
- Not all tests pass.
- Changed output of
run_batch
to a DataFrame. - Refactored
tabulation_tools
.
- Hotfix to
attrs
problem insetup.py
.
- Trial with Numba and setuptools.
- Type annotations.
- Documentation update.
- Fixes for single-photon bug.
- Bug fix for empty volumes with multichannel support.
- Fixed another bug with the line handling.
- Fixed a bug with a missing PMT channel.
- Code cleanups.
- More adjustments to line handling in bidirectional mode.
- Better handling of line signal.
- Separated handling of unidir and bidir corrupt line signals.
- Refactored line signal handling module.
- Added multiple tests to line signal handling.
- Missing line signals take mirror phase into account.
- Fixes for MScan system.
- Even more edge-case handling.
- Deals with more edge-cases in missing line signals.
- Fixed bugs with interpolations and TAG signals.
- Added interpolation for missing line signals.
- More work on TAG interpolation.
- Fixed a bug with TAG lens interpolation.
- Bug with lines allocation in the
Volume
object following an API change in pandas. - Allows for single frame experiments.
- Fixed a bug with bidirectional scanning.
- Possible fix for data that don't have lines since the beginning of the experiment.
- Fixed a bug with the filename of the
DEBUG
-ged version.
- Support for non-phase allocation of TAG pulses.
- Removal of old TAG module.
run_batch()
works without choosing a mock list file.
- Better bidirectional support.
- Added a
glob_str
andrecursive
parameters torun_batch()
. - Added a
DEBUG
suffix to files generated when debugging. - Changed license to creative commons.
- Small bug fixes, somewhat decreased memory usage.
- Improved bidirectional scanning performance and robustness by reworking its mechanism.
- The TAG phase is now between 0 and 1, generating non-cyclic volumes.
- Removed the experimental
parallel
feature from the Numba implementation. - Fixed bidirectional image generation.
- Default fill fraction is now 75% to better suit ScanImage's defaults.
- Complete re-write of TAG lens processing module.
- Fixed a bug occurring when TAG lens interpolation fails.
- Discovered another bug with the interpolation process which is currently unresolved.
- Fixed small issue with a TAG test function.
- Stacking the final array is now an order-of-magnitude faster - the first dimension is now considered time.
- Fixed a bug with singleton dimensions.
- Fixed a bug with no "In Memory" output.
- Small bug fix in progress bar.
- Faster I/O.
- Datasets are now
uint8
(full stack) anduint16
(summed stack). - Allowing outputs without the "In Memory" requirement.
- Added a progress bar.
show_summed()
works,show_stack()
might not.
- Now compressing HDF5 files.
- Fixed small bug in TAG implementation.
- Writing output
.hdf5
to disk is much faster now.
- Fixed bug with two-channel output.
- Fixed bug with "early" photons.
- Better support for "early" photons.
- Allow for no outputs from PySight.
- Fixed bug with
movie.show_stack()
.
- Added gating to photons that arrive too early (or too late) after a laser pulse.
- Changed output file format to
.hdf5
due to compatibility issues of.tif
s.
- Added the
photons_per_pulse
property toMovie()
. - Introduced the
run_batch(foldername)
function to themain
module, to run PySight with the same configs on multiple.lst
files in a folder. - Added the
num_of_vols
property toMovie()
.
- Bugfixes for line validations.
- Added methods
show_summed(channel)
andshow_stack(channel, iterable)
. - More refactoring to decrease class absolute size.
- Small bug fix in the sweeps-as-lines implementation.
- Supports generating images from pure sweeps, without a line signal.
- Supports generating images from combined sweep and line signals.
- Added an optional line frequency entry to the GUI.
- Refactoring of some parts of the validation tools.
- Small performance upgrade.
- Added an option to treat sweeps as lines.
- Added the acquisition delay and "hold-after" times to the calculation of the the absolute time of each event.
- Decreased package size dramatically by deleting unneeded test data.
- All 34 tests of code pass. I'll try to keep it that way :)
- Added an extrapolation method to create fake lines when the line data is too corrupt to work with. This is done using the new "line frequency" and "frame delay" parmaeters in the GUI.
- Refactored the output-generating script, while changing the possible outputs of PySight:
- Summed tif.
- Full stack as tif.
- In memory - both stack and tif accessed through the
movie
object.
- Fixed small bug with censoring.
- Added checks to see whether we need censor correction.
- Added tests for
lst_tools
- they should pass, much likefile_io
's tests.
- Added metadata from
.lst
file to the saved.tif
file. Variables saved: - "fstchan"
- "holdafter"
- "periods"
- "rtpreset"
- "cycles"
- "sequences"
- "range"
- "sweepmode"
- "fdac"
- Added metadata from
- Fixed
.tif
generation. - Refactoring of
FileIO
(tests still pass).
- Fixed small bug with censor correction.
Refactoring of output:
- Start of censor correction is integrated into the generation of the outputs.
- More efficient when required to output several types of data.
- Bug fixes and performance improvements.
- Added SciPy dependency.
- Added nanoFLIM histogramming.
- Fixed small bug with GUI.
- Possible fix to TAG lens interpolation.
- Added FLIM functionality with laser clock in the Multiscaler's clock.
- Changes and optimizations for the file IO process.
- Fixed a bug with laser pulses verification.
- Added offset parameter for laser input.
- Much (MUCH) faster concatenation of the data.
- Fixed a bug with the number of empty histograms that were added to the learning dataset.
- Robustness upgrades.
- QOL changes to GUI.
- A "power" number is needed for
learn_histograms()
- the percent of power given to the Qubig. It's just for saving, labeling is done with thelabel
keyword. - A
foldername
to which the data will be saved to has also been added.
- More robust data generation.
- Added
scikit-learn
torequirements.txt
andsetup.py
. CensorCorrection().learn_histograms()
now receives the power label as its input - must be an integer.- Return of
CensorCorrection().learn_histograms()
is nowdata, labels
. - Made
__get_bincount_deque()
private. To be accessed usinglearn_histograms()
only.
- ML classification is functional.
- Bug fixes for single-pixel frames
- Bug fixes for defining amount of frames manually in script.
- Censor correction shouldn't require as much memory as it did. It's still not as fast as it can be.
- Loading a configuration file will make it the "last used" file, reloading it when re-running PySight.
- Fixed untested typo.
- Bug fixes, including support for single-pixel images.
- Script should require less memory while running.
- Added basic support for "Censor Correction".
- Another go at Linux namespace conflicts.
- Added the
CensorCorrection
class for processing generated data using the censor correction method. Current available methods are: censored.gen_bincount_deque()
: Bin the photons into their relative laser pulses, and count how many photons arrived due to each pulse.censored.find_temp_structure_deque()
: Generate a summed histogram of the temporal structure of detected photons.
- Added the
- Fixed linux bug with
Deque
import. - Added tests.
- Added type hinting. As a result, disabled support for Python version 3.5. Code is now entirely 3.6-dependent.
- Added
.json
configuration files to the GUI. It also automatically loads the last modified configuration file. - Updated docs.
- Fixed some of the tests.
- Added option to save or discard photons arriving during the returning phase of a unidirectional scan. This is the default option now.
- Introduced
Fill Fraction
parameter that determines the amount of time the mirrors spend "inside" the image. - Some tests are working again.
- Many other bugfixes.
- Use
Debug?
to read a small portion of an.lst
file. - Changed defaults in GUI.
- Allows acquisition in bi-directional scanning mode. This is enabled with the
Mirror phase
andFlyback
parameters in the GUI. - Backend changes for possible future support of binary files.
- The code allows to dismiss unwanted input channels by specifying them as "Empty".
- If you mark a channel as containing data while it's inactive, an error will terminate execution.
- Massive refactoring of pipeline.
- Bug fixes and improvements to TAG lens interpolation.
- Changes to file IO.
- Number of requested frames should actually matter now.
- GUI improvements.
- Removed Dask.
- Refactored class structure, remove the
Frame
class. - Refactored GUI code.
- Added Dask
delayed
interface.
- Updates to setup.py to allow docs to build successfully.
- Small updates to docs.
- GUI improvements.
- Changes file IO completely. Performance should be higher.
- TAG lens bug fixes.
- Updated docs.
- Updated tests.
- Basic support for TAG bits - no actual interpolation yet.
- GUI additions and changes.
- Minor performance upgrades.
- Added sinusoidal interpolation to TAG phase.
- Sorting is now only done for TAG lens input.
- Added
fileIO_tools.py
module for increased simplicity. - Added more verifications to user inputs from GUI that pop up sooner, before heavy computation is made.
- Increased file IO speed with a new
np.fromfile
method.
- More fixes to the [-1] vector problem.
- Added a
sort
function before handling the data, because of irregularities.
- Code can take care of the the infamous [-1, ..., -1] index list.
- Added
debug
mode in which the algorithm reads only a limited amount of lines from a file. - Fixed minor bug in
__create_hist
. - Decreased size of package by removing excess lines of data for tests.
- Added verifications on the FLIM input.
- Bug fixes in FLIM implementation.
- Tiffs are now saved untiled. Depth axis is x-axis.
- Installation should run smoothly if following the instructions.
- Added method
create_array
to Movie() that returns a deque containing the raw data generated by thenp.histogram
function, for visualization and analysis purposes. - Added method
create_single_volume
to Movie() that sums all stacks into a single array. - Fixed bugs in
tag_tools
, mainly inverify_periodicity()
. - Allows for more elaborate user inputs, requiring to choose which type of output you wish for.
- Basic FLIM support.
- Support for TAG lens added - phase interpolation and image display. Note: The algorithm currently assumes that the pulse is triggered at the zero-phase of the TAG lens.
pip
installation fixed by requiring Numba as a prerequisite.- Number of pixels in the "Frame" direction (x) supersedes the number of frames as listed by the user.
- Due to massive changes, one test is currently broken.
- Potential fix to
pip install
issues. - Start of TAG lens interpolation support.
- More tests coverage.
- Enforced a few types checks.
- Single-lined frames are now supported.
- Frames are now generated with a generator.
- Fix to installation problems of previous version.
- Changed IO from
.read()
to.readlines()
for better Linux compatibility. .tif
is now saved frame-by-frame to save memory, and the method was renamed tocreate_tif()
.
- Includes
tifffile
and minor improvements.
- Bug fixes during installation of Numba.
- Added the
run()
method formain_multiscaler_readout
.
- First release on PyPI.