-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* atlas notebook, added some pybindings * updates to SNe Ranged injection * incremental changes for atlas injection, columndepth debug ongoing * added some pybindings to help debug classes Path and ColumnDepthPositionDistribution * Fix column depth unit conversions. Fix unsigned integer overflow in bounds clipping. Fix spacing. * Special case for constructing 180deg rotation Quaternion for a rotation between opposing directions. * Include what you use * Convert from detector coordinates to earth coordinates before checking bounds * Removed extra files, some may need to be added to resources later * TreeWeighter constructor w/o secondary processes * Delete Doxyfile Removing unnecessary file * small changes to print error messages if needed, M-H sampling in log space for rapidly falling distributions * added inverse CDF sampling to replace the M-H sampling in TablulatedFluxDistribution class. testing is ongoing * Copy photospline's CFITSIO cmake file into our cmake Packages * added units argument to DIS constructors in pybindings * removed comments * remove unncecessary comments * remove comments * removed comments * remove ATLAS directory * remove old legacy analysis * remove old ATLAS geometries * sneaky whitespace * remove whitespace * just kidding, now all the whitespace is gone * add WeightingUtils include --------- Co-authored-by: Austin Schneider <[email protected]> Co-authored-by: Philip Weigel <[email protected]> Co-authored-by: Alex Wen <[email protected]>
- Loading branch information
Showing
52 changed files
with
271 additions
and
24,568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
################################################################################ | ||
# Module to find cfitsio # | ||
# # | ||
# This module defines: # | ||
# # | ||
# CFITSIO_FOUND # | ||
# CFITSIO_VERSION # | ||
# CFITSIO_LIBRARIES # | ||
# CFITSIO_INCLUDE_DIR # | ||
# CFITSIO_LIB_DIR # | ||
# CFITSIO_CPPFLAGS # | ||
# CFITSIO_LDFLAGS # | ||
################################################################################ | ||
|
||
SET (CFITSIO_FIND_QUIETLY TRUE) | ||
SET (CFITSIO_FIND_REQUIRED TRUE) | ||
|
||
IF (NOT CFITSIO_FOUND) | ||
|
||
# Search user environment for headers, then default paths; extract version | ||
FIND_PATH (CFITSIO_INCLUDE_DIR fitsio.h | ||
PATHS $ENV{CFITSIOROOT}/include | ||
NO_DEFAULT_PATH) | ||
FIND_PATH (CFITSIO_INCLUDE_DIR fitsio.h) | ||
if(CFITSIO_INCLUDE_DIR) | ||
GET_FILENAME_COMPONENT (CFITSIOROOT ${CFITSIO_INCLUDE_DIR} PATH) | ||
else() | ||
FIND_PATH (CFITSIO_INCLUDE_DIR cfitsio/fitsio.h | ||
PATHS $ENV{CFITSIOROOT}/include | ||
) | ||
SET(CFITSIO_INCLUDE_DIR "${CFITSIO_INCLUDE_DIR}/cfitsio" CACHE PATH "Path to cfitsio headers" FORCE) | ||
endif() | ||
|
||
SET (CFITSIO_VERSION 0) | ||
IF (CFITSIO_INCLUDE_DIR) | ||
FILE (READ "${CFITSIO_INCLUDE_DIR}/fitsio.h" _cfitsio_VERSION) | ||
STRING (REGEX REPLACE ".*define CFITSIO_VERSION ([0-9]+\\.[0-9]+).*" "\\1" | ||
CFITSIO_VERSION "${_cfitsio_VERSION}") | ||
ENDIF (CFITSIO_INCLUDE_DIR) | ||
|
||
# Search user environment for libraries, then default paths | ||
FIND_LIBRARY (CFITSIO_LIBRARIES NAMES cfitsio | ||
PATHS $ENV{CFITSIOROOT}/lib | ||
NO_DEFAULT_PATH) | ||
FIND_LIBRARY (CFITSIO_LIBRARIES NAMES cfitsio) | ||
GET_FILENAME_COMPONENT (CFITSIO_LIB_DIR ${CFITSIO_LIBRARIES} PATH) | ||
|
||
# Set CFITSIO_FOUND and error out if cfitsio is not found | ||
INCLUDE (FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS (CFITSIO | ||
DEFAULT_MSG CFITSIO_LIBRARIES CFITSIO_INCLUDE_DIR) | ||
ADD_DEFINITIONS ("-I${CFITSIO_INCLUDE_DIR}") | ||
|
||
IF (CFITSIO_FOUND) | ||
# Set flags and print a status message | ||
MESSAGE (STATUS "CFITSIO version ${CFITSIO_VERSION} found:") | ||
|
||
SET (CFITSIO_CPPFLAGS "-I${CFITSIO_INCLUDE_DIR}") | ||
SET (CFITSIO_LDFLAGS "${CFITSIO_LIBRARIES}") | ||
|
||
MESSAGE (STATUS " * includes: ${CFITSIO_INCLUDE_DIR}") | ||
MESSAGE (STATUS " * libs: ${CFITSIO_LIBRARIES}") | ||
ENDIF (CFITSIO_FOUND) | ||
|
||
ENDIF (NOT CFITSIO_FOUND) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.