Git Product home page Git Product logo

hawk's People

Contributors

alexbjorling avatar ekeberg avatar filipemaia avatar sellberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hawk's Issues

HawkGUI left image freezes

When playing around with the ring example, I noticed that the left image of the HawkGUI (set at real image as default) may freeze (reproducibility has to be checked) when the HDF5 files of the working directory are removed before the phasing is restarted. The old (removed) image is still loaded in memory on which operations can be performed (e.g. Fourier transform), but the image does not update when the program runs. This bug has not occurred to the right image so far.

screen shot 2014-09-09 at 14 28 36

Hierarchy of options

Create a new option container called for example Initial support with all the options concerning it. Also implement bluring for creating the initial support from autocorrelation for the threshold algorithm (now only implemented for area algorithm)

Log stops being updated

Sometimes when running in local mode the log plot stops being updated.
Unable to reproduce though.

Options for choosing starting point

Initial phases option should be named more generaly, like for example "Starting point", and given options like random_phases, zero_phases, random_object, flat_object. Then the random initial intensities option can be removed. The initial realspace image option should be left and always take precedence over the others.

sp_image_write() does not work in uwrap.c with .cxi file format

Unsure if this is related to a bug in hawk or libspimage, but when using hawk_image_write() with the .cxi file format (that calls sp_image_write() that eventually calls write_cxi()) in the iteration loop of uwrapc.c, the output .cxi file is damaged and cannot be opened despite the program running without warnings. h5debug says:

HDF5-DIAG: Error detected in HDF5 (1.8.9) thread 0:
#000: H5F.c line 1534 in H5Fopen(): unable to open file
major: File accessability
minor: Unable to open file
#1: H5F.c line 1325 in H5F_open(): unable to read superblock
major: File accessability
minor: Read failed
#2: H5Fsuper.c line 334 in H5F_super_read(): unable to find file signature
major: File accessability
minor: Not an HDF5 file
#3: H5Fsuper.c line 155 in H5F_locate_signature(): unable to find a valid file signature
major: Low-level I/O
minor: Unable to initialize object
cannot open file

This error does not occur when using sp_image_write() in image_to_png, where I debugged the current .cxi file I/O support, where the output h5debug reads:

Reading signature at address 0 (rel)
File Super Block...
File name (as opened): real_space-0000099-2.cxi
File name (after resolving symlinks): real_space-0000099-2.cxi
File access flags 0x00000000
File open reference count: 1
Address of super block: 0 (abs)
Size of userblock: 0 bytes
Superblock version number: 0
Free list version number: 0
Root group symbol table entry version number: 0
Shared header version number: 0
Size of file offsets (haddr_t type): 8 bytes
Size of file lengths (hsize_t type): 8 bytes
Symbol table leaf node 1/2 rank: 4
Symbol table internal node 1/2 rank: 16
File status flags: 0x00
Superblock extension address: UNDEF (rel)
Shared object header message table address: UNDEF (rel)
Shared object header message version number: 0
Number of shared object header message indexes: 0
Address of driver information block: UNDEF (rel)
Root group symbol table entry:
Name offset into private heap: 0
Object header address: 96
Cache info type: Symbol Table
Cached entry information:
B-tree address: 136
Heap address: 680

Has anyone managed to write .cxi file format with uwrapc? Any help to solve this problem is appreciated..

Firewall tunneling

It would be nice to have Hawk tunnel automatically through 1 firewall when using RPC with ssh.

CMake Error: NOTFOUND SPIMAGE_INCLUDE_DIR

Hello, I am trying to install Hawk on my mac and ubuntu workstation. In both cases, it was stopped the following error message:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SPIMAGE_INCLUDE_DIR

How can I overcome this error?

Best regards,

CPU/GPU selection

It's not possible to select if we want to use the CPU of GPU through the graphical interface of the configuration file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.