SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Science Data Systems (SDS) CUC Presentation Jan 2005.

Slides:



Advertisements
Similar presentations
Programming Paradigms and languages
Advertisements

Using the Web-based Training Tool MyFloridaMarketPlace Revised Date: 12/14/06.
The Web Warrior Guide to Web Design Technologies
Stat-JR: eBooks Richard Parker. Quick overview To recap… Stat-JR uses templates to perform specific functions on datasets, e.g.: – 1LevelMod fits 1-level.
Chandra X-Ray Observatory CXC Paul Plucinsky EPIC Cal April ACIS Calibration: Recent Updates, Planned Updates, & Future Issues 2.E0102: Joint.
Chandra Calibration Status ACIS 1.Gain corrections for epochs 28 and 29 (Nov – April 2007) were released in CALDB 3.4 on May 16, Gain corrections.
Progress Report Ian Evans (CXCDS) and Jonathan McDowell (SDS) Chandra Users ’ Committee Meeting September 19, 2007.
CUC Oct 2005 Science Data Systems Jonathan McDowell.
Chandra X-Ray Observatory CXC Paul Plucinsky CUC September Overall Status of the Instrument 2.Update on Controlling the FP Temperature ACIS Ops.
Software to Manage EEP Vegetation Plot Data A design proposal Michael Lee January 31, 2011.
Chandra Calibration Status Calibration Updates Since Last CUC Meeting ACIS 1. New tgain files were released for epochs 23 and 24 (May 2005 – Nov 2005)
Chandra Calibration Status  Gain correction files for epochs 35 (Aug. – Oct. 2008) and 36 (Nov Jan.2009) were released in CALDB versions
Chandra Calibration Status Summary 1.The gratings and mirrors are very well calibrated at this time and there are no time-dependent effects as far as we.
R R R CSE870: Advanced Software Engineering (Cheng): Intro to Software Engineering1 Advanced Software Engineering Dr. Cheng Overview of Software Engineering.
Chandra Calibration Status Calibration Updates Since Last CUC Meeting ACIS 2. New products were released in CALDB on Dec. 15, 2006 to properly handle.
Chandra X-Ray Observatory CXC Paul Plucinsky EPIC Cal Nov ACIS Calibration: Planned Updates & Future Issues 2.ACIS Operations: Controlling the.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
 2006 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
CXC CUC September SDS Page 1 CUC Sep 2007 Science Data Systems – Jonathan McDowell.
Can people meet from 2:40 to 3:30 on Tuesday, September 5?
Software Process and Product Metrics
Release & Deployment ITIL Version 3
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Introduction to Systems Analysis and Design Trisha Cummings.
A First Program Using C#
1 Shawlands Academy Higher Computing Software Development Unit.
RUP Implementation and Testing
1 Web-Enabled Decision Support Systems Objects and Procedures Don McLaughlin IE 423 Design of Decision Support Systems (304)
Chapter 8: Writing Graphical User Interfaces
NASSP Masters 5003F - Computational Astronomy Lecture 19 EPIC background Event lists and selection The RGA Calibration quantities Exposure calculations.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
NEPTUNE Canada Workshop Oceans 2.0 Project Environment NEPTUNE Canada DMAS Team Victoria, BC February 16, 2009.
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Designing Interface Components. Components Navigation components - the user uses these components to give instructions. Input – Components that are used.
1 The Software Development Process  Systems analysis  Systems design  Implementation  Testing  Documentation  Evaluation  Maintenance.
I Power Higher Computing Software Development The Software Development Process.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Systems Analysis and Design in a Changing World, Fourth Edition
GLAST Science Support Center May 8, 2006 GUC Meeting Demonstration of GRB Spectral Analysis with the SAE David Band (GSSC/JCA-UMBC)
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
Source catalog generation Aim: Build the LAT source catalog (1, 3, 5 years) Jean Ballet, CEA SaclayGSFC, 29 June 2005 Four main functions: Find unknown.
The Software Development Process
Systems Development Life Cycle
SDS Staffing:  Welcome Nina Bonaventura on the Helpdesk team  All CIAO tickets now handled by SDS (Liz, Nick, Nina)‏ Focus this year has been (and will.
MOS Data Reduction Michael Balogh University of Durham.
Mantid Stakeholder Review Nick Draper 01/11/2007.
Intermediate 2 Computing Unit 2 - Software Development.
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® Using the SAS Grid.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Page 1 NHSC PACS Web Tutorial PACS 301 nhsc.ipac.caltech.edu/helpdesk NHSC/PACS Web Tutorials Running the PACS Spectrometer pipeline for CHOP/NOD Mode.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
X-ray Astronomy School 2005 Databases, software, etc. for X-ray astronomy Keith Arnaud NASA Goddard University of Maryland.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
1 Notes about eis_prep Alessandro Gardini University of Oslo Oslo, July 9th, 2009.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
David B. Johnson Rice University Department of Computer Science DSR Draft Status Monarch Project 57th IETF.
GLAST Science Support Center November 8, 2005 GUC Action Item #15 AI#15: Pre-Launch GI Proposal Tools David Band (GSSC/JCA-UMBC)
Source catalog generation Aim: Build the LAT source catalog (1, 3, 5 years) Jean Ballet, CEA SaclaySLAC, 23 May 2005 Four main functions: Find unknown.
Advanced Software Engineering Dr. Cheng
Overview Modern chip designs have multiple IP components with different process, voltage, temperature sensitivities Optimizing mix to different customer.
Development Environment
Features of Authoring Tools
Data Virtualization Tutorial: Introduction to SQL Script
INTRODUCING Adams/CHASSIS
In-situ Visualization using VisIt
Smithsonian Astrophysical Observatory
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
Presentation transcript:

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Science Data Systems (SDS) CUC Presentation Jan 2005

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Science Data Systems - supporting user science with software and data products Work closely with Data Systems to provide science overview of software and detailed specs CIAO - the software package (and documentation!) for user data analysis Pipelines - ensure data products created with correct algortihms and contain the needed metadata CALDB - figure out how raw calibration results from CAL team must be packaged to support user analysis and data processing From CUC point of view, we mediate between users and Data Systems teams to deliver improved user software

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Science Data Systems - under new management Jonathan McDowell, SAO - group leader: Mike Wise, MIT - deputy leader: SDS is about 50/50 SAO and MIT: an integrated team Close coordination with Pepi Fabbiano's Data Systems groups, especially Janet DePonte Evans' software development teams: CIAO and the pipelines are joint SDS/DS products Let us know how we can improve your ability to do science with CIAO and with CXC data products

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Science Data Systems: summary Recent releases –CIAO 3.2 –APPHOT and DS9 interaction Pileup Report – Documentation – Estimation – Correction What else is coming –Improvements –Enhancements

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 CIAO 3.2 Highlights New 'How does the new release affect your analysis' web page New mkacisrmf tool released Spatial model of the ACIS contamination New ACIS hot pixel tools CALDB 3.0

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 CIAO 3.2 Web Pages

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 mkacisrmf infile=acisD p2_respN0001.fits outfile=source_pi.wrmf \ energy=0.1:10.0:0.05 channel=1:1024:1 chantype=pi \ wmap=spectrum_pi.fits gain=acisD p2_gain_ctiN0001.fits New tool in CIAO 3.2 to support changing ACIS calibration Implements algorithm of A. Vikhlinin ( calcrmf2 ) Separates RMF calculation into position dependent and independent pieces “Ideal” response computed at readout prior to the effects of CTI (one per CCD) Scatter matrix computed automatically from simulations including CTI Faster execution, better interpolation, and retains all existing mkrmf functionality mkacisrmf Ideal Response Total Response Scatter matrix  = Energy PHA

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 New RMFs provide small improvements over mkrmf products 10-15% more accurate at energies below 1 keV Currently calibrated for ACIS chips 0-3, 5, 6, and 7 at -120  C In the future, only mkacisrmf Cal. products will be produced Released mkrmf RMFNew mkacisrmf RMF

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Spatial Model for the ACIS Contaminant The ACIS QE degradation model has been enhanced to account for spatial variations in the contamination on the ACIS optical blocking filters. The contamination is now expressed as a function of time, energy, and ACIS chip coordinates. Temperature structure of ACIS OBF Instrument maps ( mkinstmap ) ACIS-I2ACIS-S3

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Spatial model implemented in all CIAO 3.2 tools Default model in CIAO 3.2 / CALDB 3. 0 mkarf, mkgarf, mkwarf, mkinstmap ~20% variation across chip Extended or off-axis sources most effected Affects grating ARFs as well

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Status of APPHOT Package Frank Primini's X-ray aperture photometry scripts demoed at last CUC as an example of scripting You asked for more details on their availability They are now real software and users can have them! And you asked how we did those cool things with ds9 I'll tell you how, and we'll soon put this up as a thread for users Working with Data Systems to formalize how we develop and release interactive scripts as we increase their use. Stay tuned.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Status of APPHOT Package Version available for interested users athttp://hea- Will be added to CIAO contributed software after additional testing. – Installs under CIAO 3.2; no additional installation of XPA or SLxpa modules required – Can now determine actual ECF of aperture defined by user – Faster computation of Theta, Phi (now uses S-Lang pixlib module) Version in development. – Choice of method for accessing ECF data file ● Interpolation in theta, phi, energy ● Nearest theta, phi, energy in ECF data cube – Plots of ECF vs. aperture radius

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Status of APPHOT Package Additional development suspended pending evaluation of Penn State's ACIS Extract S/W package – ACIS Extract richer, more sophisticated. We are considering porting its IDL-based functionality to CIAO's open source environment – APPHOT could still be used to provide quick assessment of aperture sizes, e.g., for proposal planning

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Launching CIAO Tools from ds9 The ds9 image display program can be used to launch user-defined analysis tasks which can obtain input parameters from and display results to ds9. This capability is accomplished by means of ASCII “analysis commands files”, loaded into ds9 via the Analysis Menu, and is described in detail in the ds9 Reference Manual. Typically, this makes sense when one is examining an image and wishes to define regions or image locations at which, say, counts or PI spectrum are desired. These can be obtained and displayed quickly using CIAO tools. In the following pages we present some examples of analysis command files that launch CIAO tools.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 A Simple Analysis Commands File The analysis commands file (ACF) is a structured ASCII file that contains command lines plus keywords that tell ds9 how and when to run the command. The command file can take advantage of a number of ds9 internal variables, or macros, that expand to arguments containing information on the current ds9 display, prior to command execution. The full list of macros is provided in the ds9 Reference Manual. Of particular importance are the following: ● $filename expands to the filename of the displayed image or event list; ● $regions expands to the list of regions (in various formats) defined in the display; ● $text displays any text output from the command to a text window. The ACF can also define parameters, which are set in a parameter window, and which may be passed as arguments to the command line. The following page contains a simple ACF that can be used to display some ds9 macros and run the CIAO tool dmlist to display header or data. Results are displayed on subsequent pages.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 The ds9_ciao.ans ACF

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Loading the ACF Clicking the Analysis button allows users to load ACFs via the Load Analysis Commands submenu

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Running dmlist Clicking dmlist invokes the parameter window Clicking on dmlist invokes the parameter window, in which values of the “option” parameter may be set Clicking OK runs the dmlist command line

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Results for dmlist Clicking dmlist invokes the parameter window Clicking on dmlist invokes the parameter window, in which values of the “option” parameter may be set Clicking OK runs the dmlist command line When dmlist finishes, the results are displayed in a pop-up text window

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 A More Complicated (but still simple) Example It may be difficult to build complicated CIAO command lines that can be successfully parsed by ds9's command line parser. Rather, the user may wish to pass the arguments obtained from parameter windows or ds9 macros to a shell script with sufficient string handling capabilities to build and execute a valid CIAO command line. The following page illustrates how that can be done in a script that runs the CIAO tool dmcoords to determine the off-axis angle of a point selected in a ds9 display.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Launching dmcoords from ds9_ciao.ans

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Running dmcoords from a Script

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Results for dmcoords Clicking dmlist invokes the parameter window Clicking on dmlist invokes the parameter window, in which values of the “option” parameter may be set Clicking OK runs the dmlist command line When dmlist finishes, the results are displayed in a pop-up text window Clicking dmcoords runs the program to determine off-axis angle for the image location specified by this region. Results are displayed in the pop-up dmcoords window.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Advanced Use The previous examples were only intended to illustrate the basics of setting up an ACF, defining parameters, and passing arguments to CIAO tools. In practice, the most flexible way to launch CIAO tools from ds9 is via scripts that communicate directly with ds9 via the XPA Messaging System. This can be accomplished either by running the various XPA programs (xpaget, xpaset, etc.) from the command line within the script, and then parsing the results for the desired input, or by using a scripting language, such as S-Lang, which provides bindings to the XPA library. Users who wish to use these advanced features should examine the scripts in the APPHOT package.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 SDS Efforts for Pileup Helping users diagnose and deal with ACIS pileup is an SDS top priority for 2005 I'll present the current status

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 SDS Efforts for Pileup Comprehensive ABC Guide (status: draft in work) –One Stop Shopping for Information and Advice New Diagnostic Tool For Detecting Piled Sources (research) –Concept: Detects Piled PSFs –Potentially can Help Calibrate MARX’s Pileup Module Tools for Dealing with Piled Gratings Spectra –Simple Model Soon Available –Sophisticated Model in Development Future Work –Models of Piled Lightcurves

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 “The Chandra ABC Guide to Pileup”: Outline Introduction –Basic Definitions, Pileup Fractions and Their Effects, Methods for Avoiding Pileup, When Not to Avoid Pileup Estimation –PIMMS, Simulation with Spectral Fitting Packages (Sherpa, ISIS, XSPEC), MARX Detection –Simple Methods, Future New Detection Tool Mitigation –Spectral Fitting Packages (Sherpa, ISIS, XSPEC), Simple Gratings Models, (Future) Advanced Gratings Models

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 “The Chandra ABC Guide to Pileup”: Goals Consolidate Information: –Proposers Guide, PIMMS Ahelp, Sherpa Ahelp, Threads, Journal Articles, etc. Provide ‘Practical’ Advice: –Pros & Cons of Avoidance Strategies (Greater Detail than Proposer’s Guide) –Subtleties of Detection Methods –Subtleties of Spectral Fitting Mitigation Techniques

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 New Detection Tool in Research/Development Compares PSF from 2-pixel split events to other events Provides Statistical Assessment of Whether the Two Distributions are Consistent (i.e., Not Piled) Does not Directly Rely Upon Spectra Potentially sensitive to Even Mild Pileup Side Benefit: Statistics Module for CIAO (e.g., K-S Test, Mann-Whitney Test, etc.)

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 PSFs Distort Under Pileup (In Complex Ways!) Working Concept: ‘Split’ Events PSF Distorts Differently than that for Other Events

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Low (Unpiled) Count Rate: PSF from Split Events and Other Grades Appear the Same p-value > 0.05 Indicates Normalized PSF Distributions are Indistinguishable (Off Axis Source)

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Example: Radio Galaxy Nuclear Emission, Difficult to Assess Pileup via Spectra Observation of Gambrill et al. 2003, A&A, 401 Source was Thought to be Unpiled

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Normalized Grade Selected PSFs Differ p-value < 0.05 Indicates Differences are Statistically Significant: Good Indication of Mild Pileup?

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 PSF Can be Assessed with the MARX Pileup Module: Consistent with Mild Pileup

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Spectral Fit Function, Based on Observed Counts/Frame/Pixel, for Simple Correction 10% Pileup Correction Simple Spectral Model, Only Applicable to Sources with Peak Pileup Approximately < 10%. (Here Applied to an X-ray Binary Spectrum)

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 More Sophisticated Correction in Development Will Incorporate Detector Efficiency Variations, Deadtime Effects, Energy Dependence of PSF/LSF, etc.

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Spectra, with Peak Pileup of ~20%, Corrected

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Ongoing Work Better Afterglow Correction: acis_run_hotpix The Most Recent Gratings LSF: mkgrmf In Cooperation with Calibration, Need to Incorporate Better Models of: –Cosmic Ray Dead Area Correction –Backside/Frontside Correction –Iridium Edge Correction Exploring Possibility of Creating a Chandra Lightcurve Simulation, which Would Include Pileup Effects – Adapt Existing XEUS Lightcurve Simulator for Chandra Use – MARX Provides Accurate Mean (White Noise) Piled Lightcurve, this Could Provide Piled Lightcurves with Realistic (Red Noise, QPO) Variability Features Requirements for Gratings Pileup Correction: Future Pileup Work:

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 What’s coming in CIAO 4.0 Infrastructure improvements: must keep up with users' environment –Increased platform support (under review - newer Linux builds) –64 bit and large file support –Performance improvements (pixlib ~ 10 times faster) –Ability to build from source Enhancements: filling gaps in user science capabilities –New CHIPS plotting package; Sherpa improvements –Improved Backgrounds (ABC guide, scripts, tools) –Multi-observation support (mosaicing) Schedule and other enhancements still under review

SDS Presentation Jonathan McDowell CXC 1 Chandra Users Committee Meeting, 25 January 2005 Sherpa status Already in CIAO 3.2: bug fixes for improved stability, projection error method improvements, and revised manual We are now conducting a major review Reworking the optimization methods (including evaluating adding the LMDIF algorithm) for faster and more accurate convergence Expect to rework Sherpa to modularize it - make separate libraries available for models, optimization methods, etc. with defined interfaces to let us write small tools and scripts using parts of the Sherpa functionality. Will also greatly improve Sherpa code maintainability and stability Must add support for new CHIPS plotting