AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

Clean all references to num_batch from code #142

Closed carterbox closed 2 years ago

carterbox commented 3 years ago

The number of batches, is a much more natural way of expressing how to divide something in the context of multiple-devices. Given the size of a batch, you have to do some math to divide the size between all the devices.

However, the real problem is that these two methods of expressing the same thing: num_batch vs batch_size are both used which is confusing for users.