Action #85
Feature #83: Implement CTA interface for 1DC data format
Implement 1DC PSF file format
Status: | Closed | Start date: | 03/07/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned To: | Knödlseder Jürgen | % Done: | 100% | |
Category: | - | Estimated time: | 20.00 hours | |
Target version: | 00-05-00 | |||
Duration: |
Recurrence
No recurrence.
Related issues
History
#1 Updated by Knödlseder Jürgen over 12 years ago
- Status changed from New to In Progress
- Start date set to 03/07/2012
#2 Updated by Knödlseder Jürgen over 12 years ago
- % Done changed from 0 to 10
So far, GCTAResponse
uses 3 methods for PSF handling: psf_dummy
, psf_dummy_sigma
, and psf_dummy_max
. These methods are used in the following GCTAResponse
methods:
psf_dummy
:
psf
- PSF evaluationirf_kern_omega
- kernel for PSF integrationnpsf_kern_rad_azsym
- kernel for NPSF integration
psf_dummy_sigma
:
mc
- here the Gaussian shape of the dummy PSF is explicitly used in the Random number generator; each shape needs thus a particular random number generatorread_arf
- here the sigma is used to determine the appropriate thetacut correction by calling npsf_kern_rad_azsymirf_extended
- here the sigma is passed to irf_kern_rho for integrationnpred_extended
- here the sigma is used to compute the maximum PSF radius using psf_dummy_max to set the integration boundarypsf
- PSF evaluationpsf_delta_max
- computes the maximal angular separation to be accounted fornpsf
- here the sigma is used for integration range computation; it is also passed to npsf_kern_rad_azsym for computations
psf_dummy_max
:
npred_extended
- for integration range computationpsf_delta_max
- computes the maximal angular separation to be accounted fornpsf
- for integration range computation
- setting a specific parameter set based on energy (actually
psf_dummy_sigma
) - determining the maximum PSF radius for a given parameter set (actually
psf_dummy_max
) - evaluation of PSF for a given parameter set (actually
psf_dummy
)
The simplest approach is to replace the double precision value double sigma
by a specific PSF parameter vector std::vector<double> parameters
that is then interpreted based on the actual PSF version. This can be done using a simple typedef:
typedef std::vector<double> GCTAPsfPars;
#3 Updated by Knödlseder Jürgen over 12 years ago
- % Done changed from 10 to 30
- Remaining (hours) changed from 20.0 to 10.0
I now added the offset angle theta
to the PSF computation routines. The theta
values is handled in the following way in the various GCTAResponse methods:
GCTAResponse::npsf
GCTAResponse::mc
GCTAResponse::irf_extended
(this should be okay, but needs verification)GCTAResponse::npred_extended
(this should be okay, but needs verification)
Missing theta angle computation:
GCTAResponse::read_arf
(this is not critical at this stage)
#4 Updated by Knödlseder Jürgen over 12 years ago
- % Done changed from 30 to 70
- Remaining (hours) changed from 10.0 to 5.0
The response table support is now implemented.
What is still missing is the support of Monte Carlo simulations for the response table. This be done by decomposing the MC process in a two step process:- First select for which Gaussian we should make the simulation
- Then draw from the specific Gaussian
#5 Updated by Knödlseder Jürgen over 12 years ago
- Status changed from In Progress to Resolved
#6 Updated by Knödlseder Jürgen over 12 years ago
- % Done changed from 70 to 100
#7 Updated by Knödlseder Jürgen over 12 years ago
- Status changed from Resolved to Closed
- Remaining (hours) changed from 5.0 to 0.0