Hi,
An EER gain reference with an .gain extension is internally a TIFF file.
An important point is that Warp (and RELION) divide raw detector values by EER's gain reference in the MRC format.
This is the convention used by earlier versions of the Falcon4 controller. In contrast to this, a newer gain reference in the TIFF container
is a multiplicative gain, as in K2 and K3. That is, the raw values must be multiplied by the gain reference.
So, what you should do is:
1. convert .gain into .mrc
2. take the reciprocal of the file
Both can be done with e2proc2d.py in EMAN2.
Best regards,
Takanori Nakane