You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This note is about python application which allows to check optical metrology input during measurement.

Introduction

Optical metrology measurements contains enough information for self check. Historically this quality check is done offline when entire detector or its quad is measured and entire file is available. Sometimes this file contains typo, which can be fixed using over-defined rectangular geometry of the detector segments. However, it could be much better to fix this problem during optical measurements with microscope. Simple application which can check partial  optical metrology input is now available and discussed in this note.

Get application up and running

Direct usage

Optical metrology quality check (QC) application is implemented as a self consistent script which uses standard python features with numpy and matplotlib libraries. It can be downloaded from

https://github.com/lcls-psana/CalibManager/blob/master/app/optical_metrology_check

and used as is.

Use from psana release

However, for development purpose it could be better to use it through psana-conda release system. Code is available since ana-1.2.8. Example:

Login to psana and set psana environment
# login to one of psana nodes
ssh -Y pslogin.slac.stanford.edu
ssh -Y psana.slac.stanford.edu

# set psana environment if it is missing in your .bash_profile or .bash_login
source /reg/g/psdm/etc/ana_env.sh
Setup conda environment, directory etc.
# setup conda environment
source conda_setup 

# go to any directiory
mkdir my-test-dir
cd my-test-dir
run the script on optical metrology file
# run the script on optical metrology file
optical_metrology_check -h
optical_metrology_check <opt-met-file.txt>

 

 

 

  • No labels