Skip to content

Commit

Permalink
PyPDF2 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Jun 14, 2022
1 parent c2134d9 commit e2fca5c
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 50 deletions.
8 changes: 4 additions & 4 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def get_text_extraction_score(doc: Document, library_name: str):
version=PyPDF2.__version__,
watermarking_function=pypdf2_watermarking,
license="BSD 3-Clause",
last_release_date="2022-06-06",
last_release_date="2022-06-14",
),
"pdfminer": Library(
"pdfminer.six",
Expand Down
64 changes: 32 additions & 32 deletions cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,59 +266,59 @@
},
"pypdf2": {
"1601.03642": {
"read": 0.14736413955688477
"read": 0.13181662559509277
},
"1602.06541": {
"read": 0.5553338527679443,
"watermark": 1.527214765548706
"read": 0.44907617568969727,
"watermark": 1.4312434196472168
},
"1707.09725": {
"read": 1.7566144466400146,
"watermark": 6.715854644775391
"read": 1.632399320602417,
"watermark": 6.472326278686523
},
"2201.00021": {
"read": 0.7246272563934326,
"watermark": 0.9322869777679443
"read": 0.744328498840332,
"watermark": 0.911888599395752
},
"2201.00022": {
"read": 0.26493048667907715,
"watermark": 1.0488600730895996
"read": 0.22876715660095215,
"watermark": 0.8920032978057861
},
"2201.00029": {
"read": 0.4144172668457031,
"watermark": 0.13101887702941895
"read": 0.3686819076538086,
"watermark": 0.11223363876342773
},
"2201.00037": {
"read": 0.9483344554901123,
"watermark": 2.194533109664917
"read": 0.8160533905029297,
"watermark": 2.120100975036621
},
"2201.00069": {
"read": 0.4184126853942871,
"watermark": 1.1090822219848633
"read": 0.32007670402526855,
"watermark": 1.1236357688903809
},
"2201.00151": {
"read": 6.112022638320923,
"watermark": 16.979571104049683
"read": 5.836317300796509,
"watermark": 16.197925567626953
},
"2201.00178": {
"read": 0.50054931640625,
"watermark": 1.2309489250183105
"read": 0.33651185035705566,
"watermark": 1.1913495063781738
},
"2201.00200": {
"read": 0.53580641746521,
"watermark": 0.5968337059020996
"read": 0.48441600799560547,
"watermark": 0.53401780128479
},
"2201.00201": {
"read": 0.2525804042816162,
"watermark": 0.8762955665588379
"read": 0.2817673683166504,
"watermark": 0.7810215950012207
},
"2201.00214": {
"read": 23.28904414176941,
"watermark": 60.4843533039093
"read": 20.626332998275757,
"watermark": 56.71852135658264
},
"GeoTopo-book": {
"read": 5.438245058059692,
"watermark": 13.071133852005005
"read": 4.307093143463135,
"watermark": 13.88920783996582
}
},
"tika": {
Expand Down Expand Up @@ -465,18 +465,18 @@
},
"pypdf2": {
"1601.03642": 0.988204501231209,
"1602.06541": 0.9794577996389122,
"1602.06541": 0.980342863635718,
"1707.09725": 0.9402626747634515,
"2201.00021": 0.9670789764515855,
"2201.00022": 0.97262612848869,
"2201.00029": 0.9768848434037967,
"2201.00037": 0.9454734746066803,
"2201.00029": 0.9768263473053892,
"2201.00037": 0.9390333156211463,
"2201.00069": 0.9634704048681239,
"2201.00151": 0.9334977839279626,
"2201.00151": 0.9336876943135092,
"2201.00178": 0.9294026050543948,
"2201.00200": 0.9749882273797511,
"2201.00201": 0.9825060668375452,
"2201.00214": 0.9719996537229592,
"2201.00214": 0.9725277368821147,
"GeoTopo-book": 0.8648303132107446
},
"tika": {
Expand Down
9 changes: 8 additions & 1 deletion read/results/pypdf2/1602.06541.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,14 @@ to which they refer to asknowledge workers(KWs).
One crowd annotation was obtained for each image by
a majority vote on a pixel basis of 10 segmentations
given by 10 different KWs.

Training
Prediction
Post-
processingWindow-wise
ClassificationWindow
extraction Data
augmentation
Feature extractionPreprocessing
Figure 2:A typical segmentation pipeline gets raw
pixel data, applies preprocessing techniques
like scaling and feature extraction like HOG
Expand Down
21 changes: 13 additions & 8 deletions read/results/pypdf2/2201.00029.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

Exploring new techniques for analyzing variability in white dwarf KIC 8626021
Thomas Huckans, Peter Stine
Department of Physics and Engineering, Bloomsburg University of Pennsylvania, 400 E 2nd St.,
Department of Physics and Engineering, Bloomsburg University of Pennsylvania, 400 E 2nd
St.,
Bloomsburg, PA 17815
2
Abstract
Expand All @@ -27,7 +28,8 @@ First detected in 1862, white dwarfs long posed a mystery for early observers. W
companion to Sirius was detected, apparent contradictions concerning the mass, luminosities, and
densities baffled astronomers. Lacking full understanding of atomic structures and the energy
states of electrons, these early researchers believ ed white dwarfs to o dense to exist. However, new
discoveries at the turn of the 20th century explained the existence of these stars, and between the
discoveries at the turn of the 20th
century explained the existence of these stars, and between the
world wars white dwarfs were increasingly studied and modeled (Holberg, 2009).
As stars age, those that lack the mass to become neutron stars and black holes become
white dwarf stars, representing 98% of the stars in our galaxy (Winget & Kepler, 2008 ). They are
Expand All @@ -44,7 +46,8 @@ was initially developed with the intention of surveying our region of the Milky
order to find potentially habitable planets. The purpose of the mission was to identify key traits for
such planets by determining the number of planets in habitable zones, the s izes and shapes of orbits,
and the characteristics of the stars being orbited. Over the lifespan of its first mission, Kepler
observed approximately 1.5 x 105 stars (Johnson, 2018), affording scientists excellent
observed approximately 1.5 x 105
stars (Johnson, 2018), affording scientists excellent
opportunities to research stellar variability. Due to the loss of a second reaction wheel in 2013,
NASA developed the K2 mission, a way to prolong Kepler’s assistance to astronomy and
astrophysics.
Expand All @@ -60,7 +63,8 @@ The DBV white dwarf KIC 8626021 has an atmosphere rich in helium. Building upon
previous studies, this research investigated novel techniques of analyzing variability in white
dwarfs. The dwarf KIC 8626021 was chosen due to the large amount of preexisting research on
the star, allowing for the validation of results using our methods. KIC 8626021 has an effective
temperature of 29,700 K, log g = 7.890, and mass of 0.56 M☉ (Córsico, 2020). Other research
temperature of 29,700 K, log g = 7.890, and mass of 0.56 M
☉ (Córsico, 2020). Other research
has found that this white dwarf is the DBV with the highest known temperature, and its helium
layer is the thinnest (Bischoff-Kim et al., 2015). Despite the long-cadence light curve being too
noisy to draw many conclusions , other FTs of short-cadence data have been performed to find
Expand Down Expand Up @@ -103,7 +107,8 @@ and Q13.

4

FIG. 1: Pictured top is the light curve constructed for Q7, below is the light curve for Q13. Q7

FIG. 1: Pictured top is the light curve constructed for Q7, below is the light curve for Q13. Q7
lasted from September 24 – December 13, 2010, and Q13 was from March 29 – June 23, 2012.
Both graphs were constructed by plotting corrected flux magnitude (flux corrected for
instrumental artifacts) versus time in Excel, and gaps in the data were filled in by interpolating
Expand Down Expand Up @@ -177,7 +182,7 @@ Q7 First
Iteration 5.886 -1.198 1.966 9.9
Q7 Re-bin 1 5.886 -1.477 1.966 12.8
Q7 Re-bin 2 5.889 0.597 1.965 19.2
TABLE I : The table displays the various frequencies collected from Q7 and the information
TABLE I: The table displays the various frequencies collected from Q7 and the information
found through calculations to find period and SNR. The frequency of 5.464 µHz is not included,
and therefore was not used in any calculations deter mining the average period of rotation. The
values under corrected flux magnitude are relative to our significant frequency cutoff of 3𝝈, thus
Expand All @@ -200,7 +205,7 @@ Q13 Re-bin 2 5.787 4.938 2.000 22.6
Q13 Re-bin 3 5.787 6.909 2.000 26.3
Q13 Re-bin 3 11.641 7.073 0.994 26.4
Q13 Re-bin 3 16.823 2.299 0.688 24.1
TABLE II : The table displays the various frequencies collected from Q13 and the information
TABLE II: The table displays the various frequencies collected from Q13 and the information
found through calculations to find period and SNR. The last two significant frequencies (11.641
µHz and 16.823 µHz) for Q13 Re-bin 3 represent potential harmonics, which are discussed in
further detail in the Conclusions section of this paper. The values under corrected flux magnitude
Expand Down Expand Up @@ -317,7 +322,7 @@ Universities for Research in Astronomy, Inc., under NASA contract NAS 5 –26555

References

Basri, G., Walkowicz, L. M., Batalha, N., Gilliland, R. L., Jenkins, J., Borucki, W. J., Koch, D.,
Basri, G., Walkowicz, L. M., Batalha, N., Gilliland, R. L., Jenkins, J., Borucki, W. J., Koch, D.,
Caldwell, D., Dupree, A. K., Latham, D. W., Meibom, S., Howell, S., & Brown, T. (2010) .
PHOTOMETRIC VARIABILITY IN KEPLER TARGET stars: THE SUN AMONG
stars—a FIRST LOOK. The Astrophysical Journal, 713(2), L155-L159.
Expand Down
Binary file modified read/results/pypdf2/2201.00037.txt
Binary file not shown.
4 changes: 2 additions & 2 deletions read/results/pypdf2/2201.00151.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ eling of a nonspherical object. Moreover, we required the ga laxy
to possess a significant number of both stellar and dark mat-
ter particles (over 105), and a well resolved center. Due to the
large softening scale for dark matter particles in the simul ation
(/epsilon1DM=1.42 kpc), we looked for an object in which even the
(ǫDM=1.42 kpc), we looked for an object in which even the
more concentrated stellar population (see Section 2.2) ext ended
over 43 kpc so that the region affected by the numerical artifacts
was enclosed within 2-3 innermost data bins (we used 20 linea rly
Expand Down Expand Up @@ -1474,7 +1474,7 @@ lated as a weighted superposition of two populations. With s uch
approach we still obtain the increasing profile (from 0 to 0.5 ) but
the previous result agrees with it only within 2σ.
Since Fornax dSph is significantly elongated with the pro-
jected ellipticity of/epsilon1=0.30±0.01 (Irwin & Hatzidimitriou
jected ellipticity ofǫ=0.30±0.01 (Irwin & Hatzidimitriou
1995), we anticipate some bias in the obtained results cause d
by the spherically symmetric modeling. Kowalczyk et al. (20 18)
studied such bias in an axisymmetric simulated object quali ta-
Expand Down
4 changes: 2 additions & 2 deletions read/results/pypdf2/2201.00214.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ the region is available in this link). As it is clear in the mov ie, these three
together and their oscillations decay simultaneously. The center of figure
1
.a is coordinated
at (230, 165) arcsec and its width and height are 450/prime/prime×456/prime/prime/750×775 pixels. The flare
at (230, 165) arcsec and its width and height are 450′′×456′′/750×775 pixels. The flare
occurring in this active region is an X2.1 class flare located close to the disk center at latitude
14◦north and longitude 18◦west (269.9 arcsec, 129.9 arcsec). This flare initiates at 22 :12UT,
ends about 22:24UT with the peak at 22:20UT, and associates w ith a coronal mass ejection
Expand All @@ -412,7 +412,7 @@ non-flaring (nonf hereafter) active region 12194 in the smoo th time period of
09:00:00UT of 2014 October 26. The center of figure
2
.a is coordinated at (0, -264) arcsec
and its width and height are 615/prime/prime×615/prime/prime/1025×1025 pixels. We consider the images of
and its width and height are 615′′×615′′/1025×1025 pixels. We consider the images of
the selected area with the cadence of 12 sec in the same six wav elengths mentioned above.
These loops are relatively motionless and do not show any tra nsversal oscillation (see the
region’s movie in the link). We select the loops in such a way t hat they do not have any
Expand Down

0 comments on commit e2fca5c

Please sign in to comment.