Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handler text refers to incorrect gain setting for get_fastccd_images #40

Closed
ambarb opened this issue Mar 2, 2016 · 3 comments
Closed

Comments

@ambarb
Copy link
Contributor

ambarb commented Mar 2, 2016

Should swap the text for missing dark images regarding bgnd2 and bgnd1. Instead, maybe look at gain bits directly for WARNING text. In example below, 59112 is gain 2 setting.

In [25]:

bgnd8 = DataBroker['6364f4e8-d0b2-42e3-b999-2708c56ef1b6'] #[59111]
bgnd2 = None #DataBroker[59112]
bgnd1 = DataBroker['165e034b-83de-4769-b80f-447194e701c5'] #None # DataBroker[''] #[]
data = DataBroker['2e693cc7-27b3-4ac2-90ef-f3d1319d3066'] #[59110]
In [26]:

stack = get_fastccd_images(data, (bgnd8, bgnd2, bgnd1), tag='fccd_image')  #fccd_image_lightfield
images = stack[0]

WARNING:csxtools.utils:Missing dark image for gain setting 1

VS


In [27]:

bgnd8 = DataBroker['6364f4e8-d0b2-42e3-b999-2708c56ef1b6'] #[59111]
bgnd2 = DataBroker['165e034b-83de-4769-b80f-447194e701c5'] #None #DataBroker[59112]
bgnd1 = None # DataBroker[''] #[]
data = DataBroker['2e693cc7-27b3-4ac2-90ef-f3d1319d3066'] #[59110]
In [*]:

stack = get_fastccd_images(data, (bgnd8, bgnd2, bgnd1), tag='fccd_image')  #fccd_image_lightfield
images = stack[0]

WARNING:csxtools.utils:Missing 
dark image for gain setting 2
@stuwilkins
Copy link
Member

Fixed for issue #41

@tacaswell
Copy link
Member

@stuwilkins Your references are circular

@stuwilkins
Copy link
Member

@tacaswell fixed ... see above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants