chuckie82 / pysingfel

3 stars 7 forks source link

remove hardcoded pixel dimensions #43

Open chuckie82 opened 4 years ago

chuckie82 commented 4 years ago

@irischang020 https://github.com/chuckie82/pysingfel/blob/3a93a5c59e9c0f648c8863bb6b2d2639a1fa89f1/pysingfel/gpu/diffraction.py#L74

AntoineDujardin commented 4 years ago

The 512 corresponds to some GPU parameters (number of streams and warps?), but the call should be working no matter what the actual pixel dimensions. The pixel dimension is encoded in pixel_number, which is a variable. Do you have a case when it breaks?