Skip to content

Remove hard-coded rows and columns because this changes #78

Description

@ambarb

csxtools/csxtools/utils.py

Lines 318 to 319 in 52ff964

flat[120:250, 0:480] = np.nan
flat[:, 476:484] = np.nan

two options:

  • pass as arguments
  • look at fccd descriptors for epics plugin that reshapes the "live" image at the Beamline
  • not sure this is even used, so also add deprecation warning
 logger.warning("csxtools.utils.fccd_mask() planned for deprecation. Contact beamline staff (CSX@bnl.gov) if you use this function.")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions